How a mixture-of-experts model works
In a dense model, every parameter takes part in producing every token. In a mixture-of-experts model, parts of each layer are replaced by a set of smaller expert networks and a router that picks a few of them for each token. Google's Gemma 4 26B A4B card describes 8 of 128 experts plus one shared expert active per token, and OpenAI's gpt-oss-20b uses 4 of 32.
Model names often give it away: “30B-A3B” means about 30B total and 3B active parameters; “26B A4B” is 26B total, about 4B active.
Why MoE models are fast on a Mac
Generating a token means reading the weights it uses from memory, so speed is roughly memory bandwidth ÷ GB read per token. A dense model reads all of itself; an MoE model reads only its active share.
| Model | Type | Size (4-bit) | Read per token | Mac mini M6 32GB | Mac mini M5 Pro 64GB |
|---|---|---|---|---|---|
| Qwen3 30B-A3B | MoE (3.3B active) | 19 GB | ~2.1 GB | ~37.2 tok/s | ~67.2 tok/s |
| Qwen3 32B | Dense | 20 GB | ~20.0 GB | ~6.4 tok/s | ~11.5 tok/s |
| Gemma 4 26B-A4B | MoE (3.8B active) | 18 GB | ~2.7 GB | ~28.2 tok/s | ~50.9 tok/s |
| Gemma 4 31B | Dense | 20 GB | ~20.0 GB | ~6.4 tok/s | ~11.5 tok/s |
The catch: memory
Any token might need any expert, so all of them stay loaded. A 30B-A3B model needs memory like a 30B model, not a 3B one. On a Mac, that means the model's full size plus about 4 GB for macOS and room for context. Check with the memory calculator.
MoE models in our catalog
| Model | Total | Active | Size (4-bit) |
|---|---|---|---|
| gpt-oss 20B (MXFP4) | 21B | 3.6B | 14 GB |
| Gemma 4 26B-A4B (Q4_K_M) | 25.2B | 3.8B | 18 GB |
| Qwen3 30B-A3B (Q4_K_M) | 30.5B | 3.3B | 19 GB |
| Qwen3 Coder 30B-A3B (Q4_K_M) | 30.5B | 3.3B | 19 GB |
| GLM-4.7-Flash 30B-A3B (Q4_K_M) | 30B | 3B | 19 GB |
| Qwen3-Coder-Next 80B-A3B (Q4_K_M) | 80B | 3B | 52 GB |
| gpt-oss 120B (MXFP4) | 117B | 5.1B | 65 GB |
| Llama 4 Scout 109B-A17B (Q4_K_M) | 109B | 17B | 67 GB |
| Qwen3 235B-A22B (Q4_K_M) | 235B | 22B | 142 GB |
| Qwen3-Coder 480B-A35B (Q4_K_M) | 480B | 35B | 290 GB |
Are MoE models as good as dense ones?
It depends on the model and the task, which is why we recommend trying both on your own work. A fast MoE model that gets your coding or document tasks right is the better buy; a slower dense model can be worth it if its answers are clearly better for you. On LaneBench you can run the same prompts on both, on the Mac you're considering, and compare.
FAQ
What is a mixture-of-experts model?
What does A3B mean in a model name?
Do MoE models use less memory?
MoE vs dense: which is better on a Mac?
See any model on the exact Mac you're considering.
Speeds come from published measurements (with source links) or labeled estimates. How we measure