Z.ai · Model guide
GLM-4.7
Z.AI's late-2025 open coding model, focused on completing multi-step software tasks, terminal work, web research and polished front-end generation. It supports 200K context, switchable thinking and retained reasoning across tool-driven conversations.
What this model is good at
What the vendor positions it for, and which of our models to reach for instead.
VendorA coding and agent model with more stable multi-step reasoning and execution.source
- z-ai/glm-5successor —GLM-5 is the next foundation-model generation for longer engineering work.
Pricing and billing
Tiered pricing: the rate changes once the input passes the threshold.
| Price / 1M tokens by input size | Input < 32.0K | Input ≥ 32.0K |
|---|---|---|
| Input | $ 0.47 | $ 0.62 |
| Output | $ 2.16 | $ 2.47 |
| Cache read | $ 0.10 | $ 0.13 |
| Cache write | $ 0.47 | $ 0.62 |
At this input size you are on the Input < 32.0K tier.
+ 2.0K × $ 2.16
Capabilities and limits
What CrossModel guarantees across every route this model can take right now.
- Context window
- 200.0K tokens
- Max output
- 128.0K tokens
- Input / output modalities
- Text → Text
- Streaming
- Supported
- Tool calling
- Supported
- Structured output (JSON)
- Supported
- Image input
- Not supported
- Thinking mode
- Supported· can be turned off
- Available endpoints
- /v1/chat/completions · /v1/responses · /v1/messages
Published benchmarks
Scores the vendor reported, with the evaluation setup each one came from.
- 84.9%
- 73.8%
Vendor-reported numbers, not CrossModel measurements. Scores are only comparable when the benchmark version, metric and evaluation setup match, so nothing here is averaged or ranked.
Use it in your tools
Point the base URL at CrossModel and paste this model ID — every tool below has a setup guide.
Frequently asked questions
What is GLM-4.7?
How much does GLM-4.7 cost?
Does GLM-4.7 support tool calling and structured output?
Which endpoint do I call?
Can I try it without writing code?
Chat first, integrate later
Chat first, then wire it in once you like the answers.