Z.ai API pricing
As of October 21, 2026, the Z.ai API prices run from $0.40 to $8.80 per million output tokens across 16 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 $2.80 input and $8.80 output.
GLM 5.3 ranks first among Z.ai models in our Vibe Coding Index, at 73.1 on 2 benchmarks. 9 of 16 Z.ai models have any benchmark score. Cost per solved task is known for 6 of 16 models.
| Model | Input $/Mtok | Output $/Mtok | Context | Evidence | Index | Cost per solved task |
|---|---|---|---|---|---|---|
| GLM 5.3 Prime | $2.80 | $8.80 | 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 | 71.0 | $0.02 | |
| GLM 5.3 | $0.079 | $1.40 | 1.05M | 73.1 | $0.36 | |
| GLM 5.2 | $0.0341 | $7.00 | 1.05M | 57.7 | $0.86 | |
| GLM 5.1 | $1.40 | $4.40 | 205K | 44.0 | $0.60 | |
| GLM 5V Turbo | $1.20 | $4.00 | 203K | 28.8 | No run cost | |
| GLM 5 Turbo | $1.20 | $4.00 | 203K | Not benchmarked | No run cost | |
| GLM 5 | $1.00 | $3.20 | 205K | 59.7 | $0.63 | |
| GLM 4.7 Flash | $0.0605 | $0.40 | 200K | Not benchmarked | No run cost | |
| GLM 4.7 | $0.54 | $1.98 | 205K | 33.6 | $0.29 | |
| GLM 4.6V | $0.30 | $0.90 | 131K | Not benchmarked | No run cost | |
| GLM 4.6 | $0.55 | $2.20 | 205K | 52.2 | No run cost | |
| GLM 4.5V | $0.60 | $1.80 | 66K | Not benchmarked | No run cost | |
| GLM 4.5 | $0.60 | $2.20 | 131K | 64.2 | No run cost | |
| GLM 4.5 Air | $0.13 | $0.85 | 131K | Not benchmarked | No run cost |
Price changes
- GLM 5.3 Flash October 18, 2026: $0.50 to $0.20 outputOctober 19, 2026: $0.20 to $0.16 outputOctober 21, 2026: $0.16 to $0.50 output
- GLM 5.3 October 16, 2026: $8.00 to $4.80 outputOctober 19, 2026: $4.80 to $1.40 output
- GLM 5.2 October 16, 2026: $7.00 to $2.42 outputOctober 21, 2026: $2.42 to $7.00 output
- GLM 5.1 October 21, 2026: $3.036 to $4.40 output
- GLM 5 October 20, 2026: $3.20 to $1.92 outputOctober 21, 2026: $1.92 to $3.20 output
- GLM 4.7 October 17, 2026: $2.20 to $1.98 output
- GLM 4.6 October 19, 2026: $2.00 to $2.20 output