Model comparison

Claude Opus 5 vs Gemma 4 31B IT

Claude Opus 5 is the stronger model overall, scoring 67.8 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 5's lead doesn't matter for your workload.

Last verified . 31 shared benchmarks.

Claude Opus 5 Anthropic

67.8

Rank #4 Confirmed

Gemma 4 31B IT Google

43.5

Rank #90 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.2 to 27.2.
  • 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.843.5
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.5 (#5), Gemma 4 31B IT: 42.3 (#108)

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

Agentic & Tool Use Not comparable

Claude Opus 5: 55.6 (#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.2 (#4), Gemma 4 31B IT: 27.2 (#122)

Reasoning benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
NYT Connections (extended)94.3%70.6%
CritPt29.1%1.4%
Chess Puzzles42%5%
LMArena Hard Prompts15261448
DTBench97.9%82.7%
LMCA64.5%39.3%
Epoch Capabilities Index162.78142.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.2 (#8), Gemma 4 31B IT: 43.2 (#81)

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

Knowledge Claude Opus 5 leads

Claude Opus 5: 66.8 (#9), Gemma 4 31B IT: 37.9 (#151)

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

Multimodal Claude Opus 5 leads

Claude Opus 5: 50.8 (#8), Gemma 4 31B IT: 41.6 (#34)

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

Multilingual Claude Opus 5 leads

Claude Opus 5: 58.8 (#4), Gemma 4 31B IT: 53.8 (#57)

Multilingual benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
LMArena Non-English15011431
LMArena Chinese15741476
LMArena French15191435
LMArena Russian15071460
LMArena Spanish15191444
LMArena German1524—
LMArena Japanese1516—
LMArena Korean1521—

Instruction Following Claude Opus 5 leads

Claude Opus 5: 79.2 (#7), Gemma 4 31B IT: 75.5 (#61)

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

Long Context Claude Opus 5 leads

Claude Opus 5: 46.5 (#21), Gemma 4 31B IT: 44.2 (#71)

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

Writing & Preference Claude Opus 5 leads

Claude Opus 5: 79.2 (#1), Gemma 4 31B IT: 60.5 (#96)

Writing & Preference benchmarks
BenchmarkClaude Opus 5Gemma 4 31B IT
LMArena Text15071443
LMArena Creative Writing14911415
EQ-Bench Creative Writing21331368
EQ-Bench 413851120
LMArena Multi-Turn14991452

Frequently asked questions

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

Claude Opus 5 is the stronger model overall, scoring 67.8 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 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.5 versus 42.3 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