GPT-2 Models by OpenAI
Last refreshed 2026-10-12. Next refresh: weekly.
About
GPT-2 is OpenAI’s 2019 transformer language-model family, trained to predict the next word on a large web-text corpus and released as a research successor to GPT. The largest documented model has 1.5 billion parameters and showed unsupervised language modeling plus rudimentary reading comprehension, translation, question answering, and summarization without task-specific fine-tuning. Historical checkpoints (gpt2, gpt2-medium, gpt2-large, gpt2-xl) are maintained for the community under the openai-community Hugging Face org.
Decision facts
Current Variants
Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.
Use when the workload needs 1K context and 1.5B parameters.
Use when the workload needs 1K context and 774M parameters.
Use when the workload needs 1K context and 124M parameters.
Use when the workload needs 1K context and 355M parameters.
| Model | Use when | Released | Signals | Status |
|---|---|---|---|---|
| GPT-2 XL | Use when the workload needs 1K context and 1.5B parameters. | 2019-11 | 1K context1.5B parameters | Current |
| GPT-2 Large | Use when the workload needs 1K context and 774M parameters. | 2019-08 | 1K context774M parameters | Current |
| GPT-2 | Use when the workload needs 1K context and 124M parameters. | 2019-02 | 1K context124M parameters | Current |
| GPT-2 Medium | Use when the workload needs 1K context and 355M parameters. | 2019-02 | 1K context355M parameters | Current |
Release Timeline
3 release groupsSpecifications(4 models)
| Model | Released | Context | Parameters |
|---|---|---|---|
| GPT-2 XL | 2019-11 | 1K | 1.5B |
| GPT-2 Large | 2019-08 | 1K | 774M |
| GPT-2 | 2019-02 | 1K | 124M |
| GPT-2 Medium | 2019-02 | 1K | 355M |
Popular comparisons in this family
- GPT-4 vs GPT-285
- GPT-2 vs Hunyuan Hy3 Preview52
- GPT-2 vs Nemotron 4 340B49
- GPT-2 Medium vs Together AI Qwen2-72B-Instruct47
- GPT-2 vs Llama 2 7B31
- GPT-1 vs GPT-229
- GPT-2 Medium vs Nemotron Mini 4B Instruct23
- GPT-2 Medium vs Xiaomi MiMo-V2.522
- GPT-2 Medium vs Granite Guardian 3.0 8B20
- GPT-2 Medium vs Llama 2 7B19






