Skip to content

Gemma 4 31B IT vs Grok 4

Gemma 4 31B IT is cheaper on output tokens, while Gemma 4 31B IT offers a larger context window. Choose Gemma 4 31B IT or Grok 4 based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGemma 4 31B ITGrok 4
ProviderFastRouterFastRouter
Input / 1M tokens$0.13$3.00
Output / 1M tokens$0.38$15.00
Context window262K256K
Parameters3T
Open weightsYesNo
ReleasedApr 2026Jul 2025

FAQ

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