Z.ai · live price
GLM 5.1 API pricing
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...
- Input
- $0.965
- per 1M tokens
- Output
- $3.03
- per 1M tokens
- Cached input
- $0.179
- per 1M tokens
- Context
- 205K
- 131K max output
List price from OpenRouter, which passes Z.ai's price through without markup. Refreshed hourly. Released April 7, 2026. Model id z-ai/glm-5.1.
What GLM 5.1 costs in practice
1,000 chat messages
$2.48
1,000 input + 500 output tokens each
1,000 RAG questions
$9.23
8,000 input + 500 output tokens each
100 coding-agent steps
$3.50
30,000 input + 2,000 output tokens each, no caching
GLM 5.1 price history
GLM 5.1 price by host
- Baidu$0.965 in · $3.03 out · 203K ctx · 99.5% uptime 24h
- StreamLake$0.966 in · $3.04 out · 200K ctx · 99.6% uptime 24h
- Chutes$0.98 in · $3.08 out · 203K ctx · 84.0% uptime 24h
- DeepInfra$1.05 in · $3.50 out · 203K ctx · 99.9% uptime 24h
- SiliconFlow$1.19 in · $3.74 out · 205K ctx · 99.5% uptime 24h
- AtlasCloud$1.26 in · $3.96 out · 203K ctx · 99.0% uptime 24h
- Phala$1.21 in · $4.20 out · 203K ctx · 82.1% uptime 24h
- Alibaba$1.33 in · $4.18 out · 203K ctx · 95.0% uptime 24h
- Novita$1.38 in · $4.40 out · 205K ctx · 99.1% uptime 24h
- Nebius$1.40 in · $4.40 out · 203K ctx · 99.7% uptime 24h
- GMICloud$1.40 in · $4.40 out · 203K ctx · 99.3% uptime 24h
- Friendli$1.40 in · $4.40 out · 203K ctx · 100.0% uptime 24h
- Z.AI$1.40 in · $4.40 out · 203K ctx · 99.8% uptime 24h
- Venice$1.40 in · $4.40 out · 200K ctx · 98.3% uptime 24h
Where to buy Z.ai credits for less
Disclosure: this site is run by the team behind smaaart, one of the options compared. Tables are ranked by price only, from live quotes and published fees, including when smaaart isn't first. How we compare
GLM 5.1 cost calculator
Cheaper alternatives to GLM 5.1
| Model | Input / 1M | Output / 1M |
|---|---|---|
| OpenAI: GPT-6 Luna Pro | $0.1 | $0.5 |
| OpenAI: GPT-6 Luna | $0.1 | $0.5 |
| Qwen: Qwen3.8 Omni Flash | $0.15 | $0.47 |
| DeepSeek: DeepSeek V4.1 Flash | $0.03 | $0.5 |
| Qwen: Qwen3.8 Flash | $0.15 | $0.47 |
| DeepSeek: DeepSeek V4 Flash Vision Exp | $0.216 | $0.647 |
Other Z.ai models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GLM 5V Turbo | $1.20 | $4 |
| GLM 5 Turbo | $1.20 | $4 |
| GLM 5 | $0.6 | $1.92 |
| GLM 5.2 | $1.40 | $4.40 |
| GLM 4.7 Flash | $0.061 | $0.4 |
| GLM 4.7 | $0.6 | $2.20 |