Gemini 2.5 Flash vs GPT-4.1 mini

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

Gemini 2.5 Flash is clearly ahead on the aggregate, 49 to 35. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.

Gemini 2.5 Flash's sharpest advantage is in mathematics, where it averages 51.9 against 23.1. The single biggest benchmark swing on the page is MMLU, 50 to 87.5. GPT-4.1 mini does hit back in knowledge, so the answer changes if that is the part of the workload you care about most.

GPT-4.1 mini is also the more expensive model on tokens at $0.40 input / $1.60 output per 1M tokens, versus $0.15 input / $0.60 output per 1M tokens for Gemini 2.5 Flash. That is roughly 2.7x on output cost alone.

Quick Verdict

Pick Gemini 2.5 Flash if you want the stronger benchmark profile. GPT-4.1 mini only becomes the better choice if knowledge is the priority.

Knowledge

GPT-4.1 mini

Gemini 2.5 Flash

42.7

GPT-4.1 mini

75.9

50
MMLU
87.5
49
GPQA
64.2
47
SuperGPQA
-
45
OpenBookQA
-
64
MMLU-Pro
-
1
HLE
-

Coding

Gemini 2.5 Flash

Gemini 2.5 Flash

27.7

GPT-4.1 mini

23.6

42
HumanEval
-
23
SWE-bench Verified
23.6
18
LiveCodeBench
-

Mathematics

Gemini 2.5 Flash

Gemini 2.5 Flash

51.9

GPT-4.1 mini

23.1

50
AIME 2023
-
52
AIME 2024
23.1
51
AIME 2025
-
46
HMMT Feb 2023
-
48
HMMT Feb 2024
-
47
HMMT Feb 2025
-
49
BRUMO 2025
-
72
MATH-500
-

Reasoning

Gemini 2.5 Flash
48
SimpleQA
-
46
MuSR
-
75
BBH
-

Instruction Following

GPT-4.1 mini

Gemini 2.5 Flash

79

GPT-4.1 mini

88.5

79
IFEval
88.5

Multilingual

Gemini 2.5 Flash
74
MGSM
-

Frequently Asked Questions

Which is better, Gemini 2.5 Flash or GPT-4.1 mini?

Gemini 2.5 Flash is ahead overall, 49 to 35. The biggest single separator in this matchup is MMLU, where the scores are 50 and 87.5.

Which is better for knowledge tasks, Gemini 2.5 Flash or GPT-4.1 mini?

GPT-4.1 mini has the edge for knowledge tasks in this comparison, averaging 75.9 versus 42.7. Inside this category, MMLU is the benchmark that creates the most daylight between them.

Which is better for coding, Gemini 2.5 Flash or GPT-4.1 mini?

Gemini 2.5 Flash has the edge for coding in this comparison, averaging 27.7 versus 23.6. Inside this category, SWE-bench Verified is the benchmark that creates the most daylight between them.

Which is better for math, Gemini 2.5 Flash or GPT-4.1 mini?

Gemini 2.5 Flash has the edge for math in this comparison, averaging 51.9 versus 23.1. Inside this category, AIME 2024 is the benchmark that creates the most daylight between them.

Which is better for instruction following, Gemini 2.5 Flash or GPT-4.1 mini?

GPT-4.1 mini has the edge for instruction following in this comparison, averaging 88.5 versus 79. Inside this category, IFEval is the benchmark that creates the most daylight between them.

Last updated: March 9, 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.