Skip to content
ContentLora

    Tip: press / anywhere to search.

    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]

    Editor reviewedUpdated Explainer16 claims · 50% primaryFrontier AI, Computing, Artificial intelligence
    Reading level: 2 passages differ; the rest is the same for everyone.

    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]

    ModelTotal parametersActive per token
    Mixtral 8x7B47 billion13 billion[4]
    DeepSeek-V3671 billion37 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]

    Next in the crash course

    More in Frontier AI

    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]

    Why use mixture of experts?

    To add capacity without a matching rise in computation. The Switch Transformer paper reported up to 7 times faster pre-training than comparable dense models with the same computational resources.[3][13]

    What are the downsides?

    The Switch Transformer authors wrote that adoption had been held back by complexity, communication costs and training instability. And the full parameter count remains part of the model: Mixtral tokens can draw on 47 billion parameters while using 13 billion.[12][4]

    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. [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

    2. [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. [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

    4. [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. [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

    6. [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

    7. [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

    8. [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

    9. [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

    10. [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

    11. [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

    12. [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

    13. [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

    14. [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. [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

    16. [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

    Revision history (1)
    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.