The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
[Feat] UI - add snowflake on UI (#15083)
Ishaan Jaff60230e566650
diff --git a/ui/litellm-dashboard/public/assets/logos/snowflake.svg b/ui/litellm-dashboard/public/assets/logos/snowflake.svgnew file mode 100644index 00000000000..e88dcad650b--- /dev/null+++ b/ui/litellm-dashboard/public/assets/logos/snowflake.svg@@ -0,0 +1,9 @@+<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 146.36 139.16" xmlns:xlink="http://www.w3.org/1999/xlink">+ <defs>+ <style>+ .cls-1{fill:#29b5e8;fill-rule:evenodd;}+ </style>+ </defs>+ <path class="cls-1" d="M134.81,60.1l-16.47,9.49L134.81,79a8.65,8.65,0,1,1-8.67,15l-29.51-17a8.68,8.68,0,0,1-4.33-7.75,8.48,8.48,0,0,1,.31-2,8.68,8.68,0,0,1,4-5.19l29.51-16.94A8.69,8.69,0,0,1,138,48.31,8.58,8.58,0,0,1,134.81,60.1Zm-15.59,46L89.72,89.13a8.72,8.72,0,0,0-13.06,7.48v33.9a8.69,8.69,0,0,0,17.37,0v-19L110.54,121a8.66,8.66,0,1,0,8.68-15Zm-34-33.16L72.92,85.09a2.44,2.44,0,0,1-1.54.65H67.77a2.51,2.51,0,0,1-1.54-.65L54,72.9a2.45,2.45,0,0,1-.64-1.52v-3.6A2.5,2.5,0,0,1,54,66.25L66.23,54.06a2.5,2.5,0,0,1,1.54-.64h3.61a2.45,2.45,0,0,1,1.54.64L85.18,66.25a2.49,2.49,0,0,1,.63,1.53v3.6A2.44,2.44,0,0,1,85.18,72.9Zm-9.8-3.38A2.59,2.59,0,0,0,74.73,68l-3.55-3.51a2.51,2.51,0,0,0-1.54-.64h-.13a2.46,2.46,0,0,0-1.53.64L64.43,68a2.51,2.51,0,0,0-.63,1.55v.13a2.41,2.41,0,0,0,.63,1.52L68,74.7a2.48,2.48,0,0,0,1.53.64h.13a2.51,2.51,0,0,0,1.54-.64l3.55-3.53a2.49,2.49,0,0,0,.65-1.52ZM19.93,33.08,49.44,50a8.73,8.73,0,0,0,13.07-7.49V8.64a8.69,8.69,0,0,0-17.37,0v19l-16.53-9.5a8.65,8.65,0,1,0-8.68,15ZM84.69,51.16a8.64,8.64,0,0,0,5-1.13l29.5-17a8.65,8.65,0,1,0-8.68-15L94,27.61v-19a8.69,8.69,0,0,0-17.37,0v33.9A8.66,8.66,0,0,0,84.69,51.16ZM54.48,88a8.58,8.58,0,0,0-5,1.13L19.93,106.06a8.66,8.66,0,1,0,8.68,15l16.53-9.49v19a8.69,8.69,0,0,0,17.37,0V96.61A8.65,8.65,0,0,0,54.48,88Zm-8-15.87a8.61,8.61,0,0,0-4-10L13,45.14A8.69,8.69,0,0,0,1.17,48.31,8.59,8.59,0,0,0,4.35,60.1l16.47,9.49L4.35,79A8.65,8.65,0,1,0,13,94l29.48-17A8.59,8.59,0,0,0,46.47,72.13Zm93.15-56.22H138.3v1.63h1.32c.61,0,1-.28,1-.8S140.26,15.91,139.62,15.91Zm-2.94-1.5h3c1.62,0,2.7.89,2.7,2.27a2.16,2.16,0,0,1-1.08,1.9l1.17,1.68v.34h-1.69L139.62,19H138.3V20.6h-1.62Zm8.3,3.22a5.48,5.48,0,0,0-5.58-5.83c-3.31,0-5.51,2.39-5.51,5.83,0,3.28,2.2,5.82,5.51,5.82A5.47,5.47,0,0,0,145,17.63Zm1.38,0c0,3.89-2.6,7.14-7,7.14s-6.89-3.28-6.89-7.14,2.57-7.14,6.89-7.14S146.36,13.73,146.36,17.63Z">+ </path>+</svg>\ No newline at end of filediff --git a/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx b/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsxindex f30917df8ba..6741e43af50 100644--- a/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx+++ b/ui/litellm-dashboard/src/components/add_model/provider_specific_fields.tsx@@ -507,6 +507,19 @@ const PROVIDER_CREDENTIAL_FIELDS: Record<Providers, ProviderCredentialField[]> =label: "API Key",type: "password",required: true+ }],+ [Providers.Snowflake]: [{+ key: "api_key",+ label: "Snowflake API Key / JWT Key for Authentication",+ type: "password",+ required: true+ },+ {+ key: "api_base",+ label: "Snowflake API Endpoint",+ placeholder: "https://1234567890.snowflakecomputing.com/api/v2/cortex/inference:complete",+ tooltip: "Enter the full endpoint with path here. Example: https://1234567890.snowflakecomputing.com/api/v2/cortex/inference:complete",+ required: true}]};diff --git a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx b/ui/litellm-dashboard/src/components/provider_info_helpers.tsxindex 744f8c117d6..7f854d9df15 100644--- a/ui/litellm-dashboard/src/components/provider_info_helpers.tsx+++ b/ui/litellm-dashboard/src/components/provider_info_helpers.tsx@@ -34,6 +34,7 @@ export enum Providers {Oracle = "Oracle Cloud Infrastructure (OCI)",Perplexity = "Perplexity",Sambanova = "Sambanova",+ Snowflake = "Snowflake",TogetherAI = "TogetherAI",Triton = "Triton",Vertex_AI = "Vertex AI (Anthropic, Gemini, etc.)",@@ -69,6 +70,7 @@ export const provider_map: Record<string, string> = {TogetherAI: "together_ai",Openrouter: "openrouter",Oracle: "oci",+ Snowflake: "snowflake",FireworksAI: "fireworks_ai",GradientAI: "gradient_ai",Triton: "triton",@@ -111,6 +113,7 @@ export const providerLogoMap: Record<string, string> = {[Providers.Oracle]: `${asset_logos_folder}oracle.svg`,[Providers.Perplexity]: `${asset_logos_folder}perplexity-ai.svg`,[Providers.Sambanova]: `${asset_logos_folder}sambanova.svg`,+ [Providers.Snowflake]: `${asset_logos_folder}snowflake.svg`,[Providers.TogetherAI]: `${asset_logos_folder}togetherai.svg`,[Providers.Vertex_AI]: `${asset_logos_folder}google.svg`,[Providers.xAI]: `${asset_logos_folder}xai.svg`,@@ -171,6 +174,8 @@ export const getPlaceholder = (selectedProvider: string): string => {return "azure/my-deployment";} else if (selectedProvider == Providers.Oracle) {return "oci/xai.grok-4";+ } else if (selectedProvider == Providers.Snowflake) {+ return "snowflake/mistral-7b";} else if (selectedProvider == Providers.Voyage) {return "voyage/";} else if (selectedProvider == Providers.JinaAI) {