How it works · 21 of 37 Advanced
What is mixture of experts (MoE) in AI models?
Only a few experts work on each word
Mixture of Experts (MoE): A model made of many expert sub-networks; a router sends each token to only a few, so a huge model runs at a small model's cost.
Loading the animation…
Say it like this A mixture-of-experts model is split into many experts, and a router sends each word to just a few of them, so you get a huge model's knowledge for a small model's running cost.
Under the hood — for builders
- What happens to each word
- Every room gets a score, only the top 2 rooms run, and their two answers are blended by score.
- Big store, small bill
- Mixtral keeps 47 billion numbers but uses only 13 billion of them on each word.
- Did it work?
- With 5× fewer numbers at work, Mixtral matched or beat a 70-billion model.
- Faster to train, too
- For the same computing budget, an experts model reached the same quality up to 7× sooner.
- How it's done today
- Today's big open models use many more, smaller rooms, and still open only a few per word.
- The catch
- The dark rooms still take up memory, and the reception must keep every room evenly busy.
- Watch out
- The rooms are not tidy subjects: Mixtral's makers found no maths room or biology room; the router follows word patterns, like code indentation, more than topics.
- Sources
- Jiang et al. (Mistral AI), Mixtral of Experts, 2024 (arXiv 2401.04088) · Fedus, Zoph, Shazeer (Google), Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity, 2022 (arXiv 2101.03961) · DeepSeek-AI, DeepSeek-V3 Technical Report, 2024 (arXiv 2412.19437) · Qwen Team, Qwen3 Technical Report, 2025 (arXiv 2505.09388).
What happens in the Mixture of Experts (MoE) animation, step by step?
- Inside this model: 8 specialist rooms (experts). Lights off: nobody is working yet.
- A word walks in. The reception desk (the router) gives every room a score.
- Only the top 2 rooms switch on and do the work. The other 6 stay dark.
- Your turn: tap a waiting word. Which 2 rooms does it get?
- Each word gets its own 2. Over a sentence all 8 rooms work, but never more than 2 at once.
- Mixtral works like this: 47 billion numbers stored, only 13 billion at work per word.
What everyday example explains Mixture of Experts (MoE)?
A hospital: reception sends you to the two specialists you need, not all fifty.
Why should a team care about Mixture of Experts (MoE)?
Why "total" and "active" parameters differ.