Z.ai API pricing
As of December 6, 2026, the Z.ai API prices run from $0.40 to $5.28 per million output tokens across 18 models, as listed on OpenRouter. GLM 4.7 Flash is the cheapest paid model at $0.0605 input and $0.40 output per million tokens, and GLM 5.3 Prime the most expensive at $1.68 input and $5.28 output.
GLM 5.4 ranks first among Z.ai models in our Vibe Coding Index, at 72.8 on 2 benchmarks. 7 of 18 Z.ai models have any benchmark score. Cost per solved task is known for 6 of 18 models.
| Model | Input $/Mtok | Output $/Mtok | Context | Evidence | Index | Cost per solved task |
|---|---|---|---|---|---|---|
| GLM 5.4 | $1.40 | $4.40 | 1.05M | 72.8 | No run cost | |
| GLM 5.3 FlashX Legal | $0.37 | $1.25 | 1.05M | Not benchmarked | No run cost | |
| GLM 5.3 Prime | $1.68 | $5.28 | 1M | Not benchmarked | No run cost | |
| GLM 5.3 FlashX | $0.37 | $1.25 | 1.05M | Not benchmarked | No run cost | |
| GLM 5.3 Flash | $0.15 | $0.50 | 1.05M | 54.0 | $0.02 | |
| GLM 5.3 | $1.40 | $4.40 | 1.05M | 65.7 | $0.36 | |
| GLM 5.2 | $1.40 | $4.40 | 1.05M | 59.7 | $0.86 | |
| GLM 5.1 | $1.40 | $4.40 | 205K | 63.4 | $0.60 | |
| GLM 5V Turbo | $1.20 | $4.00 | 203K | Not benchmarked | No run cost | |
| GLM 5 Turbo | $1.20 | $4.00 | 203K | Not benchmarked | No run cost | |
| GLM 5 | $1.00 | $3.20 | 205K | 56.3 | $0.63 | |
| GLM 4.7 Flash | $0.0605 | $0.40 | 131K | Not benchmarked | No run cost | |
| GLM 4.7 | $0.60 | $2.20 | 203K | 55.1 | $0.29 | |
| GLM 4.6V | $0.30 | $0.90 | 131K | Not benchmarked | No run cost | |
| GLM 4.6 | $0.60 | $2.20 | 203K | Not enough data | No run cost | |
| GLM 4.5V | $0.60 | $1.80 | 66K | Not benchmarked | No run cost | |
| GLM 4.5 | $0.60 | $2.20 | 131K | Not benchmarked | No run cost | |
| GLM 4.5 Air | $0.20 | $1.10 | 131K | Not benchmarked | No run cost |
Price changes
No change in a maker's own API price recorded yet. We read prices daily from OpenRouter (since October 15, 2026) and list a change only when the maker's own price moves between two of our snapshots.