Z.ai · live price
GLM 5 API pricing
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...
Mid-range ($1–5 per 1M)Tool callingReasoning
- Input
- $1
- per 1M tokens
- Output
- $3.20
- per 1M tokens
- Cached input
- $0.2
- per 1M tokens
- Context
- 205K
- 131K max output
List price from OpenRouter, which passes Z.ai's price through without markup. Refreshed hourly. Released February 11, 2026. Model id z-ai/glm-5.
What GLM 5 costs in practice
At list price, before any batch or caching discount.
1,000 chat messages
$2.60
1,000 input + 500 output tokens each
1,000 RAG questions
$9.60
8,000 input + 500 output tokens each
100 coding-agent steps
$3.64
30,000 input + 2,000 output tokens each, no caching
GLM 5 price history
Price last changed on 2026-10-21. We record prices daily since 2026-10-01.
GLM 5 price by host
StreamLake serves it below list price right now. Route to it to pay less on every token.
- StreamLake$0.6 in · $1.92 out · 198K ctx · 100.0% uptime 24h
- Baidu$0.7 in · $2.24 out · 203K ctx · 100.0% uptime 24h
- SiliconFlow$0.95 in · $2.55 out · 205K ctx · 100.0% uptime 24h
- Novita$0.9 in · $2.88 out · 203K ctx · 100.0% uptime 24h
- Amazon Bedrock$1 in · $3.20 out · 203K ctx · 99.3% uptime 24h
- Venice$1 in · $3.20 out · 198K ctx · 100.0% uptime 24h
- Z.AI$1 in · $3.20 out · 203K ctx · 100.0% uptime 24h
Where to buy Z.ai credits for less
GLM 5 costs the same per token everywhere it's sold through OpenRouter. What changes is the price of the credits. Live quotes for $100 of usage:
GLM 5 cost calculator
Enter your monthly tokens to price your own usage.
Usage at list price$82.00/ month
Cheaper alternatives to GLM 5
Other labs' models in the same price range or the one below, cheaper per token.
| Model | Input / 1M | Output / 1M |
|---|---|---|
| MiniMax: MiniMax M3.1 Flash | $0.075 | $0.3 |
| DeepSeek: DeepSeek V4.1 Flash 1017 | $0.15 | $0.6 |
| Anthropic: Claude Haiku 5.5 | $0.1 | $0.5 |
| Mistral: Mistral Large 4 | $0.7 | $2.10 |
| OpenAI: GPT-6 Luna Pro | $0.1 | $0.5 |
| OpenAI: GPT-6 Luna | $0.1 | $0.5 |
Other Z.ai models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GLM 4.7 Flash | $0.061 | $0.4 |
| GLM 5 Turbo | $1.20 | $4 |
| GLM 5V Turbo | $1.20 | $4 |
| GLM 4.7 | $0.4 | $1.75 |
| GLM 5.1 | $1.19 | $3.74 |
| GLM 4.6V | $0.3 | $0.9 |