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