Compare / head-to-head

GPT-4.1vsPhi-4

GPT-4.1 leads 6 of 6 shared benchmarks. GPT-4.1 has the larger context window (1.0M tokens).

Benchmarks from cited public sources; pricing from official pages; status from official provider feeds.

Shared benchmarks
6 – 0
GPT-4.1 leads
Cheaper per token
—
list price, input + output
Larger context
GPT-4.1
1.0M tokens
Providers
2 providers
OpenAI · Microsoft
GPT-4.1
OpenAI · released 2025-04-14
textvision
Context
1.0M
Max out
33K
Input /1M
$2 ↗
Output /1M
$8 ↗
Cached /1M
$0.5
Scores
21 · 10 core
Phi-4
Microsoft · released 2024-12-12
text
Context
16K
Max out
16K
Input /1M
—
Output /1M
—
Cached /1M
—
Scores
17 · 7 core
Quality

Benchmark matrix

BenchmarkGPT-4.1Phi-4ΔEdge
Reported by both · 6
GPQA Diamond66.3% ↗56.1% ↗+10.2 ptGPT-4.1
MMLU90.2% ↗84.8% ↗+5.4 ptGPT-4.1
LMArena Elo1414.8 ↗1216.6 ↗+198.2GPT-4.1
Chess Puzzles (Epoch AI run)6% ↗epoch run1% ↗epoch run+5 ptGPT-4.1
MATH Level 5 (Epoch AI run)83% ↗epoch run64.9% ↗epoch run+18.1 ptGPT-4.1
OTIS Mock AIME 2024-2025 (Epoch AI run)38.3% ↗epoch run13.8% ↗epoch run+24.5 ptGPT-4.1
Only GPT-4.1 reports · 9
SWE-bench Verified54.6% ↗not reported——
AIME 202448.1% ↗not reported——
FrontierMath Tiers 1-3 v2 (Epoch AI run)6% ↗epoch runnot reported——
LMArena Vision (LMArena)1214 ↗not reported——
SimpleBench (SimpleBench)27% ↗not reported——
SimpleQA Verified31.1% ↗epoch runnot reported——
SWE-bench Verified (Epoch AI run)48.5% ↗epoch runnot reported——
Video-MME (long, no subtitles)72% ↗not reported——
WeirdML (Håvard Tveit Ihle)39% ↗not reported——
Only Phi-4 reports · 7
MMLU-Pronot reported70.4% ↗——
HumanEvalnot reported82.6% ↗——
ArenaHardnot reported75.4% ↗——
BALROG (BALROG)not reported11.6% ↗——
HumanEval+not reported82.8% ↗——
IFEvalnot reported63% ↗——
MATHnot reported80.4% ↗——
Scores tagged "epoch" or "matharena" are independent runs, used only where the lab has not published its own; ⚠ marks rows MathArena flags as released after the competition. Higher is better on every row. Δ is GPT-4.1 minus Phi-4 in the benchmark's own unit. "Not reported" means the lab has not published that figure; it is not a zero. ↗ opens the source.
Specs & pricing

Side by side

SpecGPT-4.1Phi-4Edge
Context window1.0M tokens16K tokensGPT-4.1
Max output33K tokens16K tokensGPT-4.1
Input price / 1M$2 ↗——
Output price / 1M$8 ↗——
Cached input / 1M$0.5 ↗——
Input + output / 1M
Lower is cheaper. List prices; batch, tool and regional fees excluded.
$10——
Modalitiestext · visiontextGPT-4.1
Released2025-04-142024-12-12—
Cited benchmark scores2117—
Reliability

Provider status

All providers →
More matchups

GPT-4.1 vs …

Built by Respan
Which one wins on your data?

Public benchmarks are a starting point. Run GPT-4.1 and Phi-4 on your own prompts with Respan evals, or route to either through one gateway key with automatic failover.