Model comparison

Phi-4 vs Qwen2.5 7B Instruct

Phi-4 is the stronger model overall, scoring 31.2 to 29.0 on the Noometry Index.

Last verified . 8 shared benchmarks.

Phi-4 Microsoft

31.2

Rank #279 Confirmed

Qwen2.5 7B Instruct Alibaba (Qwen)

29.0

Rank #320 Confirmed

Summary

  • They share 8 benchmarks with published results for both. Phi-4 scores higher in 3 categories and Qwen2.5 7B Instruct in 4 categories; 7 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Phi-4 leads 32.6 to 17.0.
  • The biggest single-benchmark swing is GPQA Diamond: 56.1% for Phi-4 and 35.5% for Qwen2.5 7B Instruct.
  • Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $0.17 / $0.70 for Qwen2.5 7B Instruct.
  • Qwen2.5 7B Instruct accepts more context: 131K tokens versus 128K.

Side by side

Phi-4 and Qwen2.5 7B Instruct specifications
Phi-4Qwen2.5 7B Instruct
ProviderMicrosoftAlibaba (Qwen)
Noometry Index31.229.0
Released2024-12-112024-09
WeightsOpenOpen
Context window128K131K
Max output4K8K
Input $ / M tokens$0.07$0.17
Output $ / M tokens$0.14$0.70
Results tracked3715

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

Category by category

Coding Qwen2.5 7B Instruct leads

Phi-4: 34.4 (#239), Qwen2.5 7B Instruct: 36.5 (#208)

Coding benchmarks
BenchmarkPhi-4Qwen2.5 7B Instruct
BigCodeBench Instruct45.5%37.6%
BigCodeBench Complete55.4%46.1%
LiveBench Coding30.7%—
LMArena Coding1231—

Agentic & Tool Use Qwen2.5 7B Instruct leads

Phi-4: 22.8 (#128), Qwen2.5 7B Instruct: 23.8 (#124)

Agentic & Tool Use benchmarks
BenchmarkPhi-4Qwen2.5 7B Instruct
BALROG11.6%7.8%
Berkeley Function Calling Leaderboard28.8%—

Reasoning Phi-4 leads

Phi-4: 17.7 (#291), Qwen2.5 7B Instruct: 14.8 (#322)

Reasoning benchmarks
BenchmarkPhi-4Qwen2.5 7B Instruct
Chess Puzzles1%0%
Epoch Capabilities Index130.42118.51
LiveBench Reasoning47.8%—
LMArena Hard Prompts1220—
DTBench—47.7%
LiveBench Data Analysis45.2%—
LMCA—6.4%
LiveBench41.6%—

Math Phi-4 leads

Phi-4: 20.8 (#285), Qwen2.5 7B Instruct: 12.6 (#306)

Math benchmarks
BenchmarkPhi-4Qwen2.5 7B Instruct
OTIS Mock AIME 2024-202513.8%2.5%
Omni-MATH—29.4%
LiveBench Math42%—
LMArena Math1246—
MATH Level 564.9%—

Knowledge Phi-4 leads

Phi-4: 32.6 (#209), Qwen2.5 7B Instruct: 17.0 (#286)

Knowledge benchmarks
BenchmarkPhi-4Qwen2.5 7B Instruct
GPQA Diamond56.1%35.5%
MMLU84.8%72.9%
MMLU-Pro—53.9%
Confabulations29.4%—
Vectara Hallucination Rate3.7%—
GPQA (HELM)—34.1%
LMArena Expert1203—

Multilingual Not comparable

Phi-4: 37.2 (#237), Qwen2.5 7B Instruct: —

Multilingual benchmarks
BenchmarkPhi-4Qwen2.5 7B Instruct
LMArena Non-English1197—
LMArena Chinese1212—
LMArena French1224—
LMArena German1222—
LMArena Japanese1158—
LMArena Korean1151—
LMArena Russian1209—
LMArena Spanish1234—

Instruction Following Qwen2.5 7B Instruct leads

Phi-4: 60.4 (#251), Qwen2.5 7B Instruct: 63.2 (#231)

Instruction Following benchmarks
BenchmarkPhi-4Qwen2.5 7B Instruct
LiveBench Instruction Following58.4%—
IFEval—74.1%
LMArena Instruction Following1201—

Long Context Not comparable

Phi-4: 36.9 (#226), Qwen2.5 7B Instruct: —

Long Context benchmarks
BenchmarkPhi-4Qwen2.5 7B Instruct
LMArena Longer Query1217—

Writing & Preference Qwen2.5 7B Instruct leads

Phi-4: 40.5 (#244), Qwen2.5 7B Instruct: 48.8 (#195)

Writing & Preference benchmarks
BenchmarkPhi-4Qwen2.5 7B Instruct
LMArena Text1217—
LMArena Creative Writing1182—
Short-Story Creative Writing62.6%—
WildBench—73.1%
LMArena Multi-Turn1206—
LiveBench Language25.6%—

Frequently asked questions

Is Phi-4 better than Qwen2.5 7B Instruct?

Phi-4 is the stronger model overall, scoring 31.2 to 29.0 on the Noometry Index.

Which is cheaper, Phi-4 or Qwen2.5 7B Instruct?

Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; Qwen2.5 7B Instruct lists at $0.17 and $0.70.

Is Phi-4 or Qwen2.5 7B Instruct better for coding?

Qwen2.5 7B Instruct scores higher on coding benchmarks: 36.5 versus 34.4 in the Noometry coding category.

Which has the bigger context window?

Qwen2.5 7B Instruct does, with 131K tokens against 128K.

How many benchmarks do Phi-4 and Qwen2.5 7B Instruct share?

8 benchmarks have published results for both models. Phi-4 has 37 scored results on Noometry and Qwen2.5 7B Instruct has 15.

Related comparisons

Go deeper