Skip to content
llmmodels
Chat LLMOpen weights

GPT-NeoX-20B

by EleutherAI · Feb 9, 2022

GPT-NeoX-20B is an open-weight chat llm from EleutherAI, released Feb 9, 2022. It has 21B parameters.

Provider
EleutherAI
Released
Feb 9, 2022
Type
Chat LLM
Parameters
21B
Context window
—
Max output
—
Input
text
Output
text
Weights
Open weights
License
apache-2.0
Knowledge cutoff
—
Status
Open weights
Training compute
9.3e+22 FLOP
Training data
341.2B tokens/words
HF downloads (30d)
274.2K

About GPT-NeoX-20B

We introduce GPT-NeoX-20B, a 20 billion parameter autoregressive language model trained on the Pile, whose weights will be made freely and openly available to the public through a permissive license. It is, to the best of our knowledge, the largest dense autoregressive model that has publicly available weights at the time of submission. In this work, we describe \model{}'s architecture and training and evaluate its performance on a range of language-understanding, mathematics, and knowledge-based tasks.

GPT-NeoX-20B benchmarks

All benchmarks →

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

How to run GPT-NeoX-20B

GPT-NeoX-20B is an open-weight model published on Hugging Face as EleutherAI/gpt-neox-20b. 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 21B parameters it needs roughly 12 GB of memory at 4-bit quantization.

GPT-NeoX-20B vs alternatives

Alternatives to GPT-NeoX-20B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
opt-125mopenMetaMay 2022—————
reformer-crime-and-punishmentopenGoogle DeepMindMar 2022—————
xglm-564MopenMetaMar 2022—————
reformer-enwik8openGoogle DeepMindMar 2022—————
DialoGPT-mediumopenMicrosoftMar 2022—————
codegen-350M-monoopenSalesforceApr 2022—————
biogptopenMicrosoftNov 2022—————
ctrlopenSalesforceMar 2022—————

More models from EleutherAI

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

Frequently asked questions

Who made GPT-NeoX-20B?

GPT-NeoX-20B was developed by EleutherAI (United States of America). It was released on Feb 9, 2022.

Is GPT-NeoX-20B open source?

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

How many parameters does GPT-NeoX-20B have?

GPT-NeoX-20B has 21B parameters.

How does GPT-NeoX-20B perform on benchmarks?

GPT-NeoX-20B scores 33.6% on MMLU, 5.3% on GSM8K and 71.8% on HellaSwag.

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