Ecosystem & Emerging Terms

Mixture of Experts (MoE)

Also called: MoE · sparse mixture of experts

A mixture-of-experts (MoE) model contains many specialist sub-networks and a router that sends each token to only a few of them, so only part of the model's parameters run for any given token.

In a dense transformer, every parameter participates in every token. A mixture-of-experts model replaces some of the feed-forward layers with a set of parallel "experts" plus a small router that picks which few experts handle each token. The model can have a very large total parameter count while the compute per token stays close to that of a much smaller model.

That is why MoE shows up in many recent large open-weight and proprietary models, for example the Mixtral and DeepSeek-V3 families. When a model page lists both "total" and "active" parameters, it is describing an MoE design.

For people choosing agent models it matters mostly for cost and speed: a large MoE can be cheaper to serve per token than a dense model of equal total size, though it still has to hold all experts in memory.

How it works

Each MoE layer has N expert networks and a learned router. For every token the router scores the experts and selects the top few (commonly one to a handful), and the layer output is the weighted sum of just those experts. Training adds balancing pressure so tokens spread across experts rather than collapsing onto a few. Despite the name, experts do not usually correspond to human-readable subjects like "law" or "code"; specialization is learned and tends to be fuzzy, often at the level of token patterns.

Example

A model card says "600B total parameters, 40B active". Every token is routed through the router to a few experts, so the compute per token resembles a 40B dense model, while the full 600B of weights must still be loaded into GPU memory to serve it.

How it differs

MoE vs. multi-agent systems: an MoE's experts are sub-networks inside one model, routed per token during a single forward pass. A multi-agent-system coordinates separate agents, each running its own model calls. The word "experts" is the only overlap.

Common misconceptions

Often assumed: Each expert is a specialist in a topic, like a law expert or a coding expert.
Actually: Experts are selected per token by a learned router, and their specialization is usually diffuse and not cleanly tied to human-defined subjects.
Often assumed: A 600B MoE runs as cheaply as a 40B model.
Actually: Compute per token is closer to the active parameters, but memory must hold all the weights, so serving cost and hardware needs are still larger than for a 40B dense model.

FAQ

What is a mixture of experts model?
A model with many parallel sub-networks (experts) and a router that activates only a few for each token, so it uses a fraction of its total parameters per token.
What do active parameters mean in an MoE model?
The number of parameters actually used to process each token; it is smaller than the total parameter count because only the selected experts run.
Is MoE the same as a multi-agent system?
No. MoE routes tokens between sub-networks inside a single model; a multi-agent system coordinates separate agents that each call models.

Last checked: 2026-09-20

Related terms