GLM 5.2
$0.034 per 1M input tokens and $7.00 per 1M output tokens · 1.05M context · tools, reasoning, JSON, open weights.
Prices checked Oct 21, 2026 · tracked by LLM Cost Index since Oct 21, 2026
What GLM 5.2 costs per month
Estimated monthly bill for typical workloads, using the cached-input price for repeated context. Try your own numbers in the cost calculator.
| Workload | Per month |
|---|---|
| Customer chatbot 1,000 conversations a day, 8 turns each | $600 |
| Document Q&A (RAG) 500 questions a day over retrieved documents | $55.56 |
| Coding / tool-using agent 200 tasks a day, long tool-heavy contexts | $180 |
| Content generation 30 long articles a day | $15.84 |
| Classification / extraction 100,000 short items a day | $346 |
Price history
We started tracking GLM 5.2 on Oct 21, 2026; the chart appears as soon as there is a second data point. See all recent price changes.
Where to run GLM 5.2: 34 providers
Wafer is the cheapest at $0.034 input / $7.00 output per 1M tokens. Uptime is the average over the last 30 days as reported by OpenRouter; see provider reliability.
| Provider | Input / 1M | Output / 1M | Context | Uptime | Notes |
|---|---|---|---|---|---|
| Wafer | $0.034 | $7.00 | 1.05M | 99.4% | fp4 |
| Cloudflare | $0.19 | $8.00 | 262K | 100% | — |
| Wafer | $0.19 | $8.00 | 1.05M | 99.2% | fp4 |
| Morph | $0.228 | $4.40 | 1.05M | 98.3% | fp8 |
| Relace | $0.40 | $4.00 | 1.05M | — | — |
| DeepInfra | $0.45 | $1.44 | 1.05M | 98.7% | flex tier, fp4 |
| DeepInfra | $0.563 | $1.80 | 1.05M | 99.9% | fp4 |
| StreamLake | $0.613 | $1.93 | 1.02M | 98.6% | fp8 |
| CoreWeave | $0.62 | $2.42 | 1.05M | 99.7% | fp4 |
| Novita | $0.65 | $2.04 | 1.05M | 99.5% | fp8 |
| Inceptron | $0.69 | $2.52 | 1.05M | 99.3% | fp4 |
| DigitalOcean | $0.70 | $2.20 | 1.05M | 99% | — |
| SiliconFlow | $0.70 | $2.20 | 1.05M | 99.6% | fp8 |
| AtlasCloud | $0.938 | $2.95 | 1.05M | 98.4% | fp8 |
| Alibaba | $0.966 | $3.04 | 1M | 100% | fp8 |
| Alibaba | $1.12 | $3.52 | 1M | 100% | fp8 |
| Decart | $1.20 | $8.00 | 1.05M | 100% | priority tier, fp4 |
| Phala | $1.26 | $3.00 | 1.05M | 0% | fp8 |
| Baidu | $1.40 | $4.40 | 1.05M | 99.8% | fp8 |
| BaseTen | $1.40 | $4.40 | 1.05M | 99.6% | fp8 |
| BaseTen | $1.40 | $4.40 | 1.05M | 99.5% | fp8 |
| Friendli | $1.40 | $4.40 | 1.05M | 99% | — |
| GMICloud | $1.40 | $4.40 | 1.05M | 100% | fp8 |
| Mistral | $1.40 | $4.40 | 1.05M | 100% | nvfp4 |
| Nebius | $1.40 | $4.40 | 1.05M | 94.7% | fp4 |
| Parasail | $1.40 | $4.40 | 262K | 91.2% | fp4 |
| Together | $1.40 | $4.40 | 1.05M | 92.7% | — |
| Venice | $1.40 | $4.40 | 1M | 99.9% | fp8 |
| Z.AI | $1.40 | $4.40 | 1.05M | 100% | fp8 |
| Mistral | $1.54 | $4.84 | 1.05M | 100% | — |
| BaseTen | $2.10 | $6.60 | 1.05M | 100% | priority tier, fp8 |
| BaseTen | $2.10 | $6.60 | 1.05M | 99.4% | priority tier, fp8 |
| Baidu | $2.25 | $7.88 | 1.05M | 100% | priority tier, fp4 |
| Alibaba | $2.31 | $7.26 | 1M | 96.8% | priority tier, fp8 |
Cheaper alternatives to GLM 5.2
Models with the same tool calling, structured output for at least 20% less (3:1 input/output mix), most capable first.
| Model | Input / 1M | Output / 1M | Context | Capabilities |
|---|---|---|---|---|
| MiMo-V2.6-Pro Xiaomi | $0.435 | $0.87 | 1.05M | visionaudiotoolsreasoningJSONopen weights |
| GLM 5.3 Z.ai | $0.079 | $1.40 | 1.05M | toolsreasoningJSONopen weights |
| Claude Haiku 5.5 Anthropic | $0.10 | $0.50 | 1M | visiontoolsreasoningJSON |
| GLM 5.3 Flash Z.ai | $0.041 | $0.12 | 1.05M | visiontoolsreasoningJSONopen weights |
| Ling 3.1 Flash inclusionAI | $0.075 | $0.225 | 262K | toolsreasoningJSON |
How to pay less for GLM 5.2
For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $600 a month at list price without caching:
| Option | Per month | You save |
|---|---|---|
| Move to MiMo-V2.6-Pro (similar capabilities) | $136 | $464 (77%) |
| Route to DeepInfra (flex tier) | $283 | $317 (53%) |
Other workloads: cut-your-bill tool for GLM 5.2.
Specifications
| Model ID | z-ai/glm-5.2 |
| Input | text |
| Output | text |
| Tool calling | Yes |
| Structured output | Yes |
| Reasoning mode | Yes |
| Open weights | Yes — zai-org/GLM-5.2 |
| Released | Jun 16, 2026 |
FAQ
- How much does GLM 5.2 cost?
- $0.034 per million input tokens and $7.00 per million output tokens; cached input costs $0.033 per million. Prices as of Oct 21, 2026.
- What is the context window of GLM 5.2?
- 1.05M tokens, with up to 944K output tokens per response.
- Does GLM 5.2 support images, tools and structured output?
- Images as input: no. Tool calling: yes. Structured (JSON) output: yes. Reasoning mode: yes.
- What are cheaper alternatives to GLM 5.2?
- Models with the same key capabilities for at least 20% less include MiMo-V2.6-Pro ($0.435 / $0.87), GLM 5.3 ($0.079 / $1.40), Claude Haiku 5.5 ($0.10 / $0.50).
More from Z.ai: all Z.ai models · how we collect prices