GLM-5.2
Language Available Full comparison ↗ zhipu/glm-5.2 · by Zhipu AI
· mixture-of-experts
Pricing — 1 offering(s)
Input tokens
- $1.40 / 1M tokens (input) Current 2026-08-04 → present
Output tokens
- $4.40 / 1M tokens (output)
Current
2026-08-04 → present
Same sourcing basis as the input tier.
Cached input tokens
- $0.26 / 1M tokens (cached input) Current 2026-08-04 → present
Showing the active price and any recorded history. Full pricing history is available via the paid API — see API docs.
See how GLM-5.2 fits into a cost-aware routing setup
See how →Capability profile
How GLM-5.2 rates across core capability dimensions, with the task-level evidence behind each rating.
Z.ai's own docs: "state-of-the-art long-horizon coding performance among open-source models", Terminal-Bench 2.1 81.0 (vs GLM-5.1's 62.0) and SWE-bench Pro 62.1. Zhipu shipped GLM-5.2 without an official benchmark suite at launch, so these are vendor figures with no independent reproduction yet.
1,000,000-token context — up from GLM-5.1's 200K, at the same price point, via the IndexShare change.
Z.ai's positioning: "powerful tool invocation", MCP tool/data-source integration, long-horizon agentic workflows — the family's stated focus.
GLM-5.1 published AIME/GPQA/HLE figures on its HF card; GLM-5.2's HF card at launch carried no comparable suite — reasoning rated conservatively pending independent data.
IndexShare is claimed to cut long-context FLOPs, but no throughput figure is published.
$1.40 / 1M input, $4.40 / 1M output (Z.ai pricing — same as GLM-5.1, confirmed a genuine coincidence, not aggregator copy-paste). Mid-priced for an open flagship; the 1M context at that price and MIT weights are the value case.
Ratings are estimated — limited independent data is available for this model.
Coding benchmarks
View the full coding benchmark leaderboard →| Benchmark | Score | Harness | Source |
|---|---|---|---|
| swe-bench-verified ↗ | 82.8% 2026-09 | mini-swe-agent | 📊 leaderboard ↗ |
| terminal-bench-2-1 | 67.8% 2026-09 | terminus-2 | 📊 leaderboard ↗ |
| livecodebench ↗ | 69.5% 2026-09 | — | 📊 leaderboard ↗ |
Operator guidance
Zhipu AI's current flagship, successor to GLM-5.1 (which this update marks `generation: previous`). Route here for open-weights agentic coding at long context; it is the strongest-benchmarked (vendor-reported) Chinese-lab open coding model in this registry. Independent capability data beyond coding is not yet available.
Use cases
- Long-horizon agentic coding over large codebases needing up to 1M tokens of context
- MCP-integrated agent workflows (Zhipu's stated design target)
- Self-hosted deployment under MIT where a strong open coding model with very long context is wanted
Limitations
- All cited benchmarks are Z.ai's own — Zhipu shipped GLM-5.2 without an official benchmark suite, so no independent third-party reproduction exists
- Expert-routing / active-parameter figures are from independent coverage, not Zhipu's own materials (which confirm only the total-parameter scale)
- Instruction-following, multilingual, speed, and cost-efficiency have no published data — rated `unknown`
- Launch date differs by a few days across sources (2026-06-13 coding-plan vs 2026-06-17 HF publication) — month-only `released` used