Explainer
Mixture of experts explained: how sparse AI models work
A mixture-of-experts (MoE) model splits parts of a neural network into many smaller sub-networks, called experts, and a router picks only a few of them for each piece of input.[1][2] That lets a model hold a very large number of parameters while the computation per input stays roughly constant.[3] Mixtral 8x7B, for example, has 47 billion parameters but uses 13 billion per token, and DeepSeek-V3 uses 37 billion of its 671 billion.[4][5]
Read how transformer models work first: mixture of experts changes one part of the Transformer, its feed-forward layers.
The idea: only use part of the network
A normal (“dense”) model reuses the same parameters for every input, while a mixture-of-experts model selects different parameters for each one.[3] It is a bit like a hospital with many specialists and a triage desk: each word is sent to only a few experts. A 2017 paper introduced a layer of up to thousands of small sub-networks, with a trainable gating network choosing a sparse combination of them for each example.[1]
A network’s capacity to absorb information is limited by its number of parameters. Conditional computation, in which only parts of the network are active for each example, had been proposed as a way to raise capacity without a proportional increase in computation.[6] The Switch Transformer paper puts it this way: mixture of experts selects different parameters for each input instead of reusing the same ones, giving a sparsely activated model with very many parameters but a constant computational cost.[3]
Experts and the router
In a Transformer, each layer pairs attention with a feed-forward network.[7] In Mixtral 8x7B, each layer has eight feed-forward blocks, the experts, and for every token a router network picks two of them at each layer and combines their outputs.[2] Because the choice is made per token and per layer, different tokens can use different experts.[2]
DeepSeek-V3’s report describes an auxiliary-loss-free strategy for load balancing, the spreading of work across experts.[5]
Total versus active parameters
An MoE model has two sizes. The total counts every expert; the active size counts only what runs for one token. Mixtral 8x7B has 47 billion parameters in total but uses 13 billion for each token during inference.[4]
| Model | Total parameters | Active per token |
|---|---|---|
| Mixtral 8x7B | 47 billion | 13 billion[4] |
| DeepSeek-V3 | 671 billion | 37 billion[5] |
DeepSeek reported pre-training DeepSeek-V3 on 14.8 trillion tokens, with full training taking 2.788 million H800 GPU hours.[8] Other openly released MoE models include xAI’s 314-billion-parameter Grok-1, released in March 2024,[9] and DeepSeek’s 552-billion-parameter V4.1-Flash, released in September 2026.[10]
From research to frontier models
The 2017 paper reported more than 1,000-fold increases in model capacity with only minor losses in computational efficiency, using models of up to 137 billion parameters.[11] Wider adoption took time: the Switch Transformer authors wrote that complexity, communication costs and training instability had held it back.[12] Their Switch Transformer simplified the routing, reported up to 7 times faster pre-training than comparable dense T5 models with the same computational resources, and was used to pre-train models of up to a trillion parameters.[13]
Mistral released Mixtral 8x7B in December 2023 as a sparse mixture-of-experts model with open weights under Apache 2.0.[14] In the work behind DeepSeek’s reasoning model DeepSeek-R1, the R1-Zero model was trained with reinforcement learning on top of DeepSeek-V3 Base.[15] See also Mistral AI.
Trade-offs
The saving is in computation, not in model size. Each Mixtral token has access to all 47 billion parameters even though only 13 billion are active,[4] and the Switch Transformer authors describe such models as having very many parameters at a constant computational cost.[3] Total and active counts therefore describe different things, so it helps to check which one a comparison uses.
Research groups are also exploring hardware suited to the design: IBM simulations found that mapping each expert onto a tier of a 3D analog in-memory chip gave higher throughput and energy efficiency than commercially available GPUs running the same model.[16]
Read next
Next in the crash course
State-space models and Mamba: alternatives to the transformer
What state-space models like S4 and Mamba are, why researchers want alternatives to attention, and how hybrid Mamba-transformer models perform.
Questions readers ask
What is a mixture-of-experts model?
A model that contains many expert sub-networks plus a trainable gating network, or router, that chooses a sparse combination of experts for each input, so only part of the model runs each time.[1]
What are active parameters?
The parameters actually used for a given token. In Mixtral 8x7B each token can draw on 47 billion parameters but uses only 13 billion during inference; in DeepSeek-V3, 37 billion of 671 billion are activated per token.[4][5]
Sources
· 16 claims from 11 publishers
Each numbered claim is a statement we checked against the sources listed with it. Tap a number in the text to see its sources in place.
- [1]
The 2017 paper introduced a sparsely gated mixture-of-experts layer made of up to thousands of feed-forward sub-networks, in which a trainable gating network chooses a sparse combination of experts for each example. reportedas of 2017-01-23
- Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer · arXiv (Shazeer et al.) · Secondary source · 2017-01-23 · Abstract (retrieved 2026-11-21)
- [2]
In Mixtral 8x7B, each layer has eight feed-forward blocks, or experts, and for every token a router network selects two of them at each layer and combines their outputs. reportedas of 2024-01-08
- Mixtral of Experts · arXiv (Mistral AI) · Secondary source · 2024-01-08 · Abstract (retrieved 2026-11-21)
- [3]
The Switch Transformer paper describes mixture of experts as selecting different parameters for each input instead of reusing the same parameters for all inputs, producing a sparsely activated model with very many parameters but a constant computational cost. reportedas of 2022-06-16
- Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity · arXiv (Fedus, Zoph and Shazeer) · Secondary source · 2021-01-11 · Abstract (retrieved 2026-11-21)
- [4]
Mistral AI reported that each token in Mixtral 8x7B has access to 47 billion parameters but uses only 13 billion active parameters during inference. reportedas of 2024-01-08
- Mixtral of Experts · arXiv (Mistral AI) · Secondary source · 2024-01-08 · Abstract (retrieved 2026-11-21)
- [5]
DeepSeek-V3, described in a December 2024 technical report, is a mixture-of-experts language model with 671 billion total parameters, of which 37 billion are activated for each token, and uses an auxiliary-loss-free strategy for load balancing. confirmedas of 2024-12-27
- DeepSeek-V3 Technical Report · arXiv (DeepSeek-AI) · Primary source · 2024-12-27 · Abstract (retrieved 2026-11-21)
- DeepSeek-V3 Technical Report · arXiv (DeepSeek-AI) · Primary source · 2024-12-27 · Abstract (retrieved 2026-11-21)
- [6]
The 2017 sparsely gated mixture-of-experts paper notes that a network's capacity to absorb information is limited by its number of parameters, and that conditional computation, where only parts of the network are active for each example, had been proposed to raise capacity without a proportional increase in computation. reportedas of 2017-01-23
- Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer · arXiv (Shazeer et al.) · Secondary source · 2017-01-23 · Abstract (retrieved 2026-11-21)
- [7]
The original Transformer's encoder and decoder were each a stack of six identical layers, each containing a multi-head self-attention mechanism and a position-wise fully connected feed-forward network. confirmedas of 2017-06-12
- Attention Is All You Need (Advances in Neural Information Processing Systems 30, NIPS 2017, proceedings PDF) · NeurIPS Proceedings · Primary source · 2017-12-04 · Section 3.1, Encoder and Decoder Stacks (proceedings PDF; check by hand) (retrieved 2026-11-22)
- Attention Is All You Need (Advances in Neural Information Processing Systems 30, NIPS 2017, proceedings PDF) · NeurIPS Proceedings · Primary source · 2017-12-04 · Section 3.1, Encoder and Decoder Stacks (proceedings PDF; check by hand) (retrieved 2026-11-22)
- Attention Is All You Need (Advances in Neural Information Processing Systems 30, NIPS 2017, proceedings PDF) · NeurIPS Proceedings · Primary source · 2017-12-04 · Section 3.1, Encoder and Decoder Stacks (proceedings PDF; check by hand) (retrieved 2026-11-22)
- Attention Is All You Need (arXiv 1706.03762v7, full text) · arXiv · Secondary source · 2017-06-12 · Section 3.1, Encoder and Decoder Stacks (N = 6 for both stacks) (retrieved 2026-11-07)
- [8]
DeepSeek reported that it pre-trained DeepSeek-V3 on 14.8 trillion tokens and that full training took 2.788 million H800 GPU hours. confirmedas of 2024-12-27
- DeepSeek-V3 Technical Report · arXiv (DeepSeek-AI) · Primary source · 2024-12-27 · Abstract (retrieved 2026-11-21)
- DeepSeek-V3 Technical Report · arXiv (DeepSeek-AI) · Primary source · 2024-12-27 · Abstract (retrieved 2026-11-21)
- [9]
On 17 March 2024 xAI released the base-model weights and architecture of Grok-1, a 314-billion-parameter mixture-of-experts model, under the Apache 2.0 licence. confirmedas of 2024-03-17
- Open Release of Grok-1 · xAI · Primary source · 2024-03-17 (retrieved 2026-11-07)
- Open Release of Grok-1 · xAI · Primary source · 2024-03-17 (retrieved 2026-11-07)
- [10]
On 10 September 2026 DeepSeek released V4.1-Flash, a 552-billion-parameter mixture-of-experts model, and said it was phasing out V4-Pro because tests put V4.1-Flash ahead of it. confirmedas of 2026-09-10
- DeepSeek-V4.1-Flash: Smarter, Faster, More Efficient · DeepSeek · Primary source · 2026-09-10 · The same post lists a "552B-parameter MoE" (retrieved 2026-10-10)
- [11]
The 2017 paper reported more than 1,000-fold increases in model capacity with only minor losses in computational efficiency, using models with up to 137 billion parameters. reportedas of 2017-01-23
- Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer · arXiv (Shazeer et al.) · Secondary source · 2017-01-23 · Abstract (retrieved 2026-11-21)
- Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer · arXiv (Shazeer et al.) · Secondary source · 2017-01-23 · Abstract (retrieved 2026-11-21)
- [12]
The Switch Transformer authors wrote that wider adoption of mixture of experts had been held back by complexity, communication costs and training instability. reportedas of 2022-06-16
- Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity · arXiv (Fedus, Zoph and Shazeer) · Secondary source · 2021-01-11 · Abstract (retrieved 2026-11-21)
- [13]
The Switch Transformer simplified mixture-of-experts routing, reported up to 7 times faster pre-training than comparable dense T5 models with the same computational resources, and was used to pre-train models of up to a trillion parameters. reportedas of 2022-06-16
- Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity · arXiv (Fedus, Zoph and Shazeer) · Secondary source · 2021-01-11 · Abstract (retrieved 2026-11-21)
- Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity · arXiv (Fedus, Zoph and Shazeer) · Secondary source · 2021-01-11 · Abstract (retrieved 2026-11-21)
- [14]
In December 2023 Mistral released Mixtral 8x7B, a sparse mixture-of-experts model with open weights under Apache 2.0. confirmedas of 2023-12-11
- Mixtral of experts · Mistral AI · Primary source · 2023-12-11 · Introduction (retrieved 2026-11-07)
- [15]
In DeepSeek-R1-Zero's reinforcement learning, which used the GRPO algorithm on top of DeepSeek-V3 Base, the reward depended only on whether final answers were correct, not on the reasoning process. confirmedas of 2025-09-17
- DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning · Nature · Primary source · 2025-09-17 · Main text; the preceding sentence names DeepSeek-V3 Base and Group Relative Policy Optimization (GRPO) (retrieved 2026-10-10)
- [16]
IBM's simulations found that mapping each expert of a mixture-of-experts model onto a tier of a 3D analog in-memory chip gave higher throughput, area efficiency and energy efficiency than commercially available GPUs running the same model. confirmedas of 2025-01-29
- Analog in-memory computing could power tomorrow's AI models · IBM Research · Primary source · 2025-01-29 (retrieved 2026-10-10)
Revision history (1)
- Page created.
Created Nov 21, 2026. Last reviewed by an editor on Nov 22, 2026. Next scheduled review: Aug 3, 2027.
Cite this page
"Mixture of experts explained: how sparse AI models work." ContentLora, updated Nov 21, 2026. https://contentlora.com/explain/mixture-of-experts-explained
Spotted an error? Suggest a correction or emailcorrections@contentlora.com.