What GPU do I need to run Qwen/Qwen3-4B-Base?
A 4B language model for chat and instruction-following. 4.0B parameters, published in BF16. View on Hugging Face
Qwen3-4B-Base is published by Qwen on Hugging Face, with 1,876,075 downloads and 96 likes to date. It's a Qwen3ForCausalLM model built for text-generation, published natively in BF16.
What Qwen3-4B-Base is
Qwen3-4B-Base is a 4B-parameter language model published by Alibaba (Qwen) on Hugging Face. It is released under Apache 2.0.
License note: fully permissive, no gating and no usage restrictions. Facts in this section are sourced from Qwen3-4B-Base's Hugging Face model card, not benchmarked by Aquanode.
What it's used for
- Chat assistants
- Instruction following
- Synthetic data generation
VRAM required & cheapest live GPU fit
Required VRAM = weight size at each precision, plus a fixed overhead for KV-cache, activations, and fragmentation. Full formula and assumptions: methodology.
| Precision | Weight size | Required VRAM | Cheapest live fit | GPUs needed | Est. $/hr (full fit) |
|---|---|---|---|---|---|
| BF16 | 7.5 GB | 9.0 GB | RTX 5060 Ti | 1 | $0.110/hr |
| FP8 (quantized) | 3.7 GB | 4.5 GB | RTX 5060 Ti | 1 | $0.110/hr |
| INT4 (quantized) | 1.9 GB | 2.2 GB | RTX 5060 Ti | 1 | $0.110/hr |
A GPU is only matched to a row if its hardware supports that precision, and the primary recommendation is always a single-GPU fit when one exists.
INT4 requires a quantized checkpoint actually published for this model, check its Hugging Face page before relying on this row.
Cheapest way to run Qwen3-4B-Base at its published (BF16) precision: 1× RTX 5060 Ti, at $0.110/hr per GPU ($0.110/hr total). Quantizing to FP8 or INT4 (rows above) can cost less, but requires a compatible quantized checkpoint to exist for this model.
Qwen3-4B-Base: common questions
Does Qwen3-4B-Base fit on a 12 GB GPU?
Yes. At BF16 it needs 9.0 GB of VRAM, so a 12 GB card holds it with 3.0 GB to spare. An 8 GB card is not enough for it at BF16.
What is the least VRAM Qwen3-4B-Base can run in?
2.2 GB, at INT4 (quantized), which fits a 6 GB card, against 9.0 GB at BF16. That row assumes an INT4 checkpoint has actually been published for this model, so check its Hugging Face page before planning around it.
How to run Qwen3-4B-Base
Run Qwen3-4B-Base with vLLM
Generic example, not from the model's own docs: adjust flags (quantization, context length, parallelism) for your setup.
vllm serve Qwen/Qwen3-4B-Base --tensor-parallel-size 1Run Qwen3-4B-Base with Ollama
Verified against Ollama's own library listing.
ollama run qwen3:4bRun Qwen3-4B-Base with GGUF quantizations
Prebuilt GGUF weights published at mradermacher/Qwen3-4B-Base-GGUF. Run with llama.cpp's llama-server or load the repo directly in LM Studio.
llama-server -hf mradermacher/Qwen3-4B-Base-GGUFSource: https://huggingface.co/mradermacher/Qwen3-4B-Base-GGUF
Deploy Qwen3-4B-Base on Aquanode
Aquanode has no one-click deploy template for Qwen3-4B-Base; you install the inference engine yourself with the commands below. Aquanode sells GPU pods billed per second, not a hosted inference API.
- Launch a bare GPU pod sized to the requirement above (1× RTX 5060 Ti or larger).
- Open a terminal on the pod, or save one of the commands above as a startup script so it runs automatically the first time the pod boots.
- Run the command and connect to the resulting endpoint.
Weight-to-VRAM math, the fit rules, and how live prices are normalized: full methodology.
More Qwen3 models
- Qwen3-4B (4.0B, BF16)
- Qwen3-4B-Instruct-2507 (4.0B, BF16)
- Qwen3-4B-Thinking-2507 (4.0B, BF16)
- Qwen3-4B-Instruct-2507 (4.0B, BF16)
- Qwen3-Reranker-4B (4.0B, BF16)
Related reading: H100 pricing and specs, The best GPUs for AI, ranked, and Best GPU for LLM inference.