Z.ai
GLM 5
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows.
At a glance
- Input / 1M
- $0.60
- Output / 1M
- $1.92
- Context
- 205K
- Max output
- 128K
- Intelligence
- 27.9
- Released
- Feb 2026
Pricing
GLM 5 API pricing
Per-token rates, plus what common tasks actually cost.
| Input tokensPer 1M tokens | $0.60 |
|---|---|
| Output tokensPer 1M tokens | $1.92 |
| Cached input (read)Per 1M tokens | $0.12 |
| Cache writePer 1M tokens | Not available |
Chat message
2K in, 500 out
$2.16
per 1,000 requests
Coding task
30K in, 4K out
$25.68
per 1,000 requests
Long document summary
150K in, 2K out
$93.84
per 1,000 requests
Benchmarks
GLM 5 benchmark scores
Independent scores from Artificial Analysis. Higher is better.
Intelligence index
27.9
Coding index
Not available
Agentic index
Not available
Specs
Context window and capabilities
What it can read, what it can write, and which API features it supports.
- Context window
- 205K tokens
- Max output
- 128K tokens
- Input types
- Text
- Output types
- Text
- Reasoning effort
- Not available
- Release date
- February 11, 2026
- Tool calling
- Structured outputs
- JSON mode
- Reasoning
- Temperature
- Stop sequences
- Deterministic seed
- Verbosity control
Compare
GLM 5 vs other models
See how GLM 5 stacks up head to head on price, benchmarks, and features.
GLM 5 vs DeepSeek V4 Flash 0731
Z.ai vs DeepSeek
See comparisonGLM 5 vs Qwen3.7 Max
Z.ai vs Qwen
See comparisonGLM 5 vs MiniMax M3
Z.ai vs MiniMax
See comparisonGLM 5 vs Grok Build 0.1
Z.ai vs xAI
See comparisonGLM 5 vs Kimi K2.6
Z.ai vs Moonshot AI
See comparisonGLM 5 vs Qwen3.6 Plus
Z.ai vs Qwen
See comparisonAlternatives
GLM 5 alternatives
Similar models worth considering, and where each one has the edge.
DeepSeek
DeepSeek V4 Flash 0731
MiniMax
MiniMax M3
xAI
Grok Build 0.1
Want to learn about other models? Browse all models
FAQ
Frequently asked questions
How much does GLM 5 cost?
GLM 5 costs $0.60 per 1M input tokens and $1.92 per 1M output tokens through the API. A typical chat message costs about $2.16 per 1,000 messages.
What is the context window of GLM 5?
GLM 5 accepts up to 205K tokens of input and can write up to 128K tokens in a single response.
What is the best alternative to GLM 5?
DeepSeek V4 Flash 0731 from DeepSeek is a strong alternative. It offers: 1.5x cheaper output, higher intelligence score, larger 1.05m context.
Can I use GLM 5 alongside other models?
Yes. Shortcut Chat sends one prompt to GLM 5 and any other models you pick at the same time, so you can compare answers side by side.
Try GLM 5 next to every other model.
Use GLM 5 alongside all the other models. Use one at a time, or multiple together. Get the best answer from every AI.