Skip to content

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.

SpecGemma 4 31B ITClaude Sonnet 5 (Free)
ProviderQVACZenMux
Input / 1M tokens$0.00$0.00
Output / 1M tokens$0.00$0.00
Context window262K1M
Parameters——
Open weightsYesNo
ReleasedApr 2026Jun 2026
LiveBench score62.4—
GPQA Diamond score75.8—
Epoch Capabilities Index score143—

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.