Skip to content
llmmodels

Phi-2 vs Qwen2.5-Coder (1.5B)

Phi-2 wins 2 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (96.2 vs 89.1).

SpecPhi-2Qwen2.5-Coder (1.5B)
ProviderMicrosoftAlibaba (Qwen)
ReleasedDec 12, 2023Sep 18, 2024 (better)
TypeCode modelCode model
Parameters2.8B1.5B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
Licensemitapache-2.0
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index96.2 (better)89.1
MMLU58.4% (better)53.6%
GSM8K—65.8%
HellaSwag53.6%61.8% (better)

About Phi-2

Phi-2 is an open-weight code model from Microsoft, released Dec 12, 2023. It has 2.8B parameters. It scores 96.2 on the Epoch Capabilities Index. Full Phi-2 specs →

About Qwen2.5-Coder (1.5B)

Qwen2.5-Coder (1.5B) is an open-weight code model from Alibaba (Qwen), released Sep 18, 2024. It has 1.5B parameters. It scores 89.1 on the Epoch Capabilities Index. Full Qwen2.5-Coder (1.5B) specs →

Compare other models

FAQ

Which is better, Phi-2 or Qwen2.5-Coder (1.5B)?

Phi-2 wins 2 of 3 benchmarks both models report and has a higher Epoch Capabilities Index (96.2 vs 89.1).

Are Phi-2 and Qwen2.5-Coder (1.5B) open source?

Phi-2 is open-weight; Qwen2.5-Coder (1.5B) is open-weight.