Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. LLMs /
  4. What is Mixture of Experts (MoE)?
LLMs

What is Mixture of Experts (MoE)?

Updated September 26, 2026 Read 3 min

Mixture of experts (MoE) is an architecture where each token is routed to a small number of expert sub-networks rather than passing through the entire model, giving large capacity at lower compute cost per token.

Contents 11
  1. 01Key takeaways
  2. 02MoE explained in simple terms
  3. 03How an MoE layer works
  4. 04A worked example
  5. 05Why MoE is attractive
  6. 06The challenges
  7. 07A short history
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

Mixture of experts (MoE) is an architecture in which each token is routed to a small number of expert sub-networks instead of passing through the whole model. A learned router picks which experts handle each token. The model can therefore hold a very large number of total parameters while using only a fraction of them per token, giving the capacity of a huge model at the compute cost of a much smaller one.

Key takeaways

  • MoE layers usually replace the feed-forward network in transformer blocks.
  • A router selects the top-k experts per token, commonly one or two.
  • Total parameters and active parameters are very different numbers.
  • Training needs load-balancing so experts are used evenly.
  • All experts must be held in memory, even though only a few run per token.

MoE explained in simple terms

A hospital does not send every patient to every specialist. A triage nurse routes each case to the right one or two doctors. The hospital collectively holds enormous expertise, but any single patient consumes only a small share of it. An MoE model works the same way, with the router as triage.

How an MoE layer works

  1. A token arrives at the layer.
  2. The router scores each expert for this token.
  3. The top-k experts are selected, typically k = 1 or 2.
  4. Those experts process the token.
  5. Their outputs are combined, weighted by the router’s scores.
  6. Remaining experts do nothing for this token.

A worked example

A model has 8 experts per layer and routes each token to 2.

  • Total parameters: roughly the size of 8 feed-forward networks per layer.
  • Active per token: the equivalent of 2, so about a quarter of the layer’s capacity is used.

Mixtral 8x7B, released in December 2023, illustrates this: around 46.7 billion total parameters with roughly 12.9 billion active per token. Later large models push this further, with hundreds of billions of total parameters and only tens of billions active.

Why MoE is attractive

BenefitExplanation
More capacity per unit of computeTotal parameters grow without proportional compute
Faster inference than a dense model of the same sizeOnly a few experts run per token
Cheaper training for a given qualityCompute is spent where it matters
SpecialisationExperts can develop different strengths

The challenges

  • Memory: all experts must be loaded, so serving needs memory sized to the total, not the active, parameters.
  • Load balancing: without a balancing loss, the router sends most tokens to a few popular experts, wasting the rest.
  • Communication: in distributed serving, tokens must be routed across devices, which adds network traffic.
  • Fine-tuning: MoE models can be more sensitive to fine-tuning than dense ones.
  • Batching complexity: different tokens take different paths, complicating efficient serving.

A short history

Sparsely-gated mixture of experts was demonstrated for large neural networks by Noam Shazeer and colleagues in 2017. Google’s Switch Transformer (2021) simplified routing to a single expert per token and scaled to a trillion parameters. From late 2023, open models such as Mixtral brought MoE into mainstream use, and several leading models since have used sparse expert designs.

Limitations

  • High memory requirements limit local deployment.
  • Router decisions are hard to interpret.
  • Expert specialisation is often less clean than the metaphor suggests.
  • Quality per total parameter is lower than for dense models; the win is per unit of compute.

Common Use Cases

01

Large frontier models

Scale capacity without scaling compute per token.

02

Cost-efficient serving

Serve strong models with lower per-token compute.

03

Multilingual models

Allow experts to specialise across languages and domains.

04

Code and reasoning models

Add capacity for specialised skills.

05

Research on scaling

Study capacity versus compute trade-offs.

06

Open-weight releases

Distribute high-capability models with sparse architectures.

Frequently Asked Questions

An architecture where a router sends each token to a few expert sub-networks instead of running the whole model.

Total counts all experts; active counts only those used for a given token, which determines compute cost.

No. All experts must be in memory. It reduces compute per token, not memory.

Training techniques that encourage the router to distribute tokens evenly rather than favouring a few experts.

They offer more capability per unit of compute, but need more memory and can be harder to fine-tune.

Related Terms

  • Sparsity in LLMs
  • Feed-Forward Network
  • Transformer
  • LLM Inference
  • Model Parallelism
  • Large Language Model

Related AI Terms

What is Multi-Head Attention?Multi-head attention runs several attention operations in parallel, each with its own learned projections, so a model can…What is Prefix Tuning?Prefix tuning is a parameter-efficient fine-tuning method that learns trainable vectors inserted into the attention keys and values…What is an Encoder-Decoder Model?An encoder-decoder model, also called a sequence-to-sequence model, uses one component to read and understand the input and…What is an Attention Mechanism?An attention mechanism is a technique that lets a neural network focus on the most relevant parts of…What is Self-Attention?Self-attention is a mechanism where each position in a sequence attends to every other position in the same…What is Positional Encoding?Positional encoding is the method transformers use to represent the order of tokens in a sequence, because the…

Contents

  1. 01Key takeaways
  2. 02MoE explained in simple terms
  3. 03How an MoE layer works
  4. 04A worked example
  5. 05Why MoE is attractive
  6. 06The challenges
  7. 07A short history
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

AI Topic

  • LLMs

Related Terms

  • What is Multi-Head Attention?
  • What is Prefix Tuning?
  • What is an Encoder-Decoder Model?
  • What is an Attention Mechanism?
  • What is Self-Attention?
  • What is Positional Encoding?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 26, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}