Back to Models
z-ai/glm-5

GLM 5

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.

2/11/2026
204,800 tokens
#16 Text (Chinese)
Input: ¥178.7149/M
Output: ¥571.8877/M
Specifications

Modalities

Input
text
Output
text

Supported Parameters

frequency_penalty
include_reasoning
logit_bias
logprobs
max_tokens
min_p
presence_penalty
reasoning
repetition_penalty
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_k
top_logprobs
top_p

Max Output Tokens

131,072
Code Examples
curl https://api.fastmetal.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "glm-5",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Leaderboard
Text
🏆OverallELO: 1,457
#45
🇯🇵JapaneseELO: 1,408
#55
🇨🇳ChineseELO: 1,524
#16
🇰🇷KoreanELO: 1,426
#30
🇬🇧EnglishELO: 1,471
#38
frenchELO: 1,479
#39
germanELO: 1,442
#57
spanishELO: 1,450
#50
russianELO: 1,448
#58
💻CodingELO: 1,497
#57
🧮MathELO: 1,443
#59
✍️Creative WritingELO: 1,445
#34
📝Instruction FollowingELO: 1,447
#48
🌶️Hard PromptsELO: 1,478
#46
💬Multi-TurnELO: 1,472
#38
Code
🏆OverallELO: 1,430
#43