GLM 5.2
by Z.ai · z-ai/glm-5.2 · #200 cheapest of 325 paid models
Prices updated Jul 22, 2026, 1:31 AM UTC · refreshed hourly
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...
Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5GPT-5.6 Sol
Pricing
Input
$0.825
per 1M tokens
Output
$2.59
per 1M tokens
Blended (3:1)
$1.27
3 input : 1 output
Cache read
$0.153
per 1M cached tokens
Cache write
—
per 1M tokens
Cache & batch economics
Effective prices for GLM 5.2 with prompt caching.
| Cache hit rate | Effective blended $/1M | Example request* | vs no cache |
|---|---|---|---|
| 0% | $1.27 | $0.0867 | — |
| 50% | $1.01 | $0.0531 | −39% |
| 90% | $0.813 | $0.0263 | −70% |
*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.00119 | $1.19 |
| Document summary | 8,000 | 1,000 | $0.009188 | $9.19 |
| Codebase question (RAG) | 30,000 | 2,000 | $0.0299 | $29.92 |
| Long-context analysis | 150,000 | 5,000 | $0.1366 | $136.65 |
Performance
Intelligence Index
51.1
AA composite quality
Coding Index
68.8
Math Index
—
Agentic Index
43.1
Output speed
—
median
Time to first token
—
median
Time to first answer
—
after reasoning tokens
Design Arena Elo
| Category | Elo |
|---|---|
| Website | 1,338 |
| Web apps | 1,273 |
| Full-stack | 1,289 |
| Mobile apps | 1,237 |
| Android native | 1,235 |
| UI components | 1,335 |
| Data viz | 1,310 |
| SVG | 1,252 |
| 3D | 1,353 |
| Game dev | 1,350 |
| Agentic game dev | 1,193 |
| Godot game dev | 1,143 |
| HTML slides | 1,204 |
| Python→PPTX slides | 1,187 |
| Code categories | 1,341 |
| ASCII art | 1,217 |
Specs
Context window
1.05M
tokens
Max output
131K
tokens
Input modalities
text
Tokenizer
Other