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.

Claude Opus 4.7 Anthropic

58.3

Rank #19 Confirmed

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

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 and Gemma 4 31B IT specifications
Claude Opus 4.7Gemma 4 31B IT
ProviderAnthropicGoogle
Noometry Index58.343.5
Released2026-04-142026-04-02
WeightsProprietaryOpen
Context window1M262K
Max output128K33K
Input $ / M tokens$5$0.09
Output $ / M tokens$25$0.34
Results tracked6635

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)

Coding benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
LMArena WebDev15581366
SciCode54.5%43.4%
WeirdML76.4%52.3%
LMArena Coding15181459
ALE-Bench1,323925.5
SWE-bench Verified83.5%—
FrontierCode38.5%—
GSO44.1%—
MirrorCode31.1%—

Agentic & Tool Use Not comparable

Claude Opus 4.7: 47.9 (#10), Gemma 4 31B IT: —

Agentic & Tool Use benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
Terminal-Bench80.2%—
APEX-Agents49.2%—
OSWorld 2.018.2%—
τ²-bench Banking40.2%—
PostTrainBench28.6%—
ExploitBench26.5%—
GBAEval43.8%—
GDP.pdf21%—
LMArena Search1233—
Vending-Bench 210,937—

Reasoning Claude Opus 4.7 leads

Claude Opus 4.7: 53.8 (#29), Gemma 4 31B IT: 27.2 (#122)

Reasoning benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
Kagi LLM Benchmark80.7%63.5%
NYT Connections (extended)39%70.6%
CritPt12%1.4%
Chess Puzzles30%5%
Thematic Generalization72.8%53%
LMArena Hard Prompts15061448
DTBench94.7%82.7%
LMCA52.2%39.3%
Epoch Capabilities Index156.25142.74
ARC-AGI-275.8%—
SimpleBench61.7%—
ARC-AGI-193.5%—
EBR-Bench19%—
Mystery Game Puzzles28%—
Surface Evolver Bench—30.6%
ForecastBench60.3—

Math Claude Opus 4.7 leads

Claude Opus 4.7: 66.7 (#26), Gemma 4 31B IT: 43.2 (#81)

Math benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
OTIS Mock AIME 2024-202597.8%73.3%
LMArena Math14991465
FrontierMath (Tiers 1-3)70.2%—
FrontierMath Tier 431.7%—
MathArena Final-Answer Competitions73.6%—
ProofBench54%—
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)

Knowledge benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
GPQA Diamond90.2%75.8%
SimpleQA Verified51.7%10.4%
Vectara Hallucination Rate12%7.4%
LMArena Expert15211465
Humanity's Last Exam36.2%—

Multimodal Too close to call

Claude Opus 4.7: 41.2 (#38), Gemma 4 31B IT: 41.6 (#34)

Multimodal benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
LMArena Vision13161277
LMArena Document14951425
Blueprint-Bench 224.5%—
Furniture Assembly33.3%—

Multilingual Claude Opus 4.7 leads

Claude Opus 4.7: 57.3 (#10), Gemma 4 31B IT: 53.8 (#57)

Multilingual benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
LMArena Non-English14801431
LMArena Chinese15311476
LMArena French15031435
LMArena Russian14941460
LMArena Spanish14951444
LMArena German1495—
LMArena Japanese1472—
LMArena Korean1464—

Instruction Following Claude Opus 4.7 leads

Claude Opus 4.7: 78.4 (#10), Gemma 4 31B IT: 75.5 (#61)

Instruction Following benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
LMArena Instruction Following14981433

Long Context Claude Opus 4.7 leads

Claude Opus 4.7: 46.2 (#25), Gemma 4 31B IT: 44.2 (#71)

Long Context benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
LMArena Longer Query15051446

Writing & Preference Claude Opus 4.7 leads

Claude Opus 4.7: 75.1 (#8), Gemma 4 31B IT: 60.5 (#96)

Writing & Preference benchmarks
BenchmarkClaude Opus 4.7Gemma 4 31B IT
LMArena Text14901443
LMArena Creative Writing14861415
EQ-Bench Creative Writing19141368
EQ-Bench 413111120
LMArena Multi-Turn15051452

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.

Related comparisons

Go deeper