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(models): add zai/glm-5 and zai/glm-5-code to model cost map

Chesars75518c3ca736
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 4c0694db371..ac0e9dfaa7a 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -33811,6 +33811,36 @@
"supports_tool_choice": true,
"source": "https://aws.amazon.com/bedrock/pricing/"
},
+ "zai/glm-5": {
+ "cache_creation_input_token_cost": 0,
+ "cache_read_input_token_cost": 2e-07,
+ "input_cost_per_token": 1e-06,
+ "output_cost_per_token": 3.2e-06,
+ "litellm_provider": "zai",
+ "max_input_tokens": 200000,
+ "max_output_tokens": 128000,
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://docs.z.ai/guides/overview/pricing"
+ },
+ "zai/glm-5-code": {
+ "cache_creation_input_token_cost": 0,
+ "cache_read_input_token_cost": 3e-07,
+ "input_cost_per_token": 1.2e-06,
+ "output_cost_per_token": 5e-06,
+ "litellm_provider": "zai",
+ "max_input_tokens": 200000,
+ "max_output_tokens": 128000,
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://docs.z.ai/guides/overview/pricing"
+ },
"zai/glm-4.7": {
"cache_creation_input_token_cost": 0,
"cache_read_input_token_cost": 1.1e-07,