Model comparison

Claude Opus 4.8 vs Gemma 4 31B IT

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

Last verified . 33 shared benchmarks.

Claude Opus 4.8 Anthropic

60.7

Rank #13 Confirmed

Gemma 4 31B IT Google

43.5

Rank #90 Confirmed

Summary

  • They share 33 benchmarks with published results for both. Claude Opus 4.8 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 4.8 leads 64.7 to 27.2.
  • The biggest single-benchmark swing is Surface Evolver Bench: 87.5% for Claude Opus 4.8 and 30.6% 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.8.
  • Claude Opus 4.8 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.8 and Gemma 4 31B IT specifications
Claude Opus 4.8Gemma 4 31B IT
ProviderAnthropicGoogle
Noometry Index60.743.5
Released2026-05-282026-04-02
WeightsProprietaryOpen
Context window1M262K
Max output128K33K
Input $ / M tokens$5$0.09
Output $ / M tokens$25$0.34
Results tracked6535

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

Category by category

Coding Claude Opus 4.8 leads

Claude Opus 4.8: 59.9 (#12), Gemma 4 31B IT: 42.3 (#108)

Coding benchmarks
BenchmarkClaude Opus 4.8Gemma 4 31B IT
LMArena WebDev15561366
SciCode53.5%43.4%
WeirdML82.9%52.3%
LMArena Coding14901459
ALE-Bench1,564925.5
DeepSWE59%—
FrontierCode46.5%—
GSO47.1%—

Agentic & Tool Use Not comparable

Claude Opus 4.8: 47.6 (#11), Gemma 4 31B IT: —

Agentic & Tool Use benchmarks
BenchmarkClaude Opus 4.8Gemma 4 31B IT
APEX-Agents48.9%—
OSWorld 2.020.6%—
Remote Labor Index8.3%—
τ²-bench Banking39.7%—
DeepResearch Bench50.2%—
PostTrainBench33.8%—
GBAEval70.9%—
GDP.pdf24%—
LMArena Search1204—
Vending-Bench 25,787—

Reasoning Claude Opus 4.8 leads

Claude Opus 4.8: 64.7 (#16), Gemma 4 31B IT: 27.2 (#122)

Reasoning benchmarks
BenchmarkClaude Opus 4.8Gemma 4 31B IT
Kagi LLM Benchmark88.8%63.5%
NYT Connections (extended)91.1%70.6%
CritPt20.9%1.4%
Chess Puzzles34%5%
LMArena Hard Prompts14821448
DTBench94.9%82.7%
LMCA57.5%39.3%
Surface Evolver Bench87.5%30.6%
Epoch Capabilities Index158.21142.74
ARC-AGI-272.1%—
SimpleBench64.8%—
ARC-AGI-192.5%—
EnigmaEval23.5%—
Thematic Generalization—53%
EBR-Bench28.6%—
Mystery Game Puzzles36%—
Bench to the Future 30.14—
ForecastBench59.9—

Math Claude Opus 4.8 leads

Claude Opus 4.8: 78.4 (#13), Gemma 4 31B IT: 43.2 (#81)

Knowledge Claude Opus 4.8 leads

Claude Opus 4.8: 61.3 (#29), Gemma 4 31B IT: 37.9 (#151)

Knowledge benchmarks
BenchmarkClaude Opus 4.8Gemma 4 31B IT
GPQA Diamond91%75.8%
SimpleQA Verified53%10.4%
LMArena Expert15021465
Vectara Hallucination Rate—7.4%

Multimodal Claude Opus 4.8 leads

Claude Opus 4.8: 42.9 (#26), Gemma 4 31B IT: 41.6 (#34)

Multimodal benchmarks
BenchmarkClaude Opus 4.8Gemma 4 31B IT
LMArena Vision12941277
LMArena Document14751425
Blueprint-Bench 214.5%—
Furniture Assembly42.5%—

Multilingual Claude Opus 4.8 leads

Claude Opus 4.8: 55.2 (#33), Gemma 4 31B IT: 53.8 (#57)

Multilingual benchmarks
BenchmarkClaude Opus 4.8Gemma 4 31B IT
LMArena Non-English14501431
LMArena Chinese15071476
LMArena French14811435
LMArena Russian14741460
LMArena Spanish14661444
LMArena German1472—
LMArena Japanese1440—
LMArena Korean1432—

Instruction Following Claude Opus 4.8 leads

Claude Opus 4.8: 77.4 (#24), Gemma 4 31B IT: 75.5 (#61)

Instruction Following benchmarks
BenchmarkClaude Opus 4.8Gemma 4 31B IT
LMArena Instruction Following14761433

Long Context Claude Opus 4.8 leads

Claude Opus 4.8: 45.4 (#35), Gemma 4 31B IT: 44.2 (#71)

Long Context benchmarks
BenchmarkClaude Opus 4.8Gemma 4 31B IT
LMArena Longer Query14831446

Writing & Preference Claude Opus 4.8 leads

Claude Opus 4.8: 72.0 (#16), Gemma 4 31B IT: 60.5 (#96)

Writing & Preference benchmarks
BenchmarkClaude Opus 4.8Gemma 4 31B IT
LMArena Text14611443
LMArena Creative Writing14541415
EQ-Bench Creative Writing18401368
EQ-Bench 412811120
LMArena Multi-Turn14761452

Frequently asked questions

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

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

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

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

Claude Opus 4.8 scores higher on coding benchmarks: 59.9 versus 42.3 in the Noometry coding category.

Which has the bigger context window?

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

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

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

Related comparisons

Go deeper