Gemma 4 31B Garnet vs GLM 5.1
Gemma 4 31B Garnet is cheaper on output tokens, while Gemma 4 31B Garnet offers a larger context window. Choose Gemma 4 31B Garnet or GLM 5.1 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Gemma 4 31B Garnet | GLM 5.1 |
|---|---|---|
| Provider | NanoGPT | Z.ai |
| Input / 1M tokens | $0.31 | $1.40 |
| Output / 1M tokens | $0.31 | $4.40 |
| Context window | 262K | 205K |
| Parameters | — | 754B |
| Open weights | No | — |
| Released | May 2026 | Apr 2026 |
| LiveBench score | — | 70.6 |
| LMArena (Chatbot Arena) Elo score | — | 1463 |
| LMArena WebDev Elo score | — | 1508 |
| GPQA Diamond score | — | 89.9 |
| FrontierMath score | — | 33.5 |
| Epoch Capabilities Index score | — | 150 |
FAQ
Is Gemma 4 31B Garnet or GLM 5.1 cheaper?
Gemma 4 31B Garnet is cheaper on output tokens ($0.31 vs $4.40 per 1M).
Which has the larger context window, Gemma 4 31B Garnet or GLM 5.1?
Gemma 4 31B Garnet has the larger context window (262K tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.