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...
Pricing
| Input price | $0.04 / 1M tokens |
| Output price | $0.18 / 1M tokens |
| Context window | 200K tokens |
| Compatible endpoints | openai, anthropic |
| 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.ai/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.04 per 1M tokens, output at $0.18 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 200K tokens, shared between your prompt and the model's response.