Skip to content
llmmodels

CodeT5-large vs Phi-2

CodeT5-large is made by Salesforce and Phi-2 by Microsoft. See the full spec comparison below.

SpecCodeT5-largePhi-2
ProviderSalesforceMicrosoft
ReleasedJul 5, 2022Dec 12, 2023 (better)
TypeCode modelCode model
Parameters770M2.8B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
Licensebsd-3-clausemit
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index—96.2
MMLU—58.4%
HellaSwag—53.6%

About CodeT5-large

CodeT5-large is an open-weight code model from Salesforce, released Jul 5, 2022. It has 770M parameters. Full CodeT5-large 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, CodeT5-large or Phi-2?

CodeT5-large is made by Salesforce and Phi-2 by Microsoft. See the full spec comparison below.

Are CodeT5-large and Phi-2 open source?

CodeT5-large is open-weight; Phi-2 is open-weight.