feat: Add Cerebras zai-glm-4.7 model support and deprecate zai-glm-4.6 (#18864)

- Add cerebras/zai-glm-4.7 with same specs as 4.6 (128K context, $2.25/M input, $2.75/M output)
- Mark cerebras/zai-glm-4.6 with deprecation_date: 2026-01-20
- Both models support function calling, reasoning, and tool choice
This commit is contained in:
Cesar Garcia 2026-01-14 00:45:02 -03:00 committed by GitHub
parent 95b419d65b
commit 2b79d37e39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6616,6 +6616,20 @@
"supports_tool_choice": true
},
"cerebras/zai-glm-4.6": {
"deprecation_date": "2026-01-20",
"input_cost_per_token": 2.25e-06,
"litellm_provider": "cerebras",
"max_input_tokens": 128000,
"max_output_tokens": 128000,
"max_tokens": 128000,
"mode": "chat",
"output_cost_per_token": 2.75e-06,
"source": "https://www.cerebras.ai/pricing",
"supports_function_calling": true,
"supports_reasoning": true,
"supports_tool_choice": true
},
"cerebras/zai-glm-4.7": {
"input_cost_per_token": 2.25e-06,
"litellm_provider": "cerebras",
"max_input_tokens": 128000,