Skip to content
VECTOR WIREAI INTELLIGENCE
UTC

Claude Sonnet 4 vs Gemma 4 26B A4B

Anthropic · released

Wins 4 of 7 areas

Coding · Agents · Facts · Long documents

Google · released

Wins 3 of 7 areas

Reasoning · Images and charts · Following instructions

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

Scores updated · 37 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
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 pulls ahead

  • Avoids making up answers it doesn't knowAA-Omniscience · Non-hallucination+57.3points aheadClaude Sonnet 470.9Gemma 4 26B A4B13.6
  • Fixes real GitHub issues in Python projectsSWE-bench Verified+55.3points aheadClaude Sonnet 472.7Gemma 4 26B A4B17.4
  • Fixes real GitHub issues in many programming languagesSWE-bench Multilingual+39.6points aheadClaude Sonnet 456.9Gemma 4 26B A4B17.3

Where Gemma 4 26B A4B pulls ahead

  • Recent programming contest problemsLiveCodeBench v6+28.6points aheadGemma 4 26B A4B77.1Claude Sonnet 448.5
  • Follows unfamiliar, precisely checkable instructionsIFBench+17.7points aheadGemma 4 26B A4B72.4Claude Sonnet 454.7
  • Finds hard-to-locate facts by browsing the webBrowseComp+14.1points aheadGemma 4 26B A4B26.3Claude Sonnet 412.2

Every test, side by side

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

CodingClaude Sonnet 4

Full coding ranking

AgentsClaude Sonnet 4

Full agents ranking

ReasoningGemma 4 26B A4B

Full reasoning ranking

FactsClaude Sonnet 4

Full facts ranking

Images and chartsGemma 4 26B A4B
  • MMMU-ProGemma 4 26B A4B by 7.461.869.2+7.4
  • LMArena · VisionGemma 4 26B A4B by 69 rating points11911260+69 rating
  • MMMUGemma 4 26B A4B by 474.478.4+4

Full images and charts ranking

Long documentsClaude Sonnet 4
  • AA-LCRClaude Sonnet 4 by 4.670.365.7+4.6

Full long documents ranking

Following instructionsGemma 4 26B A4B
  • IFBenchGemma 4 26B A4B by 17.754.772.4+17.7

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

Claude Sonnet 4 wins four of the seven areas where both have results: coding, agents, facts and long documents. Gemma 4 26B A4B wins reasoning, images and charts and following instructions, and costs 97% less.

Which is better for coding?

Claude Sonnet 4. It wins 4 of the 7 coding tests both models report; Gemma 4 26B A4B wins 2, and 1 is a tie.

Which is cheaper?

Claude Sonnet 4 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 37 benchmark tests both models have published scores on. The verdict counts the 21 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.