Home / Compare / Gemma 4 31B vs GPT-5.4 Nano

Gemma 4 31B vs GPT-5.4 Nano

For a typical chat reply (2,000 tokens in, 400 out), GPT-5.4 Nano costs 2.8× as much as Gemma 4 31B: $0.90 against $0.316 per 1,000 requests at list price on 2026-09-28.

Gemma 4 31BGPT-5.4 Nano
Input, per 1M tokens$0.09$0.20
Output, per 1M tokens$0.34$1.25
Context window262K400K
Classification or routing (600 tokens in, 10 out), per 1,000$0.0574$0.133
Chat reply (2,000 in, 400 out), per 1,000$0.316$0.90
Retrieval-augmented answer (8,000 in, 500 out), per 1,000$0.89$2.23
Confidence signalyesno
Tool callingyesyes
BANKING77, correct of 400304not measured

Which one should carry your traffic?

If Gemma 4 31B answers your requests as well as GPT-5.4 Nano, moving that traffic saves 65% on chat-shaped requests. Averages cannot tell you whether it does for your requests. Gemma 4 31B exposes a confidence signal, so Gimbix can let it answer first and hand unsure cases to GPT-5.4 Nano.

Gemma 4 31B profile · GPT-5.4 Nano profile · Measure it on your traffic