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
- GPT-NeoX-20B vs opt-125m
- GPT-NeoX-20B vs reformer-crime-and-punishment
- GPT-NeoX-20B vs xglm-564M
- GPT-NeoX-20B vs reformer-enwik8
- GPT-NeoX-20B vs DialoGPT-medium
- GPT-NeoX-20B vs codegen-350M-mono
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| opt-125mopen | Meta | May 2022 | — | — | — | — | — |
| reformer-crime-and-punishmentopen | Google DeepMind | Mar 2022 | — | — | — | — | — |
| xglm-564Mopen | Meta | Mar 2022 | — | — | — | — | — |
| reformer-enwik8open | Google DeepMind | Mar 2022 | — | — | — | — | — |
| DialoGPT-mediumopen | Microsoft | Mar 2022 | — | — | — | — | — |
| codegen-350M-monoopen | Salesforce | Apr 2022 | — | — | — | — | — |
| biogptopen | Microsoft | Nov 2022 | — | — | — | — | — |
| ctrlopen | Salesforce | Mar 2022 | — | — | — | — | — |
More models from EleutherAI
All EleutherAI models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| pythia-14mopen | Feb 2026 | 14M | — | — | — |
| pythia-31mopen | Feb 2026 | 30M | — | — | — |
| pythia-70m-dedupedopen | Feb 2023 | 96M | — | — | — |
| pythia-160m-dedupedopen | Feb 2023 | 213M | — | — | — |
| pythia-410m-dedupedopen | Feb 2023 | 506M | — | — | — |
| pythia-160m-seed1open | Feb 2023 | 213M | — | — | — |
| pythia-410m-seed3open | Jan 2024 | — | — | — | — |
| pythia-31m-seed1open | Jan 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.