GLM 5.1 vs GLM 4.5
GLM 4.5 is cheaper on output tokens, while GLM 5.1 offers a larger context window. Choose GLM 5.1 or GLM 4.5 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | GLM 5.1 | GLM 4.5 |
|---|---|---|
| Provider | Vercel AI Gateway | Vercel AI Gateway |
| Input / 1M tokens | $1.30 | $0.60 |
| Output / 1M tokens | $4.30 | $2.20 |
| Context window | 202K | 128K |
| Parameters | 754B | 355B |
| Open weights | No | Yes |
| Released | Apr 2026 | Jul 2025 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.