Model comparison
Gemini 2.5 Pro vs GPT-4.1
Head-to-head evidence from 18 shared benchmark results across 7 categories. Overall scores shown here use the public BenchAlign v5 ranking lane.
Public leaderboard positions: Gemini 2.5 Pro #75 (Supported); GPT-4.1 #111 (Supported). Intervals and evidence labels describe ranking uncertainty, not a guarantee for a specific workload.
Evidence parity. Gemini 2.5 Pro and GPT-4.1 share 18 comparable benchmark results. 3 of 8 categories are comparable. 6 results are unique to Gemini 2.5 Pro; 2 to GPT-4.1.
Updated July 24, 2026- Shared results
- 18
- Gemini 2.5 Pro only
- 6
- GPT-4.1 only
- 2
- Comparable categories
- 3 / 8
Pick Gemini 2.5 Pro if you want the stronger benchmark profile. GPT-4.1 only becomes the better choice if knowledge is the priority or you want the cheaper token bill.
Confidence note. This is a partial-evidence comparison with 18 shared benchmark results across 7 evidence categories; 3 of 8 categories currently have scoreable aggregates for both models. Treat the verdict as directional until coverage is more balanced.
Why this result
Gemini 2.5 Pro is clearly ahead on the BenchAlign aggregate, 56.66 to 50.44. The gap is large enough that you do not need to squint at the spreadsheet to see the difference.
Gemini 2.5 Pro's sharpest advantage is in coding, where it averages 63.8 against 54.6. The single biggest benchmark swing on the page is GPQA, 83% to 66.3%. GPT-4.1 does hit back in knowledge, so the answer changes if that is the part of the workload you care about most.
Gemini 2.5 Pro is also the more expensive model on tokens at $1.25 input / $10.00 output per 1M tokens, versus $2.00 input / $8.00 output per 1M tokens for GPT-4.1.
Category breakdown
Exact category averages are shown below. Not measured means BenchLM does not have enough sourced public coverage for that model and category.
| Category | Gemini 2.5 Pro | Δ | GPT-4.1 |
|---|---|---|---|
| Knowledge | Gemini 2.5 Pro27.4 | Margin→ 38.9 | GPT-4.166.3 |
| Coding | Gemini 2.5 Pro63.8 | Margin← 9.2 | GPT-4.154.6 |
| Math | Gemini 2.5 Pro11.6 | Margin← 7.5 | GPT-4.14.1 |
| Inst. Following | Gemini 2.5 ProNot measured | MarginNo overlap | GPT-4.187.4 |
Decisive benchmark drivers
The largest measured benchmark gaps in this matchup, with exact reported values.
More
- Source ↗
GPQA
KnowledgeA 83%B 66.3%Winner: Gemini 2.5 ProΔ 16.7GPQA: Gemini 2.5 Pro scored 83%; GPT-4.1 scored 66.3%. Gemini 2.5 Pro wins this benchmark. - Source ↗
SWE-bench Verified
CodingA 63.8%B 54.6%Winner: Gemini 2.5 ProΔ 9.2SWE-bench Verified: Gemini 2.5 Pro scored 63.8%; GPT-4.1 scored 54.6%. Gemini 2.5 Pro wins this benchmark. - Source ↗
FrontierMath v2 (Tiers 1-3)
MathA 14.138%B 5.517%Winner: Gemini 2.5 ProΔ 8.6FrontierMath v2 (Tiers 1-3): Gemini 2.5 Pro scored 14.138%; GPT-4.1 scored 5.517%. Gemini 2.5 Pro wins this benchmark. - Source ↗
FrontierMath v2 (Tier 4)
MathA 4.167%B 0.000%Winner: Gemini 2.5 ProΔ 4.2FrontierMath v2 (Tier 4): Gemini 2.5 Pro scored 4.167%; GPT-4.1 scored 0.000%. Gemini 2.5 Pro wins this benchmark.
Operational comparison
Runtime and commercial metrics are compared only when both models have a complete sourced value.
| Metric | Gemini 2.5 Pro | GPT-4.1 | Comparison |
|---|---|---|---|
| Input / output priceUSD per 1M tokens | Gemini 2.5 Pro$1.25 input / $10 output | GPT-4.1$2 input / $8 output | GPT-4.1 has the lower combined listed price. |
| Generation speedtokens per second | Gemini 2.5 Pro117 tok/s | GPT-4.1108 tok/s | Gemini 2.5 Pro has the higher measured throughput. |
| First-answer latencyseconds to first token | Gemini 2.5 Pro21.19 s | GPT-4.11.02 s | GPT-4.1 reaches the first token sooner. |
| Context windowmaximum listed tokens | Gemini 2.5 Pro1M | GPT-4.11M | Listed context windows are equal. |
Benchmark Deep Dive
Agentic5 benchmarks
CodingGemini 2.5 Pro wins4 benchmarks
Reasoning2 benchmarks
KnowledgeGPT-4.1 wins9 benchmarks
| Benchmark | Gemini 2.5 Pro | GPT-4.1 | Result |
|---|---|---|---|
| GPQASource | 83% | 66.3% | Gemini 2.5 Pro leads |
| HLESource | 18.8% | — | Not comparable |
| Artificial Analysis Intelligence IndexSource | 25.8% | 19.4% | Gemini 2.5 Pro leads |
| AA-GPQA DiamondSource | 84.4% | 66.6% | Gemini 2.5 Pro leads |
| AA-HLESource | 21.1% | 4.6% | Gemini 2.5 Pro leads |
| AA-Omniscience IndexSource | -14.3% | -36.2% | Gemini 2.5 Pro leads |
| AA-Omniscience AccuracySource | 39.0% | 24.2% | Gemini 2.5 Pro leads |
| AA-Omniscience Hallucination RateSource | 87.4% | 79.6% | GPT-4.1 leads |
| MMLUSource | — | 90.2% | Not comparable |
MathGemini 2.5 Pro wins2 benchmarks
Multimodal2 benchmarks
Frequently Asked Questions (4)
Which is better, Gemini 2.5 Pro or GPT-4.1?
Gemini 2.5 Pro is ahead on BenchLM's BenchAlign leaderboard, 56.66 to 50.44. The biggest single separator in this matchup is GPQA, where the scores are 83% and 66.3%.
Which is better for knowledge tasks, Gemini 2.5 Pro or GPT-4.1?
GPT-4.1 has the edge for knowledge tasks in this comparison, averaging 66.3 versus 27.4. Inside this category, AA-Omniscience Index is the benchmark that creates the most daylight between them.
Which is better for coding, Gemini 2.5 Pro or GPT-4.1?
Gemini 2.5 Pro has the edge for coding in this comparison, averaging 63.8 versus 54.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 Pro or GPT-4.1?
Gemini 2.5 Pro has the edge for math in this comparison, averaging 11.6 versus 4.1. Inside this category, FrontierMath v2 (Tiers 1-3) is the benchmark that creates the most daylight between them.