Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Gemini 3.1 Pro vs Gemma 4 12B

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.

Scores updated · 27 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 Artificial Analysis
Gemma 4 12BNo current price is tracked.

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

  • Command-line tasks in a real terminalTerminal-Bench 2.1+46.5points aheadGemini 3.1 Pro73.8Gemma 4 12B27.3
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+39.3points aheadGemini 3.1 Pro54.9Gemma 4 12B15.6
  • Hard command-line tasks in a real terminalTerminal-Bench Hard+35.6points aheadGemini 3.1 Pro53.8Gemma 4 12B18.2

Where Gemma 4 12B pulls ahead

Every test, side by side

All 27 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 3.677.173.5+3.6

Full following instructions ranking

Other results10 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 12B?

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 12B wins none. They are level on long documents.

Which is better for coding?

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

How do you compare the two?

We use the 27 benchmark tests both models have published scores on. The verdict counts the 17 tests in the eight capability areas, and a gap under one point (ten on rating-style scales) counts as a tie. The other 10 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.