head-to-head

Anthropic: Claude Sonnet 5 vs Google: Gemma 4 26B A4B (free)

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-11-07.

Anthropic: Claude Sonnet 5 Google: Gemma 4 26B A4B (free)
Vendoranthropicgoogle
Quality Score100100
Benchmark Score91.448.4
Input Price$2.00/MFree
Output Price$10.00/MFree
Context Window1,000,000262,144
Max Output128,00032,768
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--
Benchmark Scores
ai_index88.042.4
ai_index_agentic77.018.1
ai_index_coding100.064.9
eqbench-56.3

The verdict

For a sample job of 1 million input tokens and 250,000 output tokens, Gemma 4 26B A4B (free) costs $0 and Claude Sonnet 5 costs $4.50, so Gemma 4 26B A4B (free) is free for the same work.

Claude Sonnet 5 reads up to 1,000,000 tokens at once, roughly 1,500 pages of text, against about 393 pages for Gemma 4 26B A4B (free).

Only Gemma 4 26B A4B (free) offers video input.

On our blended benchmark score Claude Sonnet 5 leads 91.4 to 48.4.

Across the 20 tasks where they differ, Claude Sonnet 5 scores higher on 16 (SQL Generation, Code Review, Code Refactoring and others), Gemma 4 26B A4B (free) on 4 (Code Completion, JSON Extraction, Bulk Data Labeling and others).

Claude Sonnet 5 was released in June 2026 and Gemma 4 26B A4B (free) in April 2026.

Pick Claude Sonnet 5 if you need long documents, benchmark performance or the stronger all-round task scores; pick Gemma 4 26B A4B (free) if you need lower cost or video input.

Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.

Who wins by task?

TaskAnthropic: Claude Sonnet 5Google: Gemma 4 26B A4B (free)
SQL Generation 171 153
Code Review 167 150
Code Completion 119 131
Code Refactoring 164 148
Bug Fixing 180 156
Unit Test Generation 154 140
Code Documentation 141 136
Regex Writing 135 130
CI/CD Pipelines 144 133
Frontend Component Design 146 136
Data Analysis 171 148
CSV / Spreadsheet Cleanup 153 143
ETL Scripting 154 141
JSON Extraction 138 142
Bulk Data Labeling 124 133
OCR / Document Parsing 146 138
Table Extraction from PDFs 146 138
Long-Document Summarization 159 147
Short-Form Summarization 122 129
Blog Post Writing 140 132

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

Anthropic: Claude Haiku Latest vs Google: Gemma 4 26B A4B (free) Anthropic: Claude Opus 5 (batch) vs Anthropic: Claude Sonnet 5 Anthropic: Claude Sonnet 5 vs Anthropic: Claude Haiku Latest Anthropic: Claude Sonnet 5 vs Anthropic: Claude Opus 4.8 (batch) Anthropic: Claude Sonnet 5 vs Anthropic: Claude Sonnet 5 (batch) Anthropic: Claude Sonnet 5 vs Anthropic: Claude Sonnet Latest Anthropic: Claude Sonnet 5 vs ByteDance Seed: Seed-2.0-Lite Anthropic: Claude Sonnet 5 vs ByteDance Seed: Seed-2.0-Mini

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.