How to run Qwen3 4B locally
Qwen3 4B is a 4B Qwen model with a 32K context and Apache-2.0 license. Here's the VRAM it needs, which GPUs run it, and how fast.
At a glance
Memory needed per quantization
| Quant | Quality | Weights | Min VRAM |
|---|---|---|---|
| IQ3_M | 90.0% | 1.8 GB | ~4 GB |
| Q4_K_M | 97.5% | 2.4 GB | ~5 GB |
| Q5_K_M | 99.0% | 2.8 GB | ~5 GB |
| Q6_K | 99.7% | 3.3 GB | ~5 GB |
| Q8_0 | 99.9% | 4.3 GB | ~6 GB |
| FP16 / BF16 | 100.0% | 8.0 GB | ~10 GB |
Which GPUs run Qwen3 4B
| GPU | Fit | Quant | Speed |
|---|---|---|---|
| GeForce RTX 4060 8GB · 272 GB/s | Perfect | Q8_0 | 47.4 tok/s |
| GeForce RTX 3060 12GB 12GB · 360 GB/s | Perfect | Q8_0 | 62.8 tok/s |
| GeForce RTX 4070 12GB · 504 GB/s | Perfect | FP16 / BF16 | 48.9 tok/s |
| Intel Arc B580 12GB · 456 GB/s | Perfect | FP16 / BF16 | 44.2 tok/s |
| GeForce RTX 4070 Ti SUPER 16GB · 672 GB/s | Perfect | FP16 / BF16 | 65.2 tok/s |
| GeForce RTX 5070 12GB · 672 GB/s | Perfect | FP16 / BF16 | 65.2 tok/s |
| GeForce RTX 4080 SUPER 16GB · 736 GB/s | Perfect | FP16 / BF16 | 71.4 tok/s |
| Radeon RX 7900 XTX 24GB · 960 GB/s | Perfect | FP16 / BF16 | 93.2 tok/s |
| GeForce RTX 3090 24GB · 936 GB/s | Perfect | FP16 / BF16 | 90.8 tok/s |
| GeForce RTX 4090 24GB · 1008 GB/s | Perfect | FP16 / BF16 | 97.8 tok/s |
| GeForce RTX 5090 32GB · 1792 GB/s | Perfect | FP16 / BF16 | 173.9 tok/s |
| Apple M4 16GB · 120 GB/s | Perfect | Q3_K_M | 40.9 tok/s |
| Apple M4 Pro 24GB · 273 GB/s | Perfect | Q8_0 | 47.6 tok/s |
| Apple M3 Max (16c) 48GB · 400 GB/s | Perfect | Q8_0 | 69.8 tok/s |
| Apple M2 Ultra 64GB · 800 GB/s | Perfect | FP16 / BF16 | 77.6 tok/s |
Frequently asked
How much VRAM does Qwen3 4B need?
At the recommended Q4_K_M quantization, Qwen3 4B needs about 2.4GB for weights plus KV cache and overhead — roughly 5GB of VRAM total for a usable context. Drop to a 3-bit quant to squeeze it smaller, or go FP16 (8GB) for full quality.
What GPU do I need to run Qwen3 4B?
The most affordable GPU that runs it well is the Intel Arc B580 (12GB) at FP16 / BF16, delivering about 44.2 tokens/sec. Anything with 5GB+ of VRAM will run it comfortably.
Which quantization should I use for Qwen3 4B?
Q4_K_M is the default sweet spot (~97.5% of full quality). If it fits, Q5_K_M or Q6_K give near-lossless output; only drop below Q4 when you must fit it into limited VRAM.
Is Qwen3 4B good for multilingual?
Yes — Qwen3 4B scores 78/100 for multilingual, one of its strongest areas. It also has explicit reasoning/thinking support. License: Apache-2.0.