Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4 vs Gemini 2.5 Flash

Anthropic · released

Wins 3 of 7 areas

Coding · Long documents · Following instructions

Google · released

Wins 2 of 7 areas

Facts · Images and charts

Claude Sonnet 4 wins more areas, narrowly.Gemini 2.5 Flash is cheaper and better at images and charts.

Scores updated · 41 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 2.5 Flash$0.30 to read · $2.50 to write$2.80Price from Artificial Analysis

Gemini 2.5 Flash costs 84% less for the same work.

The biggest differences

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

Where Claude Sonnet 4 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+46.2points aheadClaude Sonnet 470.9Gemini 2.5 Flash24.7
  • Hard command-line tasks in a real terminalTerminal-Bench Hard+17.5points aheadClaude Sonnet 431.1Gemini 2.5 Flash13.6
  • Fixes real GitHub issues in Python projectsSWE-bench Verified+12.3points aheadClaude Sonnet 472.7Gemini 2.5 Flash60.4

Where Gemini 2.5 Flash pulls ahead

  • Harder college exam questions with imagesMMMU-Pro+7.3points aheadGemini 2.5 Flash69.1Claude Sonnet 461.8
  • College exam questions with charts, maps and diagramsMMMU+5.3points aheadGemini 2.5 Flash79.7Claude Sonnet 474.4
  • Answers hard knowledge questions correctlyAA-Omniscience · Accuracy+3.3points aheadGemini 2.5 Flash25.9Claude Sonnet 422.7

Every test, side by side

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

CodingClaude Sonnet 4

Full coding ranking

AgentsEven

Full agents ranking

ReasoningEven

Full reasoning ranking

FactsGemini 2.5 Flash

Full facts ranking

Images and chartsGemini 2.5 Flash
  • MMMU-ProGemini 2.5 Flash by 7.361.869.1+7.3
  • MMMUGemini 2.5 Flash by 5.374.479.7+5.3
  • LMArena · VisionGemini 2.5 Flash by 44 rating points11911235+44 rating

Full images and charts ranking

Long documentsClaude Sonnet 4
  • AA-LCRClaude Sonnet 4 by 570.365.3+5

Full long documents ranking

Following instructionsClaude Sonnet 4
  • IFBenchClaude Sonnet 4 by 4.454.750.3+4.4

Full following instructions ranking

Other results24 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 2.5 Flash?

Claude Sonnet 4 wins three of the seven areas where both have results: coding, long documents and following instructions. Gemini 2.5 Flash wins facts and images and charts, and costs 84% less. They are level on agents and reasoning.

Which is better for coding?

Claude Sonnet 4. It wins 3 of the 3 coding tests both models report; Gemini 2.5 Flash wins none.

Which is cheaper?

Claude Sonnet 4 costs $3.00 per million input tokens and $15.00 per million output tokens; Gemini 2.5 Flash costs $0.30 and $2.50. That makes Gemini 2.5 Flash about 84% cheaper for the same work.

How do you compare the two?

We use the 41 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 24 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.