Qwen3 8B (Q4_K_M)
Flagship 8B in Q4_K_M (~5 GiB weights): runs in 8 GB VRAM at 8k–16k context and flies on 12–16 GB cards.
ollama run qwen3:8bDesktop Rust Apps
Browser Lab & Open Data
The benchmark 8B matchup for 8 GB GPUs (RTX 4060, 3070, 5060): inspect real .GGUF headers, KV-cache footprint and verified Llama 3.1 8B throughput.
Flagship 8B in Q4_K_M (~5 GiB weights): runs in 8 GB VRAM at 8k–16k context and flies on 12–16 GB cards.
ollama run qwen3:8bClassic 8B (32 layers, GQA 32/8): fits 100% in 8 GB VRAM at 8k context, with full 32k headroom on 12 GB GPUs.
ollama run llama3.1:8bZero synthetic estimates: every weight, layer, GQA ratio and KV-cache curve comes directly from the parsed .GGUF binary header.
| Binary metric | Qwen3 8B (Q4_K_M) (Q4_K_M) | Llama 3.1 8B Instruct (Q4_K_M) | Advantage / Delta |
|---|---|---|---|
| Real .GGUF file weights | 4.68 GiB | 4.58 GiB | B · +0.10 GiB |
| Effective precision (bpw) | 4.90 bpw | 4.89 bpw | A · +0.01 bpw |
| Total / active parameters | 8.19B / 8.19B | 8.03B / 8.03B | A · +0.16 B |
| Layers · Attention / KV heads (GQA) | 36L · 32/8 (4.0×) | 32L · 32/8 (4.0×) | Equal |
| KV-cache growth / 1k tokens (FP16) | 144.0 MiB/1k | 128.0 MiB/1k | B · +16.00 MiB |
| KV-cache growth / 1k tokens (Q8_0) | 76.5 MiB/1k | 68.0 MiB/1k | B · +8.50 MiB |
| Min VRAM @ 8k FP16 (baseline) | 6.55 GiB | 6.33 GiB | B · +0.22 GiB |
| Min VRAM @ 32k Q8_0 (long context) | 8.02 GiB | 7.65 GiB | B · +0.37 GiB |
| Native context window | 40 960 | 131 072 | RoPE |
Live offload verdict for both models at the selected context & KV quantization. Click any tier for all 62 compatible models.
| GPU VRAM Tier | Qwen3 8B (Q4_K_M) (Q4_K_M) | Llama 3.1 8B Instruct (Q4_K_M) |
|---|---|---|
| 8 GB GPU RTX 4060, RTX 3070, RTX 4060 Ti 8GB, RX 7600 | 100% GPU (81%) 6.5 GiB | 100% GPU (78%) 6.2 GiB |
| 12 GB GPU RTX 3060 12GB, RTX 4070 / SUPER, RTX 5070, RX 6700 XT | 100% GPU (54%) 6.5 GiB | 100% GPU (52%) 6.2 GiB |
| 16 GB GPU RTX 4080 / SUPER, RTX 5070 Ti, RTX 5080, RTX 4060 Ti 16GB, RX 7800 XT | 100% GPU (40%) 6.5 GiB | 100% GPU (39%) 6.2 GiB |
| 24 GB GPU RTX 3090 / 3090 Ti, RTX 4090, RX 7900 XTX | 100% GPU (27%) 6.5 GiB | 100% GPU (26%) 6.2 GiB |
| 32 GB GPU RTX 5090 32GB, 32 GB Workstation GPUs | 100% GPU (20%) 6.5 GiB | 100% GPU (19%) 6.2 GiB |
| 48 GB Dual-GPU Dual RTX 3090, Dual RTX 4090, RTX A6000 / 6000 Ada | 100% GPU (13%) 6.5 GiB | 100% GPU (13%) 6.2 GiB |
| 64 GB Unified Apple M2/M3/M4 Max 64GB, Mac Studio, AMD Ryzen AI Max+ 395 (Strix Halo) | 100% GPU (10%) 6.5 GiB | 100% GPU (10%) 6.2 GiB |
Cryptographically signed real timings from Local Cockpit 0.4.0 (/apps/bench-validator). Missing models are never fabricated.
No signed Ed25519 passport recorded yet for qwen3:8b. OutilsIA never invents tokens/s.
Pre-rendered side-by-side analyses covering 7B–70B open-weights models and Q4_K_M vs IQ4_XS vs Q8_0 quantization trade-offs.
Llama 3.1 8B Instruct has the smaller .GGUF binary (4.58 GiB weights), while Llama 3.1 8B Instruct grows slower in KV cache (128.0 MiB per 1k tokens in FP16). Use the GPU & context selector above to check the exact combined total at 8k, 32k or 128k.
Every weight, layer count, GQA head count and KV-cache curve is parsed directly from the official HuggingFace .GGUF binary header via HTTP Range (gguf-atlas-harvester) — never guessed from parameter-count rules of thumb.
OutilsIA only publishes real hardware measurements cryptographically signed with Ed25519 from Local Cockpit 0.4.0 (/apps/bench-validator). When a model has no submitted passport yet, we leave it blank rather than inventing an estimate.