Side-by-side benchmark comparison across agentic, coding, multimodal, knowledge, reasoning, and math workflows.
Claude 4.1 Opus
62
2/8 categoriesGemma 4 31B
73
Winner · 2/8 categoriesClaude 4.1 Opus· Gemma 4 31B
Pick Gemma 4 31B if you want the stronger benchmark profile. Claude 4.1 Opus only becomes the better choice if reasoning is the priority or you would rather avoid the extra latency and token burn of a reasoning model.
Gemma 4 31B is clearly ahead on the aggregate, 73 to 62. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.
Gemma 4 31B's sharpest advantage is in coding, where it averages 80 against 50.7. The single biggest benchmark swing on the page is LiveCodeBench, 40% to 80%. Claude 4.1 Opus does hit back in reasoning, so the answer changes if that is the part of the workload you care about most.
Gemma 4 31B is the reasoning model in the pair, while Claude 4.1 Opus is not. That usually helps on harder chain-of-thought-heavy tests, but it can also mean more latency and more token spend in real use. Gemma 4 31B gives you the larger context window at 256K, compared with 200K for Claude 4.1 Opus.
BenchLM keeps the benchmark table and the operator tradeoffs on the same page so a better score does not hide a materially slower, pricier, or smaller-context model.
Runtime metrics show N/A when BenchLM does not have a sourced snapshot for that exact model. The scoring rules and freshness policy are documented on the methodology page.
| Benchmark | Claude 4.1 Opus | Gemma 4 31B |
|---|---|---|
| Agentic | ||
| Terminal-Bench 2.0 | 43.3% | — |
| BrowseComp | 62% | — |
| OSWorld-Verified | 57% | — |
| CodingGemma 4 31B wins | ||
| HumanEval | 68% | — |
| SWE-bench Verified | 74.5% | — |
| LiveCodeBench | 40% | 80% |
| SWE-bench Pro | 47% | — |
| Multimodal & GroundedClaude 4.1 Opus wins | ||
| MMMU-Pro | 82% | 76.9% |
| OfficeQA Pro | 79% | — |
| ReasoningClaude 4.1 Opus wins | ||
| MuSR | 72% | — |
| BBH | 81% | 74.4% |
| LongBench v2 | 71% | — |
| MRCRv2 | 71% | 66.4% |
| KnowledgeGemma 4 31B wins | ||
| MMLU | 76% | — |
| GPQA | 76% | 84.3% |
| SuperGPQA | 74% | — |
| MMLU-Pro | 75% | 85.2% |
| HLE | 11% | 26.5% |
| FrontierScience | 68% | — |
| SimpleQA | 74% | — |
| HLE w/o tools | — | 19.5% |
| Instruction Following | ||
| IFEval | 83% | — |
| Multilingual | ||
| MGSM | 85% | — |
| MMLU-ProX | 80% | — |
| Mathematics | ||
| AIME 2023 | 76% | — |
| AIME 2024 | 78% | — |
| AIME 2025 | 77% | — |
| HMMT Feb 2023 | 72% | — |
| HMMT Feb 2024 | 74% | — |
| HMMT Feb 2025 | 73% | — |
| BRUMO 2025 | 75% | — |
| MATH-500 | 81% | — |
Gemma 4 31B is ahead overall, 73 to 62. The biggest single separator in this matchup is LiveCodeBench, where the scores are 40% and 80%.
Gemma 4 31B has the edge for knowledge tasks in this comparison, averaging 61.3 versus 58.9. Inside this category, HLE is the benchmark that creates the most daylight between them.
Gemma 4 31B has the edge for coding in this comparison, averaging 80 versus 50.7. Inside this category, LiveCodeBench is the benchmark that creates the most daylight between them.
Claude 4.1 Opus has the edge for reasoning in this comparison, averaging 71.3 versus 66.4. Inside this category, BBH is the benchmark that creates the most daylight between them.
Claude 4.1 Opus has the edge for multimodal and grounded tasks in this comparison, averaging 80.7 versus 76.9. Inside this category, MMMU-Pro is the benchmark that creates the most daylight between them.
Get notified when new models drop, benchmark scores change, or the leaderboard shifts. One email per week.
Free. No spam. Unsubscribe anytime. We only store derived location metadata for consent routing.