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 | Friendli | Friendli |
| Input / 1M tokens | $1.40 | $0.14 |
| Output / 1M tokens | $4.40 | $0.40 |
| Context window | 1M | 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.