Skip to content

Grok Code Fast 1 vs Gemma 4 31B IT

Both have similar output pricing, while Gemma 4 31B IT offers a larger context window. Choose Grok Code Fast 1 or Gemma 4 31B IT based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGrok Code Fast 1Gemma 4 31B IT
ProviderOpenCodeQVAC
Input / 1M tokens$0.00$0.00
Output / 1M tokens$0.00$0.00
Context window256K262K
Parameters——
Open weightsNoYes
ReleasedAug 2025Apr 2026
LMArena WebDev Elo score1166—
LiveBench score—62.4
GPQA Diamond score—75.8
Epoch Capabilities Index score—143

FAQ

Is Grok Code Fast 1 or Gemma 4 31B IT cheaper?

Grok Code Fast 1 and Gemma 4 31B IT have comparable output pricing.

Which has the larger context window, Grok Code Fast 1 or Gemma 4 31B IT?

Gemma 4 31B IT has the larger context window (262K tokens).

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