GLM 4.7
by Z.ai · z-ai/glm-4.7 · #154 cheapest of 325 paid models
Prices updated Jul 22, 2026, 1:31 AM UTC · refreshed hourly
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...
Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5GPT-5.6 Sol
Pricing
Input
$0.40
per 1M tokens
Output
$1.75
per 1M tokens
Blended (3:1)
$0.738
3 input : 1 output
Cache read
$0.08
per 1M cached tokens
Cache write
—
per 1M tokens
Cache & batch economics
Effective prices for GLM 4.7 with prompt caching.
| Cache hit rate | Effective blended $/1M | Example request* | vs no cache |
|---|---|---|---|
| 0% | $0.738 | $0.0426 | — |
| 50% | $0.617 | $0.0266 | −38% |
| 90% | $0.521 | $0.0138 | −68% |
*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates (available for OpenAI / Anthropic / Google — not flagged for this creator). Confirm on the vendor’s pricing page.
What a request costs
| Workload | Input tokens | Output tokens | Cost / request | Cost / 1K requests |
|---|---|---|---|---|
| Short chat message | 500 | 300 | $0.000725 | $0.725 |
| Document summary | 8,000 | 1,000 | $0.00495 | $4.95 |
| Codebase question (RAG) | 30,000 | 2,000 | $0.0155 | $15.50 |
| Long-context analysis | 150,000 | 5,000 | $0.0687 | $68.75 |
Performance
Intelligence Index
33.7
AA composite quality
Coding Index
45.3
Math Index
—
Agentic Index
25.4
Output speed
—
median
Time to first token
—
median
Time to first answer
—
after reasoning tokens
Design Arena Elo
| Category | Elo |
|---|---|
| Website | 1,253 |
| Full-stack | 1,108 |
| Mobile apps | 1,183 |
| Android native | 1,105 |
| UI components | 1,240 |
| Data viz | 1,231 |
| SVG | 1,189 |
| 3D | 1,249 |
| Game dev | 1,247 |
| Godot game dev | 1,077 |
| Code categories | 1,249 |
| ASCII art | 1,208 |
Specs
Context window
205K
tokens
Max output
131K
tokens
Input modalities
text
Tokenizer
Other