Gemma 4 31B IT vs GLM-5
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-5 based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Gemma 4 31B IT | GLM-5 |
|---|---|---|
| Provider | Friendli | Friendli |
| Input / 1M tokens | $0.14 | $1.00 |
| Output / 1M tokens | $0.40 | $3.20 |
| Context window | 262K | 203K |
| Parameters | — | 744B |
| Open weights | Yes | Yes |
| Released | Apr 2026 | Feb 2026 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.