Skip to content

GPT-5.4 vs Gemma 4 31B IT

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

SpecGPT-5.4Gemma 4 31B IT
ProviderCortecsCortecs
Input / 1M tokens$2.90$0.22
Output / 1M tokens$15.45$0.39
Context window1.1M262K
Parameters——
Open weightsNoYes
ReleasedMar 2026Apr 2026

FAQ

Is GPT-5.4 or Gemma 4 31B IT cheaper?

Gemma 4 31B IT is cheaper on output tokens ($0.39 vs $15.45 per 1M).

Which has the larger context window, GPT-5.4 or Gemma 4 31B IT?

GPT-5.4 has the larger context window (1.1M tokens).

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