GLM-5.1
Last verified August 3, 2026 · Zhipu pricing ↗$1.40/1M input · $4.40/1M output · 200K context · Zhipu
GLM-5.1 costs $1.40 per 1M input tokens and $4.40 per 1M output tokens from Zhipu, with a 200K-token context window. A typical chat reply (1,500 tokens in, 400 out) costs $0.0039, or $38.60 per 10,000 requests. On that workload it is cheaper than 66 of the 167 other buyable models tracked here.
Count Tokens
—
Tokens
—
Input Cost
—
Output Cost
Estimate Monthly Cost
Monthly Cost Estimator
Quick:
<$0.0001/mo
Pick a preset above or enter custom usage
What GLM-5.1 Costs Per Request
At $1.40 per 1M input and $4.40 per 1M output tokens, before caching or batch discounts.
| Workload | Input / output tokens | Per request | Per 10,000 requests |
|---|---|---|---|
| Chat reply | 1,500 / 400 | $0.0039 | $38.60 |
| RAG answer over retrieved docs | 8,000 / 600 | $0.014 | $138.40 |
| Coding-agent step | 30,000 / 2,000 | $0.051 | $508.00 |
GLM-5.1 vs Similarly Priced Models
Nearest buyable models by price, with the RAG answer above (8,000 in / 600 out) priced on each.
| Model | Input /1M | Output /1M | Context | RAG answer |
|---|---|---|---|---|
| GLM-5.1 Zhipu | $1.40 | $4.40 | 200K | $0.014 |
| GLM-5.3 Zhipu | $1.40 | $4.40 | 1.0M | $0.014 |
| GPT-6.1 Terra OpenAI | $1.00 | $5.00 | 1.1M | $0.011 |
| Claude Haiku 4.5 Anthropic | $1.00 | $5.00 | 200K | $0.011 |
Alternatives to GLM-5.1
Pricing Details
ZhipuMIT-licensed 754B MoE (40B active). SWE-Bench Pro 58.4 at release. Cached input $0.26/1M. The 3x peak surcharge (14:00-18:00 Beijing) is not stated on Z.ai's international pricing page; treat it as unconfirmed for the .ai endpoint.
Input / 1M tokens
$1.4
Output / 1M tokens
$4.4
Context Window
200K
Max Output
128K
Price History
No price change recorded since 2026-08-03, when this site started tracking this model.
Frequently Asked Questions
Common questions about GLM-5.1 pricing and usage
How much does GLM-5.1 cost?
GLM-5.1 costs $1.4 per 1 million input tokens and $4.4 per 1 million output tokens. This pricing is set by Zhipu.
What tokenizer does GLM-5.1 use?
GLM-5.1 uses the cl100k_base tokenizer. This tokenizer has a vocabulary of ~100,000 tokens and is widely used across many models.
What is GLM-5.1's context window?
GLM-5.1 supports a context window of 200K tokens (200,000 tokens). The maximum output length is 128K tokens.
How does GLM-5.1 compare to other models?
On an 8,000-token-in, 600-token-out RAG answer, GLM-5.1 costs $0.014 per request. The nearest-priced alternatives cost: GLM-5.3 (Zhipu) $0.014, GPT-6.1 Terra (OpenAI) $0.011, Claude Haiku 4.5 (Anthropic) $0.011. The table above lists their full rates and context windows.
How do I count tokens for GLM-5.1?
Use the token counter at the top of this page or visit the homepage calculator. Paste your text and it will show the exact token count and cost for GLM-5.1 using the cl100k_base tokenizer.
Read More About GLM-5.1
GLM-5.3 bills the same $1.40 and $4.40 that GLM-5.2 and GLM-5.1 billed, and finishing a task still costs 55% more than it did. The rate card is the wrong number to be watching.
August 22, 2026 · 11 min read
Qwen3.6 Max Preview is the first Qwen flagship Alibaba shipped closed. It took SWE-Bench Pro, lost SWE-Bench Verified by omission, and costs 4x what Qwen3.6 Plus does.
May 17, 2026 · 11 min read
GLM-4.7-flash sits at $0.07 input on AWS Bedrock and Vertex. Most coverage skipped this one.
May 7, 2026 · 8 min read