Side-by-side benchmark comparison across agentic, coding, multimodal, knowledge, reasoning, and math workflows.
Gemini 2.5 Flash
50
0/8 categoriesGemma 4 31B
73
Winner · 4/8 categoriesGemini 2.5 Flash· Gemma 4 31B
Pick Gemma 4 31B if you want the stronger benchmark profile. Gemini 2.5 Flash only becomes the better choice if you need the larger 1M context window 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 50. 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 21.8. The single biggest benchmark swing on the page is LiveCodeBench, 18% to 80%.
Gemini 2.5 Flash is also the more expensive model on tokens at $0.15 input / $0.60 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 2.5 Flash 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 2.5 Flash 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 2.5 Flash | Gemma 4 31B |
|---|---|---|
| Agentic | ||
| Terminal-Bench 2.0 | 44% | — |
| BrowseComp | 58% | — |
| OSWorld-Verified | 41% | — |
| Claw-Eval | 27.9% | — |
| CodingGemma 4 31B wins | ||
| HumanEval | 42% | — |
| SWE-bench Verified | 23% | — |
| LiveCodeBench | 18% | 80% |
| SWE-bench Pro | 25% | — |
| Multimodal & GroundedGemma 4 31B wins | ||
| MMMU-Pro | 69% | 76.9% |
| OfficeQA Pro | 66% | — |
| ReasoningGemma 4 31B wins | ||
| MuSR | 46% | — |
| BBH | 75% | 74.4% |
| LongBench v2 | 68% | — |
| MRCRv2 | 68% | 66.4% |
| KnowledgeGemma 4 31B wins | ||
| GPQA | 49% | 84.3% |
| SuperGPQA | 47% | — |
| FrontierScience | 49% | — |
| SimpleQA | 48% | — |
| MMLU-Pro | — | 85.2% |
| HLE | — | 26.5% |
| HLE w/o tools | — | 19.5% |
| Instruction Following | ||
| IFEval | 79% | — |
| Multilingual | ||
| MGSM | 74% | — |
| MMLU-ProX | 69% | — |
| Mathematics | ||
| AIME 2023 | 50% | — |
| AIME 2024 | 52% | — |
| AIME 2025 | 51% | — |
| HMMT Feb 2023 | 46% | — |
| HMMT Feb 2024 | 48% | — |
| HMMT Feb 2025 | 47% | — |
| BRUMO 2025 | 49% | — |
| MATH-500 | 72% | — |
Gemma 4 31B is ahead overall, 73 to 50. The biggest single separator in this matchup is LiveCodeBench, where the scores are 18% and 80%.
Gemma 4 31B has the edge for knowledge tasks in this comparison, averaging 61.3 versus 48.3. Inside this category, GPQA is the benchmark that creates the most daylight between them.
Gemma 4 31B has the edge for coding in this comparison, averaging 80 versus 21.8. Inside this category, LiveCodeBench is the benchmark that creates the most daylight between them.
Gemma 4 31B has the edge for reasoning in this comparison, averaging 66.4 versus 62.1. Inside this category, MRCRv2 is the benchmark that creates the most daylight between them.
Gemma 4 31B has the edge for multimodal and grounded tasks in this comparison, averaging 76.9 versus 67.7. 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.