Skip to content

Gemma 4 31B Garnet vs GPT-5.4 Mini

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

SpecGemma 4 31B GarnetGPT-5.4 Mini
ProviderNanoGPTOpenAI
Input / 1M tokens$0.31$0.75
Output / 1M tokens$0.31$4.50
Context window262K400K
Parameters——
Open weightsNoNo
ReleasedMay 2026Mar 2026
LiveBench score—67.7
FrontierMath score—28.3
Epoch Capabilities Index score—149
GPQA Diamond score—86.9
LMArena (Chatbot Arena) Elo score—1411
LMArena WebDev Elo score—1398
LMArena Vision Elo score—1245

FAQ

Is Gemma 4 31B Garnet or GPT-5.4 Mini cheaper?

Gemma 4 31B Garnet is cheaper on output tokens ($0.31 vs $4.50 per 1M).

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

GPT-5.4 Mini has the larger context window (400K tokens).

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