distilgpt2 vs tiny_starcoder_py

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

distilbert · A
Params
90 M
Context
30d
2.6 M
apache-2.0 · commercial OK
bigcode · B
Params
160 M
Context
30d
249 K

Specification comparison

Differences are highlighted; identical values are muted.

Specification distilgpt2 tiny_starcoder_py
Parameters 90 M 160 M
Architecture GPT2LMHeadModel GPTBigCodeForCausalLM
Context length
Licence apache-2.0 bigcode-openrail-m
Commercial use Allowed Unknown
Languages 1
Downloads 30d 2,640,611 249,481
Downloads all time 252.9 M 1.3 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2022-03-02 2023-05-15

Download trend

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

2.7 M246 K
distilgpt2 tiny_starcoder_py

VRAM side by side

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

distilgpt2 · fp16 0.9 GB / 24 GB
✅ Runs comfortably
tiny_starcoder_py · fp16 1.2 GB / 24 GB
✅ Runs comfortably

Adjacent comparisons