Z-Ai/GLM 5 vs Hy4 preview
Hy4 preview is cheaper on output tokens, while Hy4 preview offers a larger context window. Choose Z-Ai/GLM 5 or Hy4 preview based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Z-Ai/GLM 5 | Hy4 preview |
|---|---|---|
| Provider | Qiniu | Tencent |
| Input / 1M tokens | $0.58 | $0.83 |
| Output / 1M tokens | $2.61 | $2.50 |
| Context window | 200K | 1M |
| Parameters | — | — |
| Open weights | Yes | — |
| Released | Feb 2026 | — |
| LMArena WebDev Elo score | — | 1631 |
FAQ
Is Z-Ai/GLM 5 or Hy4 preview cheaper?
Hy4 preview is cheaper on output tokens ($2.50 vs $2.61 per 1M).
Which has the larger context window, Z-Ai/GLM 5 or Hy4 preview?
Hy4 preview has the larger context window (1M tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.