The Two Separate Constraints of MoE

A Mixture-of-Experts model splits capacity from compute. All experts must stay resident in VRAM/Unified Memory (so capacity depends on Total Parameters, e.g. 30.5B for Qwen3-30B-A3B or 235B for Qwen3-235B-A22B). However, for each generated token, the router activates only a small subset of experts (3.3B or 22B active parameters).

Bandwidth-Bound Decode Speed

Because single-user decoding reads active weights once per token, decode speed scales inversely with activeWeightsGB, not totalWeightsGB. On a 546 GB/s Mac Studio M4 Max, Qwen3-30B-A3B (3.3B active at Q4_K_M ~ 2 GB active) achieves >150 tok/s while a dense 32B model runs around ~18 tok/s.

Core Physics Formula

VRAM Footprint  ~ totalParamsB * (bpw / 8) / 1.0737 + KV_Cache
Decode tok/sec  ~ (Bandwidth_GBs * efficiency) / (activeWeightsGB + 0.5 * activeKV_GB)