Where to run it cheap · Z.ai
GLM (Z.ai)
GLM-5.4 is the newest model, but its official $1.40 in / $4.40 out price is not the cheap route — GLM-5.3-Flash at $0.15 in / $0.50 out is the cheap pick, and three older Flash models are free on Z.ai. If you already work in a coding tool, the Z.ai Coding Plan (from $18 a month) can cost less than paying per token; see its route below for the credit caps.
Last checked 2 Dec 2026. Prices are in US dollars per 1 million tokens and change often.
Cheapest routes
The green card is the recommended route. Promo prices can be lower but can end without notice.
- Z.ai official APIGLM-4.7-Flash, GLM-4.5-Flash, GLM-4.6V-FlashFreeFree $0 per 1M tokens
Listed as Free. Older than the 5.3 and 5.4 line.
Z.ai pricingChecked 2 Dec 2026 · API id not checked
Recommended route
Z.ai official APIGLM-5.3-FlashPay as you go- In
- $0.15
- Out
- $0.50
- Cached
- $0.03
Official list price. 320B total / 18B active, MIT license, 1M context.
Z.ai pricingChecked 2 Dec 2026 · API id not checked
- MistralGLM 5.3 FlashPay as you go
- In
- $0.15
- Out
- $0.50
- Cached
- $0.03
Same list price as Z.ai. Confirm the exact API id on the Mistral model page.
Mistral model pageChecked 2 Dec 2026 · API id not checked
- Together AIGLM-5.3-FlashPay as you go
- In
- $0.15
- Out
- $0.50
- Cached
- $0.03
Same list price as Z.ai.
Together AI pricingChecked 2 Dec 2026 · API id not checked
- FireworksGLM-5.3-FlashPay as you go
- In
- $0.15
- Out
- $0.50
- Cached
- $0.03
Same list price as Z.ai.
Fireworks pricingChecked 2 Dec 2026 · API id not checked
Lowest listed paid output price (promo)
DeepInfraGLM-5.3-FlashPromo- In
- $0.09
- Out
- $0.30
- Cached
- $0.018
Promo: 40% off as shown on 2 Dec 2026 (list price $0.15 / $0.03 / $0.50). Promos can end without notice.
DeepInfra pricingChecked 2 Dec 2026 · API id not checked
- Z.ai GLM Coding Plan (Lite)GLM-5.4, GLM-5.3, GLM-5.3-FlashMonthly plan
- Month
- $18.00 / month
From $18/mo. Lite: 2,000 credits / 5 hours, 10,000 / week. Off-peak credits cost half (peak Mon–Fri 14:00–18:00 Singapore time). GLM-5.3-Flash half-rate 24 Nov–24 Dec 2026. Pro and Max: not checked.
Z.ai Coding Plan docsChecked 2 Dec 2026 · API id not checked
- OpenRouter (Prime Intellect host)GLM-5.4Pay as you go
- In
- $1.20
- Out
- $4.00
Cheapest GLM-5.4 host on OpenRouter on 2 Dec 2026. Other hosts: $1.40 / $4.40.
OpenRouter GLM-5.4Checked 2 Dec 2026 · API id
z-ai/glm-5.4 - MistralGLM-5.4Pay as you go
- In
- $1.40
- Out
- $4.40
- Cached
- $0.14
Generally available on Mistral's API as a third-party model. Pay-as-you-go: add credit to your account.
Mistral pricingChecked 2 Dec 2026 · API id
zai-glm-5-4 - Z.ai official APIGLM-5.4Pay as you go
- In
- $1.40
- Out
- $4.40
- Cached
- $0.26
Official list price for the newest flagship.
Z.ai pricingChecked 2 Dec 2026 · API id not checked
- Fireworks SpotGLM 5.3 (not 5.4)Pay as you go
- In
- $0.70
- Out
- $2.20
Best effort: throughput can drop to zero.
Fireworks pricingChecked 2 Dec 2026 · API id not checked
How to start with Z.ai
- Make an account. Sign up on the Z.ai site.Sign up on Z.ai
- Get an API key. Create one on the Z.ai API keys page. Copy the key at once: most providers show it only one time.Z.ai API keys page
- Add credit. Top up on the Z.ai billing page. You pay per use, so a small start is enough.Z.ai billing page
- Paste the key into your app. Your app has a settings box for a provider and an API key. Paste the key there and type the model name from the route you chose.
What people say
Reddit, r/ZaiGLMReddit user (handle not recorded) ·
Man I am supremely impressed by glm 5.3 flash. … I am using it via openrouter on vs code and it is incredible at talking and brain storming with you, researching codebase and actually coming up with good ideas… But man 0.2 cents for such great quality of partner brainstorming is genuinely great. I used it on medium reasoning.
Post titled “OMG”, about GLM-5.3-Flash.
Read the postReddit, r/ZaiGLMReddit user (handle not recorded) ·
spending approx 15-20 USD daily after optimizing for openrouter providers, cache etc
A user on GLM 5.3 through OpenRouter, asking if the Lite Coding Plan is worth it. They had found the Lite checkout broken months earlier and had seen mixed reports of “constant timeouts” and weak support.
Read the postReddit, r/ZaiGLMReddit user (handle not recorded) ·
I never reached limit before but now reached quickly??
About the weekly Coding Plan limits, after reset vouchers.
Read the post
This research quotes no first-person GLM-5.4 report.
Things to watch
- Coding Plan credit caps can feel tighter than the marketing.
- OpenRouter spend can still be high if you use the big model all day.
- Ollama lists glm-5.3:cloud and glm-5.3-flash:cloud as cloud models only, not local downloads.
Official specs
Only what our research checked. Anything else says “Not checked”.
GLM-5.4
- Architecture
- Loop Transformer
- Context
- 1M tokens
- Input types
- Text, images
- Parameters
- Not checked
- License
- Not checked
- Open weights
- Not checked: no release date found
GLM-5.3-Flash
- Parameters
- 320B total / 18B active
- Context
- 1M tokens
- Input types
- Multimodal
- License
- MIT
- Local memory needed
- Not checked (official table says N/A)
Machine-readable version of this page: /data/models.json.