In an ordinary, dense model, every token passes through every weight. A mixture-of-experts (MoE) model replaces each layer’s single feed-forward block with many smaller blocks, called experts, and adds a small router. For every token, in every layer, the router picks the top few experts and only those run.
That splits a model’s size in two. The total parameters are everything stored, including every expert. The active parameters are the ones a single token actually uses: the shared attention weights plus its chosen experts. For example, Qwen3 30B-A3B has 128 experts per layer and uses 8 for each token, so each token touches only a small share of the model.
For local AI this changes the arithmetic. Memory still has to hold every expert, because the next token might need any of them. But decoding speed depends on how many bytes each token has to read, so an MoE model decodes like a much smaller dense model. That is why some large MoE models feel quick on hardware with enough memory.
There are catches. If the experts do not all fit in fast memory and some spill into system RAM, every token pays for the slower memory. And the saving shrinks when many tokens run at once: a long prompt, or many users, touches most of the experts, so prefill and batched serving gain much less than single-user decoding.
The explainer steps through a sentence and lights up the experts each token uses, then compares speed estimates with a dense model of similar memory size.