Side-by-side benchmark comparison across agentic, coding, multimodal, knowledge, reasoning, and math workflows.
Gemma 4 31B
73
Winner · 4/8 categoriesGPT-OSS 20B
36
0/8 categoriesGemma 4 31B· GPT-OSS 20B
Pick Gemma 4 31B if you want the stronger benchmark profile. GPT-OSS 20B only becomes the better choice if 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 36. 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 14.4. The single biggest benchmark swing on the page is LiveCodeBench, 80% to 11%.
Gemma 4 31B is the reasoning model in the pair, while GPT-OSS 20B 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 128K for GPT-OSS 20B.
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 | Gemma 4 31B | GPT-OSS 20B |
|---|---|---|
| Agentic | ||
| Terminal-Bench 2.0 | — | 35% |
| BrowseComp | — | 42% |
| OSWorld-Verified | — | 31% |
| CodingGemma 4 31B wins | ||
| LiveCodeBench | 80% | 11% |
| SWE-bench Verified | — | 14% |
| SWE-bench Pro | — | 18% |
| React Native Evals | — | 64.3% |
| Multimodal & GroundedGemma 4 31B wins | ||
| MMMU-Pro | 76.9% | 31% |
| OfficeQA Pro | — | 42% |
| ReasoningGemma 4 31B wins | ||
| BBH | 74.4% | 62% |
| MRCRv2 | 66.4% | 48% |
| MuSR | — | 27% |
| LongBench v2 | — | 48% |
| KnowledgeGemma 4 31B wins | ||
| GPQA | 84.3% | 30% |
| MMLU-Pro | 85.2% | — |
| HLE | 26.5% | — |
| HLE w/o tools | 19.5% | — |
| MMLU | — | 85.3% |
| SuperGPQA | — | 28% |
| FrontierScience | — | 34% |
| SimpleQA | — | 29% |
| Instruction Following | ||
| IFEval | — | 67% |
| Multilingual | ||
| MGSM | — | 61% |
| MMLU-ProX | — | 59% |
| Mathematics | ||
| AIME 2023 | — | 31% |
| AIME 2024 | — | 33% |
| AIME 2025 | — | 32% |
| HMMT Feb 2025 | — | 28% |
| BRUMO 2025 | — | 30% |
| MATH-500 | — | 59% |
Gemma 4 31B is ahead overall, 73 to 36. The biggest single separator in this matchup is LiveCodeBench, where the scores are 80% and 11%.
Gemma 4 31B has the edge for knowledge tasks in this comparison, averaging 61.3 versus 30.6. 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 14.4. 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 42.4. 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 36. 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.