Model comparison

Phi-4 vs Qwen2.5-Coder-32B

Qwen2.5-Coder-32B is the stronger model overall, scoring 33.4 to 31.2 on the Noometry Index. Phi-4 costs 8.5× less per token, which makes it the better buy when Qwen2.5-Coder-32B's lead doesn't matter for your workload.

Last verified . 23 shared benchmarks.

Phi-4 Microsoft

31.2

Rank #279 Confirmed

Qwen2.5-Coder-32B Alibaba (Qwen)

33.4

Rank #245 Confirmed

Summary

  • They share 23 benchmarks with published results for both. Phi-4 scores higher in 1 category and Qwen2.5-Coder-32B in 7 categories; 5 gaps are clear of the uncertainty.
  • The widest gap is in math, where Qwen2.5-Coder-32B leads 33.3 to 20.8.
  • The biggest single-benchmark swing is LiveBench Coding: 30.7% for Phi-4 and 56.9% for Qwen2.5-Coder-32B.
  • Phi-4 is cheaper at $0.07 / $0.14 per million input/output tokens, against $0.66 / $1 for Qwen2.5-Coder-32B.
  • Phi-4 accepts more context: 128K tokens versus 33K.

Side by side

Phi-4 and Qwen2.5-Coder-32B specifications
Phi-4Qwen2.5-Coder-32B
ProviderMicrosoftAlibaba (Qwen)
Noometry Index31.233.4
Released2024-12-112024-09-18
WeightsOpenOpen
Context window128K33K
Max output4K29K
Input $ / M tokens$0.07$0.66
Output $ / M tokens$0.14$1
Results tracked3731

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

Category by category

Coding Phi-4 leads

Phi-4: 34.4 (#239), Qwen2.5-Coder-32B: 22.6 (#333)

Coding benchmarks
BenchmarkPhi-4Qwen2.5-Coder-32B
BigCodeBench Instruct45.5%49%
LiveBench Coding30.7%56.9%
LMArena Coding12311276
BigCodeBench Complete55.4%58%
SWE-bench Verified (bash only)—9%
Aider Polyglot—16.4%
HumanEval+—87.2%
MBPP+—77%

Agentic & Tool Use Not comparable

Phi-4: 22.8 (#128), Qwen2.5-Coder-32B: —

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

Reasoning Qwen2.5-Coder-32B leads

Phi-4: 17.7 (#291), Qwen2.5-Coder-32B: 21.2 (#225)

Reasoning benchmarks
BenchmarkPhi-4Qwen2.5-Coder-32B
LiveBench Reasoning47.8%42.1%
LMArena Hard Prompts12201251
LiveBench Data Analysis45.2%49.9%
Epoch Capabilities Index130.42119.49
LiveBench41.6%46.2%
Chess Puzzles1%—
HellaSwag—83%
WinoGrande—80.8%

Math Qwen2.5-Coder-32B leads

Phi-4: 20.8 (#285), Qwen2.5-Coder-32B: 33.3 (#204)

Math benchmarks
BenchmarkPhi-4Qwen2.5-Coder-32B
LiveBench Math42%46.6%
LMArena Math12461251
OTIS Mock AIME 2024-202513.8%—
MATH Level 564.9%—
GSM8K—93%

Knowledge Too close to call

Phi-4: 32.6 (#209), Qwen2.5-Coder-32B: 33.4 (#203)

Knowledge benchmarks
BenchmarkPhi-4Qwen2.5-Coder-32B
LMArena Expert12031221
MMLU84.8%79.1%
GPQA Diamond56.1%—
Confabulations29.4%—
Vectara Hallucination Rate3.7%—
ARC (AI2) Challenge—70.5%

Multilingual Too close to call

Phi-4: 37.2 (#237), Qwen2.5-Coder-32B: 37.8 (#235)

Multilingual benchmarks
BenchmarkPhi-4Qwen2.5-Coder-32B
LMArena Non-English11971205
LMArena Chinese12121222
LMArena Russian12091228
LMArena French1224—
LMArena German1222—
LMArena Japanese1158—
LMArena Korean1151—
LMArena Spanish1234—

Instruction Following Too close to call

Phi-4: 60.4 (#251), Qwen2.5-Coder-32B: 61.4 (#245)

Instruction Following benchmarks
BenchmarkPhi-4Qwen2.5-Coder-32B
LiveBench Instruction Following58.4%58.7%
LMArena Instruction Following12011223

Long Context Qwen2.5-Coder-32B leads

Phi-4: 36.9 (#226), Qwen2.5-Coder-32B: 38.0 (#208)

Long Context benchmarks
BenchmarkPhi-4Qwen2.5-Coder-32B
LMArena Longer Query12171251

Writing & Preference Qwen2.5-Coder-32B leads

Phi-4: 40.5 (#244), Qwen2.5-Coder-32B: 41.6 (#240)

Writing & Preference benchmarks
BenchmarkPhi-4Qwen2.5-Coder-32B
LMArena Text12171230
LMArena Creative Writing11821174
LMArena Multi-Turn12061222
LiveBench Language25.6%23.3%
Short-Story Creative Writing62.6%—

Frequently asked questions

Is Phi-4 better than Qwen2.5-Coder-32B?

Qwen2.5-Coder-32B is the stronger model overall, scoring 33.4 to 31.2 on the Noometry Index. Phi-4 costs 8.5× less per token, which makes it the better buy when Qwen2.5-Coder-32B's lead doesn't matter for your workload.

Which is cheaper, Phi-4 or Qwen2.5-Coder-32B?

Phi-4 is cheaper. It lists at $0.07 per million input tokens and $0.14 per million output tokens; Qwen2.5-Coder-32B lists at $0.66 and $1.

Is Phi-4 or Qwen2.5-Coder-32B better for coding?

Phi-4 scores higher on coding benchmarks: 34.4 versus 22.6 in the Noometry coding category.

Which has the bigger context window?

Phi-4 does, with 128K tokens against 33K.

How many benchmarks do Phi-4 and Qwen2.5-Coder-32B share?

23 benchmarks have published results for both models. Phi-4 has 37 scored results on Noometry and Qwen2.5-Coder-32B has 31.

Related comparisons

Go deeper