Gemma 4 31B IT vs Claude Sonnet 5 (Free)
Both have similar output pricing, while Claude Sonnet 5 (Free) offers a larger context window. Choose Gemma 4 31B IT or Claude Sonnet 5 (Free) based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Gemma 4 31B IT | Claude Sonnet 5 (Free) |
|---|---|---|
| Provider | QVAC | ZenMux |
| Input / 1M tokens | $0.00 | $0.00 |
| Output / 1M tokens | $0.00 | $0.00 |
| Context window | 262K | 1M |
| Parameters | — | — |
| Open weights | Yes | No |
| Released | Apr 2026 | Jun 2026 |
| LiveBench score | 62.4 | — |
| GPQA Diamond score | 75.8 | — |
| Epoch Capabilities Index score | 143 | — |
FAQ
Is Gemma 4 31B IT or Claude Sonnet 5 (Free) cheaper?
Gemma 4 31B IT and Claude Sonnet 5 (Free) have comparable output pricing.
Which has the larger context window, Gemma 4 31B IT or Claude Sonnet 5 (Free)?
Claude Sonnet 5 (Free) has the larger context window (1M tokens).
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.