Qwen3 4B hardware requirements

4.02B parameters. Needs about 4.2 GB at Q4_K_M with 8K context.

Parameters4.02BDense
Q4_K_M · 8K4.2 GBthe usual download
FP16 · 8K9.8 GBfull precision
Runs well on51/51GPUs and Macs we track

Memory needed at each quantization

Weights, KV cache and runtime overhead, at 8K and 32K tokens of context.

QuantQuality8K context32K context
FP16Full quality9.8 GB13.5 GB
Q8_0Near-lossless6.1 GB9.7 GB
Q6_KExcellent5.1 GB8.7 GB
Q5_K_MVery good4.7 GB8.3 GB
Q4_K_MGood, most popular4.2 GB7.9 GB
Q3_K_MNoticeably degraded3.8 GB7.4 GB
Q2_KHeavily degraded3.3 GB6.9 GB

Run it with Ollama

Downloads Q4_K_M by default.

ollama run qwen3:4b

Model card

Qwen/Qwen3-4B on Hugging Face: licence, prompt format and GGUF builds.

Run it in the cloud

Run Qwen3 4B on a rented GPU today.

It needs about 4.2 GB at Q4_K_M: a rented RTX 3090 / RTX 4090 runs it for about $0.18 to $0.89 an hour.

Every GPU and Mac checked

Sorted by memory. Bars show how much of each card Qwen3 4B fills at the best quant that fits.

51 Runs well

NameMemory usedBest quantSpeed