GLM-5.2
Long-horizon coding on open weights at a fraction of frontier pricing.
GLM-5.2 supersedes GLM-5.1.
What are GLM-5.2's specs and price?
GLM-5.2, built by Z.ai, ships a 1M-token context window and a 64K-token max output, released 2026-05. It supports text input with a dedicated reasoning mode and costs $2.15 per million blended tokens, the 19th-cheapest of 32 models we track.
Specs
| Context window | 1M tokens |
| Max output | 64K tokens |
| Modalities | text |
| Extended thinking | Yes |
| Released | 2026-05 |
| Knowledge cutoff | 2026-02 |
| Provider | Z.ai |
Verified 2026-08-08 — source.
Where it ranks
Strengths
- Open-weights coding-first flagship
- 1M-token context window
- Beats larger frontier models on long-horizon coding
More about GLM-5.2
FAQ
What is GLM-5.2's context window?
GLM-5.2 has a 1M-token context window and a 64K-token max output — the 8th-largest context of the 32 current models we track. Source: https://docs.z.ai/, verified 2026-08-08.
Does GLM-5.2 support vision or audio input?
No — GLM-5.2 is text-only as of 2026-08-08.
Does GLM-5.2 have a reasoning or extended-thinking mode?
Yes — GLM-5.2 exposes a dedicated reasoning mode for multi-step problems.
When was GLM-5.2 released, and what is its knowledge cutoff?
GLM-5.2 was released 2026-05 with a knowledge cutoff of 2026-02.
How much does GLM-5.2 cost, and who provides it?
GLM-5.2 is served by Z.ai at $2.15/M blended tokens (3:1 input:output) — the 19th-cheapest of 32 current models. Full pricing breakdown: /llm-api-pricing/glm-5-2.
