Models Model details

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.

Input
$0.62

/ 1M tokens

Output
$2.42

/ 1M tokens

Context window
1.05M

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

Default HighXhighHighNone

Publication status

Hugging Face: verifiedLicense: publishedParameter count: published

Modalities

Input · TextOutput · Text

Generation controls

Frequency penaltyInclude reasoningLogit biasLogprobsMax tokensMin pParallel tool callsPresence penaltyReasoningReasoning effortRepetition penaltyResponse formatSeedStopStructured outputsTemperatureTool choiceToolsTop kTop logprobsTop p

Capability scores

38.4
Agentic index

Better than 69% of models compared

68.8
Coding index

Better than 70% of models compared

33.7
Intelligence index

Better than 75% of models compared

Agent tasks

Category performance

Full-stack apps
Top 30%

1241 Elo

60.5% win

Web apps
Top 33%

1215 Elo

56.0% win

Android apps
Top 49%

1193 Elo

53.2% win

HTML slides
Top 55%

1175 Elo

49.5% win

Agentic games
Top 46%

1205 Elo

49.0% win

Slide decks
Top 58%

1194 Elo

48.7% win

Mobile apps
Top 61%

1156 Elo

48.1% win

Godot games
Top 66%

1142 Elo

40.1% win

Creative tasks

Category performance

UI components
Top 21%

1295 Elo

55.3% win

3D
Top 21%

1288 Elo

53.3% win

Data visualization
Top 17%

1287 Elo

52.0% win

Code
Top 20%

1289 Elo

50.4% win

Games
Top 25%

1270 Elo

49.5% win

Websites
Top 20%

1286 Elo

49.5% win

SVG
Top 31%

1215 Elo

48.8% win

ASCII art
Top 47%

1195 Elo

46.0% win