Provider pricing
Z.AI pricing: API cost per model, user, and month
Z.AI lists 12 priced models in the ByteCosts index, with GLM-4.7-FlashX at about $0.169 per million tokens on ByteCosts' 70% input / 30% output blend. For most AI apps the bill is driven by output tokens, retry rate, and prompt-cache hit rate far more than the headline input price, so Z.AI is cost-effective when your workload is input-heavy (RAG, classification) or can cache a large shared prefix. Compare Z.AI against alternatives on a real workload - seats, requests, and token mix - before committing to a model or a subscription, because a cheaper per-token price can still lose once power users and long outputs are priced in.
Estimate your monthly cost - Turn your usage into Z.AI spend →
Z.AI pricing at a glance
- Cheapest tracked chat model: GLM-4.7-FlashX at $0.169 per 1M tokens (blended)
- Flagship: GLM-5.2 at $2.30 per 1M tokens (blended)
- Last recorded price event: GLM-5.2 input on Jul 9, 2026
- 12 priced models in the index, updated July 19, 2026
Z.AI model prices
Per-million-token list prices for current Z.AI models, from the ByteCosts pricing index. Output tokens usually cost several times more than input.
| Model | Input | Output | Context | Intelligence |
|---|---|---|---|---|
| GLM-5.2 | $1.40 | $4.40 | 1M | 51.1 |
| GLM-5.1 | $1.40 | $4.40 | 200K | 40.2 |
| GLM-5 | $1.00 | $3.20 | 205K | 39.5 |
| GLM-5-Turbo | $1.20 | $4.00 | 200K | 38.1 |
| GLM-5V-Turbo | $1.20 | $4.00 | 200K | 34.5 |
| GLM-4.7 | $0.600 | $2.20 | 205K | 33.7 |
| GLM-4.6 | $0.600 | $2.20 | 205K | 28.7 |
| GLM-4.5 | $0.600 | $2.20 | 131K | 19.5 |
| GLM-4.6V | $0.300 | $0.900 | 128K | 16.8 |
| GLM-4.5-Air | $0.200 | $1.10 | 131K | 16.5 |
| GLM-4.5V | $0.600 | $1.80 | 64K | 9.1 |
| GLM-4.7-FlashX | $0.070 | $0.400 | 200K | - |
Z.AI subscription plans
Flat-rate Z.AI plans billed per month, separate from the per-token API pricing above. List prices; annual or quarterly billing can lower the effective rate. Verify the current price with Z.AI before subscribing.
| Plan | Monthly | Annual (effective) | Includes |
|---|---|---|---|
| GLM Coding Plan Lite | $18/mo | $12.6/mo | GLM coding agent in the terminal and IDE; works with 20+ coding tools including Claude Code. |
| GLM Coding Plan Pro | $72/mo | $50.4/mo | GLM coding agent in the terminal and IDE; 20+ coding tools including Claude Code, plus curated MCP tools. |
| GLM Coding Plan Max | $160/mo | $112/mo | GLM coding agent in the terminal and IDE; 20+ coding tools including Claude Code, with dedicated peak-time resources. |
Recent Z.AI price events
Source-backed price events recorded for Z.AI in the ByteCosts ledger, newest first. Every event below is a first-time listing - the ledger started tracking that rate; the model itself may be older.
| Model | Rate | Price | Recorded |
|---|---|---|---|
| GLM-5.2 | input | $1.40 | Jul 9, 2026 |
| GLM-5.1 | cache read | $0.260 | Jun 1, 2026 |
| GLM-5 | cache read | $0.200 | Jun 1, 2026 |
| GLM-5-Turbo | cache read | $0.240 | Jun 1, 2026 |
| GLM-4.7 | cache read | $0.110 | Jun 1, 2026 |
| GLM-4.7-FlashX | cache read | $0.010 | Jun 1, 2026 |
| GLM-4.6 | cache read | $0.110 | Jun 1, 2026 |
| GLM-4.5 | cache read | $0.110 | Jun 1, 2026 |
| GLM-4.5-Air | cache read | $0.030 | Jun 1, 2026 |
| GLM-5V-Turbo | cache read | $0.240 | Jun 1, 2026 |
When Z.AI is cost-effective
Token price alone does not decide cost. The variables that actually move an AI bill are: how many output tokens each call emits (output is the expensive side), how often calls retry, what fraction of the input prefix can be served from prompt cache, and how heavily your top 1% of users use the product.
Z.AI tends to win when your workload is input-heavy with short outputs, when you can cache a large shared system prompt or document context, or when a smaller Z.AI model clears your quality bar. It tends to lose when outputs are long and uncached, where a cheaper-per-output model compounds the saving across millions of calls.
Limitations before production billing decisions
Treat ByteCosts calculations as planning estimates, not final billing totals. Real invoices can differ because token mix, retry rate, cache hit rate, rate limits, taxes, gateway fees, regional pricing, and negotiated discounts change the effective cost.
Verify the provider source before production billing decisions, then compare the estimate with your own logs or invoice once production traffic is live.
Lower-blend alternatives to Z.AI
On ByteCosts' 70% input / 30% output chat blend, these providers screen lower than Z.AI. Treat this as a shortlist, not a decision - check the selected model against your real token mix:
- Mistral - $0.040 blended via Ministral 3B (latest), 28 priced models.
- Cohere - $0.071 blended via Command R7B, 8 priced models.
- Alibaba Qwen - $0.095 blended via Qwen Turbo, 43 priced models.
Frequently asked questions
How much does Z.AI cost per million tokens?
Z.AI's low-cost tracked chat row is GLM-4.7-FlashX at about $0.169 per million tokens on ByteCosts' 70% input / 30% output blend. That same model's component rates are $0.070 input and $0.400 output; flagship models cost more. See the price table above for current per-model rates.
Is Z.AI cheaper than the alternatives?
It depends on the workload. Z.AI can be cheaper for input-heavy or cacheable workloads even when its headline price is higher, because output volume and cache hit rate move the bill more than the per-token rate. Use the ByteCosts calculators to compare on your real traffic.
Where does ByteCosts get Z.AI prices?
Prices come from Z.AI's official pricing/docs pages, normalized into the ByteCosts pricing index and dated. Each record carries a confidence grade and a source link. Prices are list prices and exclude negotiated or volume discounts. Verify the provider source before production billing decisions.
Z.AI pricing. ByteCosts. Updated July 19, 2026. https://bytecosts.com/pricing/zai/