Gemma 4 31B vs GPT-5.1

Side-by-side benchmark comparison across agentic, coding, multimodal, knowledge, reasoning, and math workflows.

Agentic
Coding
Multimodal & Grounded
Reasoning
Knowledge
Instruction Following
Multilingual
Mathematics

Gemma 4 31B· GPT-5.1

Quick Verdict

Pick GPT-5.1 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.

GPT-5.1 is clearly ahead on the aggregate, 78 to 73. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

GPT-5.1's sharpest advantage is in multimodal & grounded, where it averages 91.8 against 76.9. The single biggest benchmark swing on the page is LiveCodeBench, 80% to 61%. Gemma 4 31B does hit back in coding, so the answer changes if that is the part of the workload you care about most.

GPT-5.1 is also the more expensive model on tokens at $1.50 input / $6.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 gives you the larger context window at 256K, compared with 200K for GPT-5.1.

Operational tradeoffs

ProviderGoogleOpenAI
PriceFree*$1.50 / $6.00
SpeedN/A111 t/s
TTFTN/A57.47s
Context256K200K

Decision framing

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.

BenchmarkGemma 4 31BGPT-5.1
Agentic
Terminal-Bench 2.078%
BrowseComp79%
OSWorld-Verified71%
CodingGemma 4 31B wins
LiveCodeBench80%61%
HumanEval89%
SWE-bench Verified68%
SWE-bench Pro71%
Multimodal & GroundedGPT-5.1 wins
MMMU-Pro76.9%94%
OfficeQA Pro89%
ReasoningGPT-5.1 wins
BBH74.4%92%
MRCRv266.4%84%
MuSR91%
LongBench v284%
ARC-AGI-217.6%
KnowledgeGPT-5.1 wins
GPQA84.3%95%
MMLU-Pro85.2%83%
HLE26.5%27%
HLE w/o tools19.5%
MMLU97%
SuperGPQA93%
FrontierScience84%
SimpleQA93%
Instruction Following
IFEval89%
Multilingual
MGSM89%
MMLU-ProX87%
Mathematics
AIME 202399%
AIME 202499%
AIME 202598%
HMMT Feb 202395%
HMMT Feb 202497%
HMMT Feb 202596%
BRUMO 202596%
MATH-50094%
Frequently Asked Questions (5)

Which is better, Gemma 4 31B or GPT-5.1?

GPT-5.1 is ahead overall, 78 to 73. The biggest single separator in this matchup is LiveCodeBench, where the scores are 80% and 61%.

Which is better for knowledge tasks, Gemma 4 31B or GPT-5.1?

GPT-5.1 has the edge for knowledge tasks in this comparison, averaging 74.2 versus 61.3. Inside this category, GPQA is the benchmark that creates the most daylight between them.

Which is better for coding, Gemma 4 31B or GPT-5.1?

Gemma 4 31B has the edge for coding in this comparison, averaging 80 versus 66.5. Inside this category, LiveCodeBench is the benchmark that creates the most daylight between them.

Which is better for reasoning, Gemma 4 31B or GPT-5.1?

GPT-5.1 has the edge for reasoning in this comparison, averaging 68.8 versus 66.4. Inside this category, BBH is the benchmark that creates the most daylight between them.

Which is better for multimodal and grounded tasks, Gemma 4 31B or GPT-5.1?

GPT-5.1 has the edge for multimodal and grounded tasks in this comparison, averaging 91.8 versus 76.9. Inside this category, MMMU-Pro is the benchmark that creates the most daylight between them.

Last updated: April 2, 2026

Weekly LLM Benchmark Digest

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.