
Mixture of experts (MoE): huge models, partly active
In short: Mixture of experts (MoE) is a model design where a router sends each token to a few expert sub-networks, so only part of a huge model runs per token.
Mixture of experts (MoE) is a neural-network design that keeps huge models only partly active: some layers hold many parallel sub-networks, the experts, and a small router sends each token to just a few of them. The DeepSeek-V3 report from December 2024 shows the scale: 671 billion total parameters, with 37 billion activated for each token.
Mixture of experts in plain words
Think of a hospital with dozens of specialists. Each patient sees the two most relevant doctors, so the hospital can be huge without every visit taking all day.
How it works
In an MoE layer, a router scores the experts for each token and sends it to the top few. Their outputs are combined and passed on.
The modern form comes from Shazeer and co-authors in January 2017: up to thousands of feed-forward sub-networks, with a trainable gating network choosing a sparse combination of experts for each example. Switch Transformers, in January 2021, simplified the routing and reported up to 7 times faster pre-training.
Models are described with two numbers: total parameters and active parameters per token.
Example
DeepSeek-V3 is the worked case. All 671 billion parameters have to be stored, but each token's computation involves about 37 billion. As an illustration of what follows from that, compute per token resembles a mid-sized model while memory needs resemble a giant one.
Where you'll meet it
- Open-weights releases such as DeepSeek-V3 that quote total and active parameters
- Discussions of inference cost and GPU memory
- Research on scaling efficiency
- Capacity planning for self-hosting
What it changes for you
For infrastructure teams, MoE changes the bottleneck: memory to hold all experts, more than raw compute, often decides what hardware you need. For buyers comparing models, my view is that active parameters are a better guide to speed and cost than total size. For developers using APIs, MoE is mostly invisible.
Mixture of experts vs dense model
A dense model uses every parameter for every token. An MoE model activates only selected experts per token.
Common mistake
My view: planning hardware from the active parameter count. You still need memory for all experts. Read both numbers, and size GPUs for total parameters at your chosen precision.
Related terms
Large language model · Inference · Quantization · Open-weights model · Inference server
From the archive: 41B active parameters still need a 600 GB inference cluster
Size GPU memory for total parameters and read active parameters only as a guide to compute.


