Skip to content
llmmodels
Chat LLMOpen weightsHistorical

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

Alternatives to GPT-2 (124M)
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
RoBERTa BaseopenMetaJul 2019125M————
SciBERTopenAllen Institute for AI (Ai2)Mar 2019110M————
L_UL-seqopenMetaAug 2019247M————
Transformer-XL (257M)openGoogle DeepMindJan 2019257M————
DistilBERTopenHugging FaceOct 201966M————
XLNetopenGoogle DeepMindJun 2019340M————
DensePhrasesopenKorea UniversityDec 2020—————
Hopfield Networks (2020)openJohannes Kepler University LinzJul 2020—————

More models from OpenAI

All OpenAI models →
ModelReleasedParamsContextInput $/1MOutput $/1M
GPT OSS 120BopenAug 2025117B128K$0.09$0.36
GPT-6 AstraSep 2026—1.1M$10$50
GPT-6.1 SolSep 2026—1.1M$2$10
GPT OSS 20BopenAug 202521B128K$0.075$0.3
GPT-5.6 SolJul 2026—1.1M$4$20
GPT-6.2 AstraNov 2026—1.1M$8$40
GPT-6 SolSep 2026—1.1M$2$10
GPT-5.6 TerraJul 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.