gpt2 vs SmolLM2-135M

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

openai-community · A
Params
140 M
Context
30d
13.7 M
mit · commercial OK
HuggingFaceTB · B
Params
130 M
Context
8,192
30d
1.8 M
apache-2.0 · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification gpt2 SmolLM2-135M
Parameters 140 M 130 M
Architecture GPT2LMHeadModel LlamaForCausalLM
Context length 8,192
Licence mit apache-2.0
Commercial use Allowed Allowed
Languages 1 1
Downloads 30d 13,734,664 1,824,932
Downloads all time 901.9 M 17.0 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2022-03-02 2024-10-31

Download trend

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

13.9 M1.7 M
gpt2 SmolLM2-135M

VRAM side by side

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

SmolLM2-135M · fp16 0.8 GB / 24 GB
✅ Runs comfortably
gpt2 · fp16 1.1 GB / 24 GB
✅ Runs comfortably

Adjacent comparisons