Model comparison

Claude Opus 5 vs Gemma 4 31B IT

Claude Opus 5 is the stronger model overall, scoring 67.7 to 43.2 on the Noometry Index. Gemma 4 31B IT costs 66× less per token, which makes it the better buy when Claude Opus 5's lead doesn't matter for your workload.

Last verified . 31 shared benchmarks.

Claude Opus 5 Anthropic

67.7

Rank #4 Confirmed

Gemma 4 31B IT Google

43.2

Rank #85 Confirmed

Summary

  • They share 31 benchmarks with published results for both. Claude Opus 5 scores higher in 9 categories and Gemma 4 31B IT in 0 categories; 9 gaps are clear of the uncertainty.
  • The widest gap is in reasoning, where Claude Opus 5 leads 77.1 to 26.4.
  • The biggest single-benchmark swing is SimpleQA Verified: 59.9% for Claude Opus 5 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 5.
  • Claude Opus 5 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 5 and Gemma 4 31B IT specifications
Claude Opus 5Gemma 4 31B IT
ProviderAnthropicGoogle
Noometry Index67.743.2
Released2026-07-242026-04-02
WeightsProprietaryOpen
Context window1M262K
Max output128K33K
Input $ / M tokens$5$0.09
Output $ / M tokens$25$0.34
Results tracked5735

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Claude Opus 5 leads

Claude Opus 5: 67.0 (#5), Gemma 4 31B IT: 41.9 (#98)

Coding benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
LMArena WebDev16941364
SciCode56.4%43.4%
WeirdML91.8%52.3%
LMArena Coding15331459
ALE-Bench2,165925.5
DeepSWE73.6%—
FrontierCode53.4%—
CursorBench46.6%—
FrontierSWE52%—

Agentic & Tool Use Not comparable

Claude Opus 5: 55.5 (#1), Gemma 4 31B IT: —

Agentic & Tool Use benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
APEX-Agents65.8%—
OSWorld 2.031.4%—
τ²-bench Banking48.7%—
PostTrainBench35%—
BALROG63.4%—
GBAEval79.6%—
GDP.pdf24%—
Vending-Bench 211,182—

Reasoning Claude Opus 5 leads

Claude Opus 5: 77.1 (#3), Gemma 4 31B IT: 26.4 (#119)

Reasoning benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
NYT Connections (extended)94.3%70.6%
CritPt29.1%1.4%
Chess Puzzles42%5%
LMArena Hard Prompts15251448
DTBench97.9%82.7%
LMCA64.5%39.3%
Epoch Capabilities Index162.67142.74
ARC-AGI-290.4%—
SimpleBench80.6%—
Kagi LLM Benchmark—63.5%
ARC-AGI-197.5%—
Thematic Generalization—53%
EBR-Bench45.7%—
Mystery Game Puzzles59%—
Surface Evolver Bench—30.6%
Bench to the Future 30.12—

Math Claude Opus 5 leads

Claude Opus 5: 86.1 (#6), Gemma 4 31B IT: 41.3 (#72)

Math benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
OTIS Mock AIME 2024-202598.9%73.3%
LMArena Math15331464
FrontierMath (Tiers 1-3)85.6%—
FrontierMath Tier 473.2%—
ProofBench99%—

Knowledge Claude Opus 5 leads

Claude Opus 5: 66.8 (#8), Gemma 4 31B IT: 37.9 (#141)

Knowledge benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
GPQA Diamond93.9%75.8%
SimpleQA Verified59.9%10.4%
LMArena Expert15581465
Vectara Hallucination Rate—7.4%

Multimodal Claude Opus 5 leads

Claude Opus 5: 51.1 (#6), Gemma 4 31B IT: 41.0 (#32)

Multimodal benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
LMArena Vision13211278
LMArena Document15161425
Blueprint-Bench 230.4%—
Furniture Assembly60.8%—

Multilingual Claude Opus 5 leads

Claude Opus 5: 58.8 (#3), Gemma 4 31B IT: 54.0 (#52)

Multilingual benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
LMArena Non-English15001431
LMArena Chinese15751478
LMArena French15221436
LMArena Russian15071462
LMArena Spanish15191443
LMArena German1522—
LMArena Japanese1510—
LMArena Korean1526—

Instruction Following Claude Opus 5 leads

Claude Opus 5: 79.3 (#5), Gemma 4 31B IT: 75.6 (#58)

Instruction Following benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
LMArena Instruction Following15161433

Long Context Claude Opus 5 leads

Claude Opus 5: 46.5 (#20), Gemma 4 31B IT: 44.2 (#67)

Long Context benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
LMArena Longer Query15161446

Writing & Preference Claude Opus 5 leads

Claude Opus 5: 79.3 (#2), Gemma 4 31B IT: 60.7 (#92)

Writing & Preference benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
LMArena Text15061443
LMArena Creative Writing14911416
EQ-Bench Creative Writing21331368
EQ-Bench 413851120
LMArena Multi-Turn14961452

Frequently asked questions

Is Claude Opus 5 better than Gemma 4 31B IT?

Claude Opus 5 is the stronger model overall, scoring 67.7 to 43.2 on the Noometry Index. Gemma 4 31B IT costs 66× less per token, which makes it the better buy when Claude Opus 5's lead doesn't matter for your workload.

Which is cheaper, Claude Opus 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 Opus 5 lists at $5 and $25.

Is Claude Opus 5 or Gemma 4 31B IT better for coding?

Claude Opus 5 scores higher on coding benchmarks: 67.0 versus 41.9 in the Noometry coding category.

Which has the bigger context window?

Claude Opus 5 does, with 1M tokens against 262K.

How many benchmarks do Claude Opus 5 and Gemma 4 31B IT share?

31 benchmarks have published results for both models. Claude Opus 5 has 57 scored results on Noometry and Gemma 4 31B IT has 35.

Related comparisons

Go deeper