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(model_prices): update azure gpt-4.1-nano retirement date to 2027-04-14 per Microsoft schedule
Devin AI60784c9d8ed3
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 49d983f0254..5d909128cf7 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -5300,7 +5300,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,@@ -5334,7 +5334,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,@@ -10207,7 +10207,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,@@ -69115,7 +69115,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,@@ -69469,7 +69469,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 49d983f0254..5d909128cf7 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -5300,7 +5300,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,@@ -5334,7 +5334,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,@@ -10207,7 +10207,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,@@ -69115,7 +69115,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,@@ -69469,7 +69469,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,