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(openrouter): keep glm-latest output limit at alias target value

kerry5ee75af90852
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 172ec45147d..7089a6ffaa9 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -71594,8 +71594,8 @@
"input_cost_per_token": 9.1e-07,
"litellm_provider": "openrouter",
"max_input_tokens": 1310720,
- "max_output_tokens": 943718,
- "max_tokens": 943718,
+ "max_output_tokens": 131072,
+ "max_tokens": 131072,
"mode": "chat",
"output_cost_per_token": 2.86e-06,
"source": "https://openrouter.ai/api/v1/models",
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 172ec45147d..7089a6ffaa9 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -71594,8 +71594,8 @@
"input_cost_per_token": 9.1e-07,
"litellm_provider": "openrouter",
"max_input_tokens": 1310720,
- "max_output_tokens": 943718,
- "max_tokens": 943718,
+ "max_output_tokens": 131072,
+ "max_tokens": 131072,
"mode": "chat",
"output_cost_per_token": 2.86e-06,
"source": "https://openrouter.ai/api/v1/models",