Z.ai
Z.ai: GLM 5.2
z-ai/glm-5.2
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering, and complex multi-step automation. Reasoning efforts `high` and `xhigh` are supported; `xhigh` maps to max reasoning. It is particularly strong at coding and tool use across long-running tasks, able to maintain engineering context and follow standards consistently through a full development workflow, from requirements to multi-platform deployment, in a single task.
/ 1M tokens
/ 1M tokens
tokens
Limits
Context
1,048,576
tokens
Max output
943,718
90% of the context window
Parameters
753,329,940,480
Model facts
Author
Z.ai
Tokenizer
Other
Modality
Text -> Text
License
MIT
Created
Jun 16, 2026
Hugging Face
zai-org/GLM-5.2
Default generation parameters
temperature
1
top_p
0.95
Reasoning
Publication status
Modalities
Generation controls
Capability scores
Better than 69% of models compared
Better than 70% of models compared
Better than 75% of models compared
Agent tasks
Category performance
1241 Elo
60.5% win
1215 Elo
56.0% win
1193 Elo
53.2% win
1175 Elo
49.5% win
1205 Elo
49.0% win
1194 Elo
48.7% win
1156 Elo
48.1% win
1142 Elo
40.1% win
Creative tasks
Category performance
1295 Elo
55.3% win
1288 Elo
53.3% win
1287 Elo
52.0% win
1289 Elo
50.4% win
1270 Elo
49.5% win
1286 Elo
49.5% win
1215 Elo
48.8% win
1195 Elo
46.0% win