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
fix(bedrock_mantle): take gpt-oss output limits and EOL dates from the Bedrock model cards (#45417)
berriai-litellm-provider-info-sync[bot]b0e0a305f4ec
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.jsonindex cba7e934ae9..5b9df8cafde 100644--- a/litellm/model_prices_and_context_window_backup.json+++ b/litellm/model_prices_and_context_window_backup.json@@ -58292,9 +58292,10 @@"output_cost_per_token": 6e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-120b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -58310,9 +58311,10 @@"output_cost_per_token": 3e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-20b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -58328,9 +58330,10 @@"output_cost_per_token": 6e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 65536,- "max_tokens": 65536,+ "max_output_tokens": 16000,+ "max_tokens": 16000,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-safeguard-120b.html","supported_endpoints": ["/v1/chat/completions"],@@ -58344,9 +58347,10 @@"output_cost_per_token": 2e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 65536,- "max_tokens": 65536,+ "max_output_tokens": 16000,+ "max_tokens": 16000,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-safeguard-20b.html","supported_endpoints": ["/v1/chat/completions"],@@ -66357,9 +66361,10 @@"output_cost_per_token": 3.6e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-20b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -66375,9 +66380,10 @@"output_cost_per_token": 7.2e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-120b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -66514,9 +66520,10 @@"output_cost_per_token": 3.6e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-20b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -66532,9 +66539,10 @@"output_cost_per_token": 7.2e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-120b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -66546,6 +66554,7 @@"supports_tool_choice": true},"bedrock_mantle/deepseek.v3.1": {+ "deprecation_date": "2027-03-30","input_cost_per_token": 5.8e-07,"output_cost_per_token": 1.68e-06,"litellm_provider": "bedrock_mantle",@@ -66561,6 +66570,7 @@"source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-deepseek-deepseek-v3-1.html"},"bedrock_mantle/moonshotai.kimi-k2-thinking": {+ "deprecation_date": "2027-03-30","input_cost_per_token": 6e-07,"output_cost_per_token": 2.5e-06,"litellm_provider": "bedrock_mantle",diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.jsonindex cba7e934ae9..5b9df8cafde 100644--- a/model_prices_and_context_window.json+++ b/model_prices_and_context_window.json@@ -58292,9 +58292,10 @@"output_cost_per_token": 6e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-120b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -58310,9 +58311,10 @@"output_cost_per_token": 3e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-20b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -58328,9 +58330,10 @@"output_cost_per_token": 6e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 65536,- "max_tokens": 65536,+ "max_output_tokens": 16000,+ "max_tokens": 16000,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-safeguard-120b.html","supported_endpoints": ["/v1/chat/completions"],@@ -58344,9 +58347,10 @@"output_cost_per_token": 2e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 65536,- "max_tokens": 65536,+ "max_output_tokens": 16000,+ "max_tokens": 16000,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-safeguard-20b.html","supported_endpoints": ["/v1/chat/completions"],@@ -66357,9 +66361,10 @@"output_cost_per_token": 3.6e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-20b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -66375,9 +66380,10 @@"output_cost_per_token": 7.2e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-120b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -66514,9 +66520,10 @@"output_cost_per_token": 3.6e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-20b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -66532,9 +66539,10 @@"output_cost_per_token": 7.2e-07,"litellm_provider": "bedrock_mantle","max_input_tokens": 131072,- "max_output_tokens": 32768,- "max_tokens": 32768,+ "max_output_tokens": 16384,+ "max_tokens": 16384,"mode": "chat",+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-oss-120b.html","supported_endpoints": ["/v1/chat/completions","/v1/responses"@@ -66546,6 +66554,7 @@"supports_tool_choice": true},"bedrock_mantle/deepseek.v3.1": {+ "deprecation_date": "2027-03-30","input_cost_per_token": 5.8e-07,"output_cost_per_token": 1.68e-06,"litellm_provider": "bedrock_mantle",@@ -66561,6 +66570,7 @@"source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-deepseek-deepseek-v3-1.html"},"bedrock_mantle/moonshotai.kimi-k2-thinking": {+ "deprecation_date": "2027-03-30","input_cost_per_token": 6e-07,"output_cost_per_token": 2.5e-06,"litellm_provider": "bedrock_mantle",