GLM API pricing for every Z.ai model, newest first
By TechCompare · Updated · How we check
A 60,000 token prompt with a 3,000 token answer and half the input cached costs $0.0171 on GLM 5.3 FlashX Legal, the newest GLM. GLM 5.3 Flash, the lowest cost model Z.ai sells itself, runs it for $0.0069.
Every GLM model and its API price
Newest first. Prices are per 1M tokens. One request is 60K tokens in and 3K out, with 50% of the input cached.
| Model | Input | Output | Cached | Context | One request | Listed |
|---|---|---|---|---|---|---|
| GLM 5.3 FlashX LegalZ.AI | $0.37 | $1.25 | $0.075 | 1.05M | $0.0171 | Nov 2, 2026 |
| GLM 5.3 PrimeCheapest host: Alibaba | $2.80 | $8.80 | $0.56 | 1M | $0.1272 | Sep 23, 2026 |
| GLM 5.3 FlashXZ.AI | $0.37 | $1.25 | $0.075 | 1.05M | $0.0171 | Sep 18, 2026 |
| GLM 5.3 FlashZ.AI | $0.15 | $0.50 | $0.03 | 1.05M | $0.0069 | Aug 26, 2026 |
| GLM 5.3Z.AI | $1.40 | $4.40 | $0.26 | 1.05M | $0.063 | Aug 18, 2026 |
| GLM 5.2Z.AI | $1.40 | $4.40 | $0.26 | 1.05M | $0.063 | Jun 16, 2026 |
| GLM 5.1Z.AILeaves Nov 20, 2026 | $1.40 | $4.40 | $0.26 | 205K | $0.063 | Apr 7, 2026 |
| GLM 5V TurboZ.AI | $1.20 | $4 | $0.24 | 203K | $0.0552 | Apr 1, 2026 |
| GLM 5 TurboZ.AI | $1.20 | $4 | $0.24 | 203K | $0.0552 | Mar 15, 2026 |
| GLM 5Z.AI | $1 | $3.20 | $0.20 | 205K | $0.0456 | Feb 11, 2026 |
| GLM 4.7 FlashCheapest host: Novita | $0.07 | $0.40 | $0.01 | 200K | $0.0036 | Jan 19, 2026 |
| GLM 4.7Z.AI | $0.60 | $2.20 | $0.11 | 205K | $0.0279 | Dec 22, 2025 |
Listed is the day OpenRouter added the model. Prices checked Nov 14, 2026.
GLM comes from Z.ai, the international name of Zhipu AI in Beijing. This page lists all 17 GLM models OpenRouter carries, newest first, at Z.ai's own price where Z.ai sells the model and the host that charges least where it doesn't.
The 5.3 generation comes in several builds. GLM 5.3 is the large reasoning model, at $1.40 input and $4.40 output per million tokens. GLM 5.3 Flash is natively multimodal, at $0.15 and $0.50. GLM 5.3 FlashX is the high speed build of Flash, up to 200 tokens a second, at $0.37 and $1.25. And GLM 5.3 FlashX Legal adds training on legal text on top of FlashX.
Calculator
Cost Comparison
Based on 60,000 input tokens (50% cached), 3,000 output tokens, and 100 requests.Prices come live from OpenRouter at each maker's own price where it's listed. Temporary deals are left out.
How to read the GLM prices
GLM 5.3 Prime is the high speed build of GLM 5.3, with 1.5 to 2 times the throughput. Z.ai doesn't sell it on its own API, so the row shows Alibaba, at $2.80 input and $8.80 output per million. GLM 5.3 FlashX Legal costs no more per output token than GLM 5.3 FlashX, at $1.25 per million, so the legal training is free on output. Test it on your own documents all the same.
A cached token on GLM 5.3 FlashX Legal costs $0.075 per million, 80% off the normal input rate. No batch price is listed for GLM 5.3 right now.
Zhipu publishes open weights for many GLM models, so you can also run them yourself or buy them from other hosts. GLM 5.3 FlashX Legal reads up to 1.05M tokens, the largest window in the family.
Z.ai also sells the GLM Coding Plan, a monthly subscription for coding tools with Lite, Pro and Max tiers. It gives you a pool of prompts that resets every five hours, not a token bill, so it isn't priced here.
Verdict
For general work, start with GLM 5.3 and run GLM 5.3 Flash, the lowest cost model Z.ai sells for the example request, on the same prompts. Use it wherever it passes your checks. Keep GLM 5.3 FlashX Legal for contracts and other legal text, and reach for FlashX or Prime only where users wait on the answer.
If most of your use is a coding tool, compare the Coding Plan with your token bill before you pick.
More LLM pricing scenarios
Related guides
Frequently asked questions
How much does the GLM API cost?
Is Z.ai the same as Zhipu AI?
What's the difference between GLM 5.3 Flash and FlashX?
What is GLM 5.3 FlashX Legal?
What is the GLM Coding Plan?
Which GLM model has the largest context window?
Where do these prices come from?
Related tools
LLM VRAM Calculator
Calculate the VRAM needed to run or fine-tune any LLM at any quantization.
Use toolPower Cost Estimator
Estimate annual electricity costs for your PC, Server, or TV.
Use toolData Transfer Calculator
Estimate transfer times for files over USB, WiFi, Ethernet, and more.
Use toolJSON Formatter
Validate, format, and minify JSON. Browse it as a tree, run JSONPath queries, compare two documents, or validate against a JSON Schema.
Use tool