Gemini 2.5 Flash vs GPT-4.1

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

Gemini 2.5 Flash is clearly ahead on the aggregate, 49 to 43. 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 26.4. The single biggest benchmark swing on the page is MMLU, 50 to 90.2. GPT-4.1 does hit back in knowledge, so the answer changes if that is the part of the workload you care about most.

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

Quick Verdict

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

Knowledge

GPT-4.1

Gemini 2.5 Flash

42.7

GPT-4.1

78.3

50
MMLU
90.2
49
GPQA
66.3
47
SuperGPQA
-
45
OpenBookQA
-
64
MMLU-Pro
-
1
HLE
-

Coding

GPT-4.1

Gemini 2.5 Flash

27.7

GPT-4.1

54.6

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

Mathematics

Gemini 2.5 Flash

Gemini 2.5 Flash

51.9

GPT-4.1

26.4

50
AIME 2023
-
52
AIME 2024
26.4
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

Gemini 2.5 Flash

79

GPT-4.1

87.4

79
IFEval
87.4

Multilingual

Gemini 2.5 Flash
74
MGSM
-

Frequently Asked Questions

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

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

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

GPT-4.1 has the edge for knowledge tasks in this comparison, averaging 78.3 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?

GPT-4.1 has the edge for coding in this comparison, averaging 54.6 versus 27.7. 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?

Gemini 2.5 Flash has the edge for math in this comparison, averaging 51.9 versus 26.4. 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?

GPT-4.1 has the edge for instruction following in this comparison, averaging 87.4 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.