head-to-head
Anthropic Claude Sonnet Latest vs Google: Gemma 4 26B A4B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-05-12.
| Anthropic Claude Sonnet Latest | Google: Gemma 4 26B A4B | |
|---|---|---|
| Vendor | ~anthropic | |
| Quality Score | 100 | 100 |
| Input Price | $3.00/M | $0.06/M |
| Output Price | $15.00/M | $0.33/M |
| Context Window | 1,000,000 | 262,144 |
| Max Output | 128,000 | - |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
Who wins by task?
| Task | Anthropic Claude Sonnet Latest | Google: Gemma 4 26B A4B |
|---|---|---|
| SQL Generation | 132 | 131 |
| Code Review | 132 | 126 |
| Code Completion | 116 | 129 |
| Code Refactoring | 136 | 127 |
| Bug Fixing | 136 | 130 |
| Unit Test Generation | 124 | 121 |
| Code Documentation | 128 | 126 |
| Regex Writing | 116 | 119 |
| CI/CD Pipelines | 120 | 117 |
| CSV / Spreadsheet Cleanup | 132 | 128 |
| ETL Scripting | 128 | 122 |
| JSON Extraction | 120 | 131 |
| Bulk Data Labeling | 116 | 129 |
| OCR / Document Parsing | 131 | 128 |
| Table Extraction from PDFs | 131 | 128 |
| Long-Document Summarization | 136 | 129 |
| Short-Form Summarization | 112 | 123 |
| Blog Post Writing | 120 | 119 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Google: Gemini 3.1 Flash Lite vs Anthropic Claude Sonnet Latest
Google: Gemini 3.1 Flash Lite vs Google: Gemma 4 26B A4B
xAI: Grok 4.3 vs Anthropic Claude Sonnet Latest
xAI: Grok 4.3 vs Google: Gemma 4 26B A4B
Mistral: Mistral Medium 3.5 vs Anthropic Claude Sonnet Latest
Mistral: Mistral Medium 3.5 vs Google: Gemma 4 26B A4B
NVIDIA: Nemotron 3 Nano Omni (free) vs Anthropic Claude Sonnet Latest
NVIDIA: Nemotron 3 Nano Omni (free) vs Google: Gemma 4 26B A4B