Skip to content

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]

fix(bedrock): take the GLM 4.7 max output tokens from the Bedrock model cards (#45976)

berriai-litellm-provider-info-sync[bot]8ccb111de4ce
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 780adab42ab..9bb8d80820b 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -51082,8 +51082,8 @@
"input_cost_per_token_flex": 3e-07,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 203000,
- "max_output_tokens": 4000,
- "max_tokens": 4000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.2e-06,
"output_cost_per_token_flex": 1.1e-06,
@@ -51091,7 +51091,7 @@
"supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-zai-glm-4-7.html",
+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-zai-glm-4-7.md",
"supports_audio_input": false,
"supports_response_schema": true,
"supports_vision": false
@@ -51120,8 +51120,8 @@
"input_cost_per_token_flex": 3.5e-08,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 203000,
- "max_output_tokens": 4000,
- "max_tokens": 4000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 4e-07,
"output_cost_per_token_flex": 2e-07,
@@ -51129,7 +51129,7 @@
"supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-zai-glm-4-7-flash.html",
+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-zai-glm-4-7-flash.md",
"supports_audio_input": false,
"supports_response_schema": true,
"supports_vision": false
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 780adab42ab..9bb8d80820b 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -51082,8 +51082,8 @@
"input_cost_per_token_flex": 3e-07,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 203000,
- "max_output_tokens": 4000,
- "max_tokens": 4000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.2e-06,
"output_cost_per_token_flex": 1.1e-06,
@@ -51091,7 +51091,7 @@
"supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-zai-glm-4-7.html",
+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-zai-glm-4-7.md",
"supports_audio_input": false,
"supports_response_schema": true,
"supports_vision": false
@@ -51120,8 +51120,8 @@
"input_cost_per_token_flex": 3.5e-08,
"litellm_provider": "bedrock_converse",
"max_input_tokens": 203000,
- "max_output_tokens": 4000,
- "max_tokens": 4000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 4e-07,
"output_cost_per_token_flex": 2e-07,
@@ -51129,7 +51129,7 @@
"supports_reasoning": true,
"supports_system_messages": true,
"supports_tool_choice": true,
- "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-zai-glm-4-7-flash.html",
+ "source": "https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-zai-glm-4-7-flash.md",
"supports_audio_input": false,
"supports_response_schema": true,
"supports_vision": false