GLM 5.2
Provider: Zhipu AI (GLM) CN Official API price
Overview
Zhipu AI's GLM 5.2 is a reasoning model with a 1M-token context window designed for long-horizon agent workflows and software engineering.
Strengths
- 1M-token context window with 131k max output
- Native function-calling, json-mode, and thinking capabilities
- Batch pricing discounted to $0.573 input and $1.169 output
- Cached input drops to $0.26 per million tokens
Best use cases
- Project-level software engineering tasks
- Long-horizon autonomous agent workflows
- Large codebase analysis requiring broad context
Pricing position
Input at $1.4/M aligns with DeepSeek V4 Pro and Qwen3.7 Max, while output at $4.4/M exceeds DeepSeek V4 Pro but undercuts GPT-5.4.
Caveats
Flash variants provide cheaper alternatives if reasoning features and 1M context are unnecessary.
Notes drafted by an LLM from the figures on this page (2026-11-10) and rewritten when the price changes.
Key facts
- Price basis
- Official API price
- Max output
- 131K tokens
- Listed on OpenRouter
- 2026-06-16
- Tracked since
- 2026-06-16
- Last updated
- 2026-11-15
Features
Price history
- 2026-06-16 Added
Monthly cost estimate
| Scale | Input (M) | Output (M) | Monthly |
|---|---|---|---|
| 0.1M (hobby) | 0.1 | 0.05 | $0.36 |
| 1M (small app) | 1 | 0.5 | $3.60 |
| 10M (mid scale) | 10 | 5 | $36.00 |
| 100M (large) | 100 | 50 | $360.00 |
※ Cache and batch discounts not factored in. Detailed calculator
Official resources
Other models from Zhipu AI (GLM)
Similar-priced models
Source: OpenRouter API (z-ai/glm-5.2)