GPT-2 (124M)
by OpenAI · Feb 14, 2019
GPT-2 (124M) is an open-weight chat llm from OpenAI, released Feb 14, 2019. It has 124M parameters.
- Provider
- OpenAI
- Released
- Feb 14, 2019
- Type
- Chat LLM
- Parameters
- 124M
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- Open (permissive)
- Knowledge cutoff
- —
- Status
- Historical
- Training compute
- 7.9e+20 FLOP
- Training data
- 10.7B tokens/words
About GPT-2 (124M)
Natural language processing tasks, such as question answering, machine translation, reading comprehension, and summarization, are typically approached with supervised learning on taskspecific datasets. We demonstrate that language models begin to learn these tasks without any explicit supervision when trained on a new dataset of millions of webpages called WebText.
How to run GPT-2 (124M)
GPT-2 (124M) is an open-weight model. 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 124M parameters it needs roughly 1 GB of memory at 4-bit quantization.
GPT-2 (124M) vs alternatives
- GPT-2 (124M) vs RoBERTa Base
- GPT-2 (124M) vs SciBERT
- GPT-2 (124M) vs L_UL-seq
- GPT-2 (124M) vs Transformer-XL (257M)
- GPT-2 (124M) vs DistilBERT
- GPT-2 (124M) vs XLNet
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| RoBERTa Baseopen | Meta | Jul 2019 | 125M | — | — | — | — |
| SciBERTopen | Allen Institute for AI (Ai2) | Mar 2019 | 110M | — | — | — | — |
| L_UL-seqopen | Meta | Aug 2019 | 247M | — | — | — | — |
| Transformer-XL (257M)open | Google DeepMind | Jan 2019 | 257M | — | — | — | — |
| DistilBERTopen | Hugging Face | Oct 2019 | 66M | — | — | — | — |
| XLNetopen | Google DeepMind | Jun 2019 | 340M | — | — | — | — |
| DensePhrasesopen | Korea University | Dec 2020 | — | — | — | — | — |
| Hopfield Networks (2020)open | Johannes Kepler University Linz | Jul 2020 | — | — | — | — | — |
More models from OpenAI
All OpenAI models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| GPT OSS 120Bopen | Aug 2025 | 117B | 128K | $0.09 | $0.36 |
| GPT-6 Astra | Sep 2026 | — | 1.1M | $10 | $50 |
| GPT-6.1 Sol | Sep 2026 | — | 1.1M | $2 | $10 |
| GPT OSS 20Bopen | Aug 2025 | 21B | 128K | $0.075 | $0.3 |
| GPT-5.6 Sol | Jul 2026 | — | 1.1M | $4 | $20 |
| GPT-6.2 Astra | Nov 2026 | — | 1.1M | $8 | $40 |
| GPT-6 Sol | Sep 2026 | — | 1.1M | $2 | $10 |
| GPT-5.6 Terra | Jul 2026 | — | 1.1M | $2 | $12 |
Frequently asked questions
Who made GPT-2 (124M)?
GPT-2 (124M) was developed by OpenAI (United States of America). It was released on Feb 14, 2019.
Is GPT-2 (124M) open source?
Yes. GPT-2 (124M)'s weights are publicly available, so you can download and run it yourself.
How many parameters does GPT-2 (124M) have?
GPT-2 (124M) has 124M parameters.
Sources: epoch · paper. Last updated 2026-11-22.