Quick answer: GLM 5.2 is Zhipu AI's latest flagship language model, offering a 1M-token context window, open-source SOTA coding capability, and strong performance on complex long-horizon tasks. It is the successor to GLM 5.1 in the GLM-5 family, with enhanced coding, agentic execution, and reliable long-context reasoning. On LHTB it scored 0.316 mean reward (rank 10), solving 1 of 46 tasks.
Where GLM 5.2 leads
Where it lags
Best for: Large-codebase analysis, long-document workflows, and agentic software engineering tasks.
GLM 5.2 is the current flagship of Zhipu AI's GLM-5 model family. It follows GLM 5.1 — which aligned coding performance with Claude Opus 4.6 and could autonomously work for up to 8 hours — with further improvements across coding capability and long-context task stability. GLM 5.2's headline specification is a 1M-token context window with a 128K max output, enabling it to reason over extremely large inputs without degradation.
Zhipu describes GLM 5.2 as delivering open-source SOTA coding capability, targeting the gap between code generation and full software engineering delivery. This positions the model within the same competitive tier as other frontier coding models while maintaining the lossless 1M context window that distinguishes the GLM-5 family from the 200K-limited GLM-5.1.
On LHTB — which measures agent performance across 46 hard terminal tasks averaging 69–93 minutes each — GLM 5.2 scored 0.316 mean reward and solved 1 task outright. This places it 10th of 21 models, ahead of several higher-cost alternatives at a competitive price point.
| Field | Value |
|---|---|
| Context window | 1,000,000 tokens |
| Max output | 128,000 tokens |
| Modalities | Text |
| Family | GLM-5 |
| License | Proprietary (API only) |
| API model name | glm-5.2 |
| Created by | Zhipu AI (Beijing, China) |
This model isn’t on any benchmark leaderboard yet.