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] - New model - Add Bedrock gpt oss models - `"openai.gpt-oss-20b-1:0"`, `"openai.gpt-oss-120b-1:0"` (#13342)
Ishaan Jaff28a894cb06e1
diff --git a/litellm/__init__.py b/litellm/__init__.pyindex bc8fb9c135a..17fc6c00e12 100644--- a/litellm/__init__.py+++ b/litellm/__init__.py@@ -430,6 +430,8 @@ project = Noneconfig_path = Nonevertex_ai_safety_settings: Optional[dict] = NoneBEDROCK_CONVERSE_MODELS = [+ "openai.gpt-oss-20b-1:0",+ "openai.gpt-oss-120b-1:0","anthropic.claude-opus-4-1-20250805-v1:0","anthropic.claude-opus-4-20250514-v1:0","anthropic.claude-sonnet-4-20250514-v1:0",diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex e0342b2d9de..9120f1f079f 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -11951,6 +11951,34 @@"supports_pdf_input": true,"supports_tool_choice": true},+ "openai.gpt-oss-20b-1:0": {+ "max_tokens": 128000,+ "max_input_tokens": 200000,+ "max_output_tokens": 32000,+ "input_cost_per_token": 7e-08,+ "output_cost_per_token": 3e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_reasoning": true+ },+ "openai.gpt-oss-120b-1:0": {+ "max_tokens": 128000,+ "max_input_tokens": 200000,+ "max_output_tokens": 32000,+ "input_cost_per_token": 1.5e-07,+ "output_cost_per_token": 6e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_reasoning": true+ },"anthropic.claude-opus-4-1-20250805-v1:0": {"max_tokens": 32000,"max_input_tokens": 200000,diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex e0342b2d9de..9120f1f079f 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -11951,6 +11951,34 @@"supports_pdf_input": true,"supports_tool_choice": true},+ "openai.gpt-oss-20b-1:0": {+ "max_tokens": 128000,+ "max_input_tokens": 200000,+ "max_output_tokens": 32000,+ "input_cost_per_token": 7e-08,+ "output_cost_per_token": 3e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_reasoning": true+ },+ "openai.gpt-oss-120b-1:0": {+ "max_tokens": 128000,+ "max_input_tokens": 200000,+ "max_output_tokens": 32000,+ "input_cost_per_token": 1.5e-07,+ "output_cost_per_token": 6e-07,+ "litellm_provider": "bedrock_converse",+ "mode": "chat",+ "supports_function_calling": true,+ "supports_vision": true,+ "supports_response_schema": true,+ "supports_tool_choice": true,+ "supports_reasoning": true+ },"anthropic.claude-opus-4-1-20250805-v1:0": {"max_tokens": 32000,"max_input_tokens": 200000,