Join our Newsletter — 33% off our NHI Course
Home› Guides› Mixture of Experts for Beginners: Why Big AI…
Guide AI Platforms

Mixture of Experts for Beginners: Why Big AI Models Only Use Part of Themselves

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 28 November 2026 11 min read
On this page

A mixture of experts is an AI model made of many small parts, with only a few used per word.

This guide is for students, newcomers to AI and anyone who has seen a model name like "30B-A3B" and wondered what it means. You do not need to build AI to be affected: if your team picks or pays for an AI model, these two numbers shape its cost and the computer it needs.

In short

  • A mixture of experts model holds many small sub-models, called experts, but only uses a few of them for each word.
  • A small part called the router picks which experts work on each word.
  • So these models quote two sizes: the total size, and the active size used for each word.
  • The total size decides how much memory you need. The active size decides roughly how much work each word takes.

What you will learn

  • Explain what a mixture of experts model is in one sentence.
  • Read the two numbers in a model name such as "117B total, 5.1B active".
  • Spot why a "small" active size can still need a big computer.
  • Ask the right question before your team hosts or buys a model.
Model settings (parameters)
the millions or billions of numbers an AI model learns during training.
Small sub-model (expert)
one of many small parts inside a layer of the model.
Traffic controller (router)
a small part that picks which experts handle each word.

What is a mixture of experts?

Think of a large hospital with hundreds of specialists. Each patient sees only two or three of them, picked at the front desk. The hospital knows a lot in total, but one visit stays quick.

A mixture of experts model works in a similar way. An AI language model reads text in small pieces called tokens (often a word or part of a word). Inside the model, some layers are split into many small experts. For each token, a router gives every expert a score and sends the token to the best few.[1]

The rest of the experts rest for that token. The next token may go to different experts. A normal model, called a dense model, uses all of its parts for every token.

Where the comparison stops working: hospital specialists each have a clear subject, like hearts or bones. AI experts are not given subjects. What each one learns comes out of training, and research suggests it is often patterns in text rather than topics a person would name.[4]

Why does it matter?

Many large open models published in the last few years use this design. It lets a model hold a lot of learning while keeping the work for each token smaller. But it also changes what the numbers on a model page mean.

If you are a student or new to AI

What could happen: you compare two models by one number and miss that one uses only a small part per token.

Check this: look for both a total and an active size on the model page.

Next: How Large Language Models Work

If your team wants to run a model itself

What could happen: you plan hardware for the active size, and the model does not fit in memory.

Check this: size the memory for the total, not the active, number.

Next: Open-Weight AI Models for Beginners

If you manage an AI budget

What could happen: a sales claim says a model is "small and cheap" based only on its active size.

Check this: ask what the price is per token and what hardware the model needs.

Next: AI Pricing and Tokens for Beginners

What does it look like?

Model pages, often called model cards, list the key facts about a model. Here is a made-up one in the style many publishers use.

Example only. All values are made up.

Model card: EXAMPLE-Model-120B-A6B (fictional)
Design ............ Mixture of experts         (1)
Total parameters .. 120B                       (2)
Active per token .. 6B                         (3)
Experts per layer . 64, router picks 4         (4)
Fits on ........... one EXAMPLE-80GB card      (5)
  1. The design line tells you this is not a dense model.
  2. B means billion. In a real file, this line would contain every number stored in the model, all experts included.
  3. The share of those numbers used for each token.
  4. How many experts sit in each layer, and how many the router picks.
  5. In a real file, this line would contain the memory the publisher says the model needs.

Why this is risky: a reader who sees only "6B" may expect the model to run on a small laptop. It is likely to need far more memory, because all 120B numbers must be loaded.[4]

The safer way: read both numbers. Use the total to plan memory and the active size to judge speed. Take the figures from the publisher's own model card, not a third-party list.

How does it work?

Here is what happens to one token as it passes through one mixture of experts layer.

  1. A token arrives. The model has turned a piece of your text into a list of numbers it can work with.
  2. The router scores the experts. It gives each expert a score for this token.[1]
  3. The best few are picked. Only the top scorers run. In one well-known open model, Mixtral 8x7B, the router picks 2 of 8 experts per layer.[3]
  4. The answers are blended. The chosen experts' results are mixed, weighted by their scores, and the token moves to the next layer.
  5. Training keeps things fair. Without care, the router may favour a few experts. Builders add rules during training to spread the work out.[4]
Diagram titled How a mixture of experts model handles one word. Box 1, A word: one word of your question. Arrow to box 2, Router: scores every expert and picks the best 2. Eight expert boxes follow; Expert 2 and Expert 6 are green and marked chosen, the other six are marked resting. Arrows from the two chosen experts go to box 3, Combine: the 2 answers are blended and the word moves on. A bar at the bottom says only 2 of the 8 experts do work for this word, and the next word may go to different ones.
Figure 1. The router sends each token to a few experts. The rest wait for a token that suits them.

This is why such models quote two sizes. Mixtral 8x7B holds about 47 billion parameters in total, but uses about 13 billion for each token.[3] All the experts still have to be loaded into memory, so the memory need is set by the total.[4]

Diagram titled Why a model has two parameter numbers. Left side, Total parameters: what must be stored. Eight expert boxes, all present, with the text all 8 experts sit in memory, Mixtral 8x7B about 47 billion. Right side, Active parameters: work per word. The same eight boxes, with only two green, and the text only 2 experts run for each word, Mixtral 8x7B about 13 billion. A bar at the bottom says total size sets the memory needed, and active size sets roughly the work per word.
Figure 2. The same model, two numbers. One is about storage, the other about effort per token.

The idea is not new. Researchers published a version in 2017, with a layer of up to thousands of experts and a trainable router.[1] A 2021 paper, Switch Transformers, simplified the routing and scaled the design to over a trillion parameters.[2]

A worked example

Rania Pajari runs IT for Fernlea Lettings, a fictional letting agency with thirty staff. The owners want an AI assistant that runs on their own server, so tenant files stay in-house.

Rania's colleague Jonah Achterberg finds an open model online. Its page says "117B total, 5.1B active". Jonah is excited. "Five billion is small," he says. "Our old graphics card should cope."

Rania reads the model page more closely. It lists 117 billion parameters with 5.1 billion active. It also says the model fits on one graphics card with 80 GB of memory.[5] Their old card has far less memory than that.

She explains it to Jonah with the hospital picture. Only a few specialists see each patient, but the whole hospital still needs a building. The active number is the visit. The total number is the building.

They write down three questions before going further. What memory does the publisher say the model needs? What would a suitable card cost, or would a hosted service be cheaper? And who will look after the server, its updates and the access keys to it?

In the end, they test a smaller model on a rented cloud server for a month before buying any hardware. Rania keeps a short note of both numbers for every model they try, so the next person does not make the same guess.

Myths and mistakes

What people thinkWhat is true
Each expert is an expert in a subject, like law or medicine.Experts are not given subjects. Research suggests they often pick up text patterns rather than clear topics.[4]
A model with 5B active parameters runs on any laptop.Every expert must be loaded, so the memory need follows the total size.[4]
The bigger total number always means a smarter model.Size is one clue among many. Compare models on tests that match your task.
Mixture of experts is a brand-new trick.Research versions were published in 2017 and 2021.[1][2]
Every big chatbot uses this design.Many providers of closed models do not say how their models are built. Take the design only from the provider's own page.

What can I do this week?

  • Open one model card and find the total and active sizes.
  • Write down how much memory the publisher says the model needs.
  • Ask your team which models it already uses, and whether each one is hosted or run in-house.
  • Read one vendor claim about a "small" model and check which number it means.

Checklist

  • I can explain what a router and an expert do.
  • I know the difference between total and active parameters.
  • We take model numbers from the publisher's own model card.
  • We plan memory for the total size, not the active size.
  • We compare models on tests that match our task, not on size alone.
  • Anyone running a model in-house has a named owner for the server and its access keys.

Common questions

Is a mixture of experts model cheaper to run?

Often per token, yes, because only part of the model works on each token. Researchers report faster responses than a dense model of the same total size.[4] But all experts still need memory, so the hardware bill can stay high. See AI Pricing and Tokens for Beginners.

What does a name like "30B-A3B" mean?

It usually means a total size of 30B and an active size of 3B per token, where B means billion and "A" stands for active. This is a naming habit many open model publishers use, not a fixed rule, so confirm the numbers on the publisher's own model card.

Does the router understand my question?

Not in a human sense. The router is a small learned scorer. It looks at the numbers that stand for each token and picks the experts with the highest scores. It does this again in every mixture of experts layer, for every token.

Is a mixture of experts model less safe than a dense model?

The design itself is not a safety feature or a safety flaw. The usual checks still apply: where the model came from, who can reach it, what data it sees and who looks after its access keys. See Open-Weight AI Models for Beginners.

How do I know if a model uses mixture of experts?

Check the publisher's own model card or technical report. Many open model cards say so and give both sizes. Many closed providers do not describe their design, so treat claims from other websites with care unless the provider confirms them.

Where next?

Ready for the detail? Read the practitioner guide: Mixture of Experts Explained. It goes further into routing variations, shared experts and the stated sizes of current open models.

Also useful:

Related NHI Mgmt Group resources: Open-Weight Frontier Models Compared · Model Pricing Explained · Model Cards and System Cards Explained

Key terms

Parameters
The learned numbers inside a model that shape what it predicts next.
Expert
One of many small sub-networks inside a mixture of experts layer.
Router
A small learned part that scores the experts and picks which ones handle each token.
Sparse model
A model that uses only part of its parameters for each step, as a mixture of experts does.
Dense model
A model that uses all of its parameters for every token.
Token
A small piece of text, often part of a word, that an AI model reads and writes.
Inference
Using a trained model to produce an answer from new input.

Sources and further reading

  1. Shazeer, N. et al. Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer. arXiv:1701.06538, 23 January 2017. https://arxiv.org/abs/1701.06538, accessed 28 Nov 2026.
  2. Fedus, W., Zoph, B. and Shazeer, N. Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity. arXiv:2101.03961, 11 January 2021. https://arxiv.org/abs/2101.03961, accessed 28 Nov 2026.
  3. Jiang, A. Q. et al. Mixtral of Experts. Mistral AI, arXiv:2401.04088, January 2024. https://arxiv.org/abs/2401.04088, accessed 28 Nov 2026.
  4. Sanseviero, O. et al. Mixture of Experts Explained. Hugging Face blog, 11 December 2023. https://huggingface.co/blog/moe, accessed 28 Nov 2026.
  5. gpt-oss-120b model card. OpenAI, Hugging Face. https://huggingface.co/openai/gpt-oss-120b, accessed 28 Nov 2026.

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.