Qwen 3 · Q4_K_M · Dense · GGUF v3

Qwen3 14B (Q4_K_M) (Q4_K_M) — Exact VRAM, KV Cache & Tensor X-Ray

14B reference in Q4_K_M (~8.4 GiB weights): fits just inside 12 GB VRAM at 8k–16k, effortless on 16 GB.

⚡ 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)10.38 GiB32k w/ Q8_0 KV: 11.98 GiB
Binary .GGUF Weights8.38 GiB4.87 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

RepositoryQwen/Qwen3-14B-GGUF
Inspected FileQwen3-14B-Q4_K_M.gguf (8.38 GiB)
HF Commit SHA530227a7d994
Harvested UTC2026-11-29 15:28:29 UTC
Parsed Header5 959 013 bytes (SHA-256 cb1bb78a1e3a8925189b…)

2. Transformer & GQA Architecture

GGUF Architectureqwen3 (Dense)
Transformer Layers40 layers (~188.8 MiB / layer)
Dimensions (d_model / FFN)5120 / 17408
Attention Heads (Q / KV)40 Q / 8 KV (GQA 5.0:1, dim 128)
Native Context & Vocab40 960 tokens · vocab 151 936

3. Exact GGML Quantization Mix Inside This Binary

Rather than quantizing every tensor identically, Q4_K_M keeps sensitive embedding, output and attention tensors at higher precision:

GGML TypeTensor CountVolumeWeight ShareDistribution
Q4_K2416.34 GiB75.7%
Q6_K412.04 GiB24.3%
F321610.00 GiB0.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 GiB0.17 GiB0.09 GiB9.44 GiB9.30 GiB
4k (4 096)0.63 GiB0.33 GiB0.18 GiB9.76 GiB9.46 GiB
8k (8 192)1.25 GiB0.66 GiB0.35 GiB10.38 GiB9.79 GiB
16k (16 384)2.50 GiB1.33 GiB0.70 GiB11.63 GiB10.46 GiB
32k (32 768)5.00 GiB2.66 GiB1.41 GiB14.13 GiB11.79 GiB
64k (65 536)10.00 GiB5.31 GiB2.81 GiB19.13 GiB14.44 GiB
128k (131 072)20.00 GiB10.63 GiB5.63 GiB29.13 GiB19.76 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 RAM8k · KV FP1628 / 407.26 GiB2.63 GiBRAM Spillover
8 GB GPU + 16 GB RAM32k · KV FP1618 / 407.10 GiB6.81 GiBRAM Spillover
8 GB GPU + 16 GB RAM32k · KV Q8_023 / 407.29 GiB4.28 GiBRAM Spillover
12 GB GPU + 32 GB RAM8k · KV FP1640 / 409.90 GiB—100% VRAM
12 GB GPU + 32 GB RAM32k · KV FP1631 / 4011.07 GiB2.84 GiBRAM Spillover
12 GB GPU + 32 GB RAM32k · KV Q8_038 / 4011.04 GiB0.52 GiBRAM Spillover
16 GB GPU + 32 GB RAM8k · KV FP1640 / 409.90 GiB—100% VRAM
16 GB GPU + 32 GB RAM32k · KV FP1640 / 4013.91 GiB—100% VRAM
16 GB GPU + 32 GB RAM32k · KV Q8_040 / 4011.56 GiB—100% VRAM
24 GB GPU + 64 GB RAM8k · KV FP1640 / 409.90 GiB—100% VRAM
24 GB GPU + 64 GB RAM32k · KV FP1640 / 4013.91 GiB—100% VRAM
24 GB GPU + 64 GB RAM32k · KV Q8_040 / 4011.56 GiB—100% VRAM
32 GB GPU + 64 GB RAM8k · KV FP1640 / 409.90 GiB—100% VRAM
32 GB GPU + 64 GB RAM32k · KV FP1640 / 4013.91 GiB—100% VRAM
32 GB GPU + 64 GB RAM32k · KV Q8_040 / 4011.56 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM8k · KV FP1640 / 409.90 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM32k · KV FP1640 / 4013.91 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM32k · KV Q8_040 / 4011.56 GiB—100% VRAM
64 GB Unified Memory8k · KV FP1640 / 409.90 GiB—Unified Memory
64 GB Unified Memory32k · KV FP1640 / 4013.91 GiB—Unified Memory
64 GB Unified Memory32k · KV Q8_040 / 4011.56 GiB—Unified Memory

6. Ready-to-Run Local CLI Commands

With Ollama:
ollama run qwen3:14b
With llama-server (Flash Attention + Q8_0 KV Cache sized for 16 GB VRAM):
llama-server -m Qwen3-14B-Q4_K_M.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!

8. Related Quantizations & Comparable Models