QW

Qwen3 4B Instruct 2507 Unsloth

QwenGGUF by magiccodingmanUpdated 2026-04-25
Download on Hugging Face
Parameters4.02B
Context256K
Layers36
Architectureqwen3
Smallest quant2.3 GB
Quick answer

Qwen3 4B Instruct 2507 Unsloth needs about 4.2 GB of memory at MXFP4_MOE (a 2.4 GB file) with an 8K context window, so it fits on a 6 GB GPU. This repository has 6 quants, from 2.3 GB (MXFP4_MOE) to 4.3 GB (MXFP4_MOE). Longer context needs more: at 32K tokens the KV cache alone adds about 4.8 GB.

Qwen3 4B Instruct 2507 Unsloth is a 4.02B-parameter Qwen model in GGUF format, quantized by magiccodingman. Its trained context length is 256K tokens. The repository has 6 quant files, from 2.3 GB (MXFP4_MOE) to 4.3 GB (MXFP4_MOE).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
MXFP4_MOE2.3 GB 4.0 GB
Fits Get file →
IQ4_NL2.4 GB 4.1 GB
Fits Get file →
MXFP4_MOE2.4 GB 4.2 GB
Fits Get file →
MXFP4_MOE2.8 GB 4.5 GB
Fits Get file →
MXFP4_MOE3.3 GB 5.0 GB
Fits Get file →
MXFP4_MOE4.3 GB 6.0 GB
Fits Get file →

What GPU do you need for Qwen3 4B Instruct 2507 Unsloth?

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 MXFP4_MOE (2.3 GB file, about 4.0 GB in use).
  • 6 GB VRAM: the best quant that fits is MXFP4_MOE (4.3 GB file, about 6.0 GB in use).

Which Qwen3 4B Instruct 2507 Unsloth quant should you choose?

MXFP4_MOE (2.4 GB) is the middle option in this repository. Lower bit counts mean smaller files and more quality loss.

If memory is tight, the smallest file is MXFP4_MOE at 2.3 GB, with the quality trade-offs that come with fewer bits. Lower bit counts mean smaller files and more quality loss.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

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

Source

Quantized bymagiccodingman
FamilyQwen
Licenseapache-2.0
Downloads (HF)283
Last updated2026-04-25

Frequently asked questions about Qwen3 4B Instruct 2507 Unsloth

How much VRAM does Qwen3 4B Instruct 2507 Unsloth need?

About 4.2 GB at MXFP4_MOE with an 8K context window. That is the 2.4 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 Instruct 2507 Unsloth on an 8 GB GPU?

Yes, with MXFP4_MOE: the 4.3 GB file needs about 6.0 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Qwen3 4B Instruct 2507 Unsloth GGUF?

It depends on the quant: MXFP4_MOE is 2.3 GB, IQ4_NL is 2.4 GB, MXFP4_MOE is 2.4 GB, MXFP4_MOE is 2.8 GB, MXFP4_MOE is 3.3 GB, MXFP4_MOE is 4.3 GB.

What context length does Qwen3 4B Instruct 2507 Unsloth support?

The GGUF header lists a trained context length of 262,144 tokens (256K). 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 Instruct 2507 Unsloth GGUF?

The files are on Hugging Face in the magiccodingman/Qwen3-4B-Instruct-2507-Unsloth-MagicQuant-Hybrid-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 Instruct 2507 Unsloth 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.

Other GGUFs of Qwen3-4B-Instruct-2507

Similar models

Browse all →

More from magiccodingman

All by magiccodingman →

More Qwen models

All Qwen →

Other small models

All small models →