Gemini 3.1 Pro vs Gemma 4 31B

Model Markets Rankings

Intelligence, Cost, and Efficiency

All rankings →
RankingGemini 3.1 ProGemma 4 31B
CostLower is better · Published-token output estimate#22 of 36$0.161 per LiveBench caseUnrankedNot in the 36-model eligible cohort

Ranks come from the current complete eligible cohorts. Green highlights appear only when both models are ranked in the same metric. Missing required inputs remain unranked, and the three dimensions are not collapsed into an overall winner.

Benchmark Performance

Available Benchmarks

BenchmarkGemini 3.1 ProGemma 4 31B
LMArena Agent Arenaagent-2026-08-31-011508720696 · outcome_score · leader-3.13100% of row best · score · Gemini 3.1 Pro Preview; 95% CI [-4.00806078, -2.24630473]; sessions 83248; observations 2709356; rank 40-22.3380% of row best · score · Gemma 4 31B; 95% CI [-25.65092528, -19.00692476]; sessions 56661; observations 703574; rank 56
LMArena Document Arenadocument-2026-07-30-011508720696 · arena_rating · leader1,445.32100% of row best · rating · gemini-3.1-pro-preview; 95% CI [1439.35538449, 1451.29339146]; votes 45162; rank 231,423.7099% of row best · rating · gemma-4-31b; 95% CI [1415.51297276, 1431.88143488]; votes 10577; rank 29
LMArena Text Arenatext-2026-09-01-011508720696 · arena_rating · leader1,480.10100% of row best · rating · gemini-3.1-pro-preview; 95% CI [1476.89767236, 1483.30025658]; votes 102763; rank 111,441.8297% of row best · rating · gemma-4-31b; 95% CI [1434.27306811, 1449.35895578]; votes 5900; rank 60
LMArena Vision Arenavision-2026-08-27-011508720696 · arena_rating · leader1,295.39100% of row best · rating · gemini-3.1-pro-preview; 95% CI [1289.75236576, 1301.03738662]; votes 39412; rank 171,275.9498% of row best · rating · gemma-4-31b; 95% CI [1269.53471972, 1282.35229256]; votes 34348; rank 31
Overall ResultCounted from the protocol-matched rows above4 benchmark winsOverall lead0 benchmark wins

Third-party benchmark Only like-for-like primary-publisher results are shown; raw scores, relative scores, configuration, and token spend remain visible.

FieldAt a Glance
Google DeepMind · previewGemini 3.1 ProVerified Aug 29, 2026
Google DeepMind · activeGemma 4 31BVerified Sep 3, 2026

Technical Differences

Side-by-Side Facts

Indexable
FieldGemini 3.1 ProGemma 4 31B
DeveloperGoogle DeepMindGoogle DeepMind
FamilyGemini 3Gemma 4
ModelGemini 3.1 ProGemma 4 31B
VersionGemini 3.1 ProGemma 4 31B
Lifecyclepreviewactive
ReleasedUnknown2026-03-11
Knowledge cutoffUnknownUnknown
Input modalitiesText, Image, Video, Audio, DocumentText, Image
Output modalitiesTextText
Context window1,049K262K
Total parametersUnknown31B
Active parametersUnknownUnknown
LicenseUnknownapache-2.0
Open weightsNoYes
API availableYesYes
Self-hostableNoYes
Provider accessGoogle AI (Standard), Google Gemini (Standard)Cerebras (Standard), Deepinfra (Standard), Google Gemini (Standard), Openrouter (Standard), Together Ai (Standard)
Capabilitieschat, generation, reasoning, toolschat, generation, reasoning, structured_outputs, tools

13 comparable fields · 10 material differences · Pair passes the primary-source comparison gate

Gemini 3.1 Pro Capabilities

chatgenerationreasoningtools
Input price$2.00
Output price$12.00
Serving providers2
Canonical IDgoogle-deepmind/gemini-3.1-pro-preview

Gemma 4 31B Capabilities

chatgenerationreasoningstructured outputstools
Input price$0.090
Output price$0.34
Serving providers5
Canonical IDgoogle/gemma-4-31B-it

Internal Comparison Graph

Related Comparisons

All text comparisons →
APairBContext
vsfamily variantstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext
vscross-developer peerstext

Primary Evidence

Sources and Freshness

Questions

Gemini 3.1 Pro vs Gemma 4 31B FAQs

Is Gemini 3.1 Pro or Gemma 4 31B better for coding?+

This comparison does not currently contain a protocol-matched coding benchmark for both Gemini 3.1 Pro and Gemma 4 31B, so Model Markets cannot name a coding leader from pricing, context size, or capability labels alone.

Which is cheaper, Gemini 3.1 Pro or Gemma 4 31B?+

Gemini 3.1 Pro is $2.00 and Gemma 4 31B is $0.090 per million tokens, so Gemma 4 31B is cheaper on this metric. Gemini 3.1 Pro is $12.00 and Gemma 4 31B is $0.34 per million tokens, so Gemma 4 31B is cheaper on this metric.

Which has a larger context window, Gemini 3.1 Pro or Gemma 4 31B?+

Gemini 3.1 Pro has the larger sourced context window. Gemini 3.1 Pro supports 1,049K and Gemma 4 31B supports 262K.

Which performs better in benchmarks, Gemini 3.1 Pro or Gemma 4 31B?+

There is no overall benchmark winner: An overall winner requires at least two decisive benchmarks from at least two original publishers.

Can Gemini 3.1 Pro or Gemma 4 31B be self-hosted?+

Gemma 4 31B is the only model in this pair currently marked as self-hostable. Gemini 3.1 Pro is not marked open weight; Gemma 4 31B is open weight.

Can Gemini 3.1 Pro and Gemma 4 31B understand images?+

Gemini 3.1 Pro is documented with image input; Gemma 4 31B is documented with image input. This reflects supported input modalities, not vision quality.

Which can generate longer answers, Gemini 3.1 Pro or Gemma 4 31B?+

Neither has a larger sourced maximum output. Gemini 3.1 Pro is 66K and Gemma 4 31B is —.

Do Gemini 3.1 Pro and Gemma 4 31B support reasoning and tool use?+

Gemini 3.1 Pro: reasoning, tool calling, and image input. Gemma 4 31B: reasoning, tool calling, and image input. Feature support does not establish relative quality.

Which is available from more inference providers, Gemini 3.1 Pro or Gemma 4 31B?+

Gemini 3.1 Pro has 2 sourced provider routes; Gemma 4 31B has 5, so Gemma 4 31B has broader tracked availability.

Which offers better value, Gemini 3.1 Pro or Gemma 4 31B?+

There is no universal value winner. Compare the input and output prices above with the matched benchmark result for your workload: cheaper tokens can be offset by different quality, token usage, latency, or provider availability.

Send Feedback