Skip to content

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]

feat: add claude-sonnet-5 pricing to model cost map

unknownbfc7ae05bf78
diff --git a/litellm/constants.py b/litellm/constants.py
index aeb74a65839..1d17e7b6da6 100644
--- a/litellm/constants.py
+++ b/litellm/constants.py
@@ -1128,6 +1128,7 @@ BEDROCK_CONVERSE_MODELS = [
"anthropic.claude-opus-4-6-v1:0",
"anthropic.claude-opus-4-6-v1",
"anthropic.claude-sonnet-4-6",
+ "anthropic.claude-sonnet-5",
"anthropic.claude-opus-4-1-20250805-v1:0",
"anthropic.claude-opus-4-20250514-v1:0",
"anthropic.claude-sonnet-4-20250514-v1:0",
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 21132db93cb..15b16118a7b 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -1010,7 +1010,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1042,7 +1041,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1074,7 +1072,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1106,7 +1103,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1138,7 +1134,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1170,7 +1165,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1219,7 +1213,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1253,7 +1246,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1287,7 +1279,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1321,7 +1312,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1487,7 +1477,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1521,7 +1510,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1555,7 +1543,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1589,7 +1576,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1623,7 +1609,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1688,7 +1673,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1719,7 +1703,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1750,7 +1733,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1781,7 +1763,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1812,7 +1793,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1843,7 +1823,186 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "global.anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "us.anthropic.claude-sonnet-5": {
"supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_creation_input_token_cost_above_1hr": 4.4e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ "input_cost_per_token": 2.2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1.1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "eu.anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_creation_input_token_cost_above_1hr": 4.4e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ "input_cost_per_token": 2.2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1.1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "au.anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_creation_input_token_cost_above_1hr": 4.4e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ "input_cost_per_token": 2.2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1.1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "jp.anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_creation_input_token_cost_above_1hr": 4.4e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ "input_cost_per_token": 2.2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1.1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2364,7 +2523,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2394,7 +2552,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2455,7 +2612,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2523,6 +2679,34 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_output_config": true
+ },
+ "azure_ai/claude-sonnet-5": {
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "azure_ai",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
"supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
@@ -9132,17 +9316,16 @@
},
"bedrock/us-east-1/minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "source": "https://aws.amazon.com/bedrock/pricing/",
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "output_cost_per_token": 1.2e-06
+ "source": "https://aws.amazon.com/bedrock/pricing/"
},
"bedrock/us-east-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
@@ -9754,17 +9937,16 @@
},
"bedrock/us-west-2/minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "source": "https://aws.amazon.com/bedrock/pricing/",
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "output_cost_per_token": 1.2e-06
+ "source": "https://aws.amazon.com/bedrock/pricing/"
},
"bedrock/us-west-2/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
@@ -10274,6 +10456,35 @@
"supports_vision": true,
"supports_output_config": true
},
+ "claude-sonnet-5": {
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "anthropic",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_output_config": true
+ },
"claude-sonnet-4-5-20250929-v1:0": {
"cache_creation_input_token_cost": 3.75e-06,
"cache_creation_input_token_cost_above_1hr": 6e-06,
@@ -16134,7 +16345,7 @@
"tpm": 8000000,
"supports_image_size": false
},
- "gemini-3-pro-image-preview": {
+ "gemini-3-pro-image": {
"input_cost_per_image": 0.0011,
"input_cost_per_token": 2e-06,
"input_cost_per_token_batches": 1e-06,
@@ -16147,7 +16358,7 @@
"output_cost_per_image_token": 0.00012,
"output_cost_per_token": 1.2e-05,
"output_cost_per_token_batches": 6e-06,
- "source": "https://ai.google.dev/gemini-api/docs/pricing",
+ "source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-3-pro-image",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/completions",
@@ -16174,18 +16385,96 @@
},
"web_search_billing_unit": "per_query"
},
- "gemini-3.1-flash-image-preview": {
- "input_cost_per_image": 0.00056,
- "input_cost_per_token": 5e-07,
+ "gemini-3-pro-image-preview": {
+ "input_cost_per_image": 0.0011,
+ "input_cost_per_token": 2e-06,
+ "input_cost_per_token_batches": 1e-06,
"litellm_provider": "vertex_ai-language-models",
"max_input_tokens": 65536,
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "image_generation",
- "output_cost_per_image": 0.0672,
- "output_cost_per_image_token": 6e-05,
- "output_cost_per_token": 3e-06,
- "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#gemini-models",
+ "output_cost_per_image": 0.134,
+ "output_cost_per_image_token": 0.00012,
+ "output_cost_per_token": 1.2e-05,
+ "output_cost_per_token_batches": 6e-06,
+ "source": "https://ai.google.dev/gemini-api/docs/pricing",
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/completions",
+ "/v1/batch"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text",
+ "image"
+ ],
+ "supports_function_calling": false,
+ "supports_prompt_caching": true,
+ "supports_response_schema": true,
+ "supports_system_messages": true,
+ "supports_vision": true,
+ "supports_web_search": true,
+ "search_context_cost_per_query": {
+ "search_context_size_low": 0.014,
+ "search_context_size_medium": 0.014,
+ "search_context_size_high": 0.014
+ },
+ "web_search_billing_unit": "per_query"
+ },
+ "gemini-3.1-flash-image": {
+ "input_cost_per_image": 0.00056,
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "vertex_ai-language-models",
+ "max_input_tokens": 65536,
+ "max_output_tokens": 32768,
+ "max_tokens": 32768,
+ "mode": "image_generation",
+ "output_cost_per_image": 0.0672,
+ "output_cost_per_image_token": 6e-05,
+ "output_cost_per_token": 3e-06,
+ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#gemini-models",
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/completions",
+ "/v1/batch"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text",
+ "image"
+ ],
+ "supports_function_calling": false,
+ "supports_prompt_caching": true,
+ "supports_response_schema": true,
+ "supports_system_messages": true,
+ "supports_vision": true,
+ "supports_web_search": true,
+ "search_context_cost_per_query": {
+ "search_context_size_low": 0.014,
+ "search_context_size_medium": 0.014,
+ "search_context_size_high": 0.014
+ },
+ "web_search_billing_unit": "per_query"
+ },
+ "gemini-3.1-flash-image-preview": {
+ "input_cost_per_image": 0.00056,
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "vertex_ai-language-models",
+ "max_input_tokens": 65536,
+ "max_output_tokens": 32768,
+ "max_tokens": 32768,
+ "mode": "image_generation",
+ "output_cost_per_image": 0.0672,
+ "output_cost_per_image_token": 6e-05,
+ "output_cost_per_token": 3e-06,
+ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#gemini-models",
"supported_endpoints": [
"/v1/chat/completions",
"/v1/completions",
@@ -17588,6 +17877,48 @@
},
"supports_image_size": false
},
+ "gemini/gemini-3-pro-image": {
+ "input_cost_per_image": 0.0011,
+ "input_cost_per_token": 2e-06,
+ "input_cost_per_token_batches": 1e-06,
+ "litellm_provider": "gemini",
+ "max_input_tokens": 65536,
+ "max_output_tokens": 32768,
+ "max_tokens": 32768,
+ "mode": "image_generation",
+ "output_cost_per_image": 0.134,
+ "output_cost_per_image_token": 0.00012,
+ "output_cost_per_token": 1.2e-05,
+ "rpm": 1000,
+ "tpm": 4000000,
+ "output_cost_per_token_batches": 6e-06,
+ "source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-3-pro-image",
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/completions",
+ "/v1/batch"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text",
+ "image"
+ ],
+ "supports_function_calling": false,
+ "supports_prompt_caching": true,
+ "supports_response_schema": true,
+ "supports_system_messages": true,
+ "supports_vision": true,
+ "supports_web_search": true,
+ "search_context_cost_per_query": {
+ "search_context_size_low": 0.014,
+ "search_context_size_medium": 0.014,
+ "search_context_size_high": 0.014
+ },
+ "web_search_billing_unit": "per_query"
+ },
"gemini/gemini-3-pro-image-preview": {
"input_cost_per_image": 0.0011,
"input_cost_per_token": 2e-06,
@@ -17630,6 +17961,47 @@
},
"web_search_billing_unit": "per_query"
},
+ "gemini/gemini-3.1-flash-image": {
+ "input_cost_per_token": 2.5e-07,
+ "input_cost_per_token_batches": 1.25e-07,
+ "litellm_provider": "gemini",
+ "max_input_tokens": 65536,
+ "max_output_tokens": 32768,
+ "max_tokens": 32768,
+ "mode": "image_generation",
+ "output_cost_per_image": 0.045,
+ "output_cost_per_image_token": 6e-05,
+ "output_cost_per_token": 1.5e-06,
+ "output_cost_per_token_batches": 7.5e-07,
+ "rpm": 1000,
+ "tpm": 4000000,
+ "source": "https://ai.google.dev/gemini-api/docs/pricing#gemini-3.1-flash-image",
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/completions",
+ "/v1/batch"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text",
+ "image"
+ ],
+ "supports_function_calling": false,
+ "supports_prompt_caching": true,
+ "supports_response_schema": true,
+ "supports_system_messages": true,
+ "supports_vision": true,
+ "supports_web_search": true,
+ "search_context_cost_per_query": {
+ "search_context_size_low": 0.014,
+ "search_context_size_medium": 0.014,
+ "search_context_size_high": 0.014
+ },
+ "web_search_billing_unit": "per_query"
+ },
"gemini/gemini-3.1-flash-image-preview": {
"input_cost_per_token": 2.5e-07,
"input_cost_per_token_batches": 1.25e-07,
@@ -18944,7 +19316,6 @@
"supported_endpoints": [
"/v1/chat/completions"
],
- "supports_adaptive_thinking": true,
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_vision": true
@@ -21696,8 +22067,8 @@
"output_cost_per_token_flex": 1.5e-05,
"output_cost_per_token_batches": 1.5e-05,
"output_cost_per_token_priority": 6e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -21745,8 +22116,8 @@
"output_cost_per_token_flex": 1.5e-05,
"output_cost_per_token_batches": 1.5e-05,
"output_cost_per_token_priority": 6e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -21790,8 +22161,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -21835,8 +22206,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -21884,8 +22255,8 @@
"output_cost_per_token_flex": 7.5e-06,
"output_cost_per_token_batches": 7.5e-06,
"output_cost_per_token_priority": 3e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -21932,8 +22303,8 @@
"output_cost_per_token_flex": 7.5e-06,
"output_cost_per_token_batches": 7.5e-06,
"output_cost_per_token_priority": 3e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -21973,8 +22344,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22017,8 +22388,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22054,7 +22425,7 @@
"input_cost_per_token_batches": 3.75e-07,
"input_cost_per_token_priority": 1.5e-06,
"litellm_provider": "openai",
- "max_input_tokens": 272000,
+ "max_input_tokens": 1050000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
@@ -22062,8 +22433,8 @@
"output_cost_per_token_flex": 2.25e-06,
"output_cost_per_token_batches": 2.25e-06,
"output_cost_per_token_priority": 9e-06,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22100,7 +22471,7 @@
"input_cost_per_token_batches": 3.75e-07,
"input_cost_per_token_priority": 1.5e-06,
"litellm_provider": "openai",
- "max_input_tokens": 272000,
+ "max_input_tokens": 1050000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
@@ -22108,8 +22479,8 @@
"output_cost_per_token_flex": 2.25e-06,
"output_cost_per_token_batches": 2.25e-06,
"output_cost_per_token_priority": 9e-06,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22144,15 +22515,15 @@
"input_cost_per_token_flex": 1e-07,
"input_cost_per_token_batches": 1e-07,
"litellm_provider": "openai",
- "max_input_tokens": 272000,
+ "max_input_tokens": 1050000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 1.25e-06,
"output_cost_per_token_flex": 6.25e-07,
"output_cost_per_token_batches": 6.25e-07,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22187,15 +22558,15 @@
"input_cost_per_token_flex": 1e-07,
"input_cost_per_token_batches": 1e-07,
"litellm_provider": "openai",
- "max_input_tokens": 272000,
+ "max_input_tokens": 1050000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 1.25e-06,
"output_cost_per_token_flex": 6.25e-07,
"output_cost_per_token_batches": 6.25e-07,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22227,9 +22598,9 @@
"input_cost_per_token": 1.5e-05,
"input_cost_per_token_batches": 7.5e-06,
"litellm_provider": "openai",
- "max_input_tokens": 128000,
- "max_output_tokens": 272000,
- "max_tokens": 272000,
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
"mode": "responses",
"output_cost_per_token": 0.00012,
"output_cost_per_token_batches": 6e-05,
@@ -22263,9 +22634,9 @@
"input_cost_per_token": 1.5e-05,
"input_cost_per_token_batches": 7.5e-06,
"litellm_provider": "openai",
- "max_input_tokens": 128000,
- "max_output_tokens": 272000,
- "max_tokens": 272000,
+ "max_input_tokens": 400000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
"mode": "responses",
"output_cost_per_token": 0.00012,
"output_cost_per_token_batches": 6e-05,
@@ -24712,14 +25083,13 @@
},
"minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "output_cost_per_token": 1.2e-06,
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
@@ -28175,7 +28545,6 @@
"output_cost_per_token": 1.5e-05,
"output_cost_per_token_above_200k_tokens": 2.25e-05,
"source": "https://openrouter.ai/anthropic/claude-sonnet-4.6",
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -28215,7 +28584,6 @@
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -28277,7 +28645,6 @@
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -29522,6 +29889,22 @@
"supports_reasoning": true,
"supports_tool_choice": true
},
+ "openrouter/z-ai/glm-5.1": {
+ "input_cost_per_token": 1.05e-06,
+ "output_cost_per_token": 3.5e-06,
+ "cache_read_input_token_cost": 5.25e-07,
+ "cache_creation_input_token_cost": 0.0,
+ "litellm_provider": "openrouter",
+ "max_input_tokens": 202752,
+ "max_output_tokens": 65535,
+ "max_tokens": 65535,
+ "mode": "chat",
+ "source": "https://openrouter.ai/z-ai/glm-5.1",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
"openrouter/minimax/minimax-m2.1": {
"input_cost_per_token": 2.7e-07,
"output_cost_per_token": 1.2e-06,
@@ -30200,7 +30583,6 @@
"supports_adaptive_thinking": true,
"litellm_provider": "perplexity",
"mode": "responses",
- "supports_adaptive_thinking": true,
"supports_web_search": true,
"supports_reasoning": false,
"supports_function_calling": true,
@@ -30210,7 +30592,6 @@
"supports_adaptive_thinking": true,
"litellm_provider": "perplexity",
"mode": "responses",
- "supports_adaptive_thinking": true,
"supports_web_search": true,
"supports_reasoning": false,
"supports_function_calling": true,
@@ -31126,7 +31507,7 @@
"supports_tool_choice": true
},
"sambanova/Meta-Llama-3.2-1B-Instruct": {
- "deprecation_date": "2025-06-25",
+ "deprecation_date": "2025-06-25",
"input_cost_per_token": 4e-08,
"litellm_provider": "sambanova",
"max_input_tokens": 16384,
@@ -31257,15 +31638,15 @@
"supports_vision": true,
"source": "https://cloud.sambanova.ai/plans/pricing"
},
- "snowflake/claude-3-5-sonnet": {
+ "snowflake/claude-3-5-sonnet": {
"litellm_provider": "snowflake",
"max_input_tokens": 200000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
"supports_computer_use": true,
"supports_function_calling": true,
"supports_vision": true,
@@ -31273,14 +31654,14 @@
"supports_system_messages": true,
"supports_response_schema": true
},
- "snowflake/deepseek-r1": {
+ "snowflake/deepseek-r1": {
"litellm_provider": "snowflake",
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000135,
- "output_cost_per_token": 0.0000054,
+ "input_cost_per_token": 1.35e-06,
+ "output_cost_per_token": 5.4e-06,
"supports_reasoning": true,
"supports_system_messages": true
},
@@ -31339,8 +31720,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.0000012,
- "output_cost_per_token": 0.0000012,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
"supports_function_calling": true,
"supports_system_messages": true
},
@@ -31350,8 +31731,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"supports_function_calling": true,
"supports_system_messages": true
},
@@ -31361,8 +31742,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000024,
- "output_cost_per_token": 0.00000024,
+ "input_cost_per_token": 2.4e-07,
+ "output_cost_per_token": 2.4e-07,
"supports_system_messages": true
},
"snowflake/llama3.2-1b": {
@@ -31379,17 +31760,17 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/llama3.3-70b": {
+ "snowflake/llama3.3-70b": {
"max_tokens": 16384,
"max_input_tokens": 128000,
"max_output_tokens": 16384,
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"litellm_provider": "snowflake",
"mode": "chat",
"supports_function_calling": true,
"supports_system_messages": true
- },
+ },
"snowflake/mistral-7b": {
"litellm_provider": "snowflake",
"max_input_tokens": 32000,
@@ -31404,14 +31785,14 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/mistral-large2": {
+ "snowflake/mistral-large2": {
"litellm_provider": "snowflake",
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.000002,
- "output_cost_per_token": 0.000006,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 6e-06,
"supports_function_calling": true,
"supports_system_messages": true,
"supports_response_schema": true
@@ -31451,17 +31832,17 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/snowflake-llama-3.3-70b": {
+ "snowflake/snowflake-llama-3.3-70b": {
"max_tokens": 16384,
"max_input_tokens": 128000,
"max_output_tokens": 16384,
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"litellm_provider": "snowflake",
"mode": "chat",
"supports_function_calling": true,
"supports_system_messages": true
- },
+ },
"stability/sd3": {
"litellm_provider": "stability",
"mode": "image_generation",
@@ -32713,7 +33094,7 @@
"input_cost_per_token": 3.6e-06,
"input_cost_per_token_above_200k_tokens": 7.2e-06,
"output_cost_per_token_above_200k_tokens": 2.7e-05,
- "cache_creation_input_token_cost_above_200k_tokens": 9.0e-06,
+ "cache_creation_input_token_cost_above_200k_tokens": 9e-06,
"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.44e-05,
"cache_read_input_token_cost_above_200k_tokens": 7.2e-07,
"litellm_provider": "bedrock_converse",
@@ -33455,7 +33836,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34690,7 +35070,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34720,7 +35099,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34750,7 +35128,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34781,7 +35158,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34872,7 +35248,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34903,7 +35278,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34956,7 +35330,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35265,6 +35638,21 @@
"tpm": 8000000,
"supports_image_size": false
},
+ "vertex_ai/gemini-3-pro-image": {
+ "input_cost_per_image": 0.0011,
+ "input_cost_per_token": 2e-06,
+ "input_cost_per_token_batches": 1e-06,
+ "litellm_provider": "vertex_ai-language-models",
+ "max_input_tokens": 65536,
+ "max_output_tokens": 32768,
+ "max_tokens": 32768,
+ "mode": "image_generation",
+ "output_cost_per_image": 0.134,
+ "output_cost_per_image_token": 0.00012,
+ "output_cost_per_token": 1.2e-05,
+ "output_cost_per_token_batches": 6e-06,
+ "source": "https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/3-pro-image"
+ },
"vertex_ai/gemini-3-pro-image-preview": {
"input_cost_per_image": 0.0011,
"input_cost_per_token": 2e-06,
@@ -35280,6 +35668,19 @@
"output_cost_per_token_batches": 6e-06,
"source": "https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/3-pro-image"
},
+ "vertex_ai/gemini-3.1-flash-image": {
+ "input_cost_per_image": 0.00056,
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "vertex_ai-language-models",
+ "max_input_tokens": 65536,
+ "max_output_tokens": 32768,
+ "max_tokens": 32768,
+ "mode": "image_generation",
+ "output_cost_per_image": 0.0672,
+ "output_cost_per_image_token": 6e-05,
+ "output_cost_per_token": 3e-06,
+ "source": "https://cloud.google.com/vertex-ai/generative-ai/pricing#gemini-models"
+ },
"vertex_ai/gemini-3.1-flash-image-preview": {
"input_cost_per_image": 0.00056,
"input_cost_per_token": 5e-07,
@@ -37485,12 +37886,12 @@
},
"zai.glm-5": {
"input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3.2e-06,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 200000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
- "output_cost_per_token": 3.2e-06,
"supports_function_calling": true,
"supports_reasoning": true,
"supports_system_messages": true,
@@ -37511,25 +37912,26 @@
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
},
- "zai.glm-5": {
+ "zai/glm-5": {
+ "cache_creation_input_token_cost": 0,
+ "cache_read_input_token_cost": 2e-07,
"input_cost_per_token": 1e-06,
- "litellm_provider": "bedrock_converse",
+ "output_cost_per_token": 3.2e-06,
+ "litellm_provider": "zai",
"max_input_tokens": 200000,
"max_output_tokens": 128000,
- "max_tokens": 128000,
"mode": "chat",
- "output_cost_per_token": 3.2e-06,
- "source": "https://aws.amazon.com/bedrock/pricing/",
"supports_function_calling": true,
+ "supports_prompt_caching": true,
"supports_reasoning": true,
- "supports_system_messages": true,
- "supports_tool_choice": true
+ "supports_tool_choice": true,
+ "source": "https://docs.z.ai/guides/overview/pricing"
},
- "zai/glm-5": {
+ "zai/glm-5.1": {
"cache_creation_input_token_cost": 0,
- "cache_read_input_token_cost": 2e-07,
- "input_cost_per_token": 1e-06,
- "output_cost_per_token": 3.2e-06,
+ "cache_read_input_token_cost": 2.6e-07,
+ "input_cost_per_token": 1.4e-06,
+ "output_cost_per_token": 4.4e-06,
"litellm_provider": "zai",
"max_input_tokens": 200000,
"max_output_tokens": 128000,
@@ -37570,6 +37972,21 @@
"supports_tool_choice": true,
"source": "https://docs.z.ai/guides/overview/pricing"
},
+ "zai/glm-4.7-flash": {
+ "cache_creation_input_token_cost": 0,
+ "cache_read_input_token_cost": 0,
+ "input_cost_per_token": 0,
+ "output_cost_per_token": 0,
+ "litellm_provider": "zai",
+ "max_input_tokens": 200000,
+ "max_output_tokens": 128000,
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://docs.z.ai/guides/overview/pricing"
+ },
"zai/glm-4.6": {
"cache_creation_input_token_cost": 0,
"cache_read_input_token_cost": 1.1e-07,
@@ -42393,6 +42810,39 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_output_config": true
+ },
+ "vertex_ai/claude-sonnet-5": {
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "vertex_ai-anthropic_models",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
"supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
@@ -42404,11 +42854,35 @@
"supports_max_reasoning_effort": true,
"supports_tool_choice": true,
"supports_vision": true,
+ "supports_output_config": true
+ },
+ "vertex_ai/claude-sonnet-5@default": {
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "vertex_ai-anthropic_models",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
"search_context_cost_per_query": {
"search_context_size_high": 0.01,
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
"supports_output_config": true
},
"duckduckgo/search": {
@@ -42427,7 +42901,10 @@
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_reasoning": true,
@@ -42442,7 +42919,10 @@
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_reasoning": true,
@@ -42457,7 +42937,9 @@
"max_output_tokens": 65536,
"max_tokens": 65536,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions"],
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
"supports_function_calling": true,
"supports_reasoning": true,
"supports_response_schema": true,
@@ -42471,7 +42953,9 @@
"max_output_tokens": 65536,
"max_tokens": 65536,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions"],
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
"supports_function_calling": true,
"supports_reasoning": true,
"supports_response_schema": true,
@@ -42487,9 +42971,16 @@
"max_tokens": 128000,
"mode": "responses",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/responses"],
- "supported_modalities": ["text", "image"],
- "supported_output_modalities": ["text"],
+ "supported_endpoints": [
+ "/v1/responses"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
@@ -42507,9 +42998,16 @@
"max_tokens": 128000,
"mode": "responses",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/responses"],
- "supported_modalities": ["text", "image"],
- "supported_output_modalities": ["text"],
+ "supported_endpoints": [
+ "/v1/responses"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
@@ -42526,7 +43024,10 @@
"max_tokens": 256000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -42542,7 +43043,10 @@
"max_tokens": 256000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -42558,7 +43062,10 @@
"max_tokens": 128000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -42717,20 +43224,6 @@
}
]
},
- "zai.glm-5": {
- "input_cost_per_token": 1e-06,
- "output_cost_per_token": 3.2e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
- "max_tokens": 128000,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_reasoning": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
"bedrock/us-east-1/zai.glm-5": {
"input_cost_per_token": 1e-06,
"output_cost_per_token": 3.2e-06,
@@ -42759,45 +43252,6 @@
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
},
- "minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
- "bedrock/us-east-1/minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
- "bedrock/us-west-2/minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
"bedrock/us-gov-east-1/anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.5e-06,
"cache_creation_input_token_cost_above_1hr": 2.4e-06,
@@ -42844,362 +43298,382 @@
"supports_native_structured_output": true,
"supports_pdf_input": true
},
- "snowflake/claude-sonnet-4-5": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-sonnet-4-6": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-4-sonnet": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-4-opus": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000005,
- "output_cost_per_token": 0.000025,
- "cache_read_input_token_cost": 0.0000005,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/claude-haiku-4-5": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000001,
- "output_cost_per_token": 0.000005,
- "cache_read_input_token_cost": 0.0000001,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-3-7-sonnet": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-4.1": {
- "max_tokens": 16384,
- "max_input_tokens": 300000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000002,
- "output_cost_per_token": 0.000008,
- "cache_read_input_token_cost": 0.0000005,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5": {
- "max_tokens": 16384,
- "max_input_tokens": 300000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000125,
- "output_cost_per_token": 0.00001,
- "cache_read_input_token_cost": 0.000000125,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5-mini": {
- "max_tokens": 16384,
- "max_input_tokens": 1000000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.0000003,
- "output_cost_per_token": 0.0000012,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5-nano": {
- "max_tokens": 16384,
- "max_input_tokens": 5000000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000015,
- "output_cost_per_token": 0.0000006,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/llama4-maverick": {
- "max_tokens": 16384,
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000024,
- "output_cost_per_token": 0.00000097,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true
- },
- "snowflake/snowflake-arctic-embed-l-v2.0": {
- "max_tokens": 8192,
- "max_input_tokens": 8192,
- "input_cost_per_token": 0.00000007,
- "output_cost_per_token": 0.0,
- "litellm_provider": "snowflake",
- "mode": "embedding"
- },
- "snowflake/snowflake-arctic-embed-m-v2.0": {
- "max_tokens": 8192,
- "max_input_tokens": 8192,
- "input_cost_per_token": 0.00000007,
- "output_cost_per_token": 0.0,
- "litellm_provider": "snowflake",
- "mode": "embedding"
- },
- "soniox/stt-async-v4": {
- "litellm_provider": "soniox",
- "max_output_tokens": 8000,
- "max_tokens": 8000,
- "input_cost_per_second": 0.0,
- "output_cost_per_second": 0.0000277778,
- "mode": "audio_transcription",
- "source": "https://soniox.com/pricing",
- "supported_endpoints": ["/v1/audio/transcriptions"],
- "supports_audio_input": true
- },
- "soniox/stt-async-v5": {
- "litellm_provider": "soniox",
- "max_output_tokens": 8000,
- "max_tokens": 8000,
- "input_cost_per_second": 0.0,
- "output_cost_per_second": 0.0000277778,
- "mode": "audio_transcription",
- "source": "https://soniox.com/pricing",
- "supported_endpoints": ["/v1/audio/transcriptions"],
- "supports_audio_input": true
- },
- "tensormesh/Qwen/Qwen3.5-397B-A17B-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 6e-07,
- "output_cost_per_token": 3.6e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 4.5e-07,
- "output_cost_per_token": 1.8e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/Qwen/Qwen3.6-27B-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 3.2e-07,
- "output_cost_per_token": 3.2e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/lukealonso/GLM-5.1-NVFP4-MTP": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-06,
- "output_cost_per_token": 4.4e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 202752,
- "max_output_tokens": 202752,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/deepseek-ai/DeepSeek-V4-Flash": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-07,
- "output_cost_per_token": 2.8e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/moonshotai/Kimi-K2.6": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 9.6e-07,
- "output_cost_per_token": 4e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/MiniMaxAI/MiniMax-M2.5": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 196608,
- "max_output_tokens": 196608,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/google/gemma-4-31B-it": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-07,
- "output_cost_per_token": 5.6e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/openai/gpt-oss-120b": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.5e-07,
- "output_cost_per_token": 6e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/openai/gpt-oss-20b": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 7e-08,
- "output_cost_per_token": 2.8e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- }
- ,
+ "snowflake/claude-sonnet-4-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-sonnet-4-6": {
+ "supports_adaptive_thinking": true,
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 1e-05,
+ "cache_read_input_token_cost": 2e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-4-sonnet": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-4-opus": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 5e-06,
+ "output_cost_per_token": 2.5e-05,
+ "cache_read_input_token_cost": 5e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-haiku-4-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 5e-06,
+ "cache_read_input_token_cost": 1e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-3-7-sonnet": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-4.1": {
+ "max_tokens": 16384,
+ "max_input_tokens": 300000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 8e-06,
+ "cache_read_input_token_cost": 5e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 300000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1.25e-06,
+ "output_cost_per_token": 1e-05,
+ "cache_read_input_token_cost": 1.25e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5-mini": {
+ "max_tokens": 16384,
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5-nano": {
+ "max_tokens": 16384,
+ "max_input_tokens": 5000000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/llama4-maverick": {
+ "max_tokens": 16384,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2.4e-07,
+ "output_cost_per_token": 9.7e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true
+ },
+ "snowflake/snowflake-arctic-embed-l-v2.0": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "snowflake",
+ "mode": "embedding"
+ },
+ "snowflake/snowflake-arctic-embed-m-v2.0": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "snowflake",
+ "mode": "embedding"
+ },
+ "soniox/stt-async-v4": {
+ "litellm_provider": "soniox",
+ "max_output_tokens": 8000,
+ "max_tokens": 8000,
+ "input_cost_per_second": 0.0,
+ "output_cost_per_second": 2.77778e-05,
+ "mode": "audio_transcription",
+ "source": "https://soniox.com/pricing",
+ "supported_endpoints": [
+ "/v1/audio/transcriptions"
+ ],
+ "supports_audio_input": true
+ },
+ "soniox/stt-async-v5": {
+ "litellm_provider": "soniox",
+ "max_output_tokens": 8000,
+ "max_tokens": 8000,
+ "input_cost_per_second": 0.0,
+ "output_cost_per_second": 2.77778e-05,
+ "mode": "audio_transcription",
+ "source": "https://soniox.com/pricing",
+ "supported_endpoints": [
+ "/v1/audio/transcriptions"
+ ],
+ "supports_audio_input": true
+ },
+ "tensormesh/Qwen/Qwen3.5-397B-A17B-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 6e-07,
+ "output_cost_per_token": 3.6e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 4.5e-07,
+ "output_cost_per_token": 1.8e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/Qwen/Qwen3.6-27B-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 3.2e-07,
+ "output_cost_per_token": 3.2e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/lukealonso/GLM-5.1-NVFP4-MTP": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-06,
+ "output_cost_per_token": 4.4e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 202752,
+ "max_output_tokens": 202752,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/deepseek-ai/DeepSeek-V4-Flash": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 2.8e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/moonshotai/Kimi-K2.6": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 9.6e-07,
+ "output_cost_per_token": 4e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/MiniMaxAI/MiniMax-M2.5": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 196608,
+ "max_output_tokens": 196608,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/google/gemma-4-31B-it": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 5.6e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/openai/gpt-oss-120b": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/openai/gpt-oss-20b": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 2.8e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
"deepseek-v4-flash": {
"cache_creation_input_token_cost": 0.0,
"cache_read_input_token_cost": 2.8e-09,
@@ -43275,40 +43749,6 @@
"supports_tool_choice": true,
"supports_vision": false
},
- "darkbloom/gemma-4-26b": {
- "input_cost_per_token": 3e-08,
- "litellm_provider": "darkbloom",
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
- "max_tokens": 32768,
- "mode": "chat",
- "output_cost_per_token": 1.65e-07,
- "source": "https://www.darkbloom.dev/",
- "supported_endpoints": [
- "/v1/chat/completions"
- ],
- "supports_function_calling": true,
- "supports_native_streaming": true,
- "supports_system_messages": true,
- "supports_tool_choice": true
- },
- "darkbloom/gpt-oss-20b": {
- "input_cost_per_token": 1.45e-08,
- "litellm_provider": "darkbloom",
- "max_input_tokens": 131072,
- "max_output_tokens": 32768,
- "max_tokens": 32768,
- "mode": "chat",
- "output_cost_per_token": 7e-08,
- "source": "https://www.darkbloom.dev/",
- "supported_endpoints": [
- "/v1/chat/completions"
- ],
- "supports_function_calling": true,
- "supports_native_streaming": true,
- "supports_system_messages": true,
- "supports_tool_choice": true
- },
"deepseek/deepseek-v4-pro": {
"cache_creation_input_token_cost": 0.0,
"cache_read_input_token_cost": 3.625e-09,
@@ -43338,8 +43778,8 @@
"max_tokens": 128000,
"max_input_tokens": 128000,
"max_output_tokens": 128000,
- "input_cost_per_token": 0.000000125,
- "output_cost_per_token": 0.00000045,
+ "input_cost_per_token": 1.25e-07,
+ "output_cost_per_token": 4.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43351,8 +43791,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.00000014,
- "output_cost_per_token": 0.00000045,
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 4.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43364,8 +43804,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.00000009,
- "output_cost_per_token": 0.0000002,
+ "input_cost_per_token": 9e-08,
+ "output_cost_per_token": 2e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43377,8 +43817,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.0000003,
- "output_cost_per_token": 0.0000006,
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 6e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43390,8 +43830,8 @@
"max_tokens": 163840,
"max_input_tokens": 163840,
"max_output_tokens": 163840,
- "input_cost_per_token": 0.0000001,
- "output_cost_per_token": 0.0000002,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 2e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43403,8 +43843,8 @@
"max_tokens": 1000192,
"max_input_tokens": 1000192,
"max_output_tokens": 1000192,
- "input_cost_per_token": 0.000000255,
- "output_cost_per_token": 0.00000055,
+ "input_cost_per_token": 2.55e-07,
+ "output_cost_per_token": 5.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43412,39 +43852,73 @@
"supports_reasoning": false,
"source": "https://pinstripes.io/pricing"
},
- "fallback_generalizations": {
- "rules": [
- {
- "name": "anthropic-claude-adaptive-thinking",
- "pattern": "(?:opus|sonnet|haiku)[-._](?:4[-._](?:[6-9]|[1-9]\\d)(?!\\d)|(?:[5-9]|[1-9]\\d{1,})[-._]\\d{1,2}(?!\\d))",
- "description": "Claude opus/sonnet/haiku at version 4.6 or higher: 4.6 through 4.99, then any 5.x, 6.x or later major. The minor is capped at two digits so an 8-digit date suffix such as claude-opus-4-20250514 is never read as a >= 4.6 minor. Turns on adaptive thinking for new families with no code change.",
- "extends": "anthropic-claude",
- "model_info": {
- "supports_adaptive_thinking": true
- }
- },
- {
- "name": "anthropic-claude",
- "pattern": "^claude-[a-z]+-\\d+[-.]\\d+(?:-\\d{8})?$",
- "description": "Any Claude family-major-minor id, optionally with an 8-digit date suffix, anchored to the whole name. Version-neutral fallback that gives an unmapped Claude provider routing and baseline capabilities; it carries no pricing, so cost stays on the standard unpriced behavior rather than a guessed number.",
- "model_info": {
- "litellm_provider": "anthropic",
- "mode": "chat",
- "max_input_tokens": 200000,
- "max_output_tokens": 64000,
- "max_tokens": 64000,
- "supports_function_calling": true,
- "supports_parallel_function_calling": true,
- "supports_vision": true,
- "supports_tool_choice": true,
- "supports_assistant_prefill": true,
- "supports_prompt_caching": true,
- "supports_response_schema": true,
- "supports_reasoning": true,
- "supports_pdf_input": true,
- "supports_system_messages": true
- }
- }
- ]
- }
+ "darkbloom/gemma-4-26b": {
+ "input_cost_per_token": 3e-08,
+ "litellm_provider": "darkbloom",
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
+ "max_tokens": 32768,
+ "mode": "chat",
+ "output_cost_per_token": 1.65e-07,
+ "source": "https://www.darkbloom.dev/",
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
+ "supports_function_calling": true,
+ "supports_native_streaming": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true
+ },
+ "darkbloom/gpt-oss-20b": {
+ "input_cost_per_token": 1.45e-08,
+ "litellm_provider": "darkbloom",
+ "max_input_tokens": 131072,
+ "max_output_tokens": 32768,
+ "max_tokens": 32768,
+ "mode": "chat",
+ "output_cost_per_token": 7e-08,
+ "source": "https://www.darkbloom.dev/",
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
+ "supports_function_calling": true,
+ "supports_native_streaming": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true
+ },
+ "fallback_generalizations": {
+ "rules": [
+ {
+ "name": "anthropic-claude-adaptive-thinking",
+ "pattern": "(?:opus|sonnet|haiku)[-._](?:4[-._](?:[6-9]|[1-9]\\d)(?!\\d)|(?:[5-9]|[1-9]\\d{1,})[-._]\\d{1,2}(?!\\d))",
+ "description": "Claude opus/sonnet/haiku at version 4.6 or higher: 4.6 through 4.99, then any 5.x, 6.x or later major. The minor is capped at two digits so an 8-digit date suffix such as claude-opus-4-20250514 is never read as a >= 4.6 minor. Turns on adaptive thinking for new families with no code change.",
+ "extends": "anthropic-claude",
+ "model_info": {
+ "supports_adaptive_thinking": true
+ }
+ },
+ {
+ "name": "anthropic-claude",
+ "pattern": "^claude-[a-z]+-\\d+[-.]\\d+(?:-\\d{8})?$",
+ "description": "Any Claude family-major-minor id, optionally with an 8-digit date suffix, anchored to the whole name. Version-neutral fallback that gives an unmapped Claude provider routing and baseline capabilities; it carries no pricing, so cost stays on the standard unpriced behavior rather than a guessed number.",
+ "model_info": {
+ "litellm_provider": "anthropic",
+ "mode": "chat",
+ "max_input_tokens": 200000,
+ "max_output_tokens": 64000,
+ "max_tokens": 64000,
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_vision": true,
+ "supports_tool_choice": true,
+ "supports_assistant_prefill": true,
+ "supports_prompt_caching": true,
+ "supports_response_schema": true,
+ "supports_reasoning": true,
+ "supports_pdf_input": true,
+ "supports_system_messages": true
+ }
+ }
+ ]
+ }
}
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 73cefeb7c77..15b16118a7b 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -1010,7 +1010,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1042,7 +1041,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1074,7 +1072,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1106,7 +1103,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1138,7 +1134,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1170,7 +1165,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1219,7 +1213,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1253,7 +1246,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1287,7 +1279,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1321,7 +1312,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1487,7 +1477,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1521,7 +1510,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1555,7 +1543,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1589,7 +1576,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1623,7 +1609,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1688,7 +1673,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1719,7 +1703,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1750,7 +1733,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1781,7 +1763,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1812,7 +1793,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -1843,7 +1823,186 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "global.anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "us.anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_creation_input_token_cost_above_1hr": 4.4e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ "input_cost_per_token": 2.2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1.1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "eu.anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_creation_input_token_cost_above_1hr": 4.4e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ "input_cost_per_token": 2.2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1.1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "au.anthropic.claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_creation_input_token_cost_above_1hr": 4.4e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ "input_cost_per_token": 2.2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1.1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_native_structured_output": true,
+ "supports_output_config": true
+ },
+ "jp.anthropic.claude-sonnet-5": {
"supports_adaptive_thinking": true,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_creation_input_token_cost_above_1hr": 4.4e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ "input_cost_per_token": 2.2e-06,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1.1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2364,7 +2523,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2394,7 +2552,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2455,7 +2612,6 @@
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -2523,6 +2679,34 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_output_config": true
+ },
+ "azure_ai/claude-sonnet-5": {
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "azure_ai",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
"supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
@@ -9132,17 +9316,16 @@
},
"bedrock/us-east-1/minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "source": "https://aws.amazon.com/bedrock/pricing/",
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "output_cost_per_token": 1.2e-06
+ "source": "https://aws.amazon.com/bedrock/pricing/"
},
"bedrock/us-east-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
@@ -9754,17 +9937,16 @@
},
"bedrock/us-west-2/minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "source": "https://aws.amazon.com/bedrock/pricing/",
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "output_cost_per_token": 1.2e-06
+ "source": "https://aws.amazon.com/bedrock/pricing/"
},
"bedrock/us-west-2/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
@@ -10274,6 +10456,35 @@
"supports_vision": true,
"supports_output_config": true
},
+ "claude-sonnet-5": {
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "anthropic",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "supports_output_config": true
+ },
"claude-sonnet-4-5-20250929-v1:0": {
"cache_creation_input_token_cost": 3.75e-06,
"cache_creation_input_token_cost_above_1hr": 6e-06,
@@ -19105,7 +19316,6 @@
"supported_endpoints": [
"/v1/chat/completions"
],
- "supports_adaptive_thinking": true,
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_vision": true
@@ -21857,8 +22067,8 @@
"output_cost_per_token_flex": 1.5e-05,
"output_cost_per_token_batches": 1.5e-05,
"output_cost_per_token_priority": 6e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -21906,8 +22116,8 @@
"output_cost_per_token_flex": 1.5e-05,
"output_cost_per_token_batches": 1.5e-05,
"output_cost_per_token_priority": 6e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -21951,8 +22161,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -21996,8 +22206,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22045,8 +22255,8 @@
"output_cost_per_token_flex": 7.5e-06,
"output_cost_per_token_batches": 7.5e-06,
"output_cost_per_token_priority": 3e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22093,8 +22303,8 @@
"output_cost_per_token_flex": 7.5e-06,
"output_cost_per_token_batches": 7.5e-06,
"output_cost_per_token_priority": 3e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22134,8 +22344,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22178,8 +22388,8 @@
"output_cost_per_token_above_272k_tokens": 0.00027,
"output_cost_per_token_flex": 9e-05,
"output_cost_per_token_batches": 9e-05,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/responses",
"/v1/batch"
@@ -22223,8 +22433,8 @@
"output_cost_per_token_flex": 2.25e-06,
"output_cost_per_token_batches": 2.25e-06,
"output_cost_per_token_priority": 9e-06,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22269,8 +22479,8 @@
"output_cost_per_token_flex": 2.25e-06,
"output_cost_per_token_batches": 2.25e-06,
"output_cost_per_token_priority": 9e-06,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22312,8 +22522,8 @@
"output_cost_per_token": 1.25e-06,
"output_cost_per_token_flex": 6.25e-07,
"output_cost_per_token_batches": 6.25e-07,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -22355,8 +22565,8 @@
"output_cost_per_token": 1.25e-06,
"output_cost_per_token_flex": 6.25e-07,
"output_cost_per_token_batches": 6.25e-07,
- "regional_processing_uplift_multiplier_eu": 1.10,
- "regional_processing_uplift_multiplier_us": 1.10,
+ "regional_processing_uplift_multiplier_eu": 1.1,
+ "regional_processing_uplift_multiplier_us": 1.1,
"supported_endpoints": [
"/v1/chat/completions",
"/v1/batch",
@@ -24873,14 +25083,13 @@
},
"minimax.minimax-m2.5": {
"input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 1000000,
"max_output_tokens": 8192,
"max_tokens": 8192,
"mode": "chat",
- "output_cost_per_token": 1.2e-06,
"supports_function_calling": true,
- "supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
@@ -28336,7 +28545,6 @@
"output_cost_per_token": 1.5e-05,
"output_cost_per_token_above_200k_tokens": 2.25e-05,
"source": "https://openrouter.ai/anthropic/claude-sonnet-4.6",
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -28376,7 +28584,6 @@
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -28438,7 +28645,6 @@
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -30377,7 +30583,6 @@
"supports_adaptive_thinking": true,
"litellm_provider": "perplexity",
"mode": "responses",
- "supports_adaptive_thinking": true,
"supports_web_search": true,
"supports_reasoning": false,
"supports_function_calling": true,
@@ -30387,7 +30592,6 @@
"supports_adaptive_thinking": true,
"litellm_provider": "perplexity",
"mode": "responses",
- "supports_adaptive_thinking": true,
"supports_web_search": true,
"supports_reasoning": false,
"supports_function_calling": true,
@@ -31434,15 +31638,15 @@
"supports_vision": true,
"source": "https://cloud.sambanova.ai/plans/pricing"
},
- "snowflake/claude-3-5-sonnet": {
+ "snowflake/claude-3-5-sonnet": {
"litellm_provider": "snowflake",
"max_input_tokens": 200000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
"supports_computer_use": true,
"supports_function_calling": true,
"supports_vision": true,
@@ -31450,14 +31654,14 @@
"supports_system_messages": true,
"supports_response_schema": true
},
- "snowflake/deepseek-r1": {
+ "snowflake/deepseek-r1": {
"litellm_provider": "snowflake",
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000135,
- "output_cost_per_token": 0.0000054,
+ "input_cost_per_token": 1.35e-06,
+ "output_cost_per_token": 5.4e-06,
"supports_reasoning": true,
"supports_system_messages": true
},
@@ -31516,8 +31720,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.0000012,
- "output_cost_per_token": 0.0000012,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 1.2e-06,
"supports_function_calling": true,
"supports_system_messages": true
},
@@ -31527,8 +31731,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"supports_function_calling": true,
"supports_system_messages": true
},
@@ -31538,8 +31742,8 @@
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.00000024,
- "output_cost_per_token": 0.00000024,
+ "input_cost_per_token": 2.4e-07,
+ "output_cost_per_token": 2.4e-07,
"supports_system_messages": true
},
"snowflake/llama3.2-1b": {
@@ -31556,17 +31760,17 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/llama3.3-70b": {
+ "snowflake/llama3.3-70b": {
"max_tokens": 16384,
"max_input_tokens": 128000,
"max_output_tokens": 16384,
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"litellm_provider": "snowflake",
"mode": "chat",
"supports_function_calling": true,
"supports_system_messages": true
- },
+ },
"snowflake/mistral-7b": {
"litellm_provider": "snowflake",
"max_input_tokens": 32000,
@@ -31581,14 +31785,14 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/mistral-large2": {
+ "snowflake/mistral-large2": {
"litellm_provider": "snowflake",
"max_input_tokens": 128000,
"max_output_tokens": 16384,
"max_tokens": 16384,
"mode": "chat",
- "input_cost_per_token": 0.000002,
- "output_cost_per_token": 0.000006,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 6e-06,
"supports_function_calling": true,
"supports_system_messages": true,
"supports_response_schema": true
@@ -31628,17 +31832,17 @@
"max_tokens": 8192,
"mode": "chat"
},
- "snowflake/snowflake-llama-3.3-70b": {
+ "snowflake/snowflake-llama-3.3-70b": {
"max_tokens": 16384,
"max_input_tokens": 128000,
"max_output_tokens": 16384,
- "input_cost_per_token": 0.00000072,
- "output_cost_per_token": 0.00000072,
+ "input_cost_per_token": 7.2e-07,
+ "output_cost_per_token": 7.2e-07,
"litellm_provider": "snowflake",
"mode": "chat",
"supports_function_calling": true,
"supports_system_messages": true
- },
+ },
"stability/sd3": {
"litellm_provider": "stability",
"mode": "image_generation",
@@ -32890,7 +33094,7 @@
"input_cost_per_token": 3.6e-06,
"input_cost_per_token_above_200k_tokens": 7.2e-06,
"output_cost_per_token_above_200k_tokens": 2.7e-05,
- "cache_creation_input_token_cost_above_200k_tokens": 9.0e-06,
+ "cache_creation_input_token_cost_above_200k_tokens": 9e-06,
"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.44e-05,
"cache_read_input_token_cost_above_200k_tokens": 7.2e-07,
"litellm_provider": "bedrock_converse",
@@ -33632,7 +33836,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 2.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34867,7 +35070,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34897,7 +35099,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34927,7 +35128,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -34958,7 +35158,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35049,7 +35248,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35080,7 +35278,6 @@
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": false,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -35133,7 +35330,6 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
- "supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
"supports_function_calling": true,
@@ -37690,12 +37886,12 @@
},
"zai.glm-5": {
"input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3.2e-06,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 200000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
- "output_cost_per_token": 3.2e-06,
"supports_function_calling": true,
"supports_reasoning": true,
"supports_system_messages": true,
@@ -37716,20 +37912,6 @@
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
},
- "zai.glm-5": {
- "input_cost_per_token": 1e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
- "max_tokens": 128000,
- "mode": "chat",
- "output_cost_per_token": 3.2e-06,
- "source": "https://aws.amazon.com/bedrock/pricing/",
- "supports_function_calling": true,
- "supports_reasoning": true,
- "supports_system_messages": true,
- "supports_tool_choice": true
- },
"zai/glm-5": {
"cache_creation_input_token_cost": 0,
"cache_read_input_token_cost": 2e-07,
@@ -42628,6 +42810,39 @@
"max_tokens": 64000,
"mode": "chat",
"output_cost_per_token": 1.5e-05,
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
+ "supports_output_config": true
+ },
+ "vertex_ai/claude-sonnet-5": {
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "vertex_ai-anthropic_models",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
+ "search_context_cost_per_query": {
+ "search_context_size_high": 0.01,
+ "search_context_size_low": 0.01,
+ "search_context_size_medium": 0.01
+ },
"supports_adaptive_thinking": true,
"supports_assistant_prefill": true,
"supports_computer_use": true,
@@ -42639,11 +42854,35 @@
"supports_max_reasoning_effort": true,
"supports_tool_choice": true,
"supports_vision": true,
+ "supports_output_config": true
+ },
+ "vertex_ai/claude-sonnet-5@default": {
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_creation_input_token_cost_above_1hr": 4e-06,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 2e-06,
+ "litellm_provider": "vertex_ai-anthropic_models",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 1e-05,
"search_context_cost_per_query": {
"search_context_size_high": 0.01,
"search_context_size_low": 0.01,
"search_context_size_medium": 0.01
},
+ "supports_adaptive_thinking": true,
+ "supports_assistant_prefill": true,
+ "supports_computer_use": true,
+ "supports_function_calling": true,
+ "supports_pdf_input": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_max_reasoning_effort": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
"supports_output_config": true
},
"duckduckgo/search": {
@@ -42662,7 +42901,10 @@
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_reasoning": true,
@@ -42677,7 +42919,10 @@
"max_output_tokens": 32768,
"max_tokens": 32768,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": true,
"supports_reasoning": true,
@@ -42692,7 +42937,9 @@
"max_output_tokens": 65536,
"max_tokens": 65536,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions"],
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
"supports_function_calling": true,
"supports_reasoning": true,
"supports_response_schema": true,
@@ -42706,7 +42953,9 @@
"max_output_tokens": 65536,
"max_tokens": 65536,
"mode": "chat",
- "supported_endpoints": ["/v1/chat/completions"],
+ "supported_endpoints": [
+ "/v1/chat/completions"
+ ],
"supports_function_calling": true,
"supports_reasoning": true,
"supports_response_schema": true,
@@ -42722,9 +42971,16 @@
"max_tokens": 128000,
"mode": "responses",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/responses"],
- "supported_modalities": ["text", "image"],
- "supported_output_modalities": ["text"],
+ "supported_endpoints": [
+ "/v1/responses"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
@@ -42742,9 +42998,16 @@
"max_tokens": 128000,
"mode": "responses",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/responses"],
- "supported_modalities": ["text", "image"],
- "supported_output_modalities": ["text"],
+ "supported_endpoints": [
+ "/v1/responses"
+ ],
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "text"
+ ],
"supports_function_calling": true,
"supports_prompt_caching": true,
"supports_reasoning": true,
@@ -42761,7 +43024,10 @@
"max_tokens": 256000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -42777,7 +43043,10 @@
"max_tokens": 256000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -42793,7 +43062,10 @@
"max_tokens": 128000,
"mode": "chat",
"use_openai_responses_path": true,
- "supported_endpoints": ["/v1/chat/completions", "/v1/responses"],
+ "supported_endpoints": [
+ "/v1/chat/completions",
+ "/v1/responses"
+ ],
"supports_function_calling": true,
"supports_parallel_function_calling": false,
"supports_reasoning": true,
@@ -42952,20 +43224,6 @@
}
]
},
- "zai.glm-5": {
- "input_cost_per_token": 1e-06,
- "output_cost_per_token": 3.2e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 200000,
- "max_output_tokens": 128000,
- "max_tokens": 128000,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_reasoning": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
"bedrock/us-east-1/zai.glm-5": {
"input_cost_per_token": 1e-06,
"output_cost_per_token": 3.2e-06,
@@ -42994,45 +43252,6 @@
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
},
- "minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock_converse",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
- "bedrock/us-east-1/minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
- "bedrock/us-west-2/minimax.minimax-m2.5": {
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "litellm_provider": "bedrock",
- "max_input_tokens": 1000000,
- "max_output_tokens": 8192,
- "max_tokens": 8192,
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_tool_choice": true,
- "source": "https://aws.amazon.com/bedrock/pricing/"
- },
"bedrock/us-gov-east-1/anthropic.claude-haiku-4-5-20251001-v1:0": {
"cache_creation_input_token_cost": 1.5e-06,
"cache_creation_input_token_cost_above_1hr": 2.4e-06,
@@ -43079,363 +43298,382 @@
"supports_native_structured_output": true,
"supports_pdf_input": true
},
- "snowflake/claude-sonnet-4-5": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-sonnet-4-6": {
- "supports_adaptive_thinking": true,
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-4-sonnet": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-4-opus": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000005,
- "output_cost_per_token": 0.000025,
- "cache_read_input_token_cost": 0.0000005,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/claude-haiku-4-5": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000001,
- "output_cost_per_token": 0.000005,
- "cache_read_input_token_cost": 0.0000001,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/claude-3-7-sonnet": {
- "max_tokens": 16384,
- "max_input_tokens": 200000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000003,
- "output_cost_per_token": 0.000015,
- "cache_read_input_token_cost": 0.0000003,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-4.1": {
- "max_tokens": 16384,
- "max_input_tokens": 300000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.000002,
- "output_cost_per_token": 0.000008,
- "cache_read_input_token_cost": 0.0000005,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5": {
- "max_tokens": 16384,
- "max_input_tokens": 300000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000125,
- "output_cost_per_token": 0.00001,
- "cache_read_input_token_cost": 0.000000125,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_vision": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5-mini": {
- "max_tokens": 16384,
- "max_input_tokens": 1000000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.0000003,
- "output_cost_per_token": 0.0000012,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/openai-gpt-5-nano": {
- "max_tokens": 16384,
- "max_input_tokens": 5000000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000015,
- "output_cost_per_token": 0.0000006,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true,
- "supports_response_schema": true
- },
- "snowflake/llama4-maverick": {
- "max_tokens": 16384,
- "max_input_tokens": 128000,
- "max_output_tokens": 16384,
- "input_cost_per_token": 0.00000024,
- "output_cost_per_token": 0.00000097,
- "litellm_provider": "snowflake",
- "mode": "chat",
- "supports_function_calling": true,
- "supports_system_messages": true
- },
- "snowflake/snowflake-arctic-embed-l-v2.0": {
- "max_tokens": 8192,
- "max_input_tokens": 8192,
- "input_cost_per_token": 0.00000007,
- "output_cost_per_token": 0.0,
- "litellm_provider": "snowflake",
- "mode": "embedding"
- },
- "snowflake/snowflake-arctic-embed-m-v2.0": {
- "max_tokens": 8192,
- "max_input_tokens": 8192,
- "input_cost_per_token": 0.00000007,
- "output_cost_per_token": 0.0,
- "litellm_provider": "snowflake",
- "mode": "embedding"
- },
- "soniox/stt-async-v4": {
- "litellm_provider": "soniox",
- "max_output_tokens": 8000,
- "max_tokens": 8000,
- "input_cost_per_second": 0.0,
- "output_cost_per_second": 0.0000277778,
- "mode": "audio_transcription",
- "source": "https://soniox.com/pricing",
- "supported_endpoints": ["/v1/audio/transcriptions"],
- "supports_audio_input": true
- },
- "soniox/stt-async-v5": {
- "litellm_provider": "soniox",
- "max_output_tokens": 8000,
- "max_tokens": 8000,
- "input_cost_per_second": 0.0,
- "output_cost_per_second": 0.0000277778,
- "mode": "audio_transcription",
- "source": "https://soniox.com/pricing",
- "supported_endpoints": ["/v1/audio/transcriptions"],
- "supports_audio_input": true
- },
- "tensormesh/Qwen/Qwen3.5-397B-A17B-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 6e-07,
- "output_cost_per_token": 3.6e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 4.5e-07,
- "output_cost_per_token": 1.8e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/Qwen/Qwen3.6-27B-FP8": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 3.2e-07,
- "output_cost_per_token": 3.2e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/lukealonso/GLM-5.1-NVFP4-MTP": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-06,
- "output_cost_per_token": 4.4e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 202752,
- "max_output_tokens": 202752,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/deepseek-ai/DeepSeek-V4-Flash": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-07,
- "output_cost_per_token": 2.8e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/moonshotai/Kimi-K2.6": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 9.6e-07,
- "output_cost_per_token": 4e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/MiniMaxAI/MiniMax-M2.5": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 3e-07,
- "output_cost_per_token": 1.2e-06,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 196608,
- "max_output_tokens": 196608,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/google/gemma-4-31B-it": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.4e-07,
- "output_cost_per_token": 5.6e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 32768,
- "max_output_tokens": 32768,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/openai/gpt-oss-120b": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 1.5e-07,
- "output_cost_per_token": 6e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- },
- "tensormesh/openai/gpt-oss-20b": {
- "litellm_provider": "tensormesh",
- "mode": "chat",
- "input_cost_per_token": 7e-08,
- "output_cost_per_token": 2.8e-07,
- "cache_read_input_token_cost": 0,
- "max_input_tokens": 131072,
- "max_output_tokens": 131072,
- "supports_function_calling": true,
- "supports_tool_choice": true,
- "supports_response_schema": true,
- "supports_prompt_caching": true,
- "supports_system_messages": true,
- "supports_reasoning": true,
- "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
- }
- ,
+ "snowflake/claude-sonnet-4-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-sonnet-4-6": {
+ "supports_adaptive_thinking": true,
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-sonnet-5": {
+ "supports_adaptive_thinking": true,
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 1e-05,
+ "cache_read_input_token_cost": 2e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-4-sonnet": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-4-opus": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 5e-06,
+ "output_cost_per_token": 2.5e-05,
+ "cache_read_input_token_cost": 5e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-haiku-4-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 5e-06,
+ "cache_read_input_token_cost": 1e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/claude-3-7-sonnet": {
+ "max_tokens": 16384,
+ "max_input_tokens": 200000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-06,
+ "output_cost_per_token": 1.5e-05,
+ "cache_read_input_token_cost": 3e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-4.1": {
+ "max_tokens": 16384,
+ "max_input_tokens": 300000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 8e-06,
+ "cache_read_input_token_cost": 5e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5": {
+ "max_tokens": 16384,
+ "max_input_tokens": 300000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1.25e-06,
+ "output_cost_per_token": 1e-05,
+ "cache_read_input_token_cost": 1.25e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_vision": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5-mini": {
+ "max_tokens": 16384,
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/openai-gpt-5-nano": {
+ "max_tokens": 16384,
+ "max_input_tokens": 5000000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_response_schema": true
+ },
+ "snowflake/llama4-maverick": {
+ "max_tokens": 16384,
+ "max_input_tokens": 128000,
+ "max_output_tokens": 16384,
+ "input_cost_per_token": 2.4e-07,
+ "output_cost_per_token": 9.7e-07,
+ "litellm_provider": "snowflake",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_system_messages": true
+ },
+ "snowflake/snowflake-arctic-embed-l-v2.0": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "snowflake",
+ "mode": "embedding"
+ },
+ "snowflake/snowflake-arctic-embed-m-v2.0": {
+ "max_tokens": 8192,
+ "max_input_tokens": 8192,
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 0.0,
+ "litellm_provider": "snowflake",
+ "mode": "embedding"
+ },
+ "soniox/stt-async-v4": {
+ "litellm_provider": "soniox",
+ "max_output_tokens": 8000,
+ "max_tokens": 8000,
+ "input_cost_per_second": 0.0,
+ "output_cost_per_second": 2.77778e-05,
+ "mode": "audio_transcription",
+ "source": "https://soniox.com/pricing",
+ "supported_endpoints": [
+ "/v1/audio/transcriptions"
+ ],
+ "supports_audio_input": true
+ },
+ "soniox/stt-async-v5": {
+ "litellm_provider": "soniox",
+ "max_output_tokens": 8000,
+ "max_tokens": 8000,
+ "input_cost_per_second": 0.0,
+ "output_cost_per_second": 2.77778e-05,
+ "mode": "audio_transcription",
+ "source": "https://soniox.com/pricing",
+ "supported_endpoints": [
+ "/v1/audio/transcriptions"
+ ],
+ "supports_audio_input": true
+ },
+ "tensormesh/Qwen/Qwen3.5-397B-A17B-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 6e-07,
+ "output_cost_per_token": 3.6e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 4.5e-07,
+ "output_cost_per_token": 1.8e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/Qwen/Qwen3.6-27B-FP8": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 3.2e-07,
+ "output_cost_per_token": 3.2e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/lukealonso/GLM-5.1-NVFP4-MTP": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-06,
+ "output_cost_per_token": 4.4e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 202752,
+ "max_output_tokens": 202752,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/deepseek-ai/DeepSeek-V4-Flash": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 2.8e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/moonshotai/Kimi-K2.6": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 9.6e-07,
+ "output_cost_per_token": 4e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/MiniMaxAI/MiniMax-M2.5": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 1.2e-06,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 196608,
+ "max_output_tokens": 196608,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/google/gemma-4-31B-it": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 5.6e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 32768,
+ "max_output_tokens": 32768,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/openai/gpt-oss-120b": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 1.5e-07,
+ "output_cost_per_token": 6e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
+ "tensormesh/openai/gpt-oss-20b": {
+ "litellm_provider": "tensormesh",
+ "mode": "chat",
+ "input_cost_per_token": 7e-08,
+ "output_cost_per_token": 2.8e-07,
+ "cache_read_input_token_cost": 0,
+ "max_input_tokens": 131072,
+ "max_output_tokens": 131072,
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_prompt_caching": true,
+ "supports_system_messages": true,
+ "supports_reasoning": true,
+ "source": "https://serverless.tensormesh.ai/v1/models/openrouter"
+ },
"deepseek-v4-flash": {
"cache_creation_input_token_cost": 0.0,
"cache_read_input_token_cost": 2.8e-09,
@@ -43540,8 +43778,8 @@
"max_tokens": 128000,
"max_input_tokens": 128000,
"max_output_tokens": 128000,
- "input_cost_per_token": 0.000000125,
- "output_cost_per_token": 0.00000045,
+ "input_cost_per_token": 1.25e-07,
+ "output_cost_per_token": 4.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43553,8 +43791,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.00000014,
- "output_cost_per_token": 0.00000045,
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 4.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43566,8 +43804,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.00000009,
- "output_cost_per_token": 0.0000002,
+ "input_cost_per_token": 9e-08,
+ "output_cost_per_token": 2e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43579,8 +43817,8 @@
"max_tokens": 131072,
"max_input_tokens": 131072,
"max_output_tokens": 131072,
- "input_cost_per_token": 0.0000003,
- "output_cost_per_token": 0.0000006,
+ "input_cost_per_token": 3e-07,
+ "output_cost_per_token": 6e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43592,8 +43830,8 @@
"max_tokens": 163840,
"max_input_tokens": 163840,
"max_output_tokens": 163840,
- "input_cost_per_token": 0.0000001,
- "output_cost_per_token": 0.0000002,
+ "input_cost_per_token": 1e-07,
+ "output_cost_per_token": 2e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43605,8 +43843,8 @@
"max_tokens": 1000192,
"max_input_tokens": 1000192,
"max_output_tokens": 1000192,
- "input_cost_per_token": 0.000000255,
- "output_cost_per_token": 0.00000055,
+ "input_cost_per_token": 2.55e-07,
+ "output_cost_per_token": 5.5e-07,
"litellm_provider": "pinstripes",
"mode": "chat",
"supports_function_calling": true,
@@ -43648,39 +43886,39 @@
"supports_system_messages": true,
"supports_tool_choice": true
},
- "fallback_generalizations": {
- "rules": [
- {
- "name": "anthropic-claude-adaptive-thinking",
- "pattern": "(?:opus|sonnet|haiku)[-._](?:4[-._](?:[6-9]|[1-9]\\d)(?!\\d)|(?:[5-9]|[1-9]\\d{1,})[-._]\\d{1,2}(?!\\d))",
- "description": "Claude opus/sonnet/haiku at version 4.6 or higher: 4.6 through 4.99, then any 5.x, 6.x or later major. The minor is capped at two digits so an 8-digit date suffix such as claude-opus-4-20250514 is never read as a >= 4.6 minor. Turns on adaptive thinking for new families with no code change.",
- "extends": "anthropic-claude",
- "model_info": {
- "supports_adaptive_thinking": true
- }
- },
- {
- "name": "anthropic-claude",
- "pattern": "^claude-[a-z]+-\\d+[-.]\\d+(?:-\\d{8})?$",
- "description": "Any Claude family-major-minor id, optionally with an 8-digit date suffix, anchored to the whole name. Version-neutral fallback that gives an unmapped Claude provider routing and baseline capabilities; it carries no pricing, so cost stays on the standard unpriced behavior rather than a guessed number.",
- "model_info": {
- "litellm_provider": "anthropic",
- "mode": "chat",
- "max_input_tokens": 200000,
- "max_output_tokens": 64000,
- "max_tokens": 64000,
- "supports_function_calling": true,
- "supports_parallel_function_calling": true,
- "supports_vision": true,
- "supports_tool_choice": true,
- "supports_assistant_prefill": true,
- "supports_prompt_caching": true,
- "supports_response_schema": true,
- "supports_reasoning": true,
- "supports_pdf_input": true,
- "supports_system_messages": true
- }
- }
- ]
- }
+ "fallback_generalizations": {
+ "rules": [
+ {
+ "name": "anthropic-claude-adaptive-thinking",
+ "pattern": "(?:opus|sonnet|haiku)[-._](?:4[-._](?:[6-9]|[1-9]\\d)(?!\\d)|(?:[5-9]|[1-9]\\d{1,})[-._]\\d{1,2}(?!\\d))",
+ "description": "Claude opus/sonnet/haiku at version 4.6 or higher: 4.6 through 4.99, then any 5.x, 6.x or later major. The minor is capped at two digits so an 8-digit date suffix such as claude-opus-4-20250514 is never read as a >= 4.6 minor. Turns on adaptive thinking for new families with no code change.",
+ "extends": "anthropic-claude",
+ "model_info": {
+ "supports_adaptive_thinking": true
+ }
+ },
+ {
+ "name": "anthropic-claude",
+ "pattern": "^claude-[a-z]+-\\d+[-.]\\d+(?:-\\d{8})?$",
+ "description": "Any Claude family-major-minor id, optionally with an 8-digit date suffix, anchored to the whole name. Version-neutral fallback that gives an unmapped Claude provider routing and baseline capabilities; it carries no pricing, so cost stays on the standard unpriced behavior rather than a guessed number.",
+ "model_info": {
+ "litellm_provider": "anthropic",
+ "mode": "chat",
+ "max_input_tokens": 200000,
+ "max_output_tokens": 64000,
+ "max_tokens": 64000,
+ "supports_function_calling": true,
+ "supports_parallel_function_calling": true,
+ "supports_vision": true,
+ "supports_tool_choice": true,
+ "supports_assistant_prefill": true,
+ "supports_prompt_caching": true,
+ "supports_response_schema": true,
+ "supports_reasoning": true,
+ "supports_pdf_input": true,
+ "supports_system_messages": true
+ }
+ }
+ ]
+ }
}
diff --git a/tests/test_litellm/test_claude_sonnet_5_config.py b/tests/test_litellm/test_claude_sonnet_5_config.py
new file mode 100644
index 00000000000..943c4172205
--- /dev/null
+++ b/tests/test_litellm/test_claude_sonnet_5_config.py
@@ -0,0 +1,163 @@
+"""
+Validate Claude Sonnet 5 model configuration entries.
+
+Sonnet 5 launched 2026-06-29 with introductory pricing ($2/$10 per MTok)
+through August 31, 2026, after which it moves to standard pricing ($3/$15).
+The cost-map entries use the introductory rates so spend tracking is accurate
+during the promotional period.
+"""
+
+import json
+import os
+
+import pytest
+
+import litellm
+from litellm.litellm_core_utils.get_model_cost_map import GetModelCostMap
+
+REPO_ROOT = os.path.join(os.path.dirname(__file__), "../..")
+
+
+def _load_root_cost_map() -> dict:
+ json_path = os.path.join(REPO_ROOT, "model_prices_and_context_window.json")
+ with open(json_path) as f:
+ return json.load(f)
+
+
+def local_model_cost_map(monkeypatch):
+ original_model_cost = litellm.model_cost
+ monkeypatch.setenv("LITELLM_LOCAL_MODEL_COST_MAP", "True")
+ litellm.model_cost = litellm.get_model_cost_map(url="")
+ litellm.get_model_info.cache_clear()
+ try:
+ yield
+ finally:
+ litellm.model_cost = original_model_cost
+ litellm.get_model_info.cache_clear()
+
+
+def test_sonnet_5_model_pricing_and_capabilities():
+ model_data = _load_root_cost_map()
+
+ expected_models = [
+ ("claude-sonnet-5", "anthropic"),
+ ("anthropic.claude-sonnet-5", "bedrock_converse"),
+ ("vertex_ai/claude-sonnet-5", "vertex_ai-anthropic_models"),
+ ("azure_ai/claude-sonnet-5", "azure_ai"),
+ ]
+
+ for model_name, provider in expected_models:
+ assert model_name in model_data, f"Missing model entry: {model_name}"
+ info = model_data[model_name]
+
+ assert info["litellm_provider"] == provider
+ assert info["mode"] == "chat"
+ assert info["max_input_tokens"] == 1000000
+ assert info["max_output_tokens"] == 128000
+ assert info["max_tokens"] == 128000
+
+ assert info["input_cost_per_token"] == 2e-06
+ assert info["output_cost_per_token"] == 1e-05
+ assert info["cache_creation_input_token_cost"] == 2.5e-06
+ assert info["cache_creation_input_token_cost_above_1hr"] == 4e-06
+ assert info["cache_read_input_token_cost"] == 2e-07
+
+ assert "input_cost_per_token_above_200k_tokens" not in info
+ assert "output_cost_per_token_above_200k_tokens" not in info
+
+ assert info["supports_adaptive_thinking"] is True
+ assert info["supports_function_calling"] is True
+ assert info["supports_prompt_caching"] is True
+ assert info["supports_reasoning"] is True
+ assert info["supports_tool_choice"] is True
+ assert info["supports_vision"] is True
+
+
+def test_sonnet_5_bedrock_regional_model_pricing():
+ model_data = _load_root_cost_map()
+
+ expected_models = {
+ "global.anthropic.claude-sonnet-5": {
+ "input_cost_per_token": 2e-06,
+ "output_cost_per_token": 1e-05,
+ "cache_creation_input_token_cost": 2.5e-06,
+ "cache_read_input_token_cost": 2e-07,
+ },
+ "us.anthropic.claude-sonnet-5": {
+ "input_cost_per_token": 2.2e-06,
+ "output_cost_per_token": 1.1e-05,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ },
+ "eu.anthropic.claude-sonnet-5": {
+ "input_cost_per_token": 2.2e-06,
+ "output_cost_per_token": 1.1e-05,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ },
+ "au.anthropic.claude-sonnet-5": {
+ "input_cost_per_token": 2.2e-06,
+ "output_cost_per_token": 1.1e-05,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ },
+ "jp.anthropic.claude-sonnet-5": {
+ "input_cost_per_token": 2.2e-06,
+ "output_cost_per_token": 1.1e-05,
+ "cache_creation_input_token_cost": 2.75e-06,
+ "cache_read_input_token_cost": 2.2e-07,
+ },
+ }
+
+ for model_name, expected in expected_models.items():
+ assert model_name in model_data, f"Missing model entry: {model_name}"
+ info = model_data[model_name]
+ assert info["litellm_provider"] == "bedrock_converse"
+ assert info["max_input_tokens"] == 1000000
+ assert info["max_output_tokens"] == 128000
+ for key, value in expected.items():
+ assert info[key] == value, f"{model_name}.{key}: expected {value}, got {info[key]}"
+
+
+def test_sonnet_5_present_in_bundled_backup():
+ backup = GetModelCostMap.load_local_model_cost_map()
+ root = _load_root_cost_map()
+ for model_name in (
+ "claude-sonnet-5",
+ "anthropic.claude-sonnet-5",
+ "global.anthropic.claude-sonnet-5",
+ "us.anthropic.claude-sonnet-5",
+ "eu.anthropic.claude-sonnet-5",
+ "au.anthropic.claude-sonnet-5",
+ "jp.anthropic.claude-sonnet-5",
+ "vertex_ai/claude-sonnet-5",
+ "vertex_ai/claude-sonnet-5@default",
+ "azure_ai/claude-sonnet-5",
+ "snowflake/claude-sonnet-5",
+ ):
+ assert model_name in backup, f"Missing from backup cost map: {model_name}"
+ assert backup[model_name] == root[model_name], model_name
+
+
+def test_sonnet_5_provider_resolves_via_model_info(local_model_cost_map):
+ info = litellm.get_model_info(model="claude-sonnet-5")
+ assert info["litellm_provider"] == "anthropic"
+ assert info["max_input_tokens"] == 1000000
+ assert info["max_output_tokens"] == 128000
+ assert info["input_cost_per_token"] == 2e-06
+ assert info["output_cost_per_token"] == 1e-05
+
+
+ "cost_map",
+ [_load_root_cost_map(), GetModelCostMap.load_local_model_cost_map()],
+ ids=["root", "bundled_backup"],
+)
+def test_sonnet_5_all_variants_carry_adaptive_thinking_flag(cost_map):
+ variants = [k for k in cost_map if "claude-sonnet-5" in k and "sonnet-4-5" not in k]
+ assert variants, "no claude-sonnet-5 entries found in cost map"
+ missing = [
+ k for k in variants if cost_map[k].get("supports_adaptive_thinking") is not True
+ ]
+ assert not missing, f"missing supports_adaptive_thinking: {missing}"