Short answer: Qwen’s official Qwen3-8B GGUF repository publishes a 5.03GB Q4_K_M, 5.72GB Q5_0, 5.85GB Q5_K_M, 6.73GB Q6_K and 8.71GB Q8_0. Eight gigabytes can target the official Q4 and selected Q5/Q6 files only after cache and runtime overhead are budgeted; 12GB provides materially more practical room; 16GB opens larger quantizations or longer context. File fit alone is not workload fit.
Exact model: this guide covers Qwen/Qwen3-8B, a dense 8.2B-parameter model with thinking and non-thinking modes. It does not cover Qwen3-30B-A3B or Qwen3-235B-A22B MoE models, whose total and active parameter counts require different planning.
Official Qwen3-8B files
| Official GGUF | Displayed size | Capacity implication before overhead |
|---|---|---|
| Q4_K_M | 5.03GB | Leaves about 3GB of an 8GB label before cache, buffers and runtime state |
| Q5_0 | 5.72GB | Can target 8GB only with bounded cache and verified runtime behavior |
| Q5_K_M | 5.85GB | Similar 8GB constraint; 12GB gives substantially more room |
| Q6_K | 6.73GB | Tight on 8GB before a useful cache; stronger 12GB target |
| Q8_0 | 8.71GB | Already exceeds an 8GB pool; 12GB is possible only with controlled context and overhead |
Repository display sizes are artifact sizes, not measured device-memory peaks. Allocation, metadata, mapping behavior and runtime buffers can change the observed total.
Architecture and context fields
| Official field | Value | Why it matters |
|---|---|---|
| Total parameters | 8.2B | Qwen’s model-card figure; 6.95B are non-embedding parameters |
| Layers | 36 | Multiplies cache state for each sequence |
| Attention / KV heads | 32 / 8 | Grouped-query attention reduces KV state versus 32 KV heads |
| Head dimension | 128 | Published directly in the configuration |
| Configuration positions | 40,960 | Published config field |
| Model-card context | 32,768 native; 131,072 with YaRN | Extended context requires the documented scaling path and more memory |
KV-cache payload at 8K, 32K, 40K and 128K
For one sequence with FP16 key/value entries, use 2 × 36 layers × 8 KV heads × 128 head dimension × 2 bytes × token slots.
| Allocated token slots | Illustrative FP16 K+V payload | Planning consequence |
|---|---|---|
| 8,192 | 1.125GiB | Material on an 8GB card after a 5GB–7GB artifact |
| 32,768 | 4.5GiB | Weights plus cache exceed many nominal file-only plans |
| 40,960 | 5.625GiB | Reflects the published configuration field, before runtime overhead |
| 131,072 | 18GiB | YaRN-scale context cannot be treated as an 8GB–16GB all-FP16-cache promise |
Architecture arithmetic is not a measured peak. Cache quantization, paging, batch size, concurrency, alignment and implementation change allocations. Some runtimes allocate cache differently or permit a quantized KV cache.
Can Qwen3-8B run on 8GB?
Yes, the official Q4_K_M and Q5 files can be viable starting points at modest context, and Q6_K may work only with tighter controls. But subtracting the file size from the VRAM label is not enough: the 8K illustrative FP16 cache is already 1.125GiB, before executable code, graph buffers, scratch space and display use. Verify the exact runtime, offload split, cache precision and maximum token allocation.
What does 12GB change?
Twelve gigabytes is a more practical one-device tier for the official Q4 through Q6 files and can target Q8_0 with carefully bounded cache and overhead. It does not make 32K automatic: the illustrative FP16 cache at 32K is 4.5GiB, which already pushes Q8_0 plus cache above the 12GB label before other allocations.
What does 16GB change?
Sixteen gigabytes provides more room for Q8_0, longer context, larger batches or runtime buffers. It still does not hold the 18GiB illustrative FP16 cache for 131,072 slots, even before weights. Use the extended YaRN path only when the runtime supports it and the complete allocation has been measured.
Thinking mode changes workload behavior, not weight size
Qwen3 supports thinking and non-thinking modes in the same model. The artifact does not become a different size when the mode changes, but reasoning responses can consume more generated tokens and retain more context. Set an output ceiling and test representative prompts; a short chat success does not validate a long reasoning workload.
A reproducible Qwen3-8B test
- Record the exact official artifact, revision, runtime and version.
- Record GPU model, visible memory, display use and offload settings.
- Fix prompt tokens, output limit, cache precision, batch and concurrency.
- Test thinking and non-thinking behavior separately with the intended output ceiling.
- Measure peak device and host memory, not only idle memory after load.
- Record prompt processing, generation speed and time to first token separately.
- Evaluate output quality on the same prompt set before choosing a quantization.
Choose the next evidence
Read the general 8B guide · Compare 8GB, 12GB and 16GB GPUs · Compare mainstream memory tiers · Compare Qwen3-30B-A3B · Map model sizes to hardware · Estimate a complete workload · Run a repeatable test · Share a measured result · Follow matching hardware · Browse every guide
Sources and limits
- Official Qwen3-8B GGUF repository and artifact sizes
- Official Qwen3-8B model card
- Official Qwen3-8B configuration
- Official Qwen3 announcement
- HighVRAM methodology
Reviewed October 25, 2026. Artifact sizes, architecture and context fields come from Qwen’s official repositories and announcement. Cache figures are transparent architecture arithmetic, not measured peak-memory claims. HighVRAM has not independently benchmarked every runtime and device. Fit does not establish speed, output quality or value.
Need the larger dense Qwen?
Compare the Qwen3-14B VRAM guide for official 9GB–15.7GB files and 12GB/16GB/24GB paths.
Need the smaller dense Qwen?
Compare the Qwen3-4B VRAM guide for official files and 4GB/6GB/8GB paths.
Compare the dense Qwen3 family
The Qwen3 family VRAM guide compares official 4B, 8B, 14B and 32B artifacts and capacity lanes.
Newer multimodal comparison: Qwen3.5-9B uses hybrid attention and includes a vision path; do not transfer Qwen3-8B cache or artifact assumptions.