Qwen 3 MoE · Q4_K_M · MoE (8/128 active experts) · GGUF v3

Qwen3 30B-A3B (MoE 128x8) (Q4_K_M) — Exact VRAM, KV Cache & Tensor X-Ray

Breakthrough MoE: 30.5B total parameters with only ~3.3B active per token — stays fast even in hybrid VRAM + DDR5 offload.

⚡ 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)18.78 GiB32k w/ Q8_0 KV: 19.82 GiB
Binary .GGUF Weights17.28 GiB4.86 effective bits/weight
Parameters (Active / Total)3.63 / 30.53 B579 parsed tensors
KV Cache Growth96.0 MiB/1kQ8_0 KV: 51.0 MiB / 1k tok

1. HuggingFace Binary Provenance

RepositoryQwen/Qwen3-30B-A3B-GGUF
Inspected FileQwen3-30B-A3B-Q4_K_M.gguf (17.28 GiB)
HF Commit SHAe4d4bafdfb96
Harvested UTC2026-11-29 15:28:35 UTC
Parsed Header5 969 389 bytes (SHA-256 7c4bdbe51db5d1b79540…)

2. Transformer & GQA Architecture

GGUF Architectureqwen3moe (MoE (8/128 active experts))
Transformer Layers48 layers (~360.0 MiB / layer)
Dimensions (d_model / FFN)2048 / 6144
Attention Heads (Q / KV)32 Q / 4 KV (GQA 8.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_K28913.28 GiB76.9%
Q6_K493.95 GiB22.9%
F322410.05 GiB0.3%

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.19 GiB0.10 GiB0.05 GiB18.22 GiB18.13 GiB
4k (4 096)0.38 GiB0.20 GiB0.11 GiB18.41 GiB18.23 GiB
8k (8 192)0.75 GiB0.40 GiB0.21 GiB18.78 GiB18.43 GiB
16k (16 384)1.50 GiB0.80 GiB0.42 GiB19.53 GiB18.83 GiB
32k (32 768)3.00 GiB1.59 GiB0.84 GiB21.03 GiB19.62 GiB
64k (65 536)6.00 GiB3.19 GiB1.69 GiB24.03 GiB21.22 GiB
128k (131 072)12.00 GiB6.38 GiB3.38 GiB30.03 GiB24.41 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 FP1618 / 487.27 GiB10.97 GiBRAM Spillover
8 GB GPU + 16 GB RAM32k · KV FP1615 / 487.00 GiB13.59 GiBOut of Memory
8 GB GPU + 16 GB RAM32k · KV Q8_017 / 487.29 GiB11.90 GiBRAM Spillover
12 GB GPU + 32 GB RAM8k · KV FP1628 / 4810.85 GiB7.39 GiBHybrid MoE (fast)
12 GB GPU + 32 GB RAM32k · KV FP1625 / 4811.05 GiB9.55 GiBHybrid MoE (fast)
12 GB GPU + 32 GB RAM32k · KV Q8_027 / 4811.09 GiB8.10 GiBHybrid MoE (fast)
16 GB GPU + 32 GB RAM8k · KV FP1639 / 4814.82 GiB3.43 GiBHybrid MoE (fast)
16 GB GPU + 32 GB RAM32k · KV FP1634 / 4814.70 GiB5.89 GiBHybrid MoE (fast)
16 GB GPU + 32 GB RAM32k · KV Q8_037 / 4814.84 GiB4.35 GiBHybrid MoE (fast)
24 GB GPU + 64 GB RAM8k · KV FP1648 / 4818.24 GiB—100% VRAM
24 GB GPU + 64 GB RAM32k · KV FP1648 / 4820.60 GiB—100% VRAM
24 GB GPU + 64 GB RAM32k · KV Q8_048 / 4819.19 GiB—100% VRAM
32 GB GPU + 64 GB RAM8k · KV FP1648 / 4818.24 GiB—100% VRAM
32 GB GPU + 64 GB RAM32k · KV FP1648 / 4820.60 GiB—100% VRAM
32 GB GPU + 64 GB RAM32k · KV Q8_048 / 4819.19 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM8k · KV FP1648 / 4818.24 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM32k · KV FP1648 / 4820.60 GiB—100% VRAM
48 GB Dual-GPU + 128 GB RAM32k · KV Q8_048 / 4819.19 GiB—100% VRAM
64 GB Unified Memory8k · KV FP1648 / 4818.24 GiB—Unified Memory
64 GB Unified Memory32k · KV FP1648 / 4820.60 GiB—Unified Memory
64 GB Unified Memory32k · KV Q8_048 / 4819.19 GiB—Unified Memory

6. Ready-to-Run Local CLI Commands

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