ModelAtlas
Guides

Q4_K_M vs Q8_0: which Qwen3 4B GGUF file should you download?

With 3 GB free for the file, choose Q4_K_M: the official Qwen3 4B file is about 2.50 GB. Q8_0 is about 4.28 GB and will not fit in that space. This is a download decision, not a promise that the smaller file will run in 3 GB of memory.

Compare the same model, not just matching suffixes

GGUF is a file format. Q4_K_M and Q8_0 name different ways to represent the weights inside it. The first uses a mix of quantization types; the second uses an 8-bit quantization scheme. Neither suffix specifies a model family, license or context length. Compare files from the same publisher and revision before attributing a difference to quantization. Here both are the original Qwen3-4B from Qwen’s own GGUF repository, not a later model with a similar name.

The exact files differ by 1.78 GB

At revision a9a60d0, Qwen3-4B-Q4_K_M.gguf is 2,497,280,256 bytes (2.50 GB, or 2.33 GiB). Qwen3-4B-Q8_0.gguf is 4,280,404,704 bytes (4.28 GB, or 3.99 GiB). The difference is 1,783,124,448 bytes. That is the extra storage for this particular Q8_0 file, not a universal multiplier. The publisher’s file pages below also list the corresponding SHA-256 values. Compare a downloaded file with its own checksum, never the other file’s.

A bigger file does not buy a longer context window

Qwen documents 32,768 native tokens for this model. Its extended figure of 131,072 requires YaRN, a context-scaling method, and a suitably configured runtime. Choosing Q8_0 does not enable YaRN. Running either file needs memory beyond what the download occupies on disk; context and cache settings also matter. With 3 GB free on the model storage drive, the smaller file fits by size alone. That tells you nothing conclusive about free GPU memory or the context your machine can handle.

Choose with the work you actually do

If disk space is the constraint, start with Q4_K_M. If both files fit and answer fidelity matters, compare them using the same runtime settings and the same small set of representative prompts. For an extraction task, for instance, check whether each output preserves the dates and numbers in the source. Record errors, not just which answer sounds better. We haven’t benchmarked this pair on your hardware; the filenames don’t establish an accuracy or speed gain.

Sources