QW

Qwen3 4B

QwenGGUF by Melvin56Updated 2025-05-17
Download on Hugging Face
Parameters4.02B
Context40K
Layers36
Architectureqwen3
Smallest quant2.2 GB
Quick answer

Qwen3 4B needs about 4.3 GB of memory at its main file (a 2.6 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 9 quants, from 2.2 GB to 8.1 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 4.8 GB.

Qwen3 4B – 4.02B parameter dense model with reasoning and tool use

Qwen3 4B is a dense causal language model with 4.02B parameters. It supports 40960 trained context tokens and is licensed under apache-2.0. The model excels in reasoning and tool integration.

Good at

  • Reasoning
  • Tool use
  • Instruction following

Limits

  • No vision support
  • Large memory requirement for full context
  • No mixture of experts

Best for

  • Chatbot development
  • Coding assistance
  • Agent task execution

Who it’s for. Developers building local LLM applications who need a compact model with strong reasoning and tool‑use capabilities. The model is suitable for environments with limited GPU memory but sufficient RAM for inference.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
—2.2 GB 3.9 GB
Fits Get file →
Q4_02.4 GB 4.1 GB
Fits Get file →
—2.4 GB 4.1 GB
Fits Get file →
—2.5 GB 4.2 GB
Fits Get file →
—2.6 GB 4.3 GB
Fits Get file →
—2.8 GB 4.5 GB
Fits Get file →
—3.3 GB 5.0 GB
Fits Get file →
—3.3 GB 5.0 GB
Fits Get file →
BF168.1 GB 9.8 GB
Too big Get file →

For 8 GB VRAM, use the Q4_0 quant file (2.37 GB) which estimates 4.1 GB memory at 8 k context. If more VRAM is available, the base 2.22 GB file uses 3.9 GB memory. The BF16 quant (8.05 GB) requires the highest memory but offers full precision.

What GPU do you need for Qwen3 4B?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: the best quant that fits is the main file (2.2 GB file, about 3.9 GB in use).
  • 6 GB VRAM: the best quant that fits is the main file (3.3 GB file, about 5.0 GB in use).
  • 8 GB VRAM: the best quant that fits is the main file (3.3 GB file, about 5.0 GB in use).
  • 12 GB VRAM: the best quant that fits is BF16 (8.1 GB file, about 9.8 GB in use).

Which Qwen3 4B quant should you choose?

If memory is tight, the smallest file is the first one in the table at 2.2 GB, with the quality trade-offs that come with fewer bits.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen3
Parameters4.02B
Layers36
Trained context40,960 tokens
KV cache (fp16)144 KB per token

Source

Quantized byMelvin56
FamilyQwen
Base modelQwen/Qwen3-4B
Licenseapache-2.0
Downloads (HF)631
Last updated2025-05-17

Frequently asked questions about Qwen3 4B

How much VRAM does Qwen3 4B need?

About 4.3 GB at its main file with an 8K context window. That is the 2.6 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Qwen3 4B on an 8 GB GPU?

Yes, with the smaller files: the 3.3 GB file needs about 5.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Qwen3 4B GGUF?

It depends on the quant: file is 2.2 GB, Q4_0 is 2.4 GB, file is 2.4 GB, file is 2.5 GB, file is 2.6 GB, file is 2.8 GB and 3 more.

What context length does Qwen3 4B support?

The GGUF header lists a trained context length of 40,960 tokens (40K). The KV cache grows with the context you use: about 1.2 GB at 8K and 4.8 GB at 32K.

Where can I download Qwen3 4B GGUF?

The files are on Hugging Face in the Melvin56/Qwen3-4B-ik_GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Qwen3 4B use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run Qwen3 4B on 8 GB VRAM?

Yes, the Q4_0 quant file is 2.37 GB and estimates 4.1 GB memory at 8 k context, fitting within 8 GB VRAM.

Does Qwen3 4B support vision?

No, the model has no vision capabilities.

What license applies to this model?

The model is released under the apache-2.0 license.

Other GGUFs of Qwen3-4B

Similar models

Browse all →

More from Melvin56

All by Melvin56 →

More Qwen models

All Qwen →

Other small models

All small models →