QW

Qwen3-8B-128K

QwenGGUF by unslothUpdated 2025-05-25
Download on Hugging Face
Parameters8.19B
Context128K
Layers36
Architectureqwen3
Smallest quant2.3 GB
Quick answer

Qwen3-8B-128K needs about 6.7 GB of memory at Q4_K_M (a 5.0 GB file) with an 8K context window, so it fits on a 8 GB GPU. This repository has 26 quants, from 2.3 GB (IQ1_S) to 16.4 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 4.8 GB.

Qwen3-8B 128K context, 8B parameters, 32k native context, 131k with YaRN

Qwen3-8B is a causal language model with 8.2B parameters and 36 layers. It supports a native context length of 32,768 tokens and 131,072 tokens with YaRN. The model is released under the Apache‑2.0 license and is available in multiple GGUF quantizations.

Good at

  • Reasoning and math
  • Code generation
  • Multilingual instruction following

Limits

  • No vision support
  • Requires 128K context for full capability
  • Large VRAM needed for higher quants

Best for

  • Complex reasoning tasks
  • Agent integration with external tools
  • Multilingual dialogue

Who it’s for. Developers and researchers who need a large language model with extended context and strong reasoning abilities. The model is suitable for building agents, advanced chatbots, and multilingual applications.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
IQ1_S2.3 GB 4.0 GB
Fits Get file →
IQ1_M2.4 GB 4.1 GB
Fits Get file →
IQ2_XXS2.6 GB 4.3 GB
Fits Get file →
IQ2_M3.1 GB 4.8 GB
Fits Get file →
Q2_K3.3 GB 5.0 GB
Fits Get file →
IQ3_XXS3.4 GB 5.1 GB
Fits Get file →
Q2_K_L3.4 GB 5.1 GB
Fits Get file →
Q2_K_XL3.5 GB 5.2 GB
Fits Get file →
Q3_K_S3.8 GB 5.5 GB
Fits Get file →
Q3_K_M4.1 GB 5.8 GB
Fits Get file →
Q3_K_XL4.3 GB 6.0 GB
Fits Get file →
IQ4_XS4.6 GB 6.3 GB
Fits Get file →
Q4_04.8 GB 6.5 GB
Fits Get file →
IQ4_NL4.8 GB 6.5 GB
Fits Get file →
Q4_K_S4.8 GB 6.5 GB
Fits Get file →
Q4_K_M5.0 GB 6.7 GB
Fits Get file →
Q4_K_XL5.1 GB 6.9 GB
Fits Get file →
Q4_15.2 GB 7.0 GB
Fits Get file →
Q5_K_S5.7 GB 7.4 GB
Tight Get file →
Q5_K_M5.9 GB 7.6 GB
Tight Get file →
Q5_K_XL5.9 GB 7.6 GB
Tight Get file →
Q6_K6.7 GB 8.4 GB
Too big Get file →
Q6_K_XL7.5 GB 9.2 GB
Too big Get file →
Q8_08.7 GB 10.4 GB
Too big Get file →
Q8_K_XL10.8 GB 12.5 GB
Too big Get file →
BF1616.4 GB 18.1 GB
Too big Get file →

For 8‑GB VRAM, use Q4_0 or Q4_K_S (≈6.5 GB memory at 8k context). For 12‑GB VRAM, Q5_K_S or Q5_K_M (≈7.4–7.6 GB). For 16‑GB VRAM, Q6_K (≈8.4 GB) or Q6_K_XL (≈9.2 GB). Memory estimates are approximate.

What GPU do you need for Qwen3-8B-128K?

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 IQ1_S (2.3 GB file, about 4.0 GB in use).
  • 6 GB VRAM: the best quant that fits is Q3_K_XL (4.3 GB file, about 6.0 GB in use).
  • 8 GB VRAM: the best quant that fits is Q5_K_XL (5.9 GB file, about 7.6 GB in use).
  • 12 GB VRAM: the best quant that fits is Q8_0 (8.7 GB file, about 10.4 GB in use).
  • 16 GB VRAM: the best quant that fits is Q8_K_XL (10.8 GB file, about 12.5 GB in use).
  • 24 GB VRAM: the best quant that fits is BF16 (16.4 GB file, about 18.1 GB in use).

Which Qwen3-8B-128K quant should you choose?

Q4_K_M is the usual starting point for Qwen3-8B-128K: it balances file size and quality well. Here it is a 5.0 GB file.

The Q8_0 file is 8.7 GB, about 1.7 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.

If memory is tight, the smallest file is IQ1_S at 2.3 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen3
Parameters8.19B
Layers36
Trained context131,072 tokens
KV cache (fp16)144 KB per token

Source

Quantized byunsloth
FamilyQwen
Base modelQwen/Qwen3-8B
Licenseapache-2.0
Downloads (HF)5,316
Last updated2025-05-25

Frequently asked questions about Qwen3-8B-128K

How much VRAM does Qwen3-8B-128K need?

About 6.7 GB at Q4_K_M with an 8K context window. That is the 5.0 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-8B-128K on an 8 GB GPU?

Yes, with Q5_K_XL: the 5.9 GB file needs about 7.6 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Qwen3-8B-128K GGUF?

It depends on the quant: IQ1_S is 2.3 GB, IQ1_M is 2.4 GB, IQ2_XXS is 2.6 GB, IQ2_M is 3.1 GB, Q2_K is 3.3 GB, IQ3_XXS is 3.4 GB and 20 more.

What context length does Qwen3-8B-128K support?

The GGUF header lists a trained context length of 131,072 tokens (128K). 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-8B-128K GGUF?

The files are on Hugging Face in the unsloth/Qwen3-8B-128K-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-8B-128K 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-8B on 8 GB VRAM?

Yes, with a 4‑bit quant such as Q4_0 or Q4_K_S, which requires about 6.5 GB of VRAM at 8k context.

Does the model support vision input?

No, Qwen3-8B is a text‑only model and does not include vision capabilities.

What context length does the model support?

The model supports 32,768 tokens natively and 131,072 tokens with YaRN for extended context.

Other GGUFs of Qwen3-8B

Similar models

Browse all →

More from unsloth

All by unsloth →

More Qwen models

All Qwen →

Other small models

All small models →