Side-by-side benchmark comparison across agentic, coding, multimodal, knowledge, reasoning, and math workflows.
Gemini 3.1 Pro
87
Winner · 3/8 categoriesGemma 4 31B
73
1/8 categoriesGemini 3.1 Pro· Gemma 4 31B
Pick Gemini 3.1 Pro if you want the stronger benchmark profile. Gemma 4 31B only becomes the better choice if coding is the priority or you want the cheaper token bill.
Gemini 3.1 Pro is clearly ahead on the aggregate, 87 to 73. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.
Gemini 3.1 Pro's sharpest advantage is in reasoning, where it averages 88.3 against 66.4. The single biggest benchmark swing on the page is MRCRv2, 90% to 66.4%. Gemma 4 31B does hit back in coding, so the answer changes if that is the part of the workload you care about most.
Gemini 3.1 Pro is also the more expensive model on tokens at $1.25 input / $5.00 output per 1M tokens, versus $0.00 input / $0.00 output per 1M tokens for Gemma 4 31B. That is roughly Infinityx on output cost alone. Gemma 4 31B is the reasoning model in the pair, while Gemini 3.1 Pro 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. Gemini 3.1 Pro gives you the larger context window at 1M, compared with 256K for Gemma 4 31B.
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 | Gemini 3.1 Pro | Gemma 4 31B |
|---|---|---|
| Agentic | ||
| Terminal-Bench 2.0 | 77% | — |
| BrowseComp | 86% | — |
| OSWorld-Verified | 68% | — |
| Claw-Eval | 50.0% | — |
| CodingGemma 4 31B wins | ||
| HumanEval | 91% | — |
| SWE-bench Verified | 75% | — |
| LiveCodeBench | 71% | 80% |
| SWE-bench Pro | 72% | — |
| SWE-Rebench | 62.3% | — |
| React Native Evals | 78.9% | — |
| Multimodal & GroundedGemini 3.1 Pro wins | ||
| MMMU-Pro | 95% | 76.9% |
| OfficeQA Pro | 95% | — |
| ReasoningGemini 3.1 Pro wins | ||
| MuSR | 93% | — |
| BBH | 92% | 74.4% |
| LongBench v2 | 93% | — |
| MRCRv2 | 90% | 66.4% |
| ARC-AGI-2 | 77.1% | — |
| KnowledgeGemini 3.1 Pro wins | ||
| MMLU | 99% | — |
| GPQA | 97% | 84.3% |
| SuperGPQA | 95% | — |
| MMLU-Pro | 92% | 85.2% |
| HLE | 40% | 26.5% |
| FrontierScience | 88% | — |
| SimpleQA | 95% | — |
| HLE w/o tools | — | 19.5% |
| Instruction Following | ||
| IFEval | 95% | — |
| Multilingual | ||
| MGSM | 96% | — |
| MMLU-ProX | 93% | — |
| Mathematics | ||
| AIME 2023 | 99% | — |
| AIME 2024 | 99% | — |
| AIME 2025 | 98% | — |
| HMMT Feb 2023 | 95% | — |
| HMMT Feb 2024 | 97% | — |
| HMMT Feb 2025 | 96% | — |
| BRUMO 2025 | 96% | — |
| MATH-500 | 97% | — |
Gemini 3.1 Pro is ahead overall, 87 to 73. The biggest single separator in this matchup is MRCRv2, where the scores are 90% and 66.4%.
Gemini 3.1 Pro has the edge for knowledge tasks in this comparison, averaging 80.7 versus 61.3. 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 68.8. Inside this category, LiveCodeBench is the benchmark that creates the most daylight between them.
Gemini 3.1 Pro has the edge for reasoning in this comparison, averaging 88.3 versus 66.4. Inside this category, MRCRv2 is the benchmark that creates the most daylight between them.
Gemini 3.1 Pro has the edge for multimodal and grounded tasks in this comparison, averaging 95 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.