From 0bc04ce129ed86781f332b4429a16eaa95a2327c Mon Sep 17 00:00:00 2001 From: Chesars Date: Sat, 10 Jan 2026 19:39:04 +0000 Subject: [PATCH] fix: correct pricing for openrouter/openai/gpt-oss-20b MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated pricing from incorrect values to match OpenRouter's official rates: - Input: $0.18/M → $0.02/M tokens (1.8e-07 → 2e-08) - Output: $0.80/M → $0.10/M tokens (8e-07 → 1e-07) --- litellm/model_prices_and_context_window_backup.json | 4 ++-- model_prices_and_context_window.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 73579db75cd..89824ba13d4 100644 --- a/litellm/model_prices_and_context_window_backup.json +++ b/litellm/model_prices_and_context_window_backup.json @@ -23340,13 +23340,13 @@ "supports_tool_choice": true }, "openrouter/openai/gpt-oss-20b": { - "input_cost_per_token": 1.8e-07, + "input_cost_per_token": 2e-08, "litellm_provider": "openrouter", "max_input_tokens": 131072, "max_output_tokens": 32768, "max_tokens": 32768, "mode": "chat", - "output_cost_per_token": 8e-07, + "output_cost_per_token": 1e-07, "source": "https://openrouter.ai/openai/gpt-oss-20b", "supports_function_calling": true, "supports_parallel_function_calling": true, diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 73579db75cd..89824ba13d4 100644 --- a/model_prices_and_context_window.json +++ b/model_prices_and_context_window.json @@ -23340,13 +23340,13 @@ "supports_tool_choice": true }, "openrouter/openai/gpt-oss-20b": { - "input_cost_per_token": 1.8e-07, + "input_cost_per_token": 2e-08, "litellm_provider": "openrouter", "max_input_tokens": 131072, "max_output_tokens": 32768, "max_tokens": 32768, "mode": "chat", - "output_cost_per_token": 8e-07, + "output_cost_per_token": 1e-07, "source": "https://openrouter.ai/openai/gpt-oss-20b", "supports_function_calling": true, "supports_parallel_function_calling": true,