GLM 5
Z.ai · z-ai/glm-5
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows. Built for expert developers, it delivers production-grade performance on large-scale programming tasks, rivaling leading...
GLM 5 ranks #220 of 348 models in the default AI Benchmark Hub order (quality first, then cost). At $1.26 blended per million tokens, it is cheaper than 46% of models with published API pricing. Its 198,000-token context window is 1.3× smaller than the catalog median (262,144 tokens).
Context
Max output: 128000
Pricing
Output / 1M: 1.92
Blend / 1M: 1.26
Quality
Provider
Moderated: no
Monthly cost at this blended rate
Estimated API spend if every token is billed at $1.26per million (the blend of this model's input and output prices). Real bills depend on the input/output mix.
| Tokens / month | Est. cost (USD) |
|---|---|
| 1,000,000 | $1.26 |
| 10,000,000 | $12.60 |
| 100,000,000 | $126.00 |
Related models
Same lab, similar price, or similar quality — useful next comparisons.
More from Z.ai
- GLM 5.3 Flash$0.16 / 1M · Q 87.9
- GLM 5.1$2.00 / 1M · Q 81.9
- GLM 5V Turbo$2.60 / 1M · Q 76.0
- GLM 4.7 Flash$0.23 / 1M
- GLM 4.5 Air$0.49 / 1M
Closest API price
- Qwen3 235B A22B Thinking 2507$1.26 / 1M
- Qwen3 VL 30B A3B Thinking$1.30 / 1M
- Qwen3 30B A3B Thinking 2507$1.30 / 1M
- MiniMax M1$1.30 / 1M
- Aion-2.0$1.20 / 1M