opt-125m vs gpt2-mini

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

facebook · A · Open weights
Params
125 M
Context
2,048
30d
4.7 M
erwanf · B · Open weights
Params
39 M
Context
—
30d
285 K
mit · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification opt-125m gpt2-mini
Parameters 125 M 39 M
Architecture OPTForCausalLM GPT2LMHeadModel
Context length 2,048 —
Licence other mit
Commercial use Unknown Allowed
Languages 1 1
Downloads 30d 4,677,401 285,168
Downloads all time 222.9 M 1.9 M
Quantizations on the Hub — SAFETENSORS
Gated No No
First seen on the Hub 2022-05-11 2024-06-23

Download trend

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

17.5 M137 K
opt-125m 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

Adjacent comparisons