From bc84b411f4990010b99b00bd01f15d075bd4aa2a Mon Sep 17 00:00:00 2001 From: Harshavardhan K Date: Wed, 3 Sep 2025 11:46:08 -0500 Subject: [PATCH] Fix/remove deprecated cerebras gpt oss 20b (#14213) * fix: remove deprecated cerebras/openai/gpt-oss-20b model from pricing files - Remove cerebras/openai/gpt-oss-20b entry from model_prices_and_context_window.json - Remove cerebras/openai/gpt-oss-20b entry from model_prices_and_context_window_backup.json - Fixes GitHub issue #13972 where the deprecated model was still being treated as valid - Only the 120b version is now supported by Cerebras * fix: remove deprecated cerebras gpt-oss-20b --- .../model_prices_and_context_window_backup.json | 16 +--------------- model_prices_and_context_window.json | 16 +--------------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 7cedffd93f..a7cb09763d 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -6157,21 +6157,7 @@ "supports_tool_choice": true, "source": "https://inference-docs.cerebras.ai/support/pricing" }, - "cerebras/openai/gpt-oss-20b": { - "max_tokens": 32768, - "max_input_tokens": 131072, - "max_output_tokens": 32768, - "input_cost_per_token": 7e-08, - "output_cost_per_token": 3e-07, - "litellm_provider": "cerebras", - "mode": "chat", - "supports_function_calling": true, - "supports_parallel_function_calling": true, - "supports_response_schema": true, - "supports_reasoning": true, - "supports_tool_choice": true, - "source": "https://inference-docs.cerebras.ai/support/pricing" - }, + "cerebras/openai/gpt-oss-120b": { "max_tokens": 32768, "max_input_tokens": 131072, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 7cedffd93f..a7cb09763d 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -6157,21 +6157,7 @@ "supports_tool_choice": true, "source": "https://inference-docs.cerebras.ai/support/pricing" }, - "cerebras/openai/gpt-oss-20b": { - "max_tokens": 32768, - "max_input_tokens": 131072, - "max_output_tokens": 32768, - "input_cost_per_token": 7e-08, - "output_cost_per_token": 3e-07, - "litellm_provider": "cerebras", - "mode": "chat", - "supports_function_calling": true, - "supports_parallel_function_calling": true, - "supports_response_schema": true, - "supports_reasoning": true, - "supports_tool_choice": true, - "source": "https://inference-docs.cerebras.ai/support/pricing" - }, + "cerebras/openai/gpt-oss-120b": { "max_tokens": 32768, "max_input_tokens": 131072,