PromptForge
AI Glossary

Models & architecture

Mixture of experts (MoE)

Also known as: moe, sparse model

Definition

Mixture of experts is an architecture where only a subset of the model activates per token. A router selects a few specialised sub-networks, so a very large model runs at the cost of a much smaller one.

In a dense model every parameter participates in every token. In an MoE model, layers contain many "expert" sub-networks and a learned router activates only a handful for each token.

The result is a favourable trade: total parameter count can be very large while active parameters per token stay modest. A model with 400 billion total parameters might activate only 30 billion per token, giving the knowledge capacity of the former at closer to the inference cost of the latter.

The catch is memory. All experts must be loaded even though few are used per token, so MoE models are cheap to run but expensive to host — which matters most for self-hosting decisions.

Related terms

Put this into practice

Understanding the term is step one. Our free courses and tools let you actually use it.