GLM 5.2 pricing
GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow... This page tracks 17 listings in total. Highlighted lows are $0.034 per million input and $1.98 per million output (see table for which seller matches each).
Pricing across providers
Every row is a seller of GLM 5.2 with token pricing we track. The cheapest input in this snapshot is from Openrouter. The bar chart shows the same input and output dollars per million for a quick scan.
| Provider | Input / 1M | Output / 1M | Cached input | Batch |
|---|---|---|---|---|
AC Alibaba Cloud | $1.40 | $4.40 | $0.280 | — |
B Baseten | $1.40 | $4.40 | $0.140 | — |
C Cloudflare | $1.40 | $4.40 | $0.260 | — |
D DeepInfra | $0.750 | $2.40 | $0.140 | — |
F Friendliai | $1.40 | $4.40 | $0.260 | — |
N Nebius | $1.40 | $4.40 | — | — |
N Novita | $1.40 | $4.40 | $0.260 | — |
O Openrouter | $0.034 | $7.00 | — | — |
QA Qwen Ai Platform | $1.40 | $4.40 | $0.280 | — |
Q Qwencloud | $1.40 | $4.40 | $0.280 | — |
S Scaleway | $1.80 | $5.50 | — | — |
SA Scx Ai | $0.610 | $1.98 | $0.220 | — |
T Tencent | $1.40 | $4.40 | $0.260 | — |
TA Together AI | $1.40 | $4.40 | $0.260 | — |
W Wandb | $0.760 | $2.42 | $0.140 | — |
MA Mistral AInative | $1.40 | $4.40 | $0.140 | — |
ZA Z Ainative | $1.40 | $4.40 | $0.260 | — |
Input vs output · per provider
Cost calculator
The calculator uses the same dollars per million tokens as the table. Adjust sliders to see how GLM 5.2 cost scales with traffic.
Provider
0.140000¢ / req
0.220000¢ / req
Model specifications
Context length, caps, and capability flags for GLM 5.2. Values follow the main provider (Z Ai) record in our index.
- Context window
- 1,048,576 tokens
- Max output
- 131,072 tokens
- Vision (images)
- No
- Tool / function calling
- Yes
- Streaming
- Yes
- Released
- Jun 2026
- Primary provider
- Z Ai
- Model family
- N/A
Compare GLM 5.2
Open a pair page to see GLM 5.2 next to another model with a shared provider matrix. 6 shortcuts below.
Locked
Compare with
Pick a model on both sides.
Popular GLM 5.2 comparisons
- GLM 5.2 vs GPT-4o
GLM 5.2 55% cheaper on output
- GLM 5.2 vs Claude Sonnet 4.6
GLM 5.2 70% cheaper on output
- GLM 5.2 vs Gemini 2.0 Flash
Gemini 2.0 Flash 90% cheaper on output
- GLM 5.2 vs Llama 3.1 70B
Compare pricing side by side
- GLM 5.2 vs Mistral 7B
Mistral 7B 94% cheaper on output
- GLM 5.2 vs Amazon Nova Lite V1 0
Compare pricing side by side
Frequently asked questions
Read these after the table if you want plain language around GLM 5.2 rates. The short model note from our index: GLM-5.2 is Z.ai’s flagship model for the era of long-horizon tasks. With a truly usable 1M-token context window, it can handle project-level engineering context, execute long-running tasks more reliably, follow...
Related models
Models close to GLM 5.2 by family, provider, and context window — each with live pricing in our catalog.