gpt2 vs gpt2-medium

Specs, VRAM requirements and download trends — updated 6 August 2026.

openai-community · A
Params
140 M
Context
30d
13.7 M
mit · commercial OK
openai-community · B
Params
380 M
Context
30d
572 K
mit · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification gpt2 gpt2-medium
Parameters 140 M 380 M
Architecture GPT2LMHeadModel GPT2LMHeadModel
Context length
Licence mit mit
Commercial use Allowed Allowed
Languages 1 1
Downloads 30d 13,734,664 571,519
Downloads all time 901.9 M 29.1 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2022-03-02 2022-03-02

Download trend

Daily snapshots, last 10 days (28 Jul – 6 Aug)

13.9 M565 K
gpt2 gpt2-medium

VRAM side by side

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

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

Adjacent comparisons