GLM-5.2 pricing & specs
Z.AI (Zhipu) · released 2026-06-13 · ● verified 2026-10-11
input / 1M$1.40
output / 1M$4.40
context1M
max output131.1K
// price history ($/1M tokens)
// cheaper or similar alternatives
| model | in | out | ctx | vs GLM-5.2 |
|---|---|---|---|---|
| Qwen3.7 Flash | $0.03 | $0.13 | 1M | −97.4% |
| Qwen Turbo | $0.05 | $0.20 | 1M | −95.9% |
| DeepSeek V4 Flash 0731 | $0.06 | $0.18 | 1.05M | −95.8% |
| DeepSeek V4 Flash | $0.09 | $0.18 | 1.05M | −94.8% |
| Qwen Flash | $0.05 | $0.40 | 1M | −93.6% |
// price by host
| host | in $/1M | out $/1M |
|---|---|---|
| DeepInfra | $0.75 | $2.40 |
| Baseten | $1.40 | $4.40 |
| Cloudflare Workers AI | $1.40 | $4.40 |
| Google Vertex AI | $1.40 | $4.40 |
| Nebius | $1.40 | $4.40 |
| Novita AI | $1.40 | $4.40 |
| Together AI | $1.40 | $4.40 |
| Scaleway | $1.80 | $5.50 |
// faq
How much does GLM-5.2 cost?
GLM-5.2 costs $1.40 per million input tokens and $4.40 per million output tokens. At 50M input and 10M output tokens per month that is about $114.
What is the context window of GLM-5.2?
1M tokens, with up to 131.1K output tokens per request.
Does GLM-5.2 support prompt caching?
Yes. Cached input tokens cost $0.26 per million and cache writes cost $0 per million.
What are cheaper alternatives to GLM-5.2?
Qwen3.7 Flash ($0.03 in / $0.13 out), Qwen Turbo ($0.05 in / $0.20 out), DeepSeek V4 Flash 0731 ($0.06 in / $0.18 out) offer the same input types and capabilities for less.
Is GLM-5.2 open weights?
Yes. It is available from 8 tracked hosts; the cheapest is DeepInfra at $0.75 input and $2.40 output per million tokens.
// spec sheet
- input / 1M
- $1.40
- output / 1M
- $4.40
- cache read / 1M
- $0.26
- cache write / 1M
- $0
- blended (3:1)
- $2.15
- context
- 1M
- max output
- 131.1K
- input types
- text
- reasoning
- yes
- tool calling
- yes
- structured output
- yes
- open weights
- yes
- knowledge cutoff
- n/a
- price source
- Z.AI (Zhipu)
// cost calculator
| model | in $/1M | out $/1M | = monthly |
|---|---|---|---|
| Qwen3.7 Flash | $0.03 | $0.13 | $2.80 |
| Qwen Turbo | $0.05 | $0.20 | $4.50 |
| DeepSeek V4 Flash 0731 | $0.06 | $0.18 | $4.80 |
| GLM-5.2 | $1.40 | $4.40 | $114 |
Base-tier list prices. Long-context tiers, caching and batch discounts are not included.