glm-4.7
GLM-4.7 is Z.ai’s latest flagship model, featuring upgrades in two key areas: enhanced programming capabilities and more stable multi-step reasoning/execution. It demonstrates significant improvements in executing complex agent tasks while...
Capabilities
Modalities
Quick stats
Performance
Supported parameters
| Parameter | Always | Default |
|---|---|---|
| frequency_penalty | - | (do not send) |
| include_reasoning | - | |
| logit_bias | - | - |
| logprobs | - | - |
| max_tokens | - | |
| min_p | - | - |
| presence_penalty | - | - |
| reasoning | - | |
| repetition_penalty | - | - |
| response_format | - | - |
| seed | - | - |
| stop | - | - |
| structured_outputs | - | - |
| temperature | 1 | |
| tool_choice | - | |
| tools | - | |
| top_k | - | - |
| top_logprobs | - | - |
| top_p | 0.95 |
Pricing
| Input price | $0.00 · 1M tokens |
| Output price | $0.00 · 1M tokens |
| Context window | 204.8K tokens |
| Compatible endpoints | openai |
| Vendor | Zhipu |
Call glm-4.7 from your code
Point any OpenAI-compatible SDK at UnoRouter and request the model by name. Replace YOUR_API_KEY with a real key from your dashboard.
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-4.7",
"messages": [{"role": "user", "content": "Hello!"}]
}'Frequently asked questions
How much does glm-4.7 cost per 1M tokens?
Input is priced at $0.00 per 1M tokens, output at $0.00 per 1M tokens. Billing is per token, no rounding to batch sizes.
How do I access glm-4.7 via API?
Send requests to the UnoRouter /v1/chat/completions endpoint with model=glm-4.7. Any OpenAI-compatible client library works. Authentication uses a standard Bearer token.
What is the context window of glm-4.7?
glm-4.7 supports a context window of 204.8K tokens, shared between your prompt and the model's response.