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): drop unverified deprecation dates, correct gemini embedding and anthropic opus 4.1
Devin AI76586a8268ad
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex 83185949841..e003ca42e30 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -11502,7 +11502,6 @@"cache_creation_input_token_cost": 1.25e-06,"cache_creation_input_token_cost_above_1hr": 2e-06,"cache_read_input_token_cost": 1e-07,- "deprecation_date": "2026-10-15","input_cost_per_token": 1e-06,"litellm_provider": "anthropic","max_input_tokens": 200000,@@ -11706,7 +11705,6 @@"cache_creation_input_token_cost_above_1hr": 6e-06,"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.2e-05,"cache_read_input_token_cost": 3e-07,- "deprecation_date": "2026-09-29","input_cost_per_token": 3e-06,"input_cost_per_token_above_200k_tokens": 6e-06,"output_cost_per_token_above_200k_tokens": 2.25e-05,@@ -11856,7 +11854,8 @@"supports_native_structured_output": true,"supports_tool_choice": true,"supports_vision": true,- "prompt_cache_min_tokens": 1024+ "prompt_cache_min_tokens": 1024,+ "deprecation_date": "2026-08-05"},"claude-opus-4-1-20250805": {"cache_creation_input_token_cost": 1.875e-05,@@ -11919,7 +11918,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,- "deprecation_date": "2026-11-24","input_cost_per_token": 5e-06,"litellm_provider": "anthropic","max_input_tokens": 200000,@@ -12801,7 +12799,6 @@"supports_tool_choice": true},"computer-use-preview": {- "deprecation_date": "2026-07-23","input_cost_per_token": 3e-06,"litellm_provider": "azure","max_input_tokens": 8192,@@ -17344,6 +17341,7 @@"supports_tool_choice": true},"ft:babbage-002": {+ "deprecation_date": "2026-10-23","input_cost_per_token": 1.6e-06,"input_cost_per_token_batches": 2e-07,"litellm_provider": "text-completion-openai",@@ -17355,6 +17353,7 @@"output_cost_per_token_batches": 2e-07},"ft:davinci-002": {+ "deprecation_date": "2026-10-23","input_cost_per_token": 1.2e-05,"input_cost_per_token_batches": 1e-06,"litellm_provider": "text-completion-openai",@@ -19258,7 +19257,7 @@"uses_embed_content": true},"gemini/gemini-embedding-001": {- "deprecation_date": "2026-07-14",+ "deprecation_date": "2028-05-14","input_cost_per_token": 1.5e-07,"litellm_provider": "gemini","max_input_tokens": 2048,@@ -19434,7 +19433,6 @@},"gemini/gemini-2.5-flash": {"cache_read_input_token_cost": 3e-08,- "deprecation_date": "2026-10-16","input_cost_per_audio_token": 1e-06,"input_cost_per_token": 3e-07,"litellm_provider": "gemini",@@ -19746,7 +19744,6 @@},"gemini/gemini-2.5-flash-lite": {"cache_read_input_token_cost": 1e-08,- "deprecation_date": "2026-10-16","input_cost_per_audio_token": 3e-07,"input_cost_per_token": 1e-07,"litellm_provider": "gemini",@@ -20042,7 +20039,6 @@"gemini/gemini-2.5-pro": {"cache_read_input_token_cost": 1.25e-07,"cache_read_input_token_cost_above_200k_tokens": 2.5e-07,- "deprecation_date": "2026-10-16","input_cost_per_token": 1.25e-06,"input_cost_per_token_above_200k_tokens": 2.5e-06,"input_cost_per_token_priority": 1.25e-06,@@ -44655,6 +44651,7 @@]},"gpt-4o-mini-tts-2025-03-20": {+ "deprecation_date": "2026-07-23","input_cost_per_token": 2.5e-06,"litellm_provider": "openai","mode": "audio_speech",diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex 83185949841..e003ca42e30 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -11502,7 +11502,6 @@"cache_creation_input_token_cost": 1.25e-06,"cache_creation_input_token_cost_above_1hr": 2e-06,"cache_read_input_token_cost": 1e-07,- "deprecation_date": "2026-10-15","input_cost_per_token": 1e-06,"litellm_provider": "anthropic","max_input_tokens": 200000,@@ -11706,7 +11705,6 @@"cache_creation_input_token_cost_above_1hr": 6e-06,"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.2e-05,"cache_read_input_token_cost": 3e-07,- "deprecation_date": "2026-09-29","input_cost_per_token": 3e-06,"input_cost_per_token_above_200k_tokens": 6e-06,"output_cost_per_token_above_200k_tokens": 2.25e-05,@@ -11856,7 +11854,8 @@"supports_native_structured_output": true,"supports_tool_choice": true,"supports_vision": true,- "prompt_cache_min_tokens": 1024+ "prompt_cache_min_tokens": 1024,+ "deprecation_date": "2026-08-05"},"claude-opus-4-1-20250805": {"cache_creation_input_token_cost": 1.875e-05,@@ -11919,7 +11918,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,- "deprecation_date": "2026-11-24","input_cost_per_token": 5e-06,"litellm_provider": "anthropic","max_input_tokens": 200000,@@ -12801,7 +12799,6 @@"supports_tool_choice": true},"computer-use-preview": {- "deprecation_date": "2026-07-23","input_cost_per_token": 3e-06,"litellm_provider": "azure","max_input_tokens": 8192,@@ -17344,6 +17341,7 @@"supports_tool_choice": true},"ft:babbage-002": {+ "deprecation_date": "2026-10-23","input_cost_per_token": 1.6e-06,"input_cost_per_token_batches": 2e-07,"litellm_provider": "text-completion-openai",@@ -17355,6 +17353,7 @@"output_cost_per_token_batches": 2e-07},"ft:davinci-002": {+ "deprecation_date": "2026-10-23","input_cost_per_token": 1.2e-05,"input_cost_per_token_batches": 1e-06,"litellm_provider": "text-completion-openai",@@ -19258,7 +19257,7 @@"uses_embed_content": true},"gemini/gemini-embedding-001": {- "deprecation_date": "2026-07-14",+ "deprecation_date": "2028-05-14","input_cost_per_token": 1.5e-07,"litellm_provider": "gemini","max_input_tokens": 2048,@@ -19434,7 +19433,6 @@},"gemini/gemini-2.5-flash": {"cache_read_input_token_cost": 3e-08,- "deprecation_date": "2026-10-16","input_cost_per_audio_token": 1e-06,"input_cost_per_token": 3e-07,"litellm_provider": "gemini",@@ -19746,7 +19744,6 @@},"gemini/gemini-2.5-flash-lite": {"cache_read_input_token_cost": 1e-08,- "deprecation_date": "2026-10-16","input_cost_per_audio_token": 3e-07,"input_cost_per_token": 1e-07,"litellm_provider": "gemini",@@ -20042,7 +20039,6 @@"gemini/gemini-2.5-pro": {"cache_read_input_token_cost": 1.25e-07,"cache_read_input_token_cost_above_200k_tokens": 2.5e-07,- "deprecation_date": "2026-10-16","input_cost_per_token": 1.25e-06,"input_cost_per_token_above_200k_tokens": 2.5e-06,"input_cost_per_token_priority": 1.25e-06,@@ -44655,6 +44651,7 @@]},"gpt-4o-mini-tts-2025-03-20": {+ "deprecation_date": "2026-07-23","input_cost_per_token": 2.5e-06,"litellm_provider": "openai","mode": "audio_speech",