From 75518c3ca73626b457a7697fea456a0cabc1a341 Mon Sep 17 00:00:00 2001 From: Chesars Date: Tue, 3 Mar 2026 12:03:40 -0300 Subject: [PATCH] feat(models): add zai/glm-5 and zai/glm-5-code to model cost map Add native ZhipuAI GLM-5 and GLM-5-Code model entries with pricing from docs.z.ai/guides/overview/pricing. --- model_prices_and_context_window.json | 30 ++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json index 4c0694db37..ac0e9dfaa7 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,