# Claude Sonnet 4.5 vs Gemma 4 31B IT

> Claude Sonnet 4.5 and Gemma 4 31B IT score almost the same on the Noometry Index (44.1 vs 43.5), so choose on price, context window or the category you care about most.

- Canonical page: https://noometry.com/compare/claude-sonnet-4-5-vs-gemma-4-31b-it
- Last updated: 2026-10-12
- Shared benchmarks: 31

## Summary

- They share 31 benchmarks with published results for both. Claude Sonnet 4.5 scores higher in 4 categories and Gemma 4 31B IT in 5 categories; 5 gaps are clear of the uncertainty.
- The widest gap is in math, where Gemma 4 31B IT leads 43.2 to 32.3.
- The biggest single-benchmark swing is NYT Connections (extended): 37.3% for Claude Sonnet 4.5 and 70.6% for Gemma 4 31B IT.
- Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $3 / $15 for Claude Sonnet 4.5.
- Gemma 4 31B IT accepts more context: 262K tokens versus 200K.
- Gemma 4 31B IT has downloadable open weights; the other is API-only.

## Snapshot

| | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| Provider | Anthropic | Google |
| Noometry Index | 44.1 | 43.5 |
| Rank | 81 | 90 |
| Context | 200K | 262K |
| Input $/M | $3 | $0.09 |
| Output $/M | $15 | $0.34 |
| Weights | Proprietary | Open |

## Coding

- Claude Sonnet 4.5: 47.3 (#61)
- Gemma 4 31B IT: 42.3 (#108)

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| LMArena WebDev | 1393 | 1366 |
| SciCode | 44.7% | 43.4% |
| WeirdML | 47.7% | 52.3% |
| LMArena Coding | 1489 | 1459 |
| ALE-Bench | 796.15 | 925.5 |
| SWE-bench Verified | 71.3% | — |
| SWE-bench Verified (bash only) | 71.4% | — |
| SWE-bench Multilingual | 67% | — |
| GSO | 14.7% | — |
| AlgoTune | 1.52 | — |

## Agentic & Tool Use

- Claude Sonnet 4.5: 38.3 (#32)
- Gemma 4 31B IT: —

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| Terminal-Bench | 46.5% | — |
| Berkeley Function Calling Leaderboard | 73.2% | — |
| GDPval | 42.5% | — |
| Remote Labor Index | 2.1% | — |
| τ²-bench Airline | 72% | — |
| τ²-bench Banking | 25.3% | — |
| τ²-bench Retail | 72.4% | — |
| τ²-bench Telecom | 84.9% | — |
| Cybench | 60% | — |
| DeepResearch Bench | 52.6% | — |
| OSWorld | 62.9% | — |
| LMArena Search | 1159 | — |
| METR Time Horizons | 67.4% | — |
| Vending-Bench 2 | 3,839 | — |

## Reasoning

- Claude Sonnet 4.5: 26.9 (#125)
- Gemma 4 31B IT: 27.2 (#122)

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| Kagi LLM Benchmark | 57.9% | 63.5% |
| NYT Connections (extended) | 37.3% | 70.6% |
| CritPt | 1.1% | 1.4% |
| Chess Puzzles | 12% | 5% |
| LMArena Hard Prompts | 1462 | 1448 |
| DTBench | 83.2% | 82.7% |
| LMCA | 38.8% | 39.3% |
| Epoch Capabilities Index | 146.84 | 142.74 |
| ARC-AGI-2 | 13.6% | — |
| SimpleBench | 54.3% | — |
| ARC-AGI-1 | 63.7% | — |
| EnigmaEval | 6% | — |
| Thematic Generalization | — | 53% |
| EBR-Bench | 2.4% | — |
| Mystery Game Puzzles | 17% | — |
| Surface Evolver Bench | — | 30.6% |
| ForecastBench | 61.9 | — |

## Math

- Claude Sonnet 4.5: 32.3 (#216)
- Gemma 4 31B IT: 43.2 (#81)

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 77.8% | 73.3% |
| LMArena Math | 1449 | 1465 |
| FrontierMath (Tiers 1-3) | 23.9% | — |
| FrontierMath Tier 4 | 2.4% | — |
| ProofBench | 19% | — |
| Omni-MATH | 55.3% | — |
| MATH Level 5 | 97.7% | — |
| FrontierMath (Feb 2025 set) | 15.2% | — |
| FrontierMath Tier 4 (v1) | 4.2% | — |

## Knowledge

- Claude Sonnet 4.5: 48.4 (#76)
- Gemma 4 31B IT: 37.9 (#151)

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| GPQA Diamond | 82.3% | 75.8% |
| SimpleQA Verified | 30.7% | 10.4% |
| Vectara Hallucination Rate | 12% | 7.4% |
| LMArena Expert | 1482 | 1465 |
| Humanity's Last Exam | 13.7% | — |
| MMLU-Pro | 86.9% | — |
| GPQA (HELM) | 68.6% | — |

## Multimodal

- Claude Sonnet 4.5: 34.8 (#89)
- Gemma 4 31B IT: 41.6 (#34)

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| LMArena Document | 1450 | 1425 |
| LMArena Vision | — | 1277 |
| VPCT | 39.8% | — |

## Multilingual

- Claude Sonnet 4.5: 53.4 (#69)
- Gemma 4 31B IT: 53.8 (#57)

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| LMArena Non-English | 1425 | 1431 |
| LMArena Chinese | 1459 | 1476 |
| LMArena French | 1458 | 1435 |
| LMArena Russian | 1437 | 1460 |
| LMArena Spanish | 1457 | 1444 |
| LMArena German | 1427 | — |
| LMArena Japanese | 1390 | — |
| LMArena Korean | 1403 | — |

## Instruction Following

- Claude Sonnet 4.5: 75.0 (#78)
- Gemma 4 31B IT: 75.5 (#61)

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| LMArena Instruction Following | 1459 | 1433 |
| IFEval | 85% | — |

## Long Context

- Claude Sonnet 4.5: 45.2 (#46)
- Gemma 4 31B IT: 44.2 (#71)

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| LMArena Longer Query | 1476 | 1446 |

## Writing & Preference

- Claude Sonnet 4.5: 66.5 (#34)
- Gemma 4 31B IT: 60.5 (#96)

| Benchmark | Claude Sonnet 4.5 | Gemma 4 31B IT |
|---|---|---|
| LMArena Text | 1439 | 1443 |
| LMArena Creative Writing | 1442 | 1415 |
| EQ-Bench Creative Writing | 1678 | 1368 |
| LMArena Multi-Turn | 1465 | 1452 |
| WildBench | 85.4% | — |
| EQ-Bench 4 | — | 1120 |

## FAQ

### Is Claude Sonnet 4.5 better than Gemma 4 31B IT?

Claude Sonnet 4.5 and Gemma 4 31B IT score almost the same on the Noometry Index (44.1 vs 43.5), so choose on price, context window or the category you care about most.

### Which is cheaper, Claude Sonnet 4.5 or Gemma 4 31B IT?

Gemma 4 31B IT is cheaper. It lists at $0.09 per million input tokens and $0.34 per million output tokens; Claude Sonnet 4.5 lists at $3 and $15.

### Is Claude Sonnet 4.5 or Gemma 4 31B IT better for coding?

Claude Sonnet 4.5 scores higher on coding benchmarks: 47.3 versus 42.3 in the Noometry coding category.

### Which has the bigger context window?

Gemma 4 31B IT does, with 262K tokens against 200K.

### How many benchmarks do Claude Sonnet 4.5 and Gemma 4 31B IT share?

31 benchmarks have published results for both models. Claude Sonnet 4.5 has 73 scored results on Noometry and Gemma 4 31B IT has 35.
