GLM 5 is Z.ai's foundation model with a 198K-token context window for processing extended documents and conversations.
- Strengths
- Handles long-context tasks across general-purpose language understanding, reasoning, and coding with broad capability coverage.
- Best for
- Applications requiring sustained context over long documents, multi-turn conversations, or complex workflows where extended token capacity is needed.
- Limitations
- Superseded by GLM 5.1 as the foundation model; consider GLM 5 Turbo for faster inference or GLM 5.2 if reasoning-specific tasks and larger context windows (1M tokens) are priorities.
Input / 1M
$0.95
Output / 1M
$2.55
Cached input / 1M
$0.2
Context window
204K
Price history
Input (solid)Output (dashed)
Price change
- 30d
- in increased 58.3% out increased 32.8%
- 90d
- in increased 58.3% out increased 32.8%
- 1y
- in increased 58.3% out increased 32.8%
- Since launch
- in increased 58.3% out increased 32.8%
Snapshots
| Effective | Input | Output | Cached in | Note | Source |
|---|---|---|---|---|---|
| 23 Jul 2026 | $0.95 | $2.55 | $0.2 | Imported from OpenRouter | openrouter.ai |
| 20 Jul 2026 | $0.95 | $2.55 | $0.2 | Imported from OpenRouter | openrouter.ai |
| 15 Jul 2026 | $0.95 | $3.15 | $0.19 | Imported from OpenRouter | openrouter.ai |
| 11 Jun 2026 | $0.6 | $1.92 | $0.12 | Imported from OpenRouter | openrouter.ai |