Z.ai (Zhipu)
GLM 5.1 pricing and cost calculator
GLM 5.1 from Z.ai (Zhipu) costs $1.40 per million input tokens and $4.40 per million output tokens, with a context window of 204,800 tokens. It was released on Apr 7, 2026. Cached input tokens are billed at $0.26 per million.
- Input price
- $1.40
- Output price
- $4.40
- Context window
- 204,800
- Released
- Apr 7, 2026
Token cost calculator
| Model | Per request | Per day | Per month (30 days) |
|---|---|---|---|
| GLM 5.1 | $0.0036 | $3.60 | $108.00 |
| GPT-6.1 Terra | $0.0035 | $3.50 | $105.00 |
Token estimate: about 4 characters per token for English, about 1 token per character for Chinese, Japanese and Korean. Exact counts depend on each model's tokenizer.
Price and specs
| Input price | $1.40 / 1M |
|---|---|
| Output price | $4.40 / 1M |
| Cached input | $0.26 / 1M |
| Context window | 204,800 |
| Max output | 131,072 |
| Accepts | text |
| Produces | text |
| Reasoning mode | Yes |
| Tool / function calling | Yes |
| Structured (JSON) output | Yes |
| Open weights | Yes |
| Released | Apr 7, 2026 |
What typical workloads cost
| 1,000 chat replies (1,000 input + 500 output tokens each) | $3.60 |
|---|---|
| Summarise a 100-page document (≈50,000 input + 1,000 output tokens) | $0.074 |
| 1 million input + 1 million output tokens | $5.80 |
Prices are list prices in USD per 1 million tokens from OpenRouter's public model list, refreshed daily. Direct provider prices, batch discounts and regional pricing may differ.
Cheaper models with at least the same context window
- GPT-6.1 Terra$1 / $5
- Qwen4 Max$1.43 / $4.28
- Muse Spark 1.3$1.25 / $4.25
- Claude Haiku 5.5$0.10 / $0.50
- Muse Ember$0.10 / $0.50
- Hy4$0.417 / $1.25
Similarly priced models from other providers
- DeepSeek V4 Pro 0813$0.19 / $8
- Qwen4 Max$1.43 / $4.28
- Qwen3.7 Max$1.48 / $4.43
- Kimi K3.1 Pro$0.24 / $8.40
- GPT-6.1 Terra$1 / $5
- GPT-6.1 Terra Pro$1 / $5
More Z.ai (Zhipu) models
- GLM 5.3 FlashX Legal$0.37 / $1.25
- GLM 5.3 Prime$1.68 / $5.28
- GLM 5.3 FlashX$0.37 / $1.25
- GLM 5.3 Flash$0.12 / $0.38
- GLM 5.3$0.07 / $1.40
- GLM 5.2$0.62 / $2.42
- GLM 5V Turbo$1.20 / $4
- GLM 5 Turbo$1.20 / $4
About GLM 5.1
GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks. Unlike previous models built around minute-level interactions, GLM-5.1 can work independently and continuously on...
GLM 5.1 FAQ
- How much does GLM 5.1 cost?
- GLM 5.1 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens. 1,000 replies with 1,000 input and 500 output tokens each cost about $3.60.
- What is the context window of GLM 5.1?
- GLM 5.1 accepts up to 204,800 tokens of context and can return up to 131,072 tokens in one response.
- Can GLM 5.1 read images?
- No. GLM 5.1 accepts text as input.
- What is a cheaper alternative to GLM 5.1?
- Cheaper models with at least the same context window include GPT-6.1 Terra, Qwen4 Max, Muse Spark 1.3.