GLM 5 API pricing
As of October 22, 2026, Z.ai GLM 5 costs $1.00 per million input tokens and $3.20 per million output tokens on Z.ai's own API, with cached input at $0.20 per million.
- Input, per million tokens$1.00
- Output, per million tokens$3.20
- Cached input, per million$0.20
- Context window205K tokens
- Max output131K tokens
- Output speedNot measured
What a request costs
Three fixed token mixes at the list price, without cache or batch discounts. For a whole month, use the calculator.
| Workload | Tokens | One request | 1,000 requests | Fits the context window |
|---|---|---|---|---|
| Chat turn | 1K input + 500 output tokens | $0.0026 | $2.60 | Yes |
| Repository review | 50K input + 3K output tokens | $0.060 | $59.60 | Yes |
| Agent loop | 200K input + 10K output tokens | $0.232 | $232.00 | No, it would need splitting |
| Solved coding task | One SWE-bench Verified attempt, divided by the share that succeed | $0.63 | $630.00 |
Price history
We have read Z.ai's own price every day since October 21, 2026. It has not changed yet; any change will be listed here with its date.
- October 21, 2026 First recorded: $1.00 input, $3.20 output
Cheaper models as good as GLM 5
Models within two points of GLM 5 or above it on the LLMBenchmark Index, with a lower output price. Cheapest first.
- MiMo-V2.6-Flash$0.28 Overall 60.8 against 54.3 · 91% cheaper output
- DeepSeek V4 Flash 0731$0.396 Overall 55.2 against 54.3 · 88% cheaper output
- Claude Haiku 5.5$0.50 Overall 67.6 against 54.3 · 84% cheaper output
- GLM 5.3 Flash$0.50 Overall 66.0 against 54.3 · 84% cheaper output
- GPT-6 Luna$0.50 Overall 59.7 against 54.3 · 84% cheaper output
GLM 5 pricing questions
- How much does GLM 5 cost per million tokens?
- $1.00 per million input tokens and $3.20 per million output tokens, as listed on OpenRouter on October 22, 2026.
- Does GLM 5 support prompt caching?
- Yes. OpenRouter lists cached input at $0.20 per million tokens, against $1.00 for uncached input.
- Is there a cheaper model as good as GLM 5?
- MiMo-V2.6-Flash scores 60.8 on the LLMBenchmark Index, within two points of GLM 5 or above it, and costs $0.28 per million output tokens.
- Has the price of GLM 5 changed?
- Not since we started recording it daily on October 21, 2026.