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]

feat(mistral): add zai-glm-5-2 model pricing and metadata

mubashir1osmaniffa37d05b7cf
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index e6c6cab0631..b73feae90d3 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -29045,6 +29045,20 @@
"supports_response_schema": true,
"supports_tool_choice": true
},
+ "mistral/zai-glm-5-2": {
+ "input_cost_per_token": 1.4e-06,
+ "litellm_provider": "mistral",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 4.4e-06,
+ "source": "https://docs.mistral.ai/models/zai-glm-5-2",
+ "supports_assistant_prefill": true,
+ "supports_function_calling": true,
+ "supports_response_schema": true,
+ "supports_tool_choice": true
+ },
"mistral/magistral-medium-2506": {
"deprecation_date": "2025-11-30",
"input_cost_per_token": 2e-06,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index e6c6cab0631..b73feae90d3 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -29045,6 +29045,20 @@
"supports_response_schema": true,
"supports_tool_choice": true
},
+ "mistral/zai-glm-5-2": {
+ "input_cost_per_token": 1.4e-06,
+ "litellm_provider": "mistral",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 4.4e-06,
+ "source": "https://docs.mistral.ai/models/zai-glm-5-2",
+ "supports_assistant_prefill": true,
+ "supports_function_calling": true,
+ "supports_response_schema": true,
+ "supports_tool_choice": true
+ },
"mistral/magistral-medium-2506": {
"deprecation_date": "2025-11-30",
"input_cost_per_token": 2e-06,