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]

fix(model_prices): drop anthropic "not sooner than" floors from deprecation_date

Devin AI2f1c8669ecfd
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 339303ccfff..cf85bf03ad8 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -14246,7 +14246,6 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"claude-haiku-4-5-20251001": {
- "deprecation_date": "2026-10-15",
"cache_creation_input_token_cost": 1.25e-06,
"cache_creation_input_token_cost_above_1hr": 2e-06,
"cache_read_input_token_cost": 1e-07,
@@ -14270,7 +14269,6 @@
"prompt_cache_min_tokens": 4096
},
"claude-haiku-4-5": {
- "deprecation_date": "2026-10-15",
"cache_creation_input_token_cost": 1.25e-06,
"cache_creation_input_token_cost_above_1hr": 2e-06,
"cache_read_input_token_cost": 1e-07,
@@ -14420,7 +14418,6 @@
"prompt_cache_min_tokens": 1024
},
"claude-sonnet-4-5": {
- "deprecation_date": "2026-09-29",
"cache_creation_input_token_cost": 3.75e-06,
"cache_creation_input_token_cost_above_1hr": 6e-06,
"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.2e-05,
@@ -14455,7 +14452,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-sonnet-4-5-20250929": {
- "deprecation_date": "2026-09-29",
"cache_creation_input_token_cost": 3.75e-06,
"cache_creation_input_token_cost_above_1hr": 6e-06,
"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.2e-05,
@@ -14491,7 +14487,6 @@
"source": "https://docs.anthropic.com/en/docs/about-claude/pricing"
},
"claude-sonnet-5": {
- "deprecation_date": "2027-06-30",
"cache_creation_input_token_cost": 2.5e-06,
"cache_creation_input_token_cost_above_1hr": 4e-06,
"cache_read_input_token_cost": 2e-07,
@@ -14530,7 +14525,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-sonnet-4-6": {
- "deprecation_date": "2027-02-17",
"cache_creation_input_token_cost": 3.75e-06,
"cache_creation_input_token_cost_above_1hr": 6e-06,
"cache_read_input_token_cost": 3e-07,
@@ -14684,7 +14678,6 @@
"prompt_cache_min_tokens": 1024
},
"claude-opus-4-5-20251101": {
- "deprecation_date": "2026-11-24",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14714,7 +14707,6 @@
"prompt_cache_min_tokens": 4096
},
"claude-opus-4-5": {
- "deprecation_date": "2026-11-24",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14745,7 +14737,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-4-6": {
- "deprecation_date": "2027-02-05",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14783,7 +14774,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-4-6-20260205": {
- "deprecation_date": "2027-02-05",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14820,7 +14810,6 @@
"prompt_cache_min_tokens": 4096
},
"claude-opus-4-7": {
- "deprecation_date": "2027-04-16",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14859,7 +14848,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-4-7-20260416": {
- "deprecation_date": "2027-04-16",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14897,7 +14885,6 @@
"prompt_cache_min_tokens": 2048
},
"claude-fable-5": {
- "deprecation_date": "2027-06-09",
"cache_creation_input_token_cost": 1.25e-05,
"cache_creation_input_token_cost_above_1hr": 2e-05,
"cache_read_input_token_cost": 1e-06,
@@ -14937,7 +14924,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-fable-5-1": {
- "deprecation_date": "2027-09-01",
"cache_creation_input_token_cost": 1.25e-05,
"cache_creation_input_token_cost_above_1hr": 2e-05,
"cache_read_input_token_cost": 2.5e-07,
@@ -14978,7 +14964,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-5": {
- "deprecation_date": "2027-07-24",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -15020,7 +15005,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-4-8": {
- "deprecation_date": "2027-05-28",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -60339,7 +60323,6 @@
"supports_audio_output": true
},
"claude-mythos-5": {
- "deprecation_date": "2027-06-09",
"cache_creation_input_token_cost": 1.25e-05,
"cache_creation_input_token_cost_above_1hr": 2e-05,
"cache_read_input_token_cost": 1e-06,
@@ -60379,7 +60362,6 @@
}
},
"claude-mythos-5-1": {
- "deprecation_date": "2027-09-01",
"cache_creation_input_token_cost": 1.25e-05,
"cache_creation_input_token_cost_above_1hr": 2e-05,
"cache_read_input_token_cost": 2.5e-07,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 339303ccfff..cf85bf03ad8 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -14246,7 +14246,6 @@
"source": "https://developers.openai.com/api/docs/pricing"
},
"claude-haiku-4-5-20251001": {
- "deprecation_date": "2026-10-15",
"cache_creation_input_token_cost": 1.25e-06,
"cache_creation_input_token_cost_above_1hr": 2e-06,
"cache_read_input_token_cost": 1e-07,
@@ -14270,7 +14269,6 @@
"prompt_cache_min_tokens": 4096
},
"claude-haiku-4-5": {
- "deprecation_date": "2026-10-15",
"cache_creation_input_token_cost": 1.25e-06,
"cache_creation_input_token_cost_above_1hr": 2e-06,
"cache_read_input_token_cost": 1e-07,
@@ -14420,7 +14418,6 @@
"prompt_cache_min_tokens": 1024
},
"claude-sonnet-4-5": {
- "deprecation_date": "2026-09-29",
"cache_creation_input_token_cost": 3.75e-06,
"cache_creation_input_token_cost_above_1hr": 6e-06,
"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.2e-05,
@@ -14455,7 +14452,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-sonnet-4-5-20250929": {
- "deprecation_date": "2026-09-29",
"cache_creation_input_token_cost": 3.75e-06,
"cache_creation_input_token_cost_above_1hr": 6e-06,
"cache_creation_input_token_cost_above_1hr_above_200k_tokens": 1.2e-05,
@@ -14491,7 +14487,6 @@
"source": "https://docs.anthropic.com/en/docs/about-claude/pricing"
},
"claude-sonnet-5": {
- "deprecation_date": "2027-06-30",
"cache_creation_input_token_cost": 2.5e-06,
"cache_creation_input_token_cost_above_1hr": 4e-06,
"cache_read_input_token_cost": 2e-07,
@@ -14530,7 +14525,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-sonnet-4-6": {
- "deprecation_date": "2027-02-17",
"cache_creation_input_token_cost": 3.75e-06,
"cache_creation_input_token_cost_above_1hr": 6e-06,
"cache_read_input_token_cost": 3e-07,
@@ -14684,7 +14678,6 @@
"prompt_cache_min_tokens": 1024
},
"claude-opus-4-5-20251101": {
- "deprecation_date": "2026-11-24",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14714,7 +14707,6 @@
"prompt_cache_min_tokens": 4096
},
"claude-opus-4-5": {
- "deprecation_date": "2026-11-24",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14745,7 +14737,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-4-6": {
- "deprecation_date": "2027-02-05",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14783,7 +14774,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-4-6-20260205": {
- "deprecation_date": "2027-02-05",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14820,7 +14810,6 @@
"prompt_cache_min_tokens": 4096
},
"claude-opus-4-7": {
- "deprecation_date": "2027-04-16",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14859,7 +14848,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-4-7-20260416": {
- "deprecation_date": "2027-04-16",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -14897,7 +14885,6 @@
"prompt_cache_min_tokens": 2048
},
"claude-fable-5": {
- "deprecation_date": "2027-06-09",
"cache_creation_input_token_cost": 1.25e-05,
"cache_creation_input_token_cost_above_1hr": 2e-05,
"cache_read_input_token_cost": 1e-06,
@@ -14937,7 +14924,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-fable-5-1": {
- "deprecation_date": "2027-09-01",
"cache_creation_input_token_cost": 1.25e-05,
"cache_creation_input_token_cost_above_1hr": 2e-05,
"cache_read_input_token_cost": 2.5e-07,
@@ -14978,7 +14964,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-5": {
- "deprecation_date": "2027-07-24",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -15020,7 +15005,6 @@
"source": "https://platform.claude.com/docs/en/about-claude/pricing"
},
"claude-opus-4-8": {
- "deprecation_date": "2027-05-28",
"cache_creation_input_token_cost": 6.25e-06,
"cache_creation_input_token_cost_above_1hr": 1e-05,
"cache_read_input_token_cost": 5e-07,
@@ -60339,7 +60323,6 @@
"supports_audio_output": true
},
"claude-mythos-5": {
- "deprecation_date": "2027-06-09",
"cache_creation_input_token_cost": 1.25e-05,
"cache_creation_input_token_cost_above_1hr": 2e-05,
"cache_read_input_token_cost": 1e-06,
@@ -60379,7 +60362,6 @@
}
},
"claude-mythos-5-1": {
- "deprecation_date": "2027-09-01",
"cache_creation_input_token_cost": 1.25e-05,
"cache_creation_input_token_cost_above_1hr": 2e-05,
"cache_read_input_token_cost": 2.5e-07,