Model comparison
Gemini 3.1 Pro Preview vs Phi-4
Gemini 3.1 Pro Preview is the stronger model overall, scoring 56.7 to 31.2 on the Noometry Index. Phi-4 costs 51× less per token, which makes it the better buy when Gemini 3.1 Pro Preview's lead doesn't matter for your workload.
Last verified . 23 shared benchmarks.
Summary
- They share 23 benchmarks with published results for both. Gemini 3.1 Pro Preview scores higher in 9 categories and Phi-4 in 0 categories; 9 gaps are clear of the uncertainty.
- The widest gap is in reasoning, where Gemini 3.1 Pro Preview leads 71.7 to 17.7.
- The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 95.6% for Gemini 3.1 Pro Preview and 13.8% for Phi-4.
- Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $2 / $12 for Gemini 3.1 Pro Preview.
- Gemini 3.1 Pro Preview accepts more context: 1.05M tokens versus 128K.
- Phi-4 has downloadable open weights; the other is API-only.
Side by side
| Gemini 3.1 Pro Preview | Phi-4 | |
|---|---|---|
| Provider | Microsoft | |
| Noometry Index | 56.7 | 31.2 |
| Released | 2026-02-19 | 2024-12-11 |
| Weights | Proprietary | Open |
| Context window | 1.05M | 128K |
| Max output | 66K | 4K |
| Input $ / M tokens | $2 | $0.07 |
| Output $ / M tokens | $12 | $0.14 |
| Results tracked | 71 | 37 |
Sponsored placements are available on pages like this one. Advertise on Noometry
Category by category
Coding Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 42.5 (#99), Phi-4: 34.4 (#239)
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| LMArena Coding | 1484 | 1231 |
| SWE-bench Verified | 75.6% | — |
| DeepSWE | 11.7% | — |
| LMArena WebDev | 1447 | — |
| SciCode | 58.9% | — |
| GSO | 22.6% | — |
| WeirdML | 72.1% | — |
| BigCodeBench Instruct | — | 45.5% |
| LiveBench Coding | — | 30.7% |
| MirrorCode | 8.9% | — |
| BigCodeBench Complete | — | 55.4% |
| ALE-Bench | 1,161 | — |
| AlgoTune | 2.02 | — |
Agentic & Tool Use Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 37.7 (#34), Phi-4: 22.8 (#128)
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| BALROG | 57% | 11.6% |
| Terminal-Bench | 80.2% | — |
| APEX-Agents | 35.3% | — |
| Berkeley Function Calling Leaderboard | — | 28.8% |
| τ²-bench Banking | 26% | — |
| DeepResearch Bench | 47.8% | — |
| PostTrainBench | 22% | — |
| ExploitBench | 26.1% | — |
| GBAEval | 0.8% | — |
| GDP.pdf | 17% | — |
| LMArena Search | 1211 | — |
| METR Time Horizons | 77% | — |
| Vending-Bench 2 | 3,774 | — |
Reasoning Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 71.7 (#12), Phi-4: 17.7 (#291)
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| Chess Puzzles | 55% | 1% |
| LMArena Hard Prompts | 1485 | 1220 |
| Epoch Capabilities Index | 154.77 | 130.42 |
| ARC-AGI-2 | 77.1% | — |
| SimpleBench | 79.6% | — |
| NYT Connections (extended) | 97.4% | — |
| ARC-AGI-1 | 98% | — |
| CritPt | 17.7% | — |
| EnigmaEval | 36.8% | — |
| Thematic Generalization | 79.4% | — |
| EBR-Bench | 14.3% | — |
| LiveBench Reasoning | — | 47.8% |
| Mystery Game Puzzles | 34% | — |
| DTBench | 97.1% | — |
| LiveBench Data Analysis | — | 45.2% |
| LMCA | 53.8% | — |
| ForecastBench | 59 | — |
| LiveBench | — | 41.6% |
Math Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 62.1 (#34), Phi-4: 20.8 (#285)
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| OTIS Mock AIME 2024-2025 | 95.6% | 13.8% |
| LMArena Math | 1485 | 1246 |
| FrontierMath (Tiers 1-3) | 59.6% | — |
| FrontierMath Tier 4 | 26.8% | — |
| MathArena Final-Answer Competitions | 86.5% | — |
| ProofBench | 26% | — |
| LiveBench Math | — | 42% |
| MATH Level 5 | — | 64.9% |
| FrontierMath (Feb 2025 set) | 36.9% | — |
| FrontierMath Tier 4 (v1) | 16.7% | — |
Knowledge Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 71.8 (#3), Phi-4: 32.6 (#209)
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| GPQA Diamond | 94.4% | 56.1% |
| Vectara Hallucination Rate | 10.4% | 3.7% |
| LMArena Expert | 1485 | 1203 |
| Humanity's Last Exam | 46.4% | — |
| SimpleQA Verified | 73.5% | — |
| Confabulations | — | 29.4% |
| MMLU | — | 84.8% |
Multimodal Not comparable
Gemini 3.1 Pro Preview: 37.9 (#69), Phi-4: —
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| LMArena Vision | 1296 | — |
| Blueprint-Bench 2 | 26.5% | — |
| Furniture Assembly | 26.7% | — |
| LMArena Document | 1444 | — |
Multilingual Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 57.0 (#12), Phi-4: 37.2 (#237)
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| LMArena Non-English | 1477 | 1197 |
| LMArena Chinese | 1529 | 1212 |
| LMArena French | 1487 | 1224 |
| LMArena German | 1491 | 1222 |
| LMArena Japanese | 1493 | 1158 |
| LMArena Korean | 1455 | 1151 |
| LMArena Russian | 1498 | 1209 |
| LMArena Spanish | 1479 | 1234 |
Instruction Following Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 77.0 (#32), Phi-4: 60.4 (#251)
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| LMArena Instruction Following | 1466 | 1201 |
| LiveBench Instruction Following | — | 58.4% |
Long Context Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 47.4 (#18), Phi-4: 36.9 (#226)
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| LMArena Longer Query | 1483 | 1217 |
| CL-bench | 20.8% | — |
| CL-bench Life | 16.9% | — |
Writing & Preference Gemini 3.1 Pro Preview leads
Gemini 3.1 Pro Preview: 66.1 (#37), Phi-4: 40.5 (#244)
| Benchmark | Gemini 3.1 Pro Preview | Phi-4 |
|---|---|---|
| LMArena Text | 1481 | 1217 |
| LMArena Creative Writing | 1482 | 1182 |
| LMArena Multi-Turn | 1488 | 1206 |
| Short-Story Creative Writing | — | 62.6% |
| EQ-Bench Creative Writing | 1491 | — |
| EQ-Bench 4 | 1142 | — |
| LiveBench Language | — | 25.6% |
Frequently asked questions
Is Gemini 3.1 Pro Preview better than Phi-4?
Gemini 3.1 Pro Preview is the stronger model overall, scoring 56.7 to 31.2 on the Noometry Index. Phi-4 costs 51× less per token, which makes it the better buy when Gemini 3.1 Pro Preview's lead doesn't matter for your workload.
Which is cheaper, Gemini 3.1 Pro Preview or Phi-4?
Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; Gemini 3.1 Pro Preview lists at $2 and $12.
Is Gemini 3.1 Pro Preview or Phi-4 better for coding?
Gemini 3.1 Pro Preview scores higher on coding benchmarks: 42.5 versus 34.4 in the Noometry coding category.
Which has the bigger context window?
Gemini 3.1 Pro Preview does, with 1.05M tokens against 128K.
How many benchmarks do Gemini 3.1 Pro Preview and Phi-4 share?
23 benchmarks have published results for both models. Gemini 3.1 Pro Preview has 71 scored results on Noometry and Phi-4 has 37.