GLM-5.2 vs Gemma 4 31B Instruct
Gemma 4 31B Instruct is cheaper on output tokens, while GLM-5.2 offers a larger context window. Choose GLM-5.2 or Gemma 4 31B Instruct based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | GLM-5.2 | Gemma 4 31B Instruct |
|---|---|---|
| Provider | Berget.AI | Berget.AI |
| Input / 1M tokens | $1.54 | $0.28 |
| Output / 1M tokens | $4.84 | $0.55 |
| Context window | 524K | 128K |
| 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.