Qwen3-8B vs phi-4

Specs, VRAM requirements and download trends — updated 10 November 2026.

Qwen · A · Open weights
Params
8.2 B
Context
40,960
30d
6.8 M
apache-2.0 · commercial OK
microsoft · B · Open weights
Params
14.7 B
Context
16,384
30d
276 K
mit · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification Qwen3-8B phi-4
Deployment Open weights Open weights · also via API
Parameters 8.2 B 14.7 B
Architecture Qwen3ForCausalLM Phi3ForCausalLM
Context length 40,960 16,384
Licence apache-2.0 mit
Commercial use Allowed Allowed
Languages — 1
Downloads 30d 6,837,564 275,580
Downloads all time 137.6 M 14.9 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2025-04-27 2024-12-11
API input price / 1M tokens not on OpenRouter $0.07
API output price / 1M tokens not on OpenRouter $0.14
Est. cost per 1M input + 1M output tokens not on OpenRouter $0.21
Cached input / 1M tokens not on OpenRouter —
AA Intelligence Index not on OpenRouter —
AA Coding Index not on OpenRouter —
AA Agentic Index not on OpenRouter —
Max output tokens not on OpenRouter 14,745
API providers not on OpenRouter 1
Tool calling not on OpenRouter No
Reasoning mode not on OpenRouter No

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

phi-4 $0.21

Download trend

Daily snapshots, last 90 days (13 Aug – 10 Nov)

16.4 M276 K
Qwen3-8B phi-4

VRAM side by side

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

Qwen3-8B · fp16 19.7 GB / 24 GB
⚠️ Tight — reduce context
phi-4 · fp16 34.9 GB / 24 GB
❌ Won’t fit

Adjacent comparisons