Home/Guides/MoE and GPU memory
Models

Mixture-of-experts models still need all the memory.

Active parameters set how fast a model runs. Total parameters set how much GPU memory you buy.

Short answer

All of it. A mixture-of-experts model only runs a slice of itself per token, but every expert must sit in GPU memory. Qwen3.5 397B-A17B runs 17B parameters per token, a quarter of Llama 3.3 70B's 70.6B. Yet at FP8 its weights take about 397 GB against 70.6 GB for the dense model, and one user at 8K context needs about 437 GB in total: 4 × H200 instead of 1.

What mixture-of-experts means

A mixture-of-experts (MoE) model splits most of its layers into many smaller blocks called experts. For each token, a small router picks a handful of experts to run and skips the rest. That is why model cards list two numbers: total parameters, everything in the model, and active parameters, the part that runs for any one token.

Almost every large open model released in the last year works this way. The table below shows how small the active share is.

ModelTotalActive per tokenActive shareWeights at FP8GPUs for 1 user · 8K
gpt-oss-20b20.9B3.6B17%20.9 GB1 × H200 · 1 × B300
Qwen3 30B-A3B (MoE)30.5B3.3B11%30.5 GB1 × H200 · 1 × B300
Llama 4 Scout (109B MoE)109B17B16%109 GB1 × H200 · 1 × B300
gpt-oss-120b116.8B5.1B4%117 GB2 × H200 · 1 × B300
Qwen3 235B-A22B (MoE)235B22B9%235 GB3 × H200 · 2 × B300
Qwen3.5 397B-A17B (MoE)397B17B4%397 GB4 × H200 · 2 × B300
Llama 4 Maverick (400B MoE)400B17B4%400 GB4 × H200 · 2 × B300
DeepSeek V3.2 (671B MoE)671B37B6%671 GB6 × H200 · 3 × B300
GLM-5.3 (754B MoE)753B40B5%753 GB7 × H200 · 4 × B300
GLM-5.1 (754B MoE)754B40B5%754 GB7 × H200 · 4 × B300
Kimi K2 (1T MoE)1,040B32B3%1,040 GB10 × H200 · 5 × B300
DeepSeek V4 Pro (1.6T MoE)1,600B49B3%1,600 GB14 × H200 · 7 × B300

GPU counts: FP8 weights, FP16 KV cache, 10% runtime overhead, 90% of each GPU's memory usable. Each model links to its full hardware page.

Memory follows the total, not the active count

The router can pick any expert for the next token, so every expert has to be loaded and ready in GPU memory. Nothing gets paged in from disk mid-sentence. For sizing, read the total.

Qwen3.5 397B-A17B runs 17B parameters per token, a quarter of Llama 3.3 70B's 70.6B. Yet at FP8 its weights take about 397 GB against 70.6 GB for the dense model, and one user at 8K context needs about 437 GB in total: 4 × H200 instead of 1.

What active parameters do buy you

Speed. Generating a token means reading the weights that token uses from GPU memory, and memory bandwidth is usually the limit. A model that reads 17B parameters per token can produce tokens several times faster than a dense model of the same total size, on the same hardware. It also needs less compute per token, so one server can serve more users at once.

Two caveats. Under heavy load, different users' tokens hit different experts, so a busy server ends up reading more of the model per step than one user would. And when a model spreads across several GPUs or servers, the experts talk to each other over NVLink or the network, so interconnect speed matters more than it does for a dense model that fits on one card.

What it means when you buy hardware

  • Size memory for the total. Weights at your precision, plus KV cache, plus about 10%.
  • Expect good speed once it fits. An MoE model on enough GPUs is usually faster per user than a dense model of similar quality.
  • Precision is the biggest lever. At 4-bit, DeepSeek V4 Pro drops from about 1,600 GB of weights at FP8 to about 896 GB. gpt-oss-120b already ships in 4-bit, which is why a 116.8B model fits on a single 96 GB card.
  • Keep the experts in one NVLink domain if you can. One 8-GPU HGX server with enough memory beats two servers joined over Ethernet for the same model.

Questions

Do I need memory for all the experts or just the active ones?

All of them. The router can choose any expert for the next token, so every expert must be in GPU memory.

Why are MoE models faster if they need the same memory?

Each token only reads the active parameters, and reading weights from memory is the main cost of generating a token. Fewer bytes per token means more tokens per second.

How much GPU memory does Qwen3.5 397B-A17B need?

About 397 GB for the weights at FP8 and about 437 GB in total for one user at 8K context. See the full Qwen3.5 397B-A17B hardware page.