Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemini 3.1 Pro vs Gemma 4 31B

Google · released

Wins 7 of 8 areas

Coding · Agents · Reasoning · Facts · Images and charts · Math · Following instructions

Google · released

Wins 0 of 8 areas

—

Gemini 3.1 Pro is the stronger all-rounder.Gemma 4 31B is cheaper.

Scores updated · 51 tests both models report · How we compare

What it costs

Prices per million tokens, roughly 750,000 words. The bars show the cost of a million tokens read plus a million written.

Gemini 3.1 Pro$2.00 to read · $12.00 to write$14Price from Google's own price page
Gemma 4 31B$0.17 to read · $0.40 to write$0.57Price from Artificial Analysis

Gemma 4 31B costs 96% less for the same work.

The biggest differences

The tests each model wins by the widest margin, up to three each. Scores are out of 100.

Where Gemini 3.1 Pro pulls ahead

Where Gemma 4 31B pulls ahead

  • Finds one of eight look-alike replies in a long chatMRCR v2 8 needle 128k (average)+40.1points aheadGemma 4 31B66.4Gemini 3.1 Pro26.3
  • Finds the root cause of IT system incidentsAA IT-Bench SRE+7points aheadGemma 4 31B37.3Gemini 3.1 Pro30.3

Every test, side by side

All 51 tests both models report. The winning score is in its model's colour; marks a score checked independently.

CodingGemini 3.1 Pro

Full coding ranking

AgentsGemini 3.1 Pro

Full agents ranking

ReasoningGemini 3.1 Pro

Full reasoning ranking

FactsGemini 3.1 Pro

Full facts ranking

Images and chartsGemini 3.1 Pro

Full images and charts ranking

MathGemini 3.1 Pro

Full math ranking

Long documentsEven

Full long documents ranking

Following instructionsGemini 3.1 Pro
  • IFBenchGemini 3.1 Pro by 1.577.175.6+1.5

Full following instructions ranking

Other results21 tests, not counted

Tests outside the eight areas. They are not counted above: several are summary scores built from other tests, or the same test under another name.

Questions people ask

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

Gemini 3.1 Pro wins seven of the eight areas we test: coding, agents, reasoning, facts, images and charts, math and following instructions. Gemma 4 31B wins none, but costs 96% less. They are level on long documents.

Which is better for coding?

Gemini 3.1 Pro. It wins 8 of the 8 coding tests both models report; Gemma 4 31B wins none.

Which is cheaper?

Gemini 3.1 Pro costs $2.00 per million input tokens and $12.00 per million output tokens; Gemma 4 31B costs $0.17 and $0.40. That makes Gemma 4 31B about 96% cheaper for the same work.

How do you compare the two?

We use the 51 benchmark tests both models have published scores on. The verdict counts the 30 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 21 are listed but not counted, because several are summary scores or repeat a test. Each score is the one shown on the model's own page.