Skip to content
llmmodels

Llemma 7B vs Phi-2

Llemma 7B is made by EleutherAI and Phi-2 by Microsoft. See the full spec comparison below.

SpecLlemma 7BPhi-2
ProviderEleutherAIMicrosoft
ReleasedOct 16, 2023Dec 12, 2023 (better)
TypeCode modelCode model
Parameters7B2.8B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
Licensellama2mit
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index—96.2
MMLU—58.4%
HellaSwag—53.6%

About Llemma 7B

Llemma 7B is an open-weight code model from EleutherAI, released Oct 16, 2023. It has 7B parameters. Full Llemma 7B specs →

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 →

Compare other models

FAQ

Which is better, Llemma 7B or Phi-2?

Llemma 7B is made by EleutherAI and Phi-2 by Microsoft. See the full spec comparison below.

Are Llemma 7B and Phi-2 open source?

Llemma 7B is open-weight; Phi-2 is open-weight.