Z.ai · live price
GLM 5.2 API pricing
GLM 5.2 is a large-scale reasoning model from Z.ai. It supports text input and output with a 1M-token context window, and is suited for long-horizon agent workflows, project-level software engineering,...
- Input
- $1.40
- per 1M tokens
- Output
- $4.40
- per 1M tokens
- Cached input
- $0.26
- per 1M tokens
- Context
- 1.0M
- 944K max output
List price from OpenRouter, which passes Z.ai's price through without markup. Refreshed hourly. Released June 16, 2026. Model id z-ai/glm-5.2.
What GLM 5.2 costs in practice
1,000 chat messages
$3.60
1,000 input + 500 output tokens each
1,000 RAG questions
$13.40
8,000 input + 500 output tokens each
100 coding-agent steps
$5.08
30,000 input + 2,000 output tokens each, no caching
GLM 5.2 price history
GLM 5.2 price by host
- Baidu$0.141 in · $0.444 out · 1.0M ctx · 100.0% uptime 24h
- Reka$0.7 in · $1.40 out · 1.0M ctx · 99.9% uptime 24h
- StreamLake$0.56 in · $1.76 out · 1.0M ctx · 99.3% uptime 24h
- DeepInfra$0.563 in · $1.80 out · 1.0M ctx · 99.6% uptime 24h
- Novita$0.65 in · $2.04 out · 1.0M ctx · 99.7% uptime 24h
- Decart$0.39 in · $2.40 out · 1.0M ctx · 99.0% uptime 24h
- DigitalOcean$0.7 in · $2.20 out · 262K ctx · 99.8% uptime 24h
- SiliconFlow$0.7 in · $2.20 out · 1.0M ctx · 99.9% uptime 24h
- Morph$0.077 in · $2.84 out · 1.0M ctx · 98.6% uptime 24h
- CoreWeave$0.76 in · $2.42 out · 1.0M ctx · 99.9% uptime 24h
- AtlasCloud$0.938 in · $2.95 out · 1.0M ctx · 96.6% uptime 24h
- Alibaba$0.966 in · $3.04 out · 1M ctx · 99.8% uptime 24h
- Relace$0.131 in · $4 out · 1.0M ctx · 99.9% uptime 24h
- Phala$1.26 in · $3 out · 1.0M ctx · 99.8% uptime 24h
- Cloudflare$1.18 in · $4.40 out · 262K ctx · 100.0% uptime 24h
- Inceptron$1.39 in · $4.39 out · 1.0M ctx · 99.1% uptime 24h
- Mistral$1.40 in · $4.40 out · 1.0M ctx · 100.0% uptime 24h
- BaseTen$1.40 in · $4.40 out · 1.0M ctx · 99.7% uptime 24h
- Together$1.40 in · $4.40 out · 1.0M ctx · 98.8% uptime 24h
- Wafer$1.40 in · $4.40 out · 1.0M ctx · 99.8% uptime 24h
- Fireworks$1.40 in · $4.40 out · 1.0M ctx · 0.0% uptime 24h
- Venice$1.40 in · $4.40 out · 1M ctx · 99.9% uptime 24h
- GMICloud$1.40 in · $4.40 out · 1.0M ctx · 99.7% uptime 24h
- Parasail$1.40 in · $4.40 out · 262K ctx · 99.5% uptime 24h
- Friendli$1.40 in · $4.40 out · 1.0M ctx · 99.3% uptime 24h
- Z.AI$1.40 in · $4.40 out · 1.0M ctx · 99.8% 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.2 cost calculator
Cheaper alternatives to GLM 5.2
| 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 |
| Google: Gemini 3.8 Flash | $0.75 | $3.75 |
| Qwen: Qwen3.8 Flash | $0.15 | $0.47 |
Other Z.ai models
| Model | Input / 1M | Output / 1M |
|---|---|---|
| GLM 5.3 | $0.222 | $3.39 |
| GLM 5.1 | $0.965 | $3.03 |
| GLM 5.3 Flash | $0.15 | $0.5 |
| GLM 5V Turbo | $1.20 | $4 |
| GLM 5 Turbo | $1.20 | $4 |
| GLM 5.3 FlashX | $0.37 | $1.25 |