Models Model details

Z.ai

Z.ai: GLM 5.1

z-ai/glm-5.1

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on a single task for more than 8 hours, autonomously planning, executing, and improving itself throughout the process, ultimately delivering complete, engineering-grade results.

Input
$0.966

/ 1M tokens

Output
$3.036

/ 1M tokens

Context window
204.8K

tokens

Limits

Context

204,800

tokens

Max output

128,000

63% of the context window

Parameters

753,864,139,008

Model facts

Author

Z.ai

Tokenizer

Other

Modality

Text -> Text

License

MIT

Created

Apr 7, 2026

Hugging Face

zai-org/GLM-5.1

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 reasoningLogit biasLogprobsMax tokensMin pPresence penaltyReasoningRepetition penaltyResponse formatSeedStopStructured outputsTemperatureTool choiceToolsTop kTop logprobsTop p

Capability scores

23.9
Agentic index

Better than 58% of models compared

55.8
Coding index

Better than 58% of models compared

26.1
Intelligence index

Better than 65% of models compared

Creative tasks

Category performance

Data visualization
Top 4%

1366 Elo

67.0% win

3D
Top 12%

1336 Elo

62.6% win

SVG
Top 30%

1217 Elo

55.5% win

Games
Top 26%

1266 Elo

55.2% win

Websites
Top 19%

1290 Elo

55.1% win

UI components
Top 23%

1292 Elo

54.9% win

Code
Top 29%

1269 Elo

53.0% win

ASCII art
Top 67%

1145 Elo

44.9% win

Agent tasks

Category performance

Agentic slides
Top 20%

1245 Elo

54.4% win

Slide decks
Top 28%

1258 Elo

54.2% win

pptxslides
Top 39%

1241 Elo

53.5% win

agenticslides(python pptx)
Top 34%

1240 Elo

53.3% win

Full-stack apps
Top 56%

1167 Elo

53.2% win

Agentic HTML slides
Top 54%

1205 Elo

52.0% win

Additional published result
  • Agentic slides (HTML)

    1204 Elo · Rank #5 · 51.8% win · Top 54%

Android apps
Top 47%

1194 Elo

52.0% win

Web apps
Top 62%

1166 Elo

50.7% win

Mobile apps
Top 60%

1158 Elo

50.6% win

Agentic games
Top 76%

1165 Elo

49.8% win

HTML slides
Top 58%

1170 Elo

48.8% win

Godot games
Top 94%

1053 Elo

37.8% win