gpt2 vs distilgpt2

Specs, VRAM requirements and download trends — updated 10 November 2026.

openai-community · A · Open weights
Params
140 M
Context
—
30d
31.8 M
mit · commercial OK
distilbert · B · Open weights
Params
90 M
Context
—
30d
1.5 M
apache-2.0 · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification gpt2 distilgpt2
Parameters 140 M 90 M
Architecture GPT2LMHeadModel GPT2LMHeadModel
Context length — —
Licence mit apache-2.0
Commercial use Allowed Allowed
Languages 1 1
Downloads 30d 31,775,505 1,481,788
Downloads all time 969.1 M 259.1 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2022-03-02 2022-03-02

Download trend

Daily snapshots, last 90 days (13 Aug – 10 Nov)

31.8 M1.5 M
gpt2 distilgpt2

VRAM side by side

On RTX 4090 · 24 GB · 8K context unless noted

distilgpt2 · fp16 0.9 GB / 24 GB
✅ Runs comfortably
gpt2 · fp16 1.1 GB / 24 GB
✅ Runs comfortably

Adjacent comparisons