Z.ai · Released Dec 22, 2025
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…
- Released
- Dec 22 2025
- Context window
- 205K 131K out
- Input / 1M tokens
- $0.54 from Free
- Output / 1M tokens
- $1.98 from Free
Where to run it
38 providers compared
Free to try on OpenCode — free endpoints are often limited-time and rate-limited. Included in Alibaba Coding Plan (China), KUAE Cloud Coding Plan, Z.AI Coding Plan, Alibaba Coding Plan. Cheapest: AIHubMix at $0.27 / $1.10 per 1M input / output tokens — 58% less than the priciest option.
| Provider | Input | Output | Cache read | Context | Max output | Uptime | vs. best |
|---|---|---|---|---|---|---|---|
| OpenCodefree · may be limited-time | Free | Free | Free | 205K | 131K | — | Free |
| Alibaba Coding Plan (China)subscription plan | Plan | Plan | Plan | 203K | 16K | — | Plan |
| KUAE Cloud Coding Plansubscription plan | Plan | Plan | Plan | 205K | 131K | — | Plan |
| Z.AI Coding Plansubscription plan | Plan | Plan | Plan | 205K | 131K | — | Plan |
| Alibaba Coding Plansubscription plan | Plan | Plan | Plan | 203K | 16K | — | Plan |
| AIHubMix | $0.27 | $1.10 | $0.055 | 200K | 131K | — | Cheapest |
| 302.AI | $0.29 | $1.14 | — | 205K | 131K | — | +4% |
| ZenMux | $0.29 | $1.17 | $0.058 | 200K | 128K | — | +6% |
| DeepInfraFP4 | $0.32 | $1.40 | $0.064 | 203K | 131K | 100%24h | +23% |
| DeepInfraFP4 | $0.40 | $1.75 | $0.08 | 203K | 131K | 96.1%24h | +54% |
| Meganova | $0.40 | $1.75 | $0.08 | 203K | 131K | — | +54% |
| DInference | $0.45 | $1.65 | — | 200K | 128K | — | +56% |
| VeniceFP4 | $0.40 | $1.93 | $0.08 | 198K | 16K | 71.3%24h | +63% |
| NanoGPT | $0.40 | $1.93 | $0.08 | 200K | 66K | — | +63% |
| Qiniu | $0.46 | $1.82 | — | 200K | 200K | — | +66% |
| DevPass (LLM Gateway) | $0.45 | $2.00 | $0.19 | 205K | 131K | — | +75% |
| Ofox | $0.40 | $2.20 | $0.11 | 205K | 131K | — | +77% |
| Zhipu AI | $0.45 | $2.09 | $0.09 | 205K | 131K | — | +79% |
| Moark | $0.42 | $2.20 | — | 205K | 131K | — | +80% |
| CrossModel | $0.47 | $2.16 | $0.10 | 200K | 128K | — | +86% |
| NovitaFP8 | $0.54 | $1.98 | $0.099 | 205K | 131K | 99.6%24h | +88% |
| Kilo Gateway | $0.54 | $1.98 | $0.099 | 205K | 131K | — | +88% |
| Z.AIFP4 | $0.60 | $2.20 | $0.11 | 203K | 131K | 99.7%24h | +109% |
| $0.60 | $2.20 | — | 200K | 128K | 57.2%24h | +109% | |
| Vercel AI Gateway | $0.60 | $2.20 | — | 200K | 120K | — | +109% |
| LLM Gateway | $0.60 | $2.20 | $0.11 | 205K | 128K | — | +109% |
| Baseten | $0.60 | $2.20 | $0.12 | 200K | 200K | — | +109% |
| Novita AI | $0.60 | $2.20 | $0.11 | 205K | 131K | — | +109% |
| Amazon Bedrock | $0.60 | $2.20 | — | 203K | 131K | — | +109% |
| Jiekou.AI | $0.60 | $2.20 | — | 205K | 131K | — | +109% |
| Abacus | $0.60 | $2.20 | — | 205K | 131K | — | +109% |
| Tempr Gateway | $0.60 | $2.20 | $0.11 | 205K | 131K | — | +109% |
| Hugging Face | $0.60 | $2.20 | $0.11 | 205K | 131K | — | +109% |
| Merge Gateway | $0.60 | $2.20 | $0.11 | 200K | 131K | — | +109% |
| Impossibl | $0.60 | $2.20 | $0.11 | 205K | 131K | — | +109% |
| OrcaRouter | $0.60 | $2.20 | $0.11 | 205K | 131K | — | +109% |
| OpenCode | $0.60 | $2.20 | $0.10 | 205K | 131K | — | +109% |
| Eden AI | $0.60 | $2.20 | $0.11 | 203K | 131K | — | +109% |
| Venice AI | $0.55 | $2.65 | $0.11 | 198K | 16K | — | +124% |
| Mancer 2FP4 · no tool calling | $0.70 | $2.50 | — | 131K | 118K | 74%24h | +140% |
Value
Price vs. performance
GLM 4.7 Other Z.ai Other labs Value frontier · GPQA Diamond vs. input price per 1M tokens (log scale) · Drag to pan, pinch or Ctrl + scroll to zoom, double-click to zoom in.
Benchmarks
11 benchmark scores
| Benchmark | Score | Rank | Leader |
|---|---|---|---|
| Terminal-BenchSoftware engineering · Tasks completed with the programs in a real terminal (best agent) | 33.4% | #30of 40 | GPT-5.584.7% |
| SciCodeSoftware engineering · Research-coding problems from the natural sciences | 45.1% | #64of 102 | Claude Opus 5.566.9% |
| Vending-Bench 2Agents & computer use · Run a simulated vending business for a year (final balance) | $2,377 | #43of 61 | GPT-6 Astra$15,515 |
| SimpleQA VerifiedWriting & content · Factual accuracy on 1,000 short questions | 32.2% | #57of 79 | Gemini 4 Argon76.0% |
| WebDev ArenaDesign & visual · People vote on which model builds the better website (Elo) | 1435 | #59of 90 | Claude Opus 5.51820 |
| GPQA DiamondReasoning & knowledge · PhD-level biology, chemistry and physics questions | 83.3% | #64of 122 | Gemini 4 Argon96.4% |
| SimpleBenchReasoning & knowledge · Common-sense trick questions about space, time and people | 47.7% | #34of 58 | Claude Fable 581.9% |
| CritPtReasoning & knowledge · Open-ended, research-level physics problems | 1.7% | #71of 111 | GPT-5.6 Sol32.3% |
| Chess PuzzlesReasoning & knowledge · Find the single best move in 100 new puzzles | 21.0% | #58of 83 | GPT-6 Astra76.0% |
| ProofBenchMaths · Graduate maths proofs verified in Lean 4 | 6.0% | #67of 70 | Claude Sonnet 5.5100.0% |
| OTIS Mock AIMEMaths · Competition-style problems harder than MATH Level 5 | 83.3% | #69of 120 | Gemini 4 Argon100.0% |
Specs
Details
- Model ID
z-ai/glm-4.7- Developer
- Z.ai
- Release date
- Dec 22, 2025 ·
- Context window
- 204,800 tokens
- Max output
- 131,072 tokens
- API price
- $0.54 / $1.98 per 1M input / output tokens
- Providers
- 38
- Input types
- text
- Reasoning
- Yes
- Tool calling
- Yes
- Open weights
- Yes
- Free tier
- No
Release date and prices from OpenRouter's catalog; providers from OpenRouter and models.dev. Buying directly from a provider can cost a little differently. Speed, latency and uptime are measured on OpenRouter only; uptime is the share of OpenRouter requests each provider served over the last day. Benchmark scores are the best result per benchmark from Epoch AI, licensed CC BY 4.0. Rank counts every model tracked here with a score.