Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4.5 vs Gemma 4 26B A4B

Anthropic · released

Wins 4 of 8 areas

Coding · Reasoning · Facts · Long documents

Google · released

Wins 2 of 8 areas

Math · Following instructions

Claude Sonnet 4.5 wins more areas, narrowly.Gemma 4 26B A4B is cheaper and better at math.

Scores updated · 49 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.5$3.00 to read · $15.00 to write$18Price from Artificial Analysis
Gemma 4 26B A4B$0.13 to read · $0.40 to write$0.53Price from Artificial Analysis

Gemma 4 26B A4B costs 97% 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.5 pulls ahead

  • Fixes real GitHub issues in Python projectsSWE-bench Verified+59.8points aheadClaude Sonnet 4.577.2Gemma 4 26B A4B17.4
  • Fixes real GitHub issues in many programming languagesSWE-bench Multilingual+49.7points aheadClaude Sonnet 4.567Gemma 4 26B A4B17.3
  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+37.3points aheadClaude Sonnet 4.550.9Gemma 4 26B A4B13.6

Where Gemma 4 26B A4B pulls ahead

  • Follows unfamiliar, precisely checkable instructionsIFBench+15.1points aheadGemma 4 26B A4B72.4Claude Sonnet 4.557.3
  • Recent programming contest problemsLiveCodeBench v6+13.1points aheadGemma 4 26B A4B77.1Claude Sonnet 4.564
  • Olympiad math problems with short answersIMOAnswerBench+8.4points aheadGemma 4 26B A4B74.3Claude Sonnet 4.565.9

Every test, side by side

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

CodingClaude Sonnet 4.5

Full coding ranking

AgentsEven

Full agents ranking

ReasoningClaude Sonnet 4.5

Full reasoning ranking

FactsClaude Sonnet 4.5

Full facts ranking

Images and chartsEven

Full images and charts ranking

MathGemma 4 26B A4B

Full math ranking

Long documentsClaude Sonnet 4.5
  • AA-LCRClaude Sonnet 4.5 by 6.672.365.7+6.6

Full long documents ranking

Following instructionsGemma 4 26B A4B
  • IFBenchGemma 4 26B A4B by 15.157.372.4+15.1

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.5 or Gemma 4 26B A4B?

Claude Sonnet 4.5 wins four of the eight areas we test: coding, reasoning, facts and long documents. Gemma 4 26B A4B wins math and following instructions, and costs 97% less. They are level on agents and images and charts.

Which is better for coding?

Claude Sonnet 4.5. It wins 7 of the 8 coding tests both models report; Gemma 4 26B A4B wins 1.

Which is cheaper?

Claude Sonnet 4.5 costs $3.00 per million input tokens and $15.00 per million output tokens; Gemma 4 26B A4B costs $0.13 and $0.40. That makes Gemma 4 26B A4B about 97% cheaper for the same work.

How do you compare the two?

We use the 49 benchmark tests both models have published scores on. The verdict counts the 25 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.