gpt2 vs opt-125m

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
facebook · B · Open weights
Params
125 M
Context
2,048
30d
4.7 M

Specification comparison

Differences are highlighted; identical values are muted.

Specification gpt2 opt-125m
Parameters 140 M 125 M
Architecture GPT2LMHeadModel OPTForCausalLM
Context length — 2,048
Licence mit other
Commercial use Allowed Unknown
Languages 1 1
Downloads 30d 31,775,505 4,677,401
Downloads all time 969.1 M 222.9 M
Quantizations on the Hub SAFETENSORS —
Gated No No
First seen on the Hub 2022-03-02 2022-05-11

Download trend

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

31.8 M4.4 M
gpt2 opt-125m A overtook B on 27 Aug

VRAM side by side

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

gpt2 · fp16 1.1 GB / 24 GB
✅ Runs comfortably

Adjacent comparisons