GLM 5
Provider: Zhipu AI (GLM) CN Official API price
Input price
$1.00
/ 1M tokens
Output price
$3.20
/ 1M tokens
Cache price
$0.20
/ 1M tokens (read)
Context
203K tokens
Max output 131K tokens
Overview
Zhipu AI's flagship GLM 5 is a reasoning model built for complex systems design and long-horizon agent workflows.
Strengths
- 202,752 token context window with 131,072 max output
- Native function-calling, JSON mode, and thinking capabilities
- Cached input priced at $0.20 per million tokens
Best use cases
- Large-scale programming tasks and codebase refactoring
- Complex system design and multi-step agent workflows
Pricing position
Input matches Claude Haiku 4.5 and Gemini 3.1 Pro at $1/M, but output is cheaper at $3.20/M.
Caveats
Flash variants offer significantly larger context windows at a fraction of the cost if reasoning capabilities are not strictly required.
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-02-11
- Tracked since
- 2026-05-09
- Last updated
- 2026-11-10
Features
Function callingJSON outputReasoning
Monthly cost estimate
| Scale | Input (M) | Output (M) | Monthly |
|---|---|---|---|
| 0.1M (hobby) | 0.1 | 0.05 | $0.26 |
| 1M (small app) | 1 | 0.5 | $2.60 |
| 10M (mid scale) | 10 | 5 | $26.00 |
| 100M (large) | 100 | 50 | $260.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)