Model comparison

Gemini 2.5 Flash vs Phi-4

Gemini 2.5 Flash is the stronger model overall, scoring 39.3 to 31.2 on the Noometry Index. Phi-4 costs 9.7× less per token, which makes it the better buy when Gemini 2.5 Flash's lead doesn't matter for your workload.

Last verified . 24 shared benchmarks.

Gemini 2.5 Flash Google

39.3

Rank #170 Confirmed

Phi-4 Microsoft

31.2

Rank #279 Confirmed

Summary

  • They share 24 benchmarks with published results for both. Gemini 2.5 Flash scores higher in 9 categories and Phi-4 in 0 categories; 8 gaps are clear of the uncertainty.
  • The widest gap is in math, where Gemini 2.5 Flash leads 39.9 to 20.8.
  • The biggest single-benchmark swing is OTIS Mock AIME 2024-2025: 73.1% for Gemini 2.5 Flash and 13.8% for Phi-4.
  • Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $0.30 / $2.50 for Gemini 2.5 Flash.
  • Gemini 2.5 Flash accepts more context: 1.05M tokens versus 128K.
  • Phi-4 has downloadable open weights; the other is API-only.

Side by side

Gemini 2.5 Flash and Phi-4 specifications
Gemini 2.5 FlashPhi-4
ProviderGoogleMicrosoft
Noometry Index39.331.2
Released2025-04-172024-12-11
WeightsProprietaryOpen
Context window1.05M128K
Max output66K4K
Input $ / M tokens$0.30$0.07
Output $ / M tokens$2.50$0.14
Results tracked5437

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Gemini 2.5 Flash leads

Gemini 2.5 Flash: 35.8 (#220), Phi-4: 34.4 (#239)

Coding benchmarks
BenchmarkGemini 2.5 FlashPhi-4
LMArena Coding14241231
SWE-bench Verified (bash only)28.7%—
Aider Polyglot55.1%—
WeirdML41.9%—
BigCodeBench Instruct—45.5%
LiveBench Coding—30.7%
BigCodeBench Complete—55.4%
ALE-Bench661.88—

Agentic & Tool Use Gemini 2.5 Flash leads

Gemini 2.5 Flash: 30.8 (#74), Phi-4: 22.8 (#128)

Agentic & Tool Use benchmarks
BenchmarkGemini 2.5 FlashPhi-4
Berkeley Function Calling Leaderboard56.2%28.8%
BALROG33.5%11.6%
Terminal-Bench17.1%—
TheAgentCompany41.1%—
Vending-Bench 2548.84—

Reasoning Too close to call

Gemini 2.5 Flash: 18.1 (#286), Phi-4: 17.7 (#291)

Reasoning benchmarks
BenchmarkGemini 2.5 FlashPhi-4
LMArena Hard Prompts14221220
Epoch Capabilities Index143.03130.42
ARC-AGI-22.5%—
SimpleBench41.2%—
Kagi LLM Benchmark56.8%—
ARC-AGI-133.3%—
CritPt1.1%—
Chess Puzzles—1%
EnigmaEval2.7%—
LiveBench Reasoning—47.8%
DTBench76.5%—
LiveBench Data Analysis—45.2%
LMCA27.5%—
ForecastBench60.6—
LiveBench—41.6%

Math Gemini 2.5 Flash leads

Gemini 2.5 Flash: 39.9 (#98), Phi-4: 20.8 (#285)

Math benchmarks
BenchmarkGemini 2.5 FlashPhi-4
OTIS Mock AIME 2024-202573.1%13.8%
LMArena Math14151246
Omni-MATH38.5%—
LiveBench Math—42%
MATH Level 5—64.9%
FrontierMath (Feb 2025 set)4.8%—
FrontierMath Tier 4 (v1)4.2%—

Knowledge Gemini 2.5 Flash leads

Gemini 2.5 Flash: 36.4 (#168), Phi-4: 32.6 (#209)

Knowledge benchmarks
BenchmarkGemini 2.5 FlashPhi-4
Confabulations16.8%29.4%
Vectara Hallucination Rate7.8%3.7%
LMArena Expert14261203
GPQA Diamond—56.1%
Humanity's Last Exam12.1%—
MMLU-Pro63.9%—
GPQA (HELM)39%—
MMLU—84.8%

Multimodal Not comparable

Gemini 2.5 Flash: 41.8 (#32), Phi-4: —

Multimodal benchmarks
BenchmarkGemini 2.5 FlashPhi-4
LMArena Vision1253—
GeoBench76%—
VPCT46.2%—
SpatialViz-Bench36.9%—

Multilingual Gemini 2.5 Flash leads

Gemini 2.5 Flash: 52.3 (#88), Phi-4: 37.2 (#237)

Multilingual benchmarks
BenchmarkGemini 2.5 FlashPhi-4
LMArena Non-English14091197
LMArena Chinese14501212
LMArena French14331224
LMArena German14181222
LMArena Japanese14051158
LMArena Korean13851151
LMArena Russian14151209
LMArena Spanish14211234

Instruction Following Gemini 2.5 Flash leads

Gemini 2.5 Flash: 75.7 (#54), Phi-4: 60.4 (#251)

Instruction Following benchmarks
BenchmarkGemini 2.5 FlashPhi-4
LMArena Instruction Following14051201
LiveBench Instruction Following—58.4%
IFEval89.8%—

Long Context Gemini 2.5 Flash leads

Gemini 2.5 Flash: 47.5 (#17), Phi-4: 36.9 (#226)

Long Context benchmarks
BenchmarkGemini 2.5 FlashPhi-4
LMArena Longer Query14191217
Fiction.LiveBench77.8%—

Writing & Preference Gemini 2.5 Flash leads

Gemini 2.5 Flash: 53.8 (#157), Phi-4: 40.5 (#244)

Writing & Preference benchmarks
BenchmarkGemini 2.5 FlashPhi-4
LMArena Text14171217
LMArena Creative Writing14001182
Short-Story Creative Writing76.5%62.6%
LMArena Multi-Turn14081206
EQ-Bench Creative Writing1137—
WildBench81.7%—
LiveBench Language—25.6%

Frequently asked questions

Is Gemini 2.5 Flash better than Phi-4?

Gemini 2.5 Flash is the stronger model overall, scoring 39.3 to 31.2 on the Noometry Index. Phi-4 costs 9.7× less per token, which makes it the better buy when Gemini 2.5 Flash's lead doesn't matter for your workload.

Which is cheaper, Gemini 2.5 Flash or Phi-4?

Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; Gemini 2.5 Flash lists at $0.30 and $2.50.

Is Gemini 2.5 Flash or Phi-4 better for coding?

Gemini 2.5 Flash scores higher on coding benchmarks: 35.8 versus 34.4 in the Noometry coding category.

Which has the bigger context window?

Gemini 2.5 Flash does, with 1.05M tokens against 128K.

How many benchmarks do Gemini 2.5 Flash and Phi-4 share?

24 benchmarks have published results for both models. Gemini 2.5 Flash has 54 scored results on Noometry and Phi-4 has 37.

Related comparisons

Go deeper