opt-125m vs gpt2-medium

Specs, VRAM requirements and download trends — updated 21 September 2026.

facebook · A
Params
125 M
Context
2,048
30d
7.0 M
openai-community · B
Params
380 M
Context
30d
317 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 7,015,695 317,467
Downloads all time 213.8 M 29.7 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 56 days (28 Jul – 21 Sep)

18.6 M317 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