GLM-5.1 Token Calculator
The GLM-5.1 token calculator below counts GLM-5.1 tokens and prices them at Zhipu GLM (智谱)'s published rates — $0.98 per 1M input tokens and $3.08 per 1M output tokens, last verified 2 October 2026. Zhipu GLM (智谱) does not publish its tokenizer, so the count is a calibrated estimate — stated plainly on every table here rather than dressed up as exact. Use it to budget and to compare GLM-5.1 against other models.
Open the full GLM-5.1 counter with the whole pricing table →
GLM-5.1 token cost at a glance
| Volume | Approx. size | Input cost | Output cost |
|---|---|---|---|
| 1K tokens | ≈ 769 words | $0.001 | $0.0031 |
| 10K tokens | ≈ 7,692 words | $0.0098 | $0.0308 |
| 100K tokens | ≈ 76,923 words | $0.098 | $0.308 |
| 1M tokens | ≈ 769,230 words | $0.98 | $3.08 |
Figures are list prices per 1M tokens, verified 2 October 2026. Enterprise contracts and volume tiers differ — edit the rates in the calculator if your deal is not list.
How accurate is the GLM-5.1 count?
Zhipu GLM (智谱) does not publish a public tokenizer, so this page reports an estimate — accurate to roughly 5–10% on English text and widening on code or mixed Chinese-English prompts. Treat it as a budgeting number, not an invoice number. If you need invoice-grade counts, count with the exact OpenAI tokenizer on the main calculator and read the gap as your margin of safety.
## What fits in the GLM-5.1 context window GLM-5.1 accepts **200K tokens**. At roughly 1.3 tokens per English word that is about **153,846 words**, or roughly **720,000 characters** of prose. Code and CJK text consume the budget faster: a source file or a Chinese document of the same visible length can run 30–60% more tokens, so leave headroom rather than budgeting to the exact ceiling.GLM-5.1 pricing against the rest of Zhipu GLM (智谱)
| Model | Tokenizer | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|
| GLM-5.1 | estimate | 200K | $0.98 | $3.08 |
| GLM-5 (智谱) | estimate | 200K | $1.00 | $3.20 |
| GLM-4.7 | estimate | 200K | $0.5 | $2.20 |
| GLM-4-Flash | estimate | 128K | Free | Free |
All Zhipu GLM (智谱) models and rates →
More Zhipu GLM (智谱) calculators
Or browse all 84 model calculators and every provider.
GLM-5.1 token FAQs
How many tokens is a word in GLM-5.1?
About 1.3 tokens per English word for GLM-5.1 — roughly 3.6 characters per token. Code and CJK text tokenize denser, so a 200K tokens window holds fewer words than a prose estimate suggests.
What does GLM-5.1 cost per 1M tokens?
GLM-5.1 is listed at $0.98 per 1M input tokens and $3.08 per 1M output tokens as of 2 October 2026.
What is the GLM-5.1 context window?
GLM-5.1 accepts up to 200K tokens of input.
Is the GLM-5.1 token count on this page exact?
No. Zhipu GLM (智谱) does not expose its tokenizer, so this is a calibrated estimate at 5–10% accuracy.
Does this GLM-5.1 calculator upload my text?
No. Tokenization runs entirely in your browser over JavaScript. Your text is never sent to any server, which is why the tool works with client code, unreleased prompts and internal data.