Model comparison
Claude Sonnet 5 vs Gemma 3 4B
Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 28.1 on the Noometry Index. Gemma 3 4B costs 80× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.
Last verified . 19 shared benchmarks.
Summary
- They share 19 benchmarks with published results for both. Claude Sonnet 5 scores higher in 9 categories and Gemma 3 4B in 0 categories; 9 gaps are clear of the uncertainty.
- The widest gap is in math, where Claude Sonnet 5 leads 66.2 to 16.8.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 94.7% for Claude Sonnet 5 and 7.5% for Gemma 3 4B.
- Gemma 3 4B is cheaper at $0.04 / $0.08 per million input/output tokens, against $2 / $10 for Claude Sonnet 5.
- Claude Sonnet 5 accepts more context: 1M tokens versus 131K.
- Gemma 3 4B has downloadable open weights; the other is API-only.
Side by side
| Claude Sonnet 5 | Gemma 3 4B | |
|---|---|---|
| Provider | Anthropic | |
| Noometry Index | 54.6 | 28.1 |
| Released | 2026-06-29 | 2025-03-12 |
| Weights | Proprietary | Open |
| Context window | 1M | 131K |
| Max output | 128K | 4K |
| Input $ / M tokens | $2 | $0.04 |
| Output $ / M tokens | $10 | $0.08 |
| Results tracked | 51 | 22 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Claude Sonnet 5 leads
Claude Sonnet 5: 55.5 (#26), Gemma 3 4B: 35.9 (#215)
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| LMArena Coding | 1483 | 1230 |
| DeepSWE | 53.8% | — |
| FrontierCode | 42.7% | — |
| CursorBench | 34.1% | — |
| LMArena WebDev | 1541 | — |
| SciCode | 54.3% | — |
| GSO | 37.3% | — |
| WeirdML | 68.8% | — |
| ALE-Bench | 1,463 | — |
Agentic & Tool Use Claude Sonnet 5 leads
Claude Sonnet 5: 42.8 (#18), Gemma 3 4B: 20.9 (#142)
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| APEX-Agents | 54.5% | — |
| Berkeley Function Calling Leaderboard | — | 19.6% |
| GBAEval | 65.3% | — |
| LMArena Search | 1194 | — |
| Vending-Bench 2 | 6,378 | — |
Reasoning Claude Sonnet 5 leads
Claude Sonnet 5: 49.1 (#39), Gemma 3 4B: 13.2 (#335)
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| Chess Puzzles | 35% | 0% |
| LMArena Hard Prompts | 1461 | 1253 |
| DTBench | 92.5% | 50.9% |
| LMCA | 50% | 2.8% |
| Epoch Capabilities Index | 156.21 | 116.02 |
| SimpleBench | 60.6% | — |
| Kagi LLM Benchmark | — | 25.2% |
| NYT Connections (extended) | 75.1% | — |
| CritPt | 16.9% | — |
| Mystery Game Puzzles | 35% | — |
| Surface Evolver Bench | 60% | — |
| Bench to the Future 3 | 0.14 | — |
| ForecastBench | 61.1 | — |
Math Claude Sonnet 5 leads
Claude Sonnet 5: 66.2 (#27), Gemma 3 4B: 16.8 (#292)
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 94.7% | 7.5% |
| LMArena Math | 1467 | 1239 |
| FrontierMath (Tiers 1-3) | 65.6% | — |
| FrontierMath Tier 4 | 29.3% | — |
| ProofBench | 77% | — |
Knowledge Claude Sonnet 5 leads
Claude Sonnet 5: 55.6 (#47), Gemma 3 4B: 11.8 (#299)
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| GPQA Diamond | 90.5% | 23.2% |
| LMArena Expert | 1490 | 1223 |
| SimpleQA Verified | 33.7% | — |
| Vectara Hallucination Rate | — | 6.4% |
Multimodal Not comparable
Claude Sonnet 5: 42.4 (#31), Gemma 3 4B: —
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| LMArena Vision | 1274 | — |
| Blueprint-Bench 2 | 24.9% | — |
| LMArena Document | 1466 | — |
Multilingual Claude Sonnet 5 leads
Claude Sonnet 5: 53.8 (#55), Gemma 3 4B: 42.5 (#194)
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| LMArena Non-English | 1431 | 1273 |
| LMArena German | 1440 | 1281 |
| LMArena Russian | 1451 | 1294 |
| LMArena Chinese | 1477 | — |
| LMArena French | 1460 | — |
| LMArena Japanese | 1422 | — |
| LMArena Korean | 1411 | — |
| LMArena Spanish | 1437 | — |
Instruction Following Claude Sonnet 5 leads
Claude Sonnet 5: 76.3 (#41), Gemma 3 4B: 65.2 (#225)
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| LMArena Instruction Following | 1452 | 1239 |
Long Context Claude Sonnet 5 leads
Claude Sonnet 5: 44.8 (#55), Gemma 3 4B: 38.7 (#194)
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| LMArena Longer Query | 1463 | 1273 |
Writing & Preference Claude Sonnet 5 leads
Claude Sonnet 5: 69.2 (#25), Gemma 3 4B: 42.0 (#239)
| Benchmark | Claude Sonnet 5 | Gemma 3 4B |
|---|---|---|
| LMArena Text | 1442 | 1291 |
| LMArena Creative Writing | 1416 | 1271 |
| EQ-Bench Creative Writing | 1794 | 1068 |
| LMArena Multi-Turn | 1454 | 1255 |
| EQ-Bench 4 | 1236 | — |
Frequently asked questions
Is Claude Sonnet 5 better than Gemma 3 4B?
Claude Sonnet 5 is the stronger model overall, scoring 54.6 to 28.1 on the Noometry Index. Gemma 3 4B costs 80× less per token, which makes it the better buy when Claude Sonnet 5's lead doesn't matter for your workload.
Which is cheaper, Claude Sonnet 5 or Gemma 3 4B?
Gemma 3 4B is cheaper. It lists at $0.04 per million input tokens and $0.08 per million output tokens; Claude Sonnet 5 lists at $2 and $10.
Is Claude Sonnet 5 or Gemma 3 4B better for coding?
Claude Sonnet 5 scores higher on coding benchmarks: 55.5 versus 35.9 in the Noometry coding category.
Which has the bigger context window?
Claude Sonnet 5 does, with 1M tokens against 131K.
How many benchmarks do Claude Sonnet 5 and Gemma 3 4B share?
19 benchmarks have published results for both models. Claude Sonnet 5 has 51 scored results on Noometry and Gemma 3 4B has 22.