# Mixture of Experts (MoE)

- **Canonical URL:** https://getaimath.com/dictionary/mixture-of-experts-moe/
- **Topics:** [Mixture of Experts (MoE)](https://getaimath.com/dictionary/category/mixture-of-experts-moe/)
- **Last updated:** 2026-11-25

## What is Mixture of Experts (MoE)?

**In one sentence:** Mixture of Experts is a model design with many smaller "expert" networks, where a router picks only a few experts to handle each token.

Imagine a school with dozens of tutors, each good at different things. For each question, a coordinator sends it to the two best tutors instead of all of them. MoE works the same way, so the model can hold lots of knowledge while only using a small part per token.

![Mixture of Experts (MoE): A Team of Specialists (Only 2 Wake Up) — Simple cartoon showing a question arriving at a Front Desk Receptionist (Router) who wakes up only 2 out of 8 specialist doctors (Math and Finance) while the other 6 specialists stay asleep to save energy.](https://getaimath.com/diagrams/mixture-of-experts-moe.png)
*Napkin Diagram (Mixture of Experts (MoE)): Mixture-of-Experts wakes up only 2 of its 8 specialists for each word (real experts’ specialties are messier than neat topics).*

### Quick Math / Rule of Thumb

VRAM scales with Total Parameters, while per-token FLOPs scale with Active Parameters (e.g., 8×7B routes 2 of 8 experts: ~47B in RAM, ~13B compute per token).

## What is an example of Mixture of Experts (MoE)?

Mixtral 8x7B has 8 experts per layer and uses 2 of them for each token.

## Why does Mixture of Experts (MoE) matter?

MoE lets models be huge and smart while staying fairly fast and cheap to run.

## Mixture of Experts (MoE) vs. Dense Model

A dense model activates 100% of its parameters for every token, whereas a Mixture-of-Experts model stores many specialist sub-networks and routes each token through only a small active slice.

| Dimension | Mixture of Experts (MoE) | [Dense Model](https://getaimath.com/dictionary/dense-model/) |
| --- | --- | --- |
| Parameters used per token | A fraction—roughly 5%–30% of total weights in popular models | 100% of weights |
| Speed per token | Fast—scales with active parameters | Scales directly with total model size |
| VRAM requirement | Still must hold all experts in memory | Fits total weights |

## Related Concepts

- [Expert](https://getaimath.com/dictionary/expert/): In a Mixture of Experts model, an expert is one of several smaller feed-forward networks that can process a token.
- [Router](https://getaimath.com/dictionary/router/): A router is the small network in a Mixture of Experts layer that decides which experts each token should go to.
- [Routing](https://getaimath.com/dictionary/routing/): Routing is the process of sending each token to the right experts in a Mixture of Experts model.
- [Sparse Activation](https://getaimath.com/dictionary/sparse-activation/): Sparse activation means only a small part of a model is switched on for each input.
- [Active Parameters](https://getaimath.com/dictionary/active-parameters/): Active parameters are the parameters a model actually uses to process each token.
- [Total Parameters](https://getaimath.com/dictionary/total-parameters/): Total parameters are every parameter a model has, whether or not they are used for each token.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/mixture-of-experts-moe/)
