QW

Qwen4

QwenGGUF by stealth-modelUpdated 2026-10-29
Download on Hugging Face
Parameters177B
Context256K
Layers49
Architectureqwen4exp
Smallest quant1.9 GB
Quick answer

Qwen4 needs about 3.2 GB of memory at Q4_K_M (a 1.9 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 5 quants, from 1.9 GB (Q4_K_M) to 158.3 GB (Q5_K_XL). Longer context needs more: at 32K tokens the KV cache alone adds about 3.3 GB.

Qwen4 is a 177B-parameter Qwen model in GGUF format, quantized by stealth-model. Its trained context length is 256K tokens. The repository has 5 quant files, from 1.9 GB (Q4_K_M) to 158.3 GB (Q5_K_XL).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q4_K_M1.9 GB 3.2 GB
Fits Get file →
Q8_02.8 GB 4.1 GB
Fits Get file →
Q2_K_XL78.9 GB (3 parts) 80.2 GB
Too big Get file →
Q4_K_XL111.3 GB (4 parts) 112.7 GB
Too big Get file →
Q5_K_XL158.3 GB (6 parts) 159.6 GB
Too big Get file →

What GPU do you need for Qwen4?

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 Q4_K_M (1.9 GB file, about 3.2 GB in use).
  • 6 GB VRAM: the best quant that fits is Q8_0 (2.8 GB file, about 4.1 GB in use).
  • 8 GB VRAM: the best quant that fits is Q8_0 (2.8 GB file, about 4.1 GB in use).
  • 12 GB VRAM: the best quant that fits is Q8_0 (2.8 GB file, about 4.1 GB in use).
  • 16 GB VRAM: the best quant that fits is Q8_0 (2.8 GB file, about 4.1 GB in use).
  • 24 GB VRAM: the best quant that fits is Q8_0 (2.8 GB file, about 4.1 GB in use).
  • 32 GB VRAM: the best quant that fits is Q8_0 (2.8 GB file, about 4.1 GB in use).
  • 48 GB VRAM: the best quant that fits is Q8_0 (2.8 GB file, about 4.1 GB in use).

Which Qwen4 quant should you choose?

Q4_K_M is the usual starting point for Qwen4: it balances file size and quality well. Here it is a 1.9 GB file.

The Q8_0 file is 2.8 GB, about 1.5 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen4exp
Parameters177B (approximate, mixture of experts)
Layers49
Trained context262,144 tokens
KV cache (fp16)98 KB per token

Source

Quantized bystealth-model
FamilyQwen
Licenseother
Downloads (HF)77
Last updated2026-10-29

Frequently asked questions about Qwen4

How much VRAM does Qwen4 need?

About 3.2 GB at Q4_K_M with an 8K context window. That is the 1.9 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 Qwen4 on an 8 GB GPU?

Yes, with Q8_0: the 2.8 GB file needs about 4.1 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Qwen4 GGUF?

It depends on the quant: Q4_K_M is 1.9 GB, Q8_0 is 2.8 GB, Q2_K_XL is 78.9 GB, Q4_K_XL is 111.3 GB, Q5_K_XL is 158.3 GB.

What context length does Qwen4 support?

The GGUF header lists a trained context length of 262,144 tokens (256K). The KV cache grows with the context you use: about 0.8 GB at 8K and 3.3 GB at 32K.

Where can I download Qwen4 GGUF?

The files are on Hugging Face in the stealth-model/Qwen4 repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Qwen4 use?

Hugging Face lists the license as other. 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.8-Flash-Next

Similar models

Browse all →

More from stealth-model

All by stealth-model →

More Qwen models

All Qwen →

Other large models

All large models →