Skip to content
llmmodels
Code modelOpen weights

GPT-J-6B

by EleutherAI · May 1, 2021

GPT-J-6B is an open-weight code model from EleutherAI, released May 1, 2021. It has 6.1B parameters.

Provider
EleutherAI
Released
May 1, 2021
Type
Code model
Parameters
6.1B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
apache-2.0
Knowledge cutoff
—
Status
Open weights
Training compute
1.5e+22 FLOP
Training data
400B tokens/words
HF downloads (30d)
64K

About GPT-J-6B

We have released GPT-J-6B, 6B JAX-based (Mesh) Transformer LM (Github). GPT-J-6B performs nearly on par with 6.7B GPT-3 (or Curie) on various zero-shot down-streaming tasks. You can try out this Colab notebook or free web demo. This library also serves as an example of model parallelism with xmap on JAX..

GPT-J-6B benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

How to run GPT-J-6B

GPT-J-6B is an open-weight model published on Hugging Face as EleutherAI/gpt-j-6b. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 6.1B parameters it needs roughly 4 GB of memory at 4-bit quantization.

GPT-J-6B vs alternatives

Alternatives to GPT-J-6B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
DeepSeek Coder 6.7BopenDeepSeekNov 20236.7B———67.5
Code Llama-7BopenMetaAug 20236.7B————
Phi-2openMicrosoftDec 20232.8B———96.2
Qwen2.5-Coder (7B)openAlibaba (Qwen)Sep 20247.6B———107.4
Code Llama-13BopenMetaAug 202313B————
Llemma 7BopenEleutherAIOct 20237B————
Falcon3-7BopenTechnology Innovation InstituteDec 20247.5B————
CodeT5-largeopenSalesforceJul 2022770M————

More models from EleutherAI

All EleutherAI models →
ModelReleasedParamsContextInput $/1MOutput $/1M
pythia-14mopenFeb 202614M———
pythia-31mopenFeb 202630M———
pythia-70m-dedupedopenFeb 202396M———
pythia-160m-dedupedopenFeb 2023213M———
GPT-NeoX-20BopenFeb 202221B———
pythia-410m-dedupedopenFeb 2023506M———
pythia-160m-seed1openFeb 2023213M———
pythia-410m-seed3openJan 2024————

Frequently asked questions

Who made GPT-J-6B?

GPT-J-6B was developed by EleutherAI (United States of America,Germany). It was released on May 1, 2021.

Is GPT-J-6B open source?

Yes. GPT-J-6B's weights are publicly available under the apache-2.0 license on Hugging Face (EleutherAI/gpt-j-6b), so you can download and run it yourself.

How many parameters does GPT-J-6B have?

GPT-J-6B has 6.1B parameters.

How does GPT-J-6B perform on benchmarks?

GPT-J-6B scores 25.7% on MMLU, 3.6% on GSM8K and 66.3% on HellaSwag.

Sources: epoch, huggingface · paper · huggingface. Last updated 2026-11-22.