Model comparison

Phi-4 vs Qwen2.5 7B Instruct

Phi-4 is the stronger model overall, scoring 30.9 to 28.6 on the Noometry Index.

Last verified . 8 shared benchmarks.

Phi-4 Microsoft

30.9

Rank #269 Confirmed

Qwen2.5 7B Instruct Alibaba (Qwen)

28.6

Rank #314 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; 6 gaps are clear of the uncertainty.
  • The widest gap is in knowledge, where Phi-4 leads 32.5 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 Index30.928.6
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: 33.8 (#237), Qwen2.5 7B Instruct: 35.9 (#204)

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 Too close to call

Phi-4: 22.6 (#120), Qwen2.5 7B Instruct: 23.5 (#117)

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.0 (#287), Qwen2.5 7B Instruct: 14.3 (#317)

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

Math Phi-4 leads

Phi-4: 19.6 (#279), Qwen2.5 7B Instruct: 11.8 (#300)

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.5 (#204), Qwen2.5 7B Instruct: 17.0 (#281)

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.4 (#232), Qwen2.5 7B Instruct: —

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

Instruction Following Qwen2.5 7B Instruct leads

Phi-4: 60.6 (#246), Qwen2.5 7B Instruct: 63.4 (#226)

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 (#221), 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.7 (#239), Qwen2.5 7B Instruct: 48.8 (#194)

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 30.9 to 28.6 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: 35.9 versus 33.8 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