Skip to content
llmmodels

GPT-J-6B vs Phi-2

GPT-J-6B and Phi-2 are evenly matched on the 2 benchmarks both report.

SpecGPT-J-6BPhi-2
ProviderEleutherAIMicrosoft
ReleasedMay 1, 2021Dec 12, 2023 (better)
TypeCode modelCode model
Parameters6.1B2.8B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
Licenseapache-2.0mit
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index—96.2
MMLU25.7%58.4% (better)
GSM8K3.6%—
HellaSwag66.3% (better)53.6%

About GPT-J-6B

GPT-J-6B is an open-weight code model from EleutherAI, released May 1, 2021. It has 6.1B parameters. Full GPT-J-6B 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, GPT-J-6B or Phi-2?

GPT-J-6B and Phi-2 are evenly matched on the 2 benchmarks both report.

Are GPT-J-6B and Phi-2 open source?

GPT-J-6B is open-weight; Phi-2 is open-weight.