How MoE Memory Math Differs from Dense LLMs
In a traditional dense model such as Llama-3.3 70B, every forward pass touches 100% of the model weights. If the checkpoint exceeds your GPU VRAM, offloading layers to system RAM slows token generation dramatically because the CPU and PCIe bus must read every gigabyte for every single token.
In a sparse Mixture-of-Experts (MoE) model, total parameters may reach 125B+, while only active parameters (often 3B to 14B) execute per token. By pinning attention heads, embeddings, KV cache, and the hottest experts in GPU VRAM while streaming dormant experts from pinned DDR5 memory, consumer 12GB–16GB GPUs can maintain usable interactive throughput.
Why OS Headroom & KV Cache Matter
Never budget 100% of your advertised VRAM or system RAM for model weights. On Windows 11, the Desktop Window Manager (DWM) and browser hardware acceleration typically reserve 0.8–1.5 GB of VRAM, while the OS kernel and background services require 6–10 GB of system RAM.
Context length also scales KV cache memory linearly. Switching KV cache precision from FP16 to Q8_0 cuts KV memory in half with negligible perplexity impact—often the single easiest fix for 32K+ context OOM crashes. Read our full KV Cache Memory Math guide for exact formulas.