Qwen3 14B (IQ4_XS) (IQ4_XS) — Exact VRAM, KV Cache & Tensor X-Ray
Imatrix IQ4_XS (~4.25 bpw) saving ~1 GiB of VRAM vs Q4_K_M to unlock longer context windows on 12 GB GPUs.
⚡ Simulate on Your GPU in Browser (WASM)
Benchmark & Sign Ed25519 in Local Cockpit 0.4.0
View File on HuggingFace
Min VRAM (8k · FP16 KV)9.55 GiB32k w/ Q8_0 KV: 11.15 GiB
Binary .GGUF Weights7.55 GiB4.39 effective bits/weight
Parameters (Active / Total)14.77 / 14.77 B443 parsed tensors
KV Cache Growth160.0 MiB/1kQ8_0 KV: 85.0 MiB / 1k tok
1. HuggingFace Binary Provenance
| Repository | bartowski/Qwen_Qwen3-14B-GGUF |
|---|---|
| Inspected File | Qwen_Qwen3-14B-IQ4_XS.gguf (7.55 GiB) |
| HF Commit SHA | bd080f768a64 |
| Harvested UTC | 2026-11-29 15:28:30 UTC |
| Parsed Header | 5 959 705 bytes (SHA-256 84c85fbd1c1156edc20a…) |
2. Transformer & GQA Architecture
| GGUF Architecture | qwen3 (Dense) |
|---|---|
| Transformer Layers | 40 layers (~168.2 MiB / layer) |
| Dimensions (d_model / FFN) | 5120 / 17408 |
| Attention Heads (Q / KV) | 40 Q / 8 KV (GQA 5.0:1, dim 128) |
| Native Context & Vocab | 32 768 tokens · vocab 151 936 |
3. Exact GGML Quantization Mix Inside This Binary
Rather than quantizing every tensor identically, IQ4_XS keeps sensitive embedding, output and attention tensors at higher precision:
| GGML Type | Tensor Count | Volume | Weight Share | Distribution |
|---|---|---|---|---|
IQ4_XS | 241 | 6.82 GiB | 90.3% | |
Q6_K | 1 | 0.59 GiB | 7.9% | |
Q5_K | 40 | 0.13 GiB | 1.8% | |
F32 | 161 | 0.00 GiB | 0.0% |
4. KV-Cache Context Cliff from 2k to 128k Tokens (FP16 vs Q8_0 vs Q4_0)
Enabling Flash Attention with a Q8_0 KV cache cuts context memory nearly in half without altering model weights:
| Context Length | KV Only (FP16) | KV Only (Q8_0) | KV Only (Q4_0) | Total VRAM (FP16) | Total VRAM (Q8_0) |
|---|---|---|---|---|---|
| 2k (2 048) | 0.31 GiB | 0.17 GiB | 0.09 GiB | 8.61 GiB | 8.47 GiB |
| 4k (4 096) | 0.63 GiB | 0.33 GiB | 0.18 GiB | 8.93 GiB | 8.63 GiB |
| 8k (8 192) | 1.25 GiB | 0.66 GiB | 0.35 GiB | 9.55 GiB | 8.96 GiB |
| 16k (16 384) | 2.50 GiB | 1.33 GiB | 0.70 GiB | 10.80 GiB | 9.63 GiB |
| 32k (32 768) | 5.00 GiB | 2.66 GiB | 1.41 GiB | 13.30 GiB | 10.96 GiB |
| 64k (65 536) | 10.00 GiB | 5.31 GiB | 2.81 GiB | 18.30 GiB | 13.61 GiB |
| 128k (131 072) | 20.00 GiB | 10.63 GiB | 5.63 GiB | 28.30 GiB | 18.93 GiB |
5. Layer-by-Layer GPU Offload Matrix Across Hardware Tiers
Deterministic memory placement including OS display VRAM reserve and compute buffers:
| Hardware Tier | Context & KV | Layers in VRAM | VRAM Used | RAM Spillover | Memory Verdict |
|---|---|---|---|---|---|
| 8 GB GPU + 16 GB RAM | 8k · KV FP16 | 31 / 40 | 7.31 GiB | 1.76 GiB | RAM Spillover |
| 8 GB GPU + 16 GB RAM | 32k · KV FP16 | 20 / 40 | 7.29 GiB | 5.78 GiB | RAM Spillover |
| 8 GB GPU + 16 GB RAM | 32k · KV Q8_0 | 25 / 40 | 7.27 GiB | 3.46 GiB | RAM Spillover |
| 12 GB GPU + 32 GB RAM | 8k · KV FP16 | 40 / 40 | 9.07 GiB | — | 100% VRAM |
| 12 GB GPU + 32 GB RAM | 32k · KV FP16 | 33 / 40 | 11.05 GiB | 2.02 GiB | RAM Spillover |
| 12 GB GPU + 32 GB RAM | 32k · KV Q8_0 | 40 / 40 | 10.73 GiB | — | 100% VRAM |
| 16 GB GPU + 32 GB RAM | 8k · KV FP16 | 40 / 40 | 9.07 GiB | — | 100% VRAM |
| 16 GB GPU + 32 GB RAM | 32k · KV FP16 | 40 / 40 | 13.08 GiB | — | 100% VRAM |
| 16 GB GPU + 32 GB RAM | 32k · KV Q8_0 | 40 / 40 | 10.73 GiB | — | 100% VRAM |
| 24 GB GPU + 64 GB RAM | 8k · KV FP16 | 40 / 40 | 9.07 GiB | — | 100% VRAM |
| 24 GB GPU + 64 GB RAM | 32k · KV FP16 | 40 / 40 | 13.08 GiB | — | 100% VRAM |
| 24 GB GPU + 64 GB RAM | 32k · KV Q8_0 | 40 / 40 | 10.73 GiB | — | 100% VRAM |
| 32 GB GPU + 64 GB RAM | 8k · KV FP16 | 40 / 40 | 9.07 GiB | — | 100% VRAM |
| 32 GB GPU + 64 GB RAM | 32k · KV FP16 | 40 / 40 | 13.08 GiB | — | 100% VRAM |
| 32 GB GPU + 64 GB RAM | 32k · KV Q8_0 | 40 / 40 | 10.73 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 8k · KV FP16 | 40 / 40 | 9.07 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 32k · KV FP16 | 40 / 40 | 13.08 GiB | — | 100% VRAM |
| 48 GB Dual-GPU + 128 GB RAM | 32k · KV Q8_0 | 40 / 40 | 10.73 GiB | — | 100% VRAM |
| 64 GB Unified Memory | 8k · KV FP16 | 40 / 40 | 9.07 GiB | — | Unified Memory |
| 64 GB Unified Memory | 32k · KV FP16 | 40 / 40 | 13.08 GiB | — | Unified Memory |
| 64 GB Unified Memory | 32k · KV Q8_0 | 40 / 40 | 10.73 GiB | — | Unified Memory |
6. Ready-to-Run Local CLI Commands
With Ollama:
ollama run hf.co/bartowski/Qwen_Qwen3-14B-GGUF:IQ4_XS
With
llama-server (Flash Attention + Q8_0 KV Cache sized for 16 GB VRAM):llama-server -m Qwen_Qwen3-14B-IQ4_XS.gguf -ngl 40 -c 32768 -fa --cache-type-k q8_0 --cache-type-v q8_0
7. Ed25519 Certified Real Hardware Benchmarks
No certified Ed25519 passport recorded for this exact quantization yet (zero synthetic tok/s are ever invented). Run this model in Local Cockpit 0.4.0 to publish the first signed /b/lc-… passport!