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]

chore(cost-map): add openai deprecation dates from the deprecations page (#43102)

devin-ai-integration[bot]eff6fc1824e7
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index aa79cadae2a..22aa3190dfa 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -32657,6 +32657,7 @@
},
"gpt-5-codex": {
"cache_read_input_token_cost": 1.25e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.25e-06,
"litellm_provider": "openai",
"max_input_tokens": 272000,
@@ -32740,6 +32741,7 @@
},
"gpt-5.1-codex-mini": {
"cache_read_input_token_cost": 2.5e-08,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 2.5e-07,
"litellm_provider": "openai",
"max_input_tokens": 400000,
@@ -32770,6 +32772,7 @@
},
"gpt-5.1-codex-max": {
"cache_read_input_token_cost": 1.25e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.25e-06,
"litellm_provider": "openai",
"max_input_tokens": 400000,
@@ -32801,6 +32804,7 @@
},
"gpt-5.1-codex": {
"cache_read_input_token_cost": 1.25e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.25e-06,
"litellm_provider": "openai",
"max_input_tokens": 400000,
@@ -32832,6 +32836,7 @@
},
"gpt-5.1-chat-latest": {
"cache_read_input_token_cost": 1.25e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.25e-06,
"litellm_provider": "openai",
"max_input_tokens": 128000,
@@ -32968,6 +32973,7 @@
},
"gpt-5.2-codex": {
"cache_read_input_token_cost": 1.75e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.75e-06,
"litellm_provider": "openai",
"max_input_tokens": 272000,
@@ -32999,6 +33005,7 @@
},
"gpt-5.2-chat-latest": {
"cache_read_input_token_cost": 1.75e-07,
+ "deprecation_date": "2026-08-10",
"input_cost_per_token": 1.75e-06,
"litellm_provider": "openai",
"max_input_tokens": 128000,
@@ -34822,6 +34829,7 @@
},
"gpt-5.3-chat-latest": {
"cache_read_input_token_cost": 1.75e-07,
+ "deprecation_date": "2026-08-10",
"input_cost_per_token": 1.75e-06,
"litellm_provider": "openai",
"max_input_tokens": 128000,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index aa79cadae2a..22aa3190dfa 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -32657,6 +32657,7 @@
},
"gpt-5-codex": {
"cache_read_input_token_cost": 1.25e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.25e-06,
"litellm_provider": "openai",
"max_input_tokens": 272000,
@@ -32740,6 +32741,7 @@
},
"gpt-5.1-codex-mini": {
"cache_read_input_token_cost": 2.5e-08,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 2.5e-07,
"litellm_provider": "openai",
"max_input_tokens": 400000,
@@ -32770,6 +32772,7 @@
},
"gpt-5.1-codex-max": {
"cache_read_input_token_cost": 1.25e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.25e-06,
"litellm_provider": "openai",
"max_input_tokens": 400000,
@@ -32801,6 +32804,7 @@
},
"gpt-5.1-codex": {
"cache_read_input_token_cost": 1.25e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.25e-06,
"litellm_provider": "openai",
"max_input_tokens": 400000,
@@ -32832,6 +32836,7 @@
},
"gpt-5.1-chat-latest": {
"cache_read_input_token_cost": 1.25e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.25e-06,
"litellm_provider": "openai",
"max_input_tokens": 128000,
@@ -32968,6 +32973,7 @@
},
"gpt-5.2-codex": {
"cache_read_input_token_cost": 1.75e-07,
+ "deprecation_date": "2026-07-23",
"input_cost_per_token": 1.75e-06,
"litellm_provider": "openai",
"max_input_tokens": 272000,
@@ -32999,6 +33005,7 @@
},
"gpt-5.2-chat-latest": {
"cache_read_input_token_cost": 1.75e-07,
+ "deprecation_date": "2026-08-10",
"input_cost_per_token": 1.75e-06,
"litellm_provider": "openai",
"max_input_tokens": 128000,
@@ -34822,6 +34829,7 @@
},
"gpt-5.3-chat-latest": {
"cache_read_input_token_cost": 1.75e-07,
+ "deprecation_date": "2026-08-10",
"input_cost_per_token": 1.75e-06,
"litellm_provider": "openai",
"max_input_tokens": 128000,