distilgpt2 vs gpt2-mini

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

distilbert · A · Open weights
Params
90 M
Context
—
30d
1.5 M
apache-2.0 · commercial OK
erwanf · B · Open weights
Params
39 M
Context
—
30d
285 K
mit · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification distilgpt2 gpt2-mini
Parameters 90 M 39 M
Architecture GPT2LMHeadModel GPT2LMHeadModel
Context length — —
Licence apache-2.0 mit
Commercial use Allowed Allowed
Languages 1 1
Downloads 30d 1,481,788 285,168
Downloads all time 259.1 M 1.9 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2022-03-02 2024-06-23

Download trend

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

2.5 M137 K
distilgpt2 gpt2-mini

VRAM side by side

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

gpt2-mini · fp16 0.7 GB / 24 GB
✅ Runs comfortably
distilgpt2 · fp16 0.9 GB / 24 GB
✅ Runs comfortably

Adjacent comparisons