Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4 vs Gemini 3.1 Pro

Anthropic · released

Wins 0 of 7 areas

—

Google · released

Wins 6 of 7 areas

Coding · Agents · Reasoning · Images and charts · Long documents · Following instructions

Gemini 3.1 Pro is the stronger all-rounder.

Scores updated · 40 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.

Claude Sonnet 4$3.00 to read · $15.00 to write$18Price from anthropic
Gemini 3.1 Pro$2.00 to read · $12.00 to write$14Price from Artificial Analysis

Gemini 3.1 Pro costs 22% 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

  • Finds hard-to-locate facts by browsing the webBrowseComp+73.7points aheadGemini 3.1 Pro85.9Claude Sonnet 412.2
  • Abstract visual puzzles that people can solveARC-AGI-2+71.2points aheadGemini 3.1 Pro77.1Claude Sonnet 45.9
  • Recent programming contest problemsLiveCodeBench v6+43.2points aheadGemini 3.1 Pro91.7Claude Sonnet 448.5

Where Claude Sonnet 4 pulls ahead

Every test, side by side

All 40 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

FactsEven

Full facts ranking

Images and chartsGemini 3.1 Pro

Full images and charts ranking

Long documentsGemini 3.1 Pro
  • AA-LCRGemini 3.1 Pro by 11.770.382+11.7

Full long documents ranking

Following instructionsGemini 3.1 Pro

Full following instructions ranking

Other results16 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, Claude Sonnet 4 or Gemini 3.1 Pro?

Gemini 3.1 Pro wins six of the seven areas where both have results: coding, agents, reasoning, images and charts, long documents and following instructions. Claude Sonnet 4 wins none. They are level on facts.

Which is better for coding?

Gemini 3.1 Pro. It wins 7 of the 7 coding tests both models report; Claude Sonnet 4 wins none.

Which is cheaper?

Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens; Gemini 3.1 Pro costs $2.00 and $12.00. That makes Gemini 3.1 Pro about 22% cheaper for the same work.

How do you compare the two?

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