From eff6fc1824e7addb03ecb73d96246eb5f9b3ae6e Mon Sep 17 00:00:00 2001 From: "devin-ai-integration[bot]" <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 24 Sep 2026 18:49:42 -0700 Subject: [PATCH] chore(cost-map): add openai deprecation dates from the deprecations page (#43102) Co-authored-by: kerry Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/model_prices_and_context_window_backup.json | 8 ++++++++ model_prices_and_context_window.json | 8 ++++++++ 2 files changed, 16 insertions(+) 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,