# Where to run GLM (Z.ai) cheap

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 USD per 1 million tokens unless marked per month.

## Routes

- Z.ai official API — GLM-4.7-Flash, GLM-4.5-Flash, GLM-4.6V-Flash: In $0 / Out $0 (Free). Listed as Free. Older than the 5.3 and 5.4 line. Source: https://docs.z.ai/guides/overview/pricing, checked 2 Dec 2026
- Z.ai official API — GLM-5.3-Flash (recommended): In $0.15 / Out $0.5 (Pay as you go). Official list price. 320B total / 18B active, MIT license, 1M context. Source: https://docs.z.ai/guides/overview/pricing, checked 2 Dec 2026
- Mistral — GLM 5.3 Flash: In $0.15 / Out $0.5 (Pay as you go). Same list price as Z.ai. Confirm the exact API id on the Mistral model page. Source: https://docs.mistral.ai/models/zai-glm-5-3-flash, checked 2 Dec 2026
- Together AI — GLM-5.3-Flash: In $0.15 / Out $0.5 (Pay as you go). Same list price as Z.ai. Source: https://www.together.ai/pricing, checked 2 Dec 2026
- Fireworks — GLM-5.3-Flash: In $0.15 / Out $0.5 (Pay as you go). Same list price as Z.ai. Source: https://fireworks.ai/pricing, checked 2 Dec 2026
- DeepInfra — GLM-5.3-Flash: In $0.09 / Out $0.3 (Promo). Promo: 40% off as shown on 2 Dec 2026 (list price $0.15 / $0.03 / $0.50). Promos can end without notice. Source: https://deepinfra.com/pricing, checked 2 Dec 2026
- Z.ai GLM Coding Plan (Lite) — GLM-5.4, GLM-5.3, GLM-5.3-Flash: $18/mo (Monthly plan). 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. Source: https://docs.z.ai/devpack/overview, checked 2 Dec 2026
- OpenRouter (Prime Intellect host) — GLM-5.4: In $1.2 / Out $4 (Pay as you go). Cheapest GLM-5.4 host on OpenRouter on 2 Dec 2026. Other hosts: $1.40 / $4.40. Source: https://openrouter.ai/z-ai/glm-5.4, checked 2 Dec 2026
- Mistral — GLM-5.4: In $1.4 / Out $4.4 (Pay as you go). Generally available on Mistral's API as a third-party model. Pay-as-you-go: add credit to your account. Source: https://docs.mistral.ai/inference/pricing, checked 2 Dec 2026
- Z.ai official API — GLM-5.4: In $1.4 / Out $4.4 (Pay as you go). Official list price for the newest flagship. Source: https://docs.z.ai/guides/overview/pricing, checked 2 Dec 2026
- Fireworks Spot — GLM 5.3 (not 5.4): In $0.7 / Out $2.2 (Pay as you go). Best effort: throughput can drop to zero. Source: https://fireworks.ai/pricing, checked 2 Dec 2026

## What people say

- Reddit user (handle not recorded), Reddit, r/ZaiGLM, 31 Aug 2026: "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." (https://www.reddit.com/r/ZaiGLM/comments/1w37qvx/omg/)
- Reddit user (handle not recorded), Reddit, r/ZaiGLM, 29 Sep 2026: "spending approx 15-20 USD daily after optimizing for openrouter providers, cache etc" (https://www.reddit.com/r/ZaiGLM/comments/1wt9y84/z_ai_subscription_or_stick_with_api/)
- Reddit user (handle not recorded), Reddit, r/ZaiGLM, 13 Oct 2026: "I never reached limit before but now reached quickly??" (https://www.reddit.com/r/ZaiGLM/comments/1x4rbrs/glm_coding_plan_reached_limit_faster/)

## Specs

### 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
- Parameters: 753B total / 40B active
- Context: 1M tokens
- License: MIT

### 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)

Data as JSON: /data/models.json.
