From 1812ebae70d7115ba031e96f59e1b21e120c5d23 Mon Sep 17 00:00:00 2001 From: Cesar Garcia <128240629+Chesars@users.noreply.github.com> Date: Fri, 21 Nov 2025 19:20:31 -0300 Subject: [PATCH] fix: Correct Cerebras GPT-OSS-120B model name (#16939) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change model identifier from cerebras/openai/gpt-oss-120b to cerebras/gpt-oss-120b to match Cerebras API requirements. The Cerebras API only accepts 'gpt-oss-120b' as the model ID, not 'openai/gpt-oss-120b'. The previous name was causing "Model does not exist" errors when users tried to use it. Tested with real API calls to confirm: - cerebras/gpt-oss-120b → sends 'gpt-oss-120b' → ✅ works - cerebras/openai/gpt-oss-120b → sends 'openai/gpt-oss-120b' → ❌ fails Fixes #16924 --- litellm/model_prices_and_context_window_backup.json | 2 +- model_prices_and_context_window.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 273502ac22b..5312ffb6349 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -5906,7 +5906,7 @@ "supports_function_calling": true, "supports_tool_choice": true }, - "cerebras/openai/gpt-oss-120b": { + "cerebras/gpt-oss-120b": { "input_cost_per_token": 2.5e-07, "litellm_provider": "cerebras", "max_input_tokens": 131072, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 273502ac22b..5312ffb6349 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -5906,7 +5906,7 @@ "supports_function_calling": true, "supports_tool_choice": true }, - "cerebras/openai/gpt-oss-120b": { + "cerebras/gpt-oss-120b": { "input_cost_per_token": 2.5e-07, "litellm_provider": "cerebras", "max_input_tokens": 131072,