Skip to content

Gemma 4 31B (free) vs gpt-oss-20b

Gemma 4 31B (free) is cheaper on output tokens, while Gemma 4 31B (free) offers a larger context window. Choose Gemma 4 31B (free) or gpt-oss-20b based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGemma 4 31B (free)gpt-oss-20b
ProviderOpenRouterOpenRouter
Input / 1M tokens$0.00$0.03
Output / 1M tokens$0.00$0.14
Context window262K131K
Parameters21B
Open weightsYesYes
ReleasedApr 2026Aug 2025

FAQ

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.