Model comparison

Claude Opus 4.1 vs Gemma 4 31B IT

Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 40.8 on the Noometry Index.

Last verified . 24 shared benchmarks.

Claude Opus 4.1 Anthropic

40.8

Rank #136 Confirmed

Gemma 4 31B IT Google

43.2

Rank #85 Confirmed

Summary

  • They share 24 benchmarks with published results for both. Claude Opus 4.1 scores higher in 6 categories and Gemma 4 31B IT in 3 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in math, where Gemma 4 31B IT leads 41.3 to 22.0.
  • The biggest single-benchmark swing is WeirdML: 45.9% for Claude Opus 4.1 and 52.3% for Gemma 4 31B IT.
  • Gemma 4 31B IT is cheaper at $0.09 / $0.34 per million input/output tokens, against $15 / $75 for Claude Opus 4.1.
  • Gemma 4 31B IT accepts more context: 262K tokens versus 200K.
  • Gemma 4 31B IT has downloadable open weights; the other is API-only.

Side by side

Claude Opus 4.1 and Gemma 4 31B IT specifications
Claude Opus 4.1Gemma 4 31B IT
ProviderAnthropicGoogle
Noometry Index40.843.2
Released2025-08-052026-04-02
WeightsProprietaryOpen
Context window200K262K
Max output32K33K
Input $ / M tokens$15$0.09
Output $ / M tokens$75$0.34
Results tracked4835

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

Category by category

Coding Claude Opus 4.1 leads

Claude Opus 4.1: 44.3 (#69), Gemma 4 31B IT: 41.9 (#98)

Coding benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
LMArena WebDev13901364
WeirdML45.9%52.3%
LMArena Coding14791459
ALE-Bench674.77925.5
SWE-bench Verified73.3%—
SciCode—43.4%
AlgoTune1.34—

Agentic & Tool Use Not comparable

Claude Opus 4.1: 34.8 (#38), Gemma 4 31B IT: —

Agentic & Tool Use benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
Terminal-Bench38%—
GDPval43.6%—
Cybench42%—
DeepResearch Bench48.3%—
LMArena Search1148—
METR Time Horizons66.8%—

Reasoning Claude Opus 4.1 leads

Claude Opus 4.1: 31.6 (#70), Gemma 4 31B IT: 26.4 (#119)

Reasoning benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
Chess Puzzles7%5%
LMArena Hard Prompts14431448
DTBench80%82.7%
LMCA37.1%39.3%
Epoch Capabilities Index144.11142.74
SimpleBench60%—
Kagi LLM Benchmark—63.5%
NYT Connections (extended)—70.6%
CritPt—1.4%
EnigmaEval7.2%—
Thematic Generalization—53%
EBR-Bench7.9%—
Mystery Game Puzzles21%—
Surface Evolver Bench—30.6%
ForecastBench62—

Math Gemma 4 31B IT leads

Claude Opus 4.1: 22.0 (#267), Gemma 4 31B IT: 41.3 (#72)

Math benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
OTIS Mock AIME 2024-202568.9%73.3%
LMArena Math14301464
FrontierMath (Tiers 1-3)12.6%—
FrontierMath Tier 42.4%—
FrontierMath (Feb 2025 set)7.2%—
FrontierMath Tier 4 (v1)4.2%—

Knowledge Claude Opus 4.1 leads

Claude Opus 4.1: 41.9 (#93), Gemma 4 31B IT: 37.9 (#141)

Knowledge benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
GPQA Diamond77.3%75.8%
Vectara Hallucination Rate11.8%7.4%
LMArena Expert14391465
Humanity's Last Exam11.5%—
SimpleQA Verified—10.4%
Confabulations17.1%—

Multimodal Gemma 4 31B IT leads

Claude Opus 4.1: 26.2 (#114), Gemma 4 31B IT: 41.0 (#32)

Multimodal benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
LMArena Vision—1278
VPCT35%—
LMArena Document—1425

Multilingual Gemma 4 31B IT leads

Claude Opus 4.1: 52.1 (#90), Gemma 4 31B IT: 54.0 (#52)

Multilingual benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
LMArena Non-English14051431
LMArena Chinese14271478
LMArena French14321436
LMArena Russian14211462
LMArena Spanish14481443
LMArena German1412—
LMArena Japanese1378—
LMArena Korean1381—

Instruction Following Too close to call

Claude Opus 4.1: 75.8 (#53), Gemma 4 31B IT: 75.6 (#58)

Instruction Following benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
LMArena Instruction Following14361433

Long Context Too close to call

Claude Opus 4.1: 44.5 (#60), Gemma 4 31B IT: 44.2 (#67)

Long Context benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
LMArena Longer Query14551446

Writing & Preference Claude Opus 4.1 leads

Claude Opus 4.1: 62.6 (#70), Gemma 4 31B IT: 60.7 (#92)

Writing & Preference benchmarks
BenchmarkClaude Opus 4.1Gemma 4 31B IT
LMArena Text14191443
LMArena Creative Writing14121416
LMArena Multi-Turn14441452
Short-Story Creative Writing84.7%—
EQ-Bench Creative Writing—1368
EQ-Bench 4—1120

Frequently asked questions

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

Gemma 4 31B IT is the stronger model overall, scoring 43.2 to 40.8 on the Noometry Index.

Which is cheaper, Claude Opus 4.1 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.1 lists at $15 and $75.

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

Claude Opus 4.1 scores higher on coding benchmarks: 44.3 versus 41.9 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 Opus 4.1 and Gemma 4 31B IT share?

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

Related comparisons

Go deeper