Qwen3 4B
Small local text tasks and structured answers; a candidate for 16 GB devices.
- Chat and text
- Reasoning
Short answer
Qwen3 4B needs about 5.5 GB of GPU-usable memory with 8K context, 9.5 GB with 32K and 21.8 GB with the full 128K window, for one user. That includes 2.5 GB of Q4_K_M weights. Context part (exact = KV cache from the model’s config.json, flat = our planning reserve): 8K flat 3 GB, 32K flat 7 GB, 128K exact 19.3 GB.
Smallest catalog device that holds it: GMKtec M6 Ultra 16 GB (8 GB GPU-usable) at 8K; Apple Mac mini M6 16 GB (12 GB GPU-usable) at 32K; GMKtec EVO-X1 32 GB (24 GB GPU-usable) at 128K.
Cheapest catalog device that fits it at a usable pace (our estimate): GMKtec M6 Ultra 16 GB, 8 GB GPU-usable.
- Weight memory
- about 2.5 GB Q4_K_M
- Planning with 8K context
- 5.5 GB one user, rough reserve
- Maximum model context
- 256K per the chosen tag, not a hardware promise
Will Qwen3 4B run on your hardware?
Every memory size in our catalog with its cheapest box, for one user.
- Fits 5.5 GB / 8 GB
GMKtec M6 Ultra 16 GB8 GB usable · 16 GB RAM8K - Fits 5.5 GB / 12 GB
Apple Mac mini M6 16 GB12 GB usable · 16 GB RAM8K + 32K - Fits 5.5 GB / 16 GB
GMKtec M6 Ultra 32 GB16 GB usable · 32 GB RAM8K + 32K - Fits 5.5 GB / 18 GB
Apple Mac mini M6 24 GB18 GB usable · 24 GB RAM8K + 32K - Fits 5.5 GB / 24 GB
GMKtec EVO-X1 32 GB24 GB usable · 32 GB RAM8K + 32K - Fits 5.5 GB / 27 GB
Apple Mac Studio M5 Max 36 GB27 GB usable · 36 GB RAM8K + 32K - Fits 5.5 GB / 48 GB
GMKtec EVO-X2 64 GB48 GB usable · 64 GB RAM8K + 32K - Fits 5.5 GB / 64 GB
Minisforum AI X1 Pro 96 GB64 GB usable · 96 GB RAM8K + 32K - Fits 5.5 GB / 72 GB
Apple Mac Studio M5 Ultra 96 GB72 GB usable · 96 GB RAM8K + 32K - Fits 5.5 GB / 96 GB
GMKtec EVO-X2 128 GB96 GB usable · 128 GB RAM8K + 32K - Fits 5.5 GB / 110 GB
Lenovo ThinkStation PGX 128 GB110 GB usable · 128 GB RAM8K + 32K
Matching hardware
The cheapest boxes that hold it with 8K context.
GMKtec M6 Ultra 16 GB8 GB GPU planning · €470
GEEKOM A5 16 GB8 GB GPU planning · €499
GMKtec M6 Ultra 32 GB16 GB GPU planning · €630
GEEKOM A8 Max 16 GB12 GB GPU planning · €638
GEEKOM A7 32 GB (Ryzen 7 7730U)16 GB GPU planning · €689
All catalog sizes of qwen3
Same Ollama line, other sizes, planned for 8K context and one user.
- 3.5 GBQwen3 0.6Bqwen3:0.6b8 GB
- 4.4 GBQwen3 1.7Bqwen3:1.7b8 GB
- this page 5.5 GBQwen3 4Bqwen3:4b8 GB
- 8.2 GBQwen3 8Bqwen3:8b12 GB
- 12.3 GBQwen3 14Bqwen3:14b16 GB
- 22 GBQwen3 30B-A3Bqwen3:30b24 GB
- 23 GBQwen3 32Bqwen3:32b24 GB
- 145 GBQwen3 235B-A22Bqwen3:235bno device in catalog
Start locally
Install a current Ollama version that supports the model. The first run downloads the weights.
ollama run qwen3:4bStart with a short context and check the GPU offload with ollama ps. Setting up Ollama explains the steps.
Plan memory realistically
The weights stay the same, the context grows with the length of the conversation. Rules of thumb, not measurements. Approximate Ollama file size as weight memory; runtime, KV cache and, where applicable, image processing add to it. Assumptions and limits of the calculation
- 5.5 GB8K context5.5 GB
- 9.5 GB32K context9.5 GB
- 21.8 GB128K context21.8 GB
Questions and answers
How much RAM or VRAM does Qwen3 4B need?
About 5.5 GB of GPU-usable memory with 8K context for one user: 2.5 GB of Q4_K_M weights plus our flat reserve for runtime and KV cache. With 32K context we plan 9.5 GB and with 128K 21.8 GB. Context part (exact = KV cache from the model’s config.json, flat = our planning reserve): 8K flat 3 GB, 32K flat 7 GB, 128K exact 19.3 GB.
Which mini PC can run Qwen3 4B?
28 of 28 devices in our catalog hold it with 8K context. The smallest fitting memory size is 8 GB; the cheapest device that holds it at a usable pace by our estimate is GMKtec M6 Ultra 16 GB.
What is the Ollama command for Qwen3 4B?
ollama run qwen3:4b. The first start downloads about 2.5 GB; ollama ps then shows whether the model runs fully on the GPU.
How much memory does Qwen3 4B need for long context?
The tag allows up to 256K tokens. Context memory grows with length: we plan 9.5 GB at 32K and 21.8 GB at 128K for one user; parallel requests add more.