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(cost-map): add OpenAI TTS and GPT-5.x deprecation dates (#44175)

devin-ai-integration[bot]a5fef4b4e689
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 3b9956ad1a6..6a548e7a82d 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -32815,6 +32815,7 @@
]
},
"gpt-4o-mini-tts-2025-03-20": {
+ "deprecation_date": "2027-01-06",
"input_cost_per_token": 6e-07,
"litellm_provider": "openai",
"mode": "audio_speech",
@@ -33514,7 +33515,8 @@
"output_cost_per_token_flex": 5e-06,
"source": "https://developers.openai.com/api/docs/pricing",
"supports_xhigh_reasoning_effort": false,
- "supports_minimal_reasoning_effort": false
+ "supports_minimal_reasoning_effort": false,
+ "deprecation_date": "2027-04-01"
},
"gpt-5.1-codex-mini": {
"cache_read_input_token_cost": 2.5e-08,
@@ -35311,7 +35313,8 @@
"default_reasoning_effort": "none",
"source": "https://developers.openai.com/api/docs/pricing",
"supports_xhigh_reasoning_effort": true,
- "supports_minimal_reasoning_effort": false
+ "supports_minimal_reasoning_effort": false,
+ "deprecation_date": "2027-04-01"
},
"gpt-5.4-nano-2026-03-17": {
"cache_read_input_token_cost": 2e-08,
@@ -35610,7 +35613,8 @@
"supports_web_search": true,
"supports_none_reasoning_effort": false,
"supports_xhigh_reasoning_effort": false,
- "supports_minimal_reasoning_effort": true
+ "supports_minimal_reasoning_effort": true,
+ "deprecation_date": "2027-04-01"
},
"gpt-5.3-chat-latest": {
"cache_read_input_token_cost": 1.75e-07,
@@ -46869,6 +46873,7 @@
"supports_vision": true
},
"tts-1": {
+ "deprecation_date": "2027-01-06",
"input_cost_per_character": 1.5e-05,
"litellm_provider": "openai",
"mode": "audio_speech",
@@ -46878,6 +46883,7 @@
]
},
"tts-1-hd": {
+ "deprecation_date": "2027-01-06",
"input_cost_per_character": 3e-05,
"litellm_provider": "openai",
"mode": "audio_speech",
@@ -56760,6 +56766,7 @@
]
},
"gpt-4o-mini-tts-2025-12-15": {
+ "deprecation_date": "2027-01-06",
"input_cost_per_token": 6e-07,
"litellm_provider": "openai",
"mode": "audio_speech",
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 3b9956ad1a6..6a548e7a82d 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -32815,6 +32815,7 @@
]
},
"gpt-4o-mini-tts-2025-03-20": {
+ "deprecation_date": "2027-01-06",
"input_cost_per_token": 6e-07,
"litellm_provider": "openai",
"mode": "audio_speech",
@@ -33514,7 +33515,8 @@
"output_cost_per_token_flex": 5e-06,
"source": "https://developers.openai.com/api/docs/pricing",
"supports_xhigh_reasoning_effort": false,
- "supports_minimal_reasoning_effort": false
+ "supports_minimal_reasoning_effort": false,
+ "deprecation_date": "2027-04-01"
},
"gpt-5.1-codex-mini": {
"cache_read_input_token_cost": 2.5e-08,
@@ -35311,7 +35313,8 @@
"default_reasoning_effort": "none",
"source": "https://developers.openai.com/api/docs/pricing",
"supports_xhigh_reasoning_effort": true,
- "supports_minimal_reasoning_effort": false
+ "supports_minimal_reasoning_effort": false,
+ "deprecation_date": "2027-04-01"
},
"gpt-5.4-nano-2026-03-17": {
"cache_read_input_token_cost": 2e-08,
@@ -35610,7 +35613,8 @@
"supports_web_search": true,
"supports_none_reasoning_effort": false,
"supports_xhigh_reasoning_effort": false,
- "supports_minimal_reasoning_effort": true
+ "supports_minimal_reasoning_effort": true,
+ "deprecation_date": "2027-04-01"
},
"gpt-5.3-chat-latest": {
"cache_read_input_token_cost": 1.75e-07,
@@ -46869,6 +46873,7 @@
"supports_vision": true
},
"tts-1": {
+ "deprecation_date": "2027-01-06",
"input_cost_per_character": 1.5e-05,
"litellm_provider": "openai",
"mode": "audio_speech",
@@ -46878,6 +46883,7 @@
]
},
"tts-1-hd": {
+ "deprecation_date": "2027-01-06",
"input_cost_per_character": 3e-05,
"litellm_provider": "openai",
"mode": "audio_speech",
@@ -56760,6 +56766,7 @@
]
},
"gpt-4o-mini-tts-2025-12-15": {
+ "deprecation_date": "2027-01-06",
"input_cost_per_token": 6e-07,
"litellm_provider": "openai",
"mode": "audio_speech",