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
fix(cost-map): take the later azure deprecation date for gpt-4.1-nano, gpt-4o-transcribe and gpt-realtime-2.1 (#42986)
devin-ai-integration[bot]de314f827178
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 65f90014151..8fa9740ee84 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -5442,7 +5442,7 @@"supports_web_search": false},"azure/gpt-4.1-nano": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.5e-08,"input_cost_per_token": 1e-07,"input_cost_per_token_batches": 5e-08,@@ -5476,7 +5476,7 @@"supports_vision": true},"azure/gpt-4.1-nano-2025-04-14": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.5e-08,"input_cost_per_token": 1e-07,"input_cost_per_token_batches": 5e-08,@@ -6057,7 +6057,7 @@"cache_creation_input_audio_token_cost": 4e-07,"cache_read_input_audio_token_cost": 4e-07,"cache_read_input_token_cost": 4e-07,- "deprecation_date": "2027-06-25",+ "deprecation_date": "2027-07-31","input_cost_per_audio_token": 3.2e-05,"input_cost_per_image_token": 5e-06,"input_cost_per_token": 4e-06,@@ -6269,7 +6269,7 @@"supports_tool_choice": true},"azure/gpt-4o-transcribe": {- "deprecation_date": "2026-10-15",+ "deprecation_date": "2026-12-31","input_cost_per_audio_token": 2.5e-06,"input_cost_per_token": 2.5e-06,"litellm_provider": "azure",@@ -10796,7 +10796,7 @@"supports_web_search": false},"azure/us/gpt-4.1-nano-2025-04-14": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.8e-08,"input_cost_per_token": 1.1e-07,"input_cost_per_token_batches": 5.5e-08,@@ -69100,7 +69100,7 @@"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/eu/gpt-4.1-nano": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.8e-08,"input_cost_per_token": 1.1e-07,"input_cost_per_token_batches": 5.5e-08,@@ -69535,7 +69535,7 @@"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/us/gpt-4.1-nano": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.8e-08,"input_cost_per_token": 1.1e-07,"input_cost_per_token_batches": 5.5e-08,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 65f90014151..8fa9740ee84 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -5442,7 +5442,7 @@"supports_web_search": false},"azure/gpt-4.1-nano": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.5e-08,"input_cost_per_token": 1e-07,"input_cost_per_token_batches": 5e-08,@@ -5476,7 +5476,7 @@"supports_vision": true},"azure/gpt-4.1-nano-2025-04-14": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.5e-08,"input_cost_per_token": 1e-07,"input_cost_per_token_batches": 5e-08,@@ -6057,7 +6057,7 @@"cache_creation_input_audio_token_cost": 4e-07,"cache_read_input_audio_token_cost": 4e-07,"cache_read_input_token_cost": 4e-07,- "deprecation_date": "2027-06-25",+ "deprecation_date": "2027-07-31","input_cost_per_audio_token": 3.2e-05,"input_cost_per_image_token": 5e-06,"input_cost_per_token": 4e-06,@@ -6269,7 +6269,7 @@"supports_tool_choice": true},"azure/gpt-4o-transcribe": {- "deprecation_date": "2026-10-15",+ "deprecation_date": "2026-12-31","input_cost_per_audio_token": 2.5e-06,"input_cost_per_token": 2.5e-06,"litellm_provider": "azure",@@ -10796,7 +10796,7 @@"supports_web_search": false},"azure/us/gpt-4.1-nano-2025-04-14": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.8e-08,"input_cost_per_token": 1.1e-07,"input_cost_per_token_batches": 5.5e-08,@@ -69100,7 +69100,7 @@"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/eu/gpt-4.1-nano": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.8e-08,"input_cost_per_token": 1.1e-07,"input_cost_per_token_batches": 5.5e-08,@@ -69535,7 +69535,7 @@"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/us/gpt-4.1-nano": {- "deprecation_date": "2026-10-14",+ "deprecation_date": "2027-04-14","cache_read_input_token_cost": 2.8e-08,"input_cost_per_token": 1.1e-07,"input_cost_per_token_batches": 5.5e-08,