Skip to content
llmmodels

CodeGen2 vs LLaMA-13B

CodeGen2 is made by Salesforce and LLaMA-13B by Meta. See the full spec comparison below.

SpecCodeGen2LLaMA-13B
ProviderSalesforceMeta
ReleasedMay 3, 2023 (better)Feb 27, 2023
TypeCode modelCode model
Parameters16B13B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsYesYes
LicenseOpen (permissive)Open (non-commercial)
Reasoning modeNoNo
Tool callingNoNo
API providers——
Epoch Capabilities Index—85.2
MMLU—47.7%
GSM8K—20.5%
HellaSwag—79.2%

About CodeGen2

CodeGen2 is an open-weight code model from Salesforce, released May 3, 2023. It has 16B parameters. Full CodeGen2 specs →

About LLaMA-13B

LLaMA-13B is an open-weight code model from Meta, released Feb 27, 2023. It has 13B parameters. It scores 85.2 on the Epoch Capabilities Index. Full LLaMA-13B specs →

Compare other models

FAQ

Which is better, CodeGen2 or LLaMA-13B?

CodeGen2 is made by Salesforce and LLaMA-13B by Meta. See the full spec comparison below.

Are CodeGen2 and LLaMA-13B open source?

CodeGen2 is open-weight; LLaMA-13B is open-weight.