GLM 5.1 API pricing
As of October 21, 2026, Z.ai GLM 5.1 costs $1.40 per million input tokens and $4.40 per million output tokens on Z.ai's own API, with cached input at $0.26 per million.
- Input, per million tokens$1.40
- Output, per million tokens$4.40
- Cached input, per million$0.26
- 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.0036 | $3.60 | Yes |
| Repository review | 50K input + 3K output tokens | $0.083 | $83.20 | Yes |
| Agent loop | 200K input + 10K output tokens | $0.324 | $324.00 | No, it would need splitting |
| Solved coding task | One SWE-bench Verified attempt, divided by the share that succeed | $0.60 | $600.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.40 input, $4.40 output
Cheaper models as good as GLM 5.1
Models within two points of GLM 5.1 or above it on the LLMBenchmark Index, with a lower output price. Cheapest first.
- MiMo-V2.6-Flash$0.28 Overall 60.8 against 57.5 · 94% cheaper output
- Claude Haiku 5.5$0.50 Overall 67.6 against 57.5 · 89% cheaper output
- GLM 5.3 Flash$0.50 Overall 66.0 against 57.5 · 89% cheaper output
- GPT-6 Luna$0.50 Overall 59.7 against 57.5 · 89% cheaper output
- DeepSeek V4.1 Flash 1017$0.60 Overall 67.6 against 57.5 · 86% cheaper output
GLM 5.1 pricing questions
- How much does GLM 5.1 cost per million tokens?
- $1.40 per million input tokens and $4.40 per million output tokens, as listed on OpenRouter on October 21, 2026.
- Does GLM 5.1 support prompt caching?
- Yes. OpenRouter lists cached input at $0.26 per million tokens, against $1.40 for uncached input.
- Is there a cheaper model as good as GLM 5.1?
- MiMo-V2.6-Flash scores 60.8 on the LLMBenchmark Index, within two points of GLM 5.1 or above it, and costs $0.28 per million output tokens.
- Has the price of GLM 5.1 changed?
- Not since we started recording it daily on October 21, 2026.