Skip to content

Gemma 3 4B IT vs Gemma 4 31B IT

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

SpecGemma 3 4B ITGemma 4 31B IT
ProviderAmazon BedrockAmazon Bedrock
Input / 1M tokens$0.04$0.14
Output / 1M tokens$0.08$0.40
Context window131K262K
Parameters——
Open weightsYesYes
ReleasedMar 2025Apr 2026

FAQ

Is Gemma 3 4B IT or Gemma 4 31B IT cheaper?

Gemma 3 4B IT is cheaper on output tokens ($0.08 vs $0.40 per 1M).

Which has the larger context window, Gemma 3 4B IT 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.