Model comparison
Claude Opus 4.7 vs Gemma 4 31B IT
Claude Opus 4.7 is the stronger model overall, scoring 58.3 to 43.5 on the Noometry Index. Gemma 4 31B IT costs 66× less per token, which makes it the better buy when Claude Opus 4.7's lead doesn't matter for your workload.
Last verified . 34 shared benchmarks.
Summary
- They share 34 benchmarks with published results for both. Claude Opus 4.7 scores higher in 8 categories and Gemma 4 31B IT in 1 category; 8 gaps are clear of the uncertainty.
- The widest gap is in reasoning, where Claude Opus 4.7 leads 53.8 to 27.2.
- The biggest single-benchmark swing is SimpleQA Verified: 51.7% for Claude Opus 4.7 and 10.4% for Gemma 4 31B IT.
- Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $5 / $25 for Claude Opus 4.7.
- Claude Opus 4.7 accepts more context: 1M tokens versus 262K.
- Gemma 4 31B IT has downloadable open weights; the other is API-only.
Side by side
| Claude Opus 4.7 | Gemma 4 31B IT | |
|---|---|---|
| Provider | Anthropic | |
| Noometry Index | 58.3 | 43.5 |
| Released | 2026-04-14 | 2026-04-02 |
| Weights | Proprietary | Open |
| Context window | 1M | 262K |
| Max output | 128K | 33K |
| Input $ / M tokens | $5 | $0.09 |
| Output $ / M tokens | $25 | $0.34 |
| Results tracked | 66 | 35 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Claude Opus 4.7 leads
Claude Opus 4.7: 59.6 (#13), Gemma 4 31B IT: 42.3 (#108)
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| LMArena WebDev | 1558 | 1366 |
| SciCode | 54.5% | 43.4% |
| WeirdML | 76.4% | 52.3% |
| LMArena Coding | 1518 | 1459 |
| ALE-Bench | 1,323 | 925.5 |
| SWE-bench Verified | 83.5% | — |
| FrontierCode | 38.5% | — |
| GSO | 44.1% | — |
| MirrorCode | 31.1% | — |
Agentic & Tool Use Not comparable
Claude Opus 4.7: 47.9 (#10), Gemma 4 31B IT: —
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| Terminal-Bench | 80.2% | — |
| APEX-Agents | 49.2% | — |
| OSWorld 2.0 | 18.2% | — |
| τ²-bench Banking | 40.2% | — |
| PostTrainBench | 28.6% | — |
| ExploitBench | 26.5% | — |
| GBAEval | 43.8% | — |
| GDP.pdf | 21% | — |
| LMArena Search | 1233 | — |
| Vending-Bench 2 | 10,937 | — |
Reasoning Claude Opus 4.7 leads
Claude Opus 4.7: 53.8 (#29), Gemma 4 31B IT: 27.2 (#122)
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| Kagi LLM Benchmark | 80.7% | 63.5% |
| NYT Connections (extended) | 39% | 70.6% |
| CritPt | 12% | 1.4% |
| Chess Puzzles | 30% | 5% |
| Thematic Generalization | 72.8% | 53% |
| LMArena Hard Prompts | 1506 | 1448 |
| DTBench | 94.7% | 82.7% |
| LMCA | 52.2% | 39.3% |
| Epoch Capabilities Index | 156.25 | 142.74 |
| ARC-AGI-2 | 75.8% | — |
| SimpleBench | 61.7% | — |
| ARC-AGI-1 | 93.5% | — |
| EBR-Bench | 19% | — |
| Mystery Game Puzzles | 28% | — |
| Surface Evolver Bench | — | 30.6% |
| ForecastBench | 60.3 | — |
Math Claude Opus 4.7 leads
Claude Opus 4.7: 66.7 (#26), Gemma 4 31B IT: 43.2 (#81)
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 97.8% | 73.3% |
| LMArena Math | 1499 | 1465 |
| FrontierMath (Tiers 1-3) | 70.2% | — |
| FrontierMath Tier 4 | 31.7% | — |
| MathArena Final-Answer Competitions | 73.6% | — |
| ProofBench | 54% | — |
| FrontierMath (Feb 2025 set) | 43.8% | — |
| FrontierMath Tier 4 (v1) | 22.9% | — |
Knowledge Claude Opus 4.7 leads
Claude Opus 4.7: 62.6 (#23), Gemma 4 31B IT: 37.9 (#151)
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| GPQA Diamond | 90.2% | 75.8% |
| SimpleQA Verified | 51.7% | 10.4% |
| Vectara Hallucination Rate | 12% | 7.4% |
| LMArena Expert | 1521 | 1465 |
| Humanity's Last Exam | 36.2% | — |
Multimodal Too close to call
Claude Opus 4.7: 41.2 (#38), Gemma 4 31B IT: 41.6 (#34)
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| LMArena Vision | 1316 | 1277 |
| LMArena Document | 1495 | 1425 |
| Blueprint-Bench 2 | 24.5% | — |
| Furniture Assembly | 33.3% | — |
Multilingual Claude Opus 4.7 leads
Claude Opus 4.7: 57.3 (#10), Gemma 4 31B IT: 53.8 (#57)
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| LMArena Non-English | 1480 | 1431 |
| LMArena Chinese | 1531 | 1476 |
| LMArena French | 1503 | 1435 |
| LMArena Russian | 1494 | 1460 |
| LMArena Spanish | 1495 | 1444 |
| LMArena German | 1495 | — |
| LMArena Japanese | 1472 | — |
| LMArena Korean | 1464 | — |
Instruction Following Claude Opus 4.7 leads
Claude Opus 4.7: 78.4 (#10), Gemma 4 31B IT: 75.5 (#61)
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| LMArena Instruction Following | 1498 | 1433 |
Long Context Claude Opus 4.7 leads
Claude Opus 4.7: 46.2 (#25), Gemma 4 31B IT: 44.2 (#71)
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| LMArena Longer Query | 1505 | 1446 |
Writing & Preference Claude Opus 4.7 leads
Claude Opus 4.7: 75.1 (#8), Gemma 4 31B IT: 60.5 (#96)
| Benchmark | Claude Opus 4.7 | Gemma 4 31B IT |
|---|---|---|
| LMArena Text | 1490 | 1443 |
| LMArena Creative Writing | 1486 | 1415 |
| EQ-Bench Creative Writing | 1914 | 1368 |
| EQ-Bench 4 | 1311 | 1120 |
| LMArena Multi-Turn | 1505 | 1452 |
Frequently asked questions
Is Claude Opus 4.7 better than Gemma 4 31B IT?
Claude Opus 4.7 is the stronger model overall, scoring 58.3 to 43.5 on the Noometry Index. Gemma 4 31B IT costs 66× less per token, which makes it the better buy when Claude Opus 4.7's lead doesn't matter for your workload.
Which is cheaper, Claude Opus 4.7 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 Opus 4.7 lists at $5 and $25.
Is Claude Opus 4.7 or Gemma 4 31B IT better for coding?
Claude Opus 4.7 scores higher on coding benchmarks: 59.6 versus 42.3 in the Noometry coding category.
Which has the bigger context window?
Claude Opus 4.7 does, with 1M tokens against 262K.
How many benchmarks do Claude Opus 4.7 and Gemma 4 31B IT share?
34 benchmarks have published results for both models. Claude Opus 4.7 has 66 scored results on Noometry and Gemma 4 31B IT has 35.