GLM-5.1 API pricing
✓ Matches the official page (checked 2026-12-05 13:00 UTC) · Official pricing ↗Synced 2026-12-05 13:00 UTC · Method
| Field | Per 1M tokens |
|---|---|
| Input | $1.40 |
| Output | $4.40 |
| Cached input | $0.26 |
Z.ai (Zhipu GLM) · Context window 202,752 · Max input 200,000 · Max output 128,000
reasoning · tool calling
Per 1,000 tokens (1K): $0.0014 input, $0.0044 output.
Get notified in any feed reader. Your watch list is saved only in this browser (no account, no email). Clearing site data or switching device resets it.
Billing rules for caching, Batch and long prompts: Z.ai (Zhipu GLM) API cost guide.
Price in context
GLM-5.1 ranks No. 12 of 15 current Z.ai (Zhipu GLM) models by output price, cheapest first (GLM-5.3 Flash is the cheapest at $0.50, GLM-4.5 X the most expensive at $8.90). Output tokens cost 3.14× the input price; the median across all 129 current models is 5×. Against the whole table (median $1.25 input / $4.50 output per 1M), GLM-5.1 is cheaper on one and pricier on the other.
Cached input costs 18.57% of the normal input price ($0.26 vs $1.40 per 1M). In the support-chatbot scenario with 60% cache hits the month comes to $393 instead of $516 without caching (24% less). There is no separate cache-write charge: repeated prefixes are discounted automatically. This site's data has no batch price for this model, so the calculations here bill batch jobs at the standard rates.
The context window is 202,752 tokens, roughly 406 pages of English text; 87% of current models accept more. The closest model from another provider by price is Qwen4 Max ($1.50 / $4.50); the cheapest reasoning model for the chatbot scenario is Hy4 Flash at $22.22 per month against $393 for GLM-5.1.
What it costs per month
| Scenario (per month) | GLM-5.1 |
|---|---|
| Customer support chatbot 5,000 req/day · 1,200 in · 400 out · cache 60% | $393 |
| RAG over documents 2,000 req/day · 8,000 in · 600 out · cache 30% | $666 |
| Coding agent 1,500 req/day · 25,000 in · 2,000 out · cache 80% | $945 |
| Deep reasoning 800 req/day · 3,000 in · 6,000 out · cache 20% | $718 |
| Batch processing 50,000 req/day · 1,500 in · 150 out · Batch | $4,140 |
Adjust the numbers in the calculator.
Cheaper alternatives
Lowest monthly cost for the chatbot scenario among reasoning models:
- Hy4 Flash — $22.22/mo
- MiMo V2.6 Flash — $27.18/mo
- Gemini 2.5 Flash Lite — $32.28/mo
- Doubao Seed 2.1 Lite 260915 — $34.05/mo
- Muse Ember 1.0 — $37.63/mo
Comparisons
Other Z.ai (Zhipu GLM) models
GLM-4.5 X, GLM-5.3 FlashX, GLM-5.3 Flash, GLM-5.3, GLM-5.2, GLM-5v Turbo, GLM-5, GLM-4.7, GLM-4.6, GLM-4.5v, GLM-4.5, GLM-4.5 Air, GLM-4.5 AirX, GLM-5 Code · All Z.ai (Zhipu GLM) API prices →
Models at a similar price
GLM-5.3 ($1.40/$4.40), GLM-5.2 ($1.40/$4.40), Qwen4 Max ($1.50/$4.50), Muse Spark 1.3 ($1.25/$4.25), Muse Spark 1.2 ($1.25/$4.25), Muse Spark 1.1 ($1.25/$4.25)
Price history
No price changes recorded since tracking began on 2026-10-08. See all price changes →
Other changes (2)
Listings, fields a source added or dropped, and limit changes. These are not price moves.
| Date | Change | Old /1M | New /1M | What happened |
|---|---|---|---|---|
| 2026-12-02 | Context window spec | 200,000 | 202,752 | — |
| 2026-10-08 | Added | — | — | — |
Source and checks
| Data source | LiteLLM price list (MIT) |
|---|---|
| Official pricing | docs.z.ai ↗ |
| Last synced | 2026-12-05 13:00 UTC |
| Last price change | No price changes recorded since tracking began on 2026-10-08. |
| Cross-check | Matches models.dev |
| Official check | Verified against the official page on 2026-12-05 (automatic check) |
| Price region | Not confirmed by an official check |
| Field | This site | Official | Status |
|---|---|---|---|
| Input | $1.40 | $1.40 | ✓ official |
| Output | $4.40 | $4.40 | ✓ official |
| Cached input | $0.26 | $0.26 | ✓ official |
| Context window | 202,752 | — | – unchecked |
| Max input | 200,000 | — | – unchecked |
| Max output | 128,000 | — | – unchecked |
✓ official = the official page's value is in use (other sources' values noted) · ✓ verified = other source equals the official page · ≠ mismatch = differs and is held for confirmation; both shown · … pending = the automatic check could not read the page · – unchecked = not listed on the official page or not checked yet
Cite: GLM-5.1 API pricing, https://apicostcheck.com/models/glm-5.1/, retrieved 2026-12-05. Reuse under CC BY 4.0; a plain or nofollow link is fine.