OpenAI/Dense

OpenAIGPT-2 124M

OpenAI's original 2019 language model. Historical significance only — too small for practical use.

chatThinking
0.124B
Parameters
1K
Context length
6
Benchmarks
6
Quantizations
5.0M
HF downloads
Architecture
Dense
Released
2019-02-14
Layers
12
KV Heads
12
Head Dim
64
Family
gpt2

Quantization Options

QuantBitsVRAMQuality
Q4_K_M4.890.6 GBgood
Q5_K_S5.570.6 GBgood
Q5_K_M5.70.6 GBgood
Q6_K6.560.6 GBexcellent
Q8_08.50.6 GBlossless
FP16160.7 GBlossless

Select your GPU above to see speed estimates and compatibility for each quantization.

READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN GPT-2 124M NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (6)

IFEval17.9
MUSR15.3
BBH2.7
MMLU-PRO1.8
GPQA1.1
MATH0.2

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run gpt2:0.124b-q4_K_M

Tag may need adjustment — check ollama.com/library/gpt2 for available tags.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

Find the best GPU for GPT-2 124M

Build Hardware for GPT-2 124M

OpenAI's original 2019 language model. Historical significance only — too small for practical use.

▸ SPEC SHEET

GPT-2 124M0.124B Dense.

▸ SPECIFICATIONS
PARAMETERS
0.124B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
1K tokens
CAPABILITIES
chat
RELEASE DATE
2019-02-14
PROVIDER
OpenAI
FAMILY
gpt2
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q4_K_M4.890.6 GB94%
Q5_K_S5.570.6 GB96%
Q5_K_M5.70.6 GB96%
Q6_K6.560.6 GB97%
Q8_08.50.6 GB100%
FP16160.7 GB100%
§ 01BENCHMARK SCORES
MMLU-PRO1.8
MATH0.2
IFEval17.9
BBH2.7
GPQA1.1
MUSR15.3