Qwen3 4B
4B parameter open-weight model. Compact Qwen3 variant. Q4 fits in 4 GB VRAM. Best compact pick for chat and coding on constrained hardware.
Alibaba Cloud · Qwen3
Model overview
Qwen3 4B is a compact model from Alibaba's Qwen3 family, small enough to fit comfortably on entry-level consumer GPUs while still handling everyday chat, coding help, and summarization. Its 32K token context window is generous for a model this size, and it's released under the permissive Apache 2.0 license. It's a practical starting point if you're setting up local AI on a laptop GPU or an older desktop card, and it pairs well with Ollama or LM Studio for a quick first run. Compared to larger Qwen3 checkpoints, it trades some capability for a much smaller VRAM footprint — treat it as the compact pick for constrained hardware rather than the strongest model in the family.
Editorial review
VRAM figures are empirical estimates. Actual usage varies by runtime, context length, and system configuration. Verify on your specific hardware before production use.
Will Qwen3 4B run on your machine?
Qwen3 4B is 4B parameters and needs 4.1 GB of VRAM at Q4_K_M — 2.6 GB of weights plus 1.5 GB of runtime overhead for the inference server itself.
VRAM by quantization
| Quantization | Weights | Needs (with overhead) | Quality |
|---|---|---|---|
| Q4_K_M | 2.6 GB | 4.1 GB | good |
| Q8_0 | 4.5 GB | 6 GB | high |
| FP16 | 8 GB | 9.5 GB | reference |
Fit on common hardware at Q4_K_M
| Hardware | Memory the model can use | System RAM | Verdict |
|---|---|---|---|
| CPU Only | None (CPU only) | 16 GB | CPU offload |
| RTX 4060 Laptop | 8 GB | 16 GB | Comfortable |
| RTX 3060 (12GB) | 12 GB | 32 GB | Comfortable |
| RTX 4060 Ti (16GB) | 16 GB | 32 GB | Comfortable |
Comfortable means VRAM clears the requirement by 2 GB or more. Tight means it covers the requirement with no margin. CPU offload means the model does not fit in VRAM but system RAM is at least 1.6× the weights, so it will run at reduced speed — expect roughly 1–5 tokens per second. Figures are weights plus a fixed runtime overhead and exclude KV-cache growth, which scales with context length.
Need more hardware for Qwen3 4B? Open the PC Builder for the 7B / 8B tier →
Ready to run this model locally?
Find a compatible interface in our Local AI Tools directory →