GLM-5.2 API Pricing
Z.AI · released Jun 13, 2026 · 1M context · API model ID glm-5.2
GLM-5.2 by Z.AI API pricing: $1.40 per 1M input tokens and $4.40 per 1M output tokens (provider list price via models.dev, Oct 10, 2026).
Prices
| Price | USD per 1M tokens |
|---|---|
| Input | $1.40 |
| Output | $4.40 |
| Cache read | $0.26 |
| Cache write | Free |
Z.AI's list price for its own API, as compiled by models.dev and checked Oct 10, 2026, 09:00 UTC. Prices on cloud platforms and resellers can differ. Provider documentation
Estimated monthly cost
$1,080
per month
- per day
- $36.00
- per request
- $0.0036
Cannot estimate: a needed price is not published.
Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.
Monthly cost by workload
| Workload | Per month |
|---|---|
| Chatbot1,000 in / 500 out tokens, 10,000 requests a day | $1,080/mo |
| RAG8,000 in / 500 out tokens, 5,000 requests a day | $2,010/mo |
| Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input | $996.00/mo |
Context and capabilities
- Context
- 1,000,000 tokens
- Max output
- 131,072 tokens
- Input
- text
- Output
- text
- Knowledge cutoff
- Not published
- Open weights
- Yes
- Tool calling
- Yes
- Reasoning
- Yes
- Structured outputs
- Yes
Capabilities and limits as listed by models.dev.
Similarly priced models
- Muse Spark 1.3 · $1.25 in / $4.25 out
- DeepSeek V4 Pro · $1.32 in / $3.96 out
- Qwen3.8 Max · $2.00 in / $6.00 out
- Mistral Medium 3.5 · $1.50 in / $7.50 out
Price history
No price changes since we started tracking on Oct 8, 2026.
Questions
- How much does GLM-5.2 cost per month?
- For a chatbot handling 10,000 requests a day with 1,000 input and 500 output tokens each, GLM-5.2 costs about $1,080 per month at Z.AI's list prices ($1.40 per 1M input tokens, $4.40 per 1M output tokens).
- Does GLM-5.2 support prompt caching?
- Yes. Cached input costs $0.26 per 1M tokens, compared with $1.40 for regular input. Writing to the cache costs Free per 1M tokens.
- How long is GLM-5.2's context window?
- GLM-5.2 accepts up to 1,000,000 tokens (1M) of context and returns up to 131,072 tokens per response.