Mixture of Experts

What is Mixture of Experts?

Mixture of experts is an AI model design that divides a model into many specialized sub-networks, called experts, and activates only a few of them for each token, reducing compute per token.

Updated November 2026 · 2 min read


Mixture of experts (MoE) is a way of building very large models that are cheaper to run than their size suggests. Instead of using every parameter for every token, an MoE model is divided into many sub-networks, called experts, and a small routing network chooses a few of them to process each token. A model might have hundreds of billions of parameters in total but activate only a fraction of them per token, so each token costs about as much compute as a much smaller model.

The idea dates back to research by Robert Jacobs, Michael Jordan, Steven Nowlan and Geoffrey Hinton, "Adaptive Mixtures of Local Experts," published in 1991. A 2017 paper by Noam Shazeer and colleagues at Google showed how to use sparsely activated experts at very large scale. Mixtral 8x7B, released by Mistral in December 2023, popularized the design among open-weight models, and many leading models since, including DeepSeek-V3 and several other frontier and open-weight releases, use MoE.

How does mixture of experts work?

  • Each MoE layer contains many expert networks.
  • For each token, a router scores the experts and sends the token to the top few, often two to eight.
  • Only those experts compute. Their outputs are combined.
  • Different tokens use different experts, so across a whole text, many experts are used.

Total vs. active parameters

MoE models are described by two numbers. Total parameters are all the weights in the model, which determine memory needs. Active parameters are those used for each token, which determine compute per token. DeepSeek-V3, for example, has 671 billion total and 37 billion active parameters: it needs memory for all 671 billion but computes roughly like a 37-billion-parameter model.

MoE vs. dense models: Economic effects

BenefitCost
Lower compute per token for a given level of qualityHigh memory needs, since all experts must be loaded
Faster generation than a dense model of the same total sizeMore complex to serve efficiently across many GPUs
Cheaper training for a given capabilityGains depend on keeping batches large enough to use experts efficiently

For API users, MoE is mostly invisible, but it is one reason providers have been able to offer capable models at lower prices. For organizations self-hosting, MoE models need more GPU memory than their active parameter count suggests.

An example

Consider a hypothetical company choosing between two open-weight models of similar quality for self-hosting: a dense model with 70 billion parameters and an MoE model with 140 billion total and 20 billion active. The MoE model generates tokens noticeably faster and processes more requests per GPU at high load, but needs twice the GPU memory. With four GPUs available, the company runs the MoE model quantized to 8 bits and gets higher throughput than the dense model on the same hardware.

MoE is one of the architectural techniques behind cheaper frontier models and contributes to falling inference cost.

Frequently asked questions

What is the difference between total and active parameters in a mixture of experts model?

Total parameters are all the weights in a mixture of experts model and determine how much memory it needs. Active parameters are those used for each token and determine compute per token. DeepSeek-V3 has 671 billion total and 37 billion active parameters, so it needs memory for all of them but computes like a much smaller model.

Is mixture of experts cheaper to self-host than a dense model?

Often, but not in every way. A mixture of experts model uses less compute per token and can generate faster than a dense model of similar quality. It needs GPU memory for all its experts, which is more than its active parameter count suggests, and it is harder to serve efficiently across many GPUs.

How does a mixture of experts model route tokens to experts?

Each MoE layer has a small router that scores the experts for every token and sends it to the top few, often two to eight. Only those experts compute, and their outputs are combined. Different tokens go to different experts, so many experts are used across a full text even though each token touches only a few.

Book a demo