Skip to content
llmmodels

Codex vs GPT-J-6B

GPT-J-6B has open weights, so you can self-host and fine-tune it; Codex is API-only.

SpecCodexGPT-J-6B
ProviderOpenAIEleutherAI
ReleasedJul 7, 2021 (better)May 1, 2021
TypeCode modelCode model
Parameters12B6.1B
Context window——
Max output——
Input price / 1M——
Output price / 1M——
Input modalitiestexttext
Open weightsNoYes
LicenseProprietaryapache-2.0
Reasoning modeNoNo
Tool callingNoNo
API providers——
MMLU—25.7%
GSM8K—3.6%
HellaSwag—66.3%

About Codex

Codex is a proprietary code model from OpenAI, released Jul 7, 2021. It has 12B parameters. Full Codex specs →

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 →

Compare other models

FAQ

Which is better, Codex or GPT-J-6B?

GPT-J-6B has open weights, so you can self-host and fine-tune it; Codex is API-only.

Are Codex and GPT-J-6B open source?

Codex is proprietary; GPT-J-6B is open-weight.