Model comparison
GPT-4.1 nano vs Phi-4
Phi-4 is the stronger model overall, scoring 31.2 to 27.9 on the Noometry Index.
Last verified . 19 shared benchmarks.
Summary
- They share 19 benchmarks with published results for both. GPT-4.1 nano scores higher in 5 categories and Phi-4 in 4 categories; 8 gaps are clear of the uncertainty.
- The widest gap is in long context, where Phi-4 leads 36.9 to 23.7.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 28.9% for GPT-4.1 nano and 13.8% for Phi-4.
- Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $0.10 / $0.40 for GPT-4.1 nano.
- GPT-4.1 nano accepts more context: 1.05M tokens versus 128K.
- Phi-4 has downloadable open weights; the other is API-only.
Side by side
| GPT-4.1 nano | Phi-4 | |
|---|---|---|
| Provider | OpenAI | Microsoft |
| Noometry Index | 27.9 | 31.2 |
| Released | 2025-04-14 | 2024-12-11 |
| Weights | Proprietary | Open |
| Context window | 1.05M | 128K |
| Max output | 33K | 4K |
| Input $ / M tokens | $0.10 | $0.07 |
| Output $ / M tokens | $0.40 | $0.14 |
| Results tracked | 38 | 37 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Phi-4 leads
GPT-4.1 nano: 24.1 (#330), Phi-4: 34.4 (#239)
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| LMArena Coding | 1306 | 1231 |
| Aider Polyglot | 8.9% | — |
| SciCode | 25.9% | — |
| WeirdML | 19% | — |
| BigCodeBench Instruct | — | 45.5% |
| LiveBench Coding | — | 30.7% |
| BigCodeBench Complete | — | 55.4% |
Agentic & Tool Use GPT-4.1 nano leads
GPT-4.1 nano: 26.5 (#104), Phi-4: 22.8 (#128)
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| Berkeley Function Calling Leaderboard | 33% | 28.8% |
| BALROG | — | 11.6% |
Reasoning Phi-4 leads
GPT-4.1 nano: 8.5 (#349), Phi-4: 17.7 (#291)
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| LMArena Hard Prompts | 1286 | 1220 |
| Epoch Capabilities Index | 129.62 | 130.42 |
| ARC-AGI-2 | 0% | — |
| Kagi LLM Benchmark | 33.3% | — |
| ARC-AGI-1 | 0% | — |
| CritPt | 0% | — |
| Chess Puzzles | — | 1% |
| LiveBench Reasoning | — | 47.8% |
| DTBench | 52.5% | — |
| LiveBench Data Analysis | — | 45.2% |
| LMCA | 5.5% | — |
| LiveBench | — | 41.6% |
Math GPT-4.1 nano leads
GPT-4.1 nano: 26.9 (#252), Phi-4: 20.8 (#285)
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 28.9% | 13.8% |
| LMArena Math | 1274 | 1246 |
| MATH Level 5 | 70% | 64.9% |
| Omni-MATH | 36.7% | — |
| LiveBench Math | — | 42% |
| FrontierMath (Feb 2025 set) | 1% | — |
Knowledge Phi-4 leads
GPT-4.1 nano: 21.8 (#273), Phi-4: 32.6 (#209)
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| GPQA Diamond | 48.9% | 56.1% |
| LMArena Expert | 1272 | 1203 |
| SimpleQA Verified | 6% | — |
| MMLU-Pro | 55% | — |
| Confabulations | — | 29.4% |
| Vectara Hallucination Rate | — | 3.7% |
| GPQA (HELM) | 50.7% | — |
| MMLU | — | 84.8% |
Multimodal Not comparable
GPT-4.1 nano: 29.2 (#113), Phi-4: —
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| LMArena Vision | 1063 | — |
Multilingual GPT-4.1 nano leads
GPT-4.1 nano: 41.6 (#205), Phi-4: 37.2 (#237)
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| LMArena Non-English | 1260 | 1197 |
| LMArena Chinese | 1270 | 1212 |
| LMArena German | 1288 | 1222 |
| LMArena Japanese | 1198 | 1158 |
| LMArena Russian | 1261 | 1209 |
| LMArena French | — | 1224 |
| LMArena Korean | — | 1151 |
| LMArena Spanish | — | 1234 |
Instruction Following GPT-4.1 nano leads
GPT-4.1 nano: 67.8 (#193), Phi-4: 60.4 (#251)
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| LMArena Instruction Following | 1267 | 1201 |
| LiveBench Instruction Following | — | 58.4% |
| IFEval | 84.3% | — |
Long Context Phi-4 leads
GPT-4.1 nano: 23.7 (#296), Phi-4: 36.9 (#226)
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| LMArena Longer Query | 1283 | 1217 |
| Fiction.LiveBench | 25% | — |
Writing & Preference Too close to call
GPT-4.1 nano: 40.5 (#243), Phi-4: 40.5 (#244)
| Benchmark | GPT-4.1 nano | Phi-4 |
|---|---|---|
| LMArena Text | 1285 | 1217 |
| LMArena Creative Writing | 1260 | 1182 |
| LMArena Multi-Turn | 1277 | 1206 |
| Short-Story Creative Writing | — | 62.6% |
| EQ-Bench Creative Writing | 946 | — |
| WildBench | 81.2% | — |
| LiveBench Language | — | 25.6% |
Frequently asked questions
Is GPT-4.1 nano better than Phi-4?
Phi-4 is the stronger model overall, scoring 31.2 to 27.9 on the Noometry Index.
Which is cheaper, GPT-4.1 nano or Phi-4?
Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; GPT-4.1 nano lists at $0.10 and $0.40.
Is GPT-4.1 nano or Phi-4 better for coding?
Phi-4 scores higher on coding benchmarks: 34.4 versus 24.1 in the Noometry coding category.
Which has the bigger context window?
GPT-4.1 nano does, with 1.05M tokens against 128K.
How many benchmarks do GPT-4.1 nano and Phi-4 share?
19 benchmarks have published results for both models. GPT-4.1 nano has 38 scored results on Noometry and Phi-4 has 37.