GLM 5.2 vs Gemma 4 31B IT
Gemma 4 31B IT is cheaper on output tokens, while GLM 5.2 offers a larger context window. Choose GLM 5.2 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.2 | Gemma 4 31B IT |
|---|---|---|
| Provider | Lilac | Lilac |
| Input / 1M tokens | $0.90 | $0.11 |
| Output / 1M tokens | $3.00 | $0.35 |
| Context window | 524K | 262K |
| Parameters | — | — |
| Open weights | Yes | Yes |
| Released | Jun 2026 | Apr 2026 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.