Skip to content
llmmodels

Phi-2 vs Stable Code 3B

Phi-2 is made by Microsoft and Stable Code 3B by Stability AI. See the full spec comparison below.

SpecPhi-2Stable Code 3B
ProviderMicrosoftStability AI
ReleasedDec 12, 2023Jan 9, 2024 (better)
TypeCode modelCode model
Parameters2.8B2.8B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
Licensemitother
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index96.2—
MMLU58.4%—
HellaSwag53.6%—

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 Stable Code 3B

Stable Code 3B is an open-weight code model from Stability AI, released Jan 9, 2024. It has 2.8B parameters. Full Stable Code 3B specs →

Compare other models

FAQ

Which is better, Phi-2 or Stable Code 3B?

Phi-2 is made by Microsoft and Stable Code 3B by Stability AI. See the full spec comparison below.

Are Phi-2 and Stable Code 3B open source?

Phi-2 is open-weight; Stable Code 3B is open-weight.