GLM-5.2 is Z.AI's flagship model for long-horizon autonomous coding and engineering workflows. It is built to plan, execute, iterate, and optimize complex development tasks over extended runs. This variant keeps thinking disabled for faster direct responses.
Added Jun 15, 2026
Model weightsContext Window
1.0M
Max Output
131.1K
Input Price (Auto)
$0.42/1M
Output Price (Auto)
$1.32/1M
Cache Read (Auto)
$0.078/1M
Capabilities
Benchmarks
Benchmarks
Performance metrics and benchmarks
Sourced from Artificial Analysis.
Intelligence Index
34.8
Coding Index
46.5
Agentic Index
35.1
Reasoning
GPQA Diamond
Graduate-level scientific reasoning
68.6%
Better than 48% of models compared
HLE
Humanity's Last Exam
9.8%
Better than 56% of models compared
AA-LCR
Long context reasoning evaluation
45.0%
Better than 49% of models compared
GDPval-AA
Economically valuable tasks
44.6%
CritPt
Research-level physics reasoning
3.1%
Coding
SciCode
Python programming for scientific computing
36.1%
Better than 56% of models compared
Knowledge
AA-Omniscience Accuracy
Proportion of correctly answered questions
20.3%
AA-Omniscience Hallucination Rate
Rate of incorrect answers among non-correct responses
33.7%
Last updated Aug 17, 2026
Artificial AnalysisProviders
Choose explicit providers for this model. Auto routing remains available as the default option.
Loading provider options…
Related text models
Compare GLM 5.2 with similar models from the same provider or model family.
GLM 5.3 Preview
zai-org/glm-5.3A preview of GLM-5.3 for long-horizon autonomous coding and engineering workflows. This variant defaults to the model's low reasoning tier for faster responses. While in preview, prompts and responses may be logged and used for training.
GLM 5.3 Preview Thinking
zai-org/glm-5.3:thinkingThe GLM-5.3 preview with higher reasoning enabled for harder long-horizon coding, autonomous agent workflows, and complex engineering tasks. While in preview, prompts and responses may be logged and used for training.
GLM 5.2 Thinking
zai-org/glm-5.2:thinkingGLM-5.2 with thinking enabled for harder long-horizon coding, autonomous agent workflows, complex engineering optimization, and real-world development tasks.
GLM Latest
zai-org/glm-latestCompatibility alias that routes to the newest thinking GLM model. Currently routes to GLM 5.2 Thinking.
GLM 5.1
zai-org/glm-5.1GLM-5.1 is Zhipu's next-level open source model, ranking #1 in open source and #3 globally across SWE-Bench Pro, Terminal-Bench, and NL2Repo (as of April 2026). Built for long-horizon tasks, it can run autonomously for up to 8 hours. Run at FP8.
GLM 5.1 Thinking
zai-org/glm-5.1:thinkingGLM-5.1 with extended thinking enabled. Ranks #1 in open source and #3 globally across SWE-Bench Pro, Terminal-Bench, and NL2Repo (as of April 2026). Excels at long-horizon tasks, running autonomously for up to 8 hours while refining strategies through thousands of iterations. Run at FP8.