GLM-5.2
Open flagship GLM for long-horizon coding agents and million-token context work.
- Capability
- 151.8ECI · #44 of 148
- Input
- $1.40per 1M tokens
- Output
- $4.40per 1M tokens
- Context
- 1M131K max output
What it costs
- Input
- $1.40per million tokens
- Output
- $4.40per million tokens
- Cached input
- $0.26per million tokens
- Blended (3:1)
- $2.15pricier than 72% of priced models
Typical monthly bills
| Monthly usage | Estimated cost |
|---|---|
| Side project2M input + 0.5M output tokens | $5.00 |
| Team assistant25M input + 5M output tokens | $57.00 |
| Production app250M input + 50M output tokens | $570.00 |
Official Z.AI API price, as listed on models.dev.
Independent benchmarks
#44 of 148 scored models
The shaded band is Epoch AI’s confidence range (149.8–154.0); the tick marks the median scored model.
Scores from Epoch AI, run independently of Z.ai (Zhipu).
The details
- Lab
- Z.ai (Zhipu)
- Released
- Jun 13, 2026
- Context window
- 1,000,000 tokens
- Max output
- 131,072 tokens
- Inputs
- Text
- Output
- Text
- Reasoning
- Adjustable effort high · max
- Tool calling
- Yes
- Structured output
- Yes
- Weights
- Open weights
- API model ID
glm-5.2on Z.AI- Availability
- 80 API providerslisted on models.dev
What Z.ai (Zhipu) claims
Published by the lab at launch. Settings vary, so compare these only with care.
| Benchmark | Score | Setting | Source |
|---|---|---|---|
| SWE-Bench Pro | 62.1 resolve rate | — | Source |
| Terminal-Bench v2.1 | 82.7 success rate | — | Source |
| FrontierSWE | 74.4 dominance | — | Source |
| Humanity's Last Exam | 40.5 | — | Source |
| Humanity's Last Exam | 54.7 | with tools | Source |
| CritPt | 20.9 | — | Source |
| AIME v2026 | 99.2 | — | Source |
| HMMT vNovember 2025 | 94.4 | — | Source |
| HMMT vFebruary 2026 | 92.5 | — | Source |
| IMOAnswerBench | 91 | — | Source |
| GPQA Diamond | 91.2 | — | Source |
| NL2Repo | 48.9 resolve rate | — | Source |
More from Z.ai (Zhipu)
About GLM-5.2
How much does GLM-5.2 cost?
GLM-5.2 costs $1.40 input / $4.40 output per million tokens (official Z.AI API price). Cached input is $0.26 per million tokens. At a 3:1 input-to-output mix that is $2.15 per million tokens, more expensive than 72% of the 360 priced models we track.
What is the context window of GLM-5.2?
GLM-5.2 accepts up to 1,000,000 tokens per request and can write up to 131,072 tokens in one response.
How good is GLM-5.2?
Epoch AI gives GLM-5.2 a Capabilities Index score of 151.8 (likely range 149.8–154.0), ranking it #44 of 148 models Epoch has scored. Epoch AI benchmark results: GPQA Diamond 91.9%, FrontierMath Tiers 1–3 59.2%, OTIS Mock AIME 2024–2025 86.4%, SWE-bench Verified 78.7%, SimpleQA Verified 34.2%.
Is GLM-5.2 open source?
Yes. Z.ai (Zhipu) publishes the weights, so it can be downloaded and self-hosted.
What inputs does GLM-5.2 support?
GLM-5.2 accepts text and replies in text. It is a reasoning model with high and max effort settings, supports tool calling and can return structured JSON output.
When was GLM-5.2 released?
Z.ai (Zhipu) released GLM-5.2 on Jun 13, 2026.
What are the best alternatives to GLM-5.2?
The closest current models from other labs on capability, price and release date are Kimi K2.6 (Moonshot AI, ECI 151.1, $0.95 / $4.00), Muse Spark 1.1 (Meta, ECI 154.3, $1.25 / $4.25), Grok 4.20 (Reasoning) (xAI, ECI 152.0, $1.25 / $2.50) and Gemini 3.6 Flash (Google, ECI 154.3, $0.75 / $3.75).