Running Models YourselfLesson 5 of 82

Module 1 · Deciding to run it yourself

Mixture of experts, and why it changes the sum

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 5 of 9 in this chapter

This chapter’s goalDecide whether a stated task belongs on your own hardware: by auditioning the exact open weights through a hosted copy, naming the constraint that forces local rather than assuming one, reading a licence well enough to say what you may ship, and stating the capability ceiling the weights impose regardless of the machine.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
The same thirty billion parameters, two architecturesDense 30B at Q4, reads 18GB per token1.7Dense 8B at Q4, reads 4.9GB per token6MoE 30B-A3B at Q4, readsabout 2.5 GB12tokens per second, one stream, 30 GB/s of system memoryMemory holds the total parameter count; speed follows the active one. Both 30B files occupy about 18GB of RAM and neither fits a 16 GB card. Only one of them generates at a speed anybody will sitthrough, and it is the one the small GPU cannot hold.
Memory holds the total parameter count; speed follows the active one. Both 30B files occupy about 18 GB of RAM and neither fits a 16 GB card. Only one of them generates at a speed anybody will sit through, and it is the one the small GPU cannot hold.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

Two parameter counts, not one

A dense model uses every weight for every token. A mixture-of-experts model does not. Each feed-forward block is replaced by a set of parallel blocks called experts, plus a small router that picks a few of them per token. A model described as 30B-A3B has about 30 billion total parameters and activates about 3 billion of them for any given token.

That gap is the whole story, and it splits the two numbers you care about:

  • Total parameters decide how much memory the weights occupy. All experts must be resident, because the router may choose any of them at any token.
  • Active parameters decide how much arithmetic and how much memory traffic happens per token, and therefore how fast it generates.

So a 30B-A3B model needs the memory of a 30B and generates at roughly the speed of a 3B. That is the trade: capacity is cheap, memory is not.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the Open Model Ecosystem exam.

Stuck on something?Ask Tri, your AI tutor

How to cite: Addaly (2026) ‘Mixture of experts, and why it changes the sum’, in Running Models Yourself. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/running-models-yourself/mixture-of-experts-locally (Accessed: 29 November 2026).