Learn AI Math

Mixture of Experts (MoE)

What is Mixture of Experts (MoE)?

In one sentence: Mixture of Experts is a model design with many smaller "expert" networks, where a router picks only a few experts to handle each token.

Imagine a school with dozens of tutors, each good at different things. For each question, a coordinator sends it to the two best tutors instead of all of them. MoE works the same way, so the model can hold lots of knowledge while only using a small part per token.

Σ Quick math / rule of thumb: VRAM scales with Total Parameters, while per-token FLOPs scale with Active Parameters (e.g., 8×7B routes 2 of 8 experts: ~47B in RAM, ~13B compute per token).

What does Mixture of Experts (MoE) look like?

Mixtral 8x7B has 8 experts per layer and uses 2 of them for each token.

Why does Mixture of Experts (MoE) matter?

MoE lets models be huge and smart while staying fairly fast and cheap to run.

Mixture of Experts (MoE) vs. Dense Model

A dense model activates 100% of its parameters for every token, whereas a Mixture-of-Experts model stores many specialist sub-networks and routes each token through only a small active slice.

DimensionMixture of Experts (MoE)Dense Model
Parameters used per tokenA fraction—roughly 5%–30% of total weights in popular models100% of weights
Speed per tokenFast—scales with active parametersScales directly with total model size
VRAM requirementStill must hold all experts in memoryFits total weights

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.