# Expert Capacity

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

## What is Expert Capacity?

**In one sentence:** Expert capacity is the maximum number of tokens one expert can handle in a batch.

To keep things efficient, each expert gets a limit. If too many tokens want the same expert, extras may be dropped or sent elsewhere.

![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).*

## What is an example of Expert Capacity?

If expert capacity is 100 tokens but 130 tokens choose that expert, 30 must overflow.

## Why does Expert Capacity matter?

Capacity limits keep MoE training and inference running on schedule.

## Related Concepts

- [Load Balancing](https://getaimath.com/dictionary/load-balancing/): Load balancing in MoE makes sure work is spread fairly evenly across experts, so none are overloaded or wasted.
- [Routing Collapse](https://getaimath.com/dictionary/routing-collapse/): Routing collapse is when an MoE router ends up sending almost all tokens to just a few experts, wasting the rest.
- [Top-K Routing](https://getaimath.com/dictionary/top-k-routing/): Top-K routing sends each token to the K experts with the highest router scores.
- [Shared Experts](https://getaimath.com/dictionary/shared-experts/): Shared experts are experts that process every token, alongside the routed experts that are picked per token.
- [Expert Selection](https://getaimath.com/dictionary/expert-selection/): Expert selection is choosing which specific experts will process a token.
- [Routed Experts](https://getaimath.com/dictionary/routed-experts/): Routed experts are the experts that are only used when the router selects them for a token.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/expert-capacity/)
