Models Model details

GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading closed-source models. With advanced agentic planning, deep backend reasoning, and iterative self-correction, GLM-5 moves beyond code generation to full-system construction and autonomous execution.

Input
$1

/ 1M tokens

Output
$3.2

/ 1M tokens

Context window
204.8K

tokens

Limits

Context

204,800

tokens

Max output

131,072

64% of the context window

Parameters

753,864,139,008

Model facts

Author

Z.ai

Tokenizer

Other

Modality

Text -> Text

License

MIT

Created

Feb 11, 2026

Hugging Face

zai-org/GLM-5

Default generation parameters

temperature

1

top_p

0.95

Publication status

Hugging Face: verifiedLicense: publishedParameter count: published

Modalities

Input · TextOutput · Text

Generation controls

Frequency penaltyInclude reasoningLogprobsMax tokensPresence penaltyReasoningRepetition penaltyResponse formatSeedStopStructured outputsTemperatureTool choiceToolsTop kTop logprobsTop p

Capability scores

27.9
Intelligence index

Better than 68% of models compared

Agent tasks

Category performance

Android apps
Top 67%

1161 Elo

55.2% win

Full-stack apps
Top 64%

1123 Elo

51.7% win

Mobile apps
Top 75%

1133 Elo

51.6% win

Godot games
Top 64%

1144 Elo

46.7% win

HTML slides
Top 76%

1147 Elo

45.1% win

Creative tasks

Category performance

Games
Top 37%

1237 Elo

57.4% win

3D
Top 38%

1229 Elo

56.3% win

Code
Top 37%

1248 Elo

55.5% win

Websites
Top 37%

1249 Elo

55.0% win

SVG
Top 51%

1166 Elo

54.4% win

UI components
Top 45%

1230 Elo

53.6% win

Data visualization
Top 43%

1228 Elo

53.0% win

ASCII art
Top 66%

1149 Elo

47.9% win