How to Deploy Qwen3 8B Locally
Qwen3 8B is a dense model with 8.2B parameters. At Q4 it needs at least 7GB of VRAM, and 12GB is the comfortable amount for an 8K context. The cheapest card that runs it today is the Tesla V100 16GB at about $131, at roughly 109.9 tokens/s.
Qwen3 8B details
How much VRAM does Qwen3 8B need for local deployment?
| Quantization | WeightsGB | Total at 8KGB | Total at 32KGB | Total at 128KGB |
|---|---|---|---|---|
| 1-bit | 2.4GGUF | 4 | 7.4 | — |
| 2-bit | 3.5GGUF | 5.2 | 8.5 | — |
| 3-bit | 4.3GGUF | 6 | 9.4 | — |
| 4-bit | 5GGUF | 6.7 | 10.1 | — |
| 5-bit | 5.9GGUF | 7.7 | 11 | — |
| 8-bit | 8.7GGUF | 10.6 | 14 | — |
| FP16 | 16.4GGUF | 18.1 | 21.5 | — |
Total = weights + KV cache (FP16) + 1GB runtime overhead. Weights marked GGUF are measured file sizes from the repository; the rest are estimated from bytes per parameter. Contexts beyond this model's 40K limit show a dash. Each tier takes whichever file of that bit width the repository has, preferring unsloth dynamic quants, so the exact file name varies by model.
Which GPUs can run Qwen3 8B?
Xianyu
| Device | VRAMGB | Price | Est. t/s | Suggested context |
|---|---|---|---|---|
| 16 | $13113 listings | 109.9 | 32K | |
| 22 | $3873 listings | 77.3 | 32K | |
| 32 | $4054 listings | 90.8 | 32K | |
| 16 | $44613 listings | 52.7 | 32K | |
| 16 | $46111 listings | 56.9 | 32K | |
| 32 | $47611 listings | 109.9 | 32K | |
| 20 | $63916 listings | 72.1 | 32K | |
| 16 | $6974 listings | 57.2 | 32K | |
| 24 | $78410 listings | 38 | 32K | |
| 24 | $86217 listings | 85.5 | 32K | |
| 16 | $90712 listings | 58.3 | 32K | |
| 12 | $91810 listings | 83.9 | 32K | |
| 16 | $1,1529 listings | 89.1 | 32K | |
| 24 | $1,20415 listings | 113.9 | 32K | |
| 32 | $1,4656 listings | 50.2 | 32K | |
| 16 | $1,4723 listings | 109.4 | 32K | |
| 32 | $1,6438 listings | 58.3 | 32K | |
| 40 | $1,6804 listings | 178.9 | 32K | |
| 32 | $1,8443 listings | 52.7 | 32K | |
| 16 | $1,85112 listings | 116.5 | 32K | |
| 64 | $2,0898 listings | 172.3 | 32K | |
| 24 | $2,32718 listings | 83.9 | 32K | |
| 64 | $2,75112 listings | 139.2 | 32K | |
| 48 | $3,2715 listings | 77.5 | 32K | |
| 24 | $3,49416 listings | 121.8 | 32K | |
| 24 | $3,55414 listings | 157.2 | 32K | |
| 32 | $3,84416 listings | 109.4 | 32K | |
| 48 | $3,9553 listings | 121.8 | 32K | |
| 40 | $4,6024 listings | 178.4 | 32K | |
| Mac Studio M4 Max 128GB | 128 | $4,78813 listings | 54.9 | 32K |
| 128 | $4,83231 listings | 35.5 | 32K | |
| 32 | $4,89213 listings | 201.2 | 32K | |
| MacBook Pro M4 Max 128GB | 128 | $5,2644 listings | 54.9 | 32K |
| Mac Studio M5 Max 128GB | 128 | $5,8816 listings | 61.4 | 32K |
| 32 | $6,51313 listings | 201.2 | 32K | |
| 48 | $6,95915 listings | 157.2 | 32K | |
| MacBook Pro M5 Max 128GB | 128 | $8,1487 listings | 61.4 | 32K |
| 72 | $9,66517 listings | 157.2 | 32K | |
| 84 | $10,11117 listings | 179.7 | 32K | |
| 96 | $18,4226 listings | 201.2 | 32K | |
| Mac Studio M3 Ultra 512GB | 512 | $19,3156 listings | 80.6 | 32K |
| 32 | —No listings | 50.2 | 32K | |
| 32 | —No listings | 91.3 | 32K | |
| 32 | —No listings | 107.4 | 32K | |
| 128 | —No listings | 24 | 32K |
Fits when weights + KV cache + runtime overhead is at or below usable memory, single card. "Offload" on MoE models means it runs with expert weights in system RAM (only attention layers and KV cache stay in VRAM); that speed assumes 70 GB/s RAM bandwidth. The context column is the largest tier that fits.
Deploy Qwen3 8B locally with Ollama, llama.cpp or vLLM
Ollama pulls and runs it in one command; the quantization comes from the official tag.
ollama run qwen3:8b
llama.cpp pulls the GGUF straight from Hugging Face; -c sets the context length.
llama-server -hf Qwen/Qwen3-8B-GGUF:Q4_K_M -c 8192
vLLM serves the original-precision weights, which needs far more memory than GGUF and usually more than one GPU.
vllm serve Qwen/Qwen3-8B
File names follow that week's model-library snapshot; the definitions are in the methodology. Methodology
FAQ
How much VRAM does Qwen3 8B need?
At Q4_K_M with an 8K context Qwen3 8B needs about 7GB of VRAM; 12GB leaves comfortable headroom.
What is the cheapest GPU that runs Qwen3 8B?
The Tesla V100 16GB: 16GB of VRAM, currently about $131, at roughly 109.9 tokens/s.
Can you run Qwen3 8B with Ollama?
Yes: ollama run qwen3:8b.