Gemini 3.1 Pro Preview vs Gemma 4 31B

For a typical chat reply (2,000 tokens in, 400 out), Gemini 3.1 Pro Preview costs 28× as much as Gemma 4 31B: $8.80 against $0.316 per 1,000 requests at list price on 2026-09-28.

28× the price of Gemma 4 31B, per chat reply

Cost per 1,000 chat replies, to scale
Gemma 4 31B$0.316
Gemini 3.1 Pro Preview$8.80
Gemini 3.1 Pro Preview vs Gemma 4 31B
Gemini 3.1 Pro PreviewGemma 4 31B
Input, per 1M tokens$2.00$0.09
Output, per 1M tokens$12.00$0.34
Context window1.05M262K
Classification or routing (600 tokens in, 10 out), per 1,000$1.32$0.0574
Chat reply (2,000 in, 400 out), per 1,000$8.80$0.316
Retrieval-augmented answer (8,000 in, 500 out), per 1,000$22.00$0.89
Confidence signalnoyes
Tool callingyesyes
Banking test, right of 400not tested304

The marked cell in each row is the cheaper, larger or more accurate of the two.

Which one should carry your traffic?

If Gemma 4 31B answers your requests as well as Gemini 3.1 Pro Preview, moving that traffic saves 96% on chat-shaped requests. Averages cannot tell you whether it does for your requests. Gemma 4 31B reports how sure it is of each word, so Gimbix can let it answer first and hand unsure cases to Gemini 3.1 Pro Preview.

Measure Gemma 4 31B against Gemini 3.1 Pro Preview on your requests

A pilot runs both on a copy of your traffic and shows where they differ.

Request an AI cost review