Qwen3-4B vs phi-2

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

Qwen · A
Params
4.0 B
Context
40,960
30d
6.9 M
apache-2.0 · commercial OK
microsoft · B
Params
2.8 B
Context
2,048
30d
556 K
mit · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification Qwen3-4B phi-2
Parameters 4.0 B 2.8 B
Architecture Qwen3ForCausalLM PhiForCausalLM
Context length 40,960 2,048
Licence apache-2.0 mit
Commercial use Allowed Allowed
Languages 1
Downloads 30d 6,941,310 556,469
Downloads all time 80.5 M 23.3 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2025-04-27 2023-12-13

Download trend

Daily snapshots, last 56 days (28 Jul – 21 Sep)

7.3 M556 K
Qwen3-4B phi-2

VRAM side by side

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

phi-2 · fp16 7.0 GB / 24 GB
✅ Runs comfortably
Qwen3-4B · fp16 10.0 GB / 24 GB
✅ Runs comfortably

Adjacent comparisons