← Model list
GLM-5.2
zhipuai·zhipuai/glm-5.2·BETA·Open weights·glm series·NEW
Open flagship GLM for long-horizon coding agents and million-token context work
At a glance
Official price$1.40 / $4.40 per 1M
Cache read $0.26 · Z.AI
Lowest paid$0.30 / $1.05
CrofAI Gateway · 7.7× spread
9 more $0 channels
Context1,000,000
⚠ Providers report 96,000–1,049,000; the table below is authoritative
Output limit131,072
Capabilities
✓ Reasoning✓ Tool use✓ Structured output✓ TemperatureAttachments
⚠ Providers report capability flags inconsistently
Modalities
TextImage
Knowledge cutoff—
Released / updated2026-06-13 / 2026-06-13
Quality & performanceArtificial Analysis · Intelligence Index v4.1 · rep. tier max
Intelligence52.6
Value108
Coding68.8
Agentic45.7
Output speed113 tok/s
TTFT1.72 s
Cost per task$0.4445
Value formulaIQ 52.6 ÷ min blended $0.487 = 108
Reasoning tier → intelligence / speed (higher tier = stronger but slower)
Non-reasoningIQ 34.8 · 140 tok/s
maxIQ 52.6 · 113 tok/s
Quality is independently evaluated by Artificial Analysis. Speed/latency are model-level medians.
Available at 84 providers73 with public prices · 3 free · 6 subscription-covered
| Provider | Tier | Input | Output | Cache read | Cache write | Context | Output limit | Status |
|---|---|---|---|---|---|---|---|---|
| Umans AI Coding Plan umans-glm-5.2 | Gateway | Subscription | $0 | $0 | 405,504 ⚠ | 131,072 | ||
| Nvidia | First-party | Free | — | — | 1,000,000 | 131,072 | ||
| Alibaba Token Plan | Gateway | Subscription | $0 | $0 | 1,000,000 | 131,072 | ||
| Kenari glm-5-2 | Gateway | Free | — | — | 1,000,000 | 131,072 | ||
| UnoRouter glm-5.2:free | Gateway | Free | — | — | 1,000,000 | 131,072 | ||
| Zhipu AI Coding Plan | Gateway | Subscription | $0 | $0 | 1,000,000 | 131,072 | ||
| Z.AI Coding Plan | Gateway | Subscription | $0 | $0 | 1,000,000 | 131,072 | ||
| SCNet Token Plan GLM-5.2 | Gateway | Subscription | $0 | — | 1,000,000 | 131,072 | ||
| Alibaba Token Plan (China) | Gateway | Subscription | $0 | $0 | 1,000,000 | 131,072 | ||
| CrofAI | Gateway | $0.30 | $1.05 | $0.05 | — | 1,000,000 | 131,072 | |
| Z.AIOfficial | First-party | $1.40 | $4.40 | $0.26 | $0 | 1,000,000 | 131,072 | |
Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.
Your usage cost
1CrofAI$82.50
2NanoGPT$108.96
3SCX.ai$146.52
4DevPass (LLM Gateway)$146.52
5Ambient$166.00
6DigitalOcean$178.60
31Z.AI · Official$363.20
9 more channels offer $0 (Umans AI Coding Plan, Nvidia, Alibaba Token Plan etc.); free tiers usually have rate limits and no SLA, excluded from ranking.
Switch to CrofAI to save $280.70/mo (77%)
Note: this is a gateway; verify availability and rate limits yourself.
Benchmark19 items
| Name | Conditions | Score | Metric | Source |
|---|---|---|---|---|
| SWE-Bench Pro | — | 62.1 | resolve rate | Source ↗ |
| Terminal-Bench | harness: Claude Code · v2.1 | 82.7 | success rate | Source ↗ |
| FrontierSWE | — | 74.4 | dominance | Source ↗ |
| Humanity's Last Exam | dataset: text-only subset | 40.5 | accuracy | Source ↗ |
| Humanity's Last Exam | variant: with tools · dataset: text-only subset | 54.7 | accuracy | Source ↗ |
| CritPt | — | 20.9 | accuracy | Source ↗ |
| AIME | v2026 | 99.2 | accuracy | Source ↗ |
| HMMT | vNovember 2025 | 94.4 | accuracy | Source ↗ |
| HMMT | vFebruary 2026 | 92.5 | accuracy | Source ↗ |
| IMOAnswerBench | — | 91 | accuracy | Source ↗ |
| GPQA Diamond | — | 91.2 | accuracy | Source ↗ |
| NL2Repo | — | 48.9 | resolve rate | Source ↗ |
| DeepSWE | — | 46.2 | resolve rate | Source ↗ |
| Program Bench | — | 63.7 | score | Source ↗ |
| Terminal-Bench | harness: Terminus 2 · v2.1 | 81 | success rate | Source ↗ |
| PostTrainBench | — | 34.3 | score | Source ↗ |
| SWE Marathon | — | 13 | resolve rate | Source ↗ |
| MCP Atlas | dataset: public subset | 76.8 | score | Source ↗ |
| Tool-Decathlon | — | 48.2 | score | Source ↗ |
The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.
Reasoning control
Toggle (on / off)effort = higheffort = maxeffort = xhigheffort = noneeffort = loweffort = mediumeffort = minimalbudget_tokens
12 / 84 providers expose no reasoning control (reasoning_options: []).
Related models
GLM Latestsame series$1.40 / $4.40Z.ai: GLM Latestsame series$1.40 / $4.40GLM 5.3 Preview Thinkingsame series$1.40 / $4.40DeepSeek V4 Procheaper alternative$0.435 / $0.87DeepSeek V4 Flashcheaper alternative$0.14 / $0.28DeepSeek V4 Flash 0731cheaper alternative$0.479 / $1.44MiniMax-M3cheaper alternative$0.30 / $1.20
Price historyone sample accumulated per data sync
Input listOutput listMin blended