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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
feat(models): add OpenRouter and Cerebras GPT-OSS models (20b, 120b) with pricing and context windows; update backup; refs #13428 (#13442)
Cole McIntoshd874bec48050
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex f9650127810..1bd7b460d6c 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -6074,6 +6074,36 @@"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,+ "max_output_tokens": 32768,+ "input_cost_per_token": 2.5e-07,+ "output_cost_per_token": 6.9e-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://www.cerebras.ai/blog/openai-gpt-oss-120b-runs-fastest-on-cerebras"+ },"friendliai/meta-llama-3.1-8b-instruct": {"max_tokens": 8192,"max_input_tokens": 8192,@@ -11658,6 +11688,36 @@"mode": "chat","supports_tool_choice": true},+ "openrouter/openai/gpt-oss-20b": {+ "max_tokens": 32768,+ "max_input_tokens": 131072,+ "max_output_tokens": 32768,+ "input_cost_per_token": 1.8e-07,+ "output_cost_per_token": 8e-07,+ "litellm_provider": "openrouter",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_response_schema": true,+ "supports_reasoning": true,+ "supports_tool_choice": true,+ "source": "https://openrouter.ai/openai/gpt-oss-20b"+ },+ "openrouter/openai/gpt-oss-120b": {+ "max_tokens": 32768,+ "max_input_tokens": 131072,+ "max_output_tokens": 32768,+ "input_cost_per_token": 1.8e-07,+ "output_cost_per_token": 8e-07,+ "litellm_provider": "openrouter",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_response_schema": true,+ "supports_reasoning": true,+ "supports_tool_choice": true,+ "source": "https://openrouter.ai/openai/gpt-oss-120b"+ },"openrouter/anthropic/claude-instant-v1": {"max_tokens": 100000,"max_output_tokens": 8191,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex f9650127810..1bd7b460d6c 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -6074,6 +6074,36 @@"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,+ "max_output_tokens": 32768,+ "input_cost_per_token": 2.5e-07,+ "output_cost_per_token": 6.9e-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://www.cerebras.ai/blog/openai-gpt-oss-120b-runs-fastest-on-cerebras"+ },"friendliai/meta-llama-3.1-8b-instruct": {"max_tokens": 8192,"max_input_tokens": 8192,@@ -11658,6 +11688,36 @@"mode": "chat","supports_tool_choice": true},+ "openrouter/openai/gpt-oss-20b": {+ "max_tokens": 32768,+ "max_input_tokens": 131072,+ "max_output_tokens": 32768,+ "input_cost_per_token": 1.8e-07,+ "output_cost_per_token": 8e-07,+ "litellm_provider": "openrouter",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_response_schema": true,+ "supports_reasoning": true,+ "supports_tool_choice": true,+ "source": "https://openrouter.ai/openai/gpt-oss-20b"+ },+ "openrouter/openai/gpt-oss-120b": {+ "max_tokens": 32768,+ "max_input_tokens": 131072,+ "max_output_tokens": 32768,+ "input_cost_per_token": 1.8e-07,+ "output_cost_per_token": 8e-07,+ "litellm_provider": "openrouter",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_parallel_function_calling": true,+ "supports_response_schema": true,+ "supports_reasoning": true,+ "supports_tool_choice": true,+ "source": "https://openrouter.ai/openai/gpt-oss-120b"+ },"openrouter/anthropic/claude-instant-v1": {"max_tokens": 100000,"max_output_tokens": 8191,