Gemma 4 31B IT vs GLM 4.7 Flash
Gemma 4 31B IT is cheaper on output tokens, while Gemma 4 31B IT offers a larger context window. Choose Gemma 4 31B IT or GLM 4.7 Flash based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Gemma 4 31B IT | GLM 4.7 Flash |
|---|---|---|
| Provider | QVAC | Z.ai |
| Input / 1M tokens | $0.00 | $0.06 |
| Output / 1M tokens | $0.00 | $0.40 |
| Context window | 262K | 200K |
| Parameters | — | — |
| Open weights | Yes | — |
| Released | Apr 2026 | — |
| LiveBench score | 62.4 | — |
| GPQA Diamond score | 75.8 | 60.5 |
| Epoch Capabilities Index score | 143 | — |
| LMArena (Chatbot Arena) Elo score | — | 1351 |
FAQ
Is Gemma 4 31B IT or GLM 4.7 Flash cheaper?
Gemma 4 31B IT is cheaper on output tokens ($0.00 vs $0.40 per 1M).
Which has the larger context window, Gemma 4 31B IT or GLM 4.7 Flash?
Gemma 4 31B IT 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.