FitMyLLM
OpenAI/Dense

OpenAIGPT-2 124M

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

chatThinking
0.14B
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

QuantBitsVRAM @ 1KQuality
Q4_K_M4.89
0.6 GB
good
Q5_K_S5.57
0.6 GB
good
Q5_K_M5.7
0.6 GB
good
Q6_K6.56
0.6 GB
excellent
Q8_08.5
0.6 GB
lossless
FP1616
0.8 GB
lossless

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

Deploying for a team or in production? Size GPUs, cost & scaling in Enterprise →
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)

Run this model

Easiest way to get started·Beginners
Docs ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run hf.co/ggml-org/gpt-2-GGUF:Q4_K_M

Not in Ollama's library: Ollama pulls the GGUF from Hugging Face (ggml-org/gpt-2-GGUF). If Q4_K_M is not in that repo, pick a file listed there.

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 124M — 0.14B Dense.

Specifications
Parameters
0.14B
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.8 GB100%
Benchmark scores
MMLU-PRO1.8
MATH0.2
IFEval17.9
BBH2.7
GPQA1.1
MUSR15.3
Compatible GPUs
30 @ Q4_K_M