The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
feat(cost-map): sync azure models, add MAI-Image-2.6, deepseek-v4.1-flash, muse-spark-1.3 (#42970)
devin-ai-integration[bot]553f0b6ee7d5
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 93e3a033578..02d7c3c66eb 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -63384,6 +63384,73 @@"supports_tool_choice": true,"supports_vision": true},+ "azure_ai/deepseek-v4.1-flash": {+ "cache_read_input_token_cost": 8e-09,+ "input_cost_per_token": 3.75e-07,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 1000000,+ "max_output_tokens": 384000,+ "max_tokens": 384000,+ "mode": "chat",+ "output_cost_per_token": 1.5e-06,+ "supports_function_calling": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_tool_choice": true,+ "deprecation_date": "2026-12-15",+ "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'"+ },+ "azure_ai/muse-spark-1.3": {+ "cache_read_input_token_cost": 1.5e-07,+ "input_cost_per_token": 1.25e-06,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 1048576,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "output_cost_per_token": 4.25e-06,+ "source": "https://ai.developer.meta.com/docs/pricing-rate-limits",+ "supported_endpoints": [+ "/v1/chat/completions"+ ],+ "supported_modalities": [+ "text",+ "image"+ ],+ "supported_output_modalities": [+ "text"+ ],+ "supports_function_calling": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_vision": true+ },+ "azure_ai/MAI-Image-2.6": {+ "input_cost_per_image_token": 8e-06,+ "input_cost_per_token": 5e-06,+ "litellm_provider": "azure_ai",+ "mode": "image_generation",+ "output_cost_per_image_token": 3.8e-05,+ "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",+ "supported_endpoints": [+ "/v1/images/generations",+ "/v1/images/edits"+ ]+ },+ "azure_ai/MAI-Image-2.6-Flash": {+ "input_cost_per_image_token": 2.5e-06,+ "input_cost_per_token": 1.75e-06,+ "litellm_provider": "azure_ai",+ "mode": "image_generation",+ "output_cost_per_image_token": 1.9e-05,+ "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",+ "supported_endpoints": [+ "/v1/images/generations",+ "/v1/images/edits"+ ]+ },"azure_ai/FW-DeepSeek-V4.1-Flash": {"cache_read_input_token_cost": 8e-09,"input_cost_per_token": 3.75e-07,@@ -63445,6 +63512,7 @@"supports_tool_choice": true},"azure_ai/FW-GPT-OSS-120B": {+ "deprecation_date": "2027-07-01","cache_read_input_token_cost": 8.2e-08,"input_cost_per_token": 1.65e-07,"litellm_provider": "azure_ai",@@ -63462,6 +63530,7 @@"supports_tool_choice": true},"azure_ai/Cohere-command-a-plus-05-2026": {+ "deprecation_date": "2026-10-16","input_cost_per_token": 8e-07,"litellm_provider": "azure_ai","max_input_tokens": 128000,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 93e3a033578..02d7c3c66eb 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -63384,6 +63384,73 @@"supports_tool_choice": true,"supports_vision": true},+ "azure_ai/deepseek-v4.1-flash": {+ "cache_read_input_token_cost": 8e-09,+ "input_cost_per_token": 3.75e-07,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 1000000,+ "max_output_tokens": 384000,+ "max_tokens": 384000,+ "mode": "chat",+ "output_cost_per_token": 1.5e-06,+ "supports_function_calling": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_tool_choice": true,+ "deprecation_date": "2026-12-15",+ "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'"+ },+ "azure_ai/muse-spark-1.3": {+ "cache_read_input_token_cost": 1.5e-07,+ "input_cost_per_token": 1.25e-06,+ "litellm_provider": "azure_ai",+ "max_input_tokens": 1048576,+ "max_output_tokens": 131072,+ "max_tokens": 131072,+ "mode": "chat",+ "output_cost_per_token": 4.25e-06,+ "source": "https://ai.developer.meta.com/docs/pricing-rate-limits",+ "supported_endpoints": [+ "/v1/chat/completions"+ ],+ "supported_modalities": [+ "text",+ "image"+ ],+ "supported_output_modalities": [+ "text"+ ],+ "supports_function_calling": true,+ "supports_prompt_caching": true,+ "supports_reasoning": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_vision": true+ },+ "azure_ai/MAI-Image-2.6": {+ "input_cost_per_image_token": 8e-06,+ "input_cost_per_token": 5e-06,+ "litellm_provider": "azure_ai",+ "mode": "image_generation",+ "output_cost_per_image_token": 3.8e-05,+ "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",+ "supported_endpoints": [+ "/v1/images/generations",+ "/v1/images/edits"+ ]+ },+ "azure_ai/MAI-Image-2.6-Flash": {+ "input_cost_per_image_token": 2.5e-06,+ "input_cost_per_token": 1.75e-06,+ "litellm_provider": "azure_ai",+ "mode": "image_generation",+ "output_cost_per_image_token": 1.9e-05,+ "source": "https://prices.azure.com/api/retail/prices?$filter=serviceName%20eq%20'Foundry%20Models'%20and%20armRegionName%20eq%20'eastus'%20and%20priceType%20eq%20'Consumption'",+ "supported_endpoints": [+ "/v1/images/generations",+ "/v1/images/edits"+ ]+ },"azure_ai/FW-DeepSeek-V4.1-Flash": {"cache_read_input_token_cost": 8e-09,"input_cost_per_token": 3.75e-07,@@ -63445,6 +63512,7 @@"supports_tool_choice": true},"azure_ai/FW-GPT-OSS-120B": {+ "deprecation_date": "2027-07-01","cache_read_input_token_cost": 8.2e-08,"input_cost_per_token": 1.65e-07,"litellm_provider": "azure_ai",@@ -63462,6 +63530,7 @@"supports_tool_choice": true},"azure_ai/Cohere-command-a-plus-05-2026": {+ "deprecation_date": "2026-10-16","input_cost_per_token": 8e-07,"litellm_provider": "azure_ai","max_input_tokens": 128000,