opt-125m vs gpt2-medium

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

facebook · A · Open weights
Params
125 M
Context
2,048
30d
4.7 M
openai-community · B · Open weights
Params
380 M
Context
—
30d
166 K
mit · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

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

Download trend

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

17.5 M147 K
opt-125m gpt2-medium

VRAM side by side

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

gpt2-medium · fp16 2.2 GB / 24 GB
✅ Runs comfortably

Adjacent comparisons