Dense vs MoE
Dense or MoE? Choosing a Local Model
Every local model decision comes down to one question: how do I get the best answers out of the hardware I already own? Two architectures answer it in opposite ways, and understanding the difference saves you from downloading a 30 GB model that runs worse than a 5 GB one.
Two ways to spend your memory
A dense model uses all of its parameters for every token it generates. An 8B dense model does roughly 8 billion parameter reads per token, every single time, with no shortcuts. That makes its cost easy to reason about: memory scales with size, speed scales with size, and quality scales with size.
A mixture-of-experts (MoE) model splits its feed-forward layers into many separate "expert" subnetworks and adds a small router that picks the best two to four experts for each token. Only those experts do any work. Mixtral 8x7B holds 46.7B parameters but activates roughly 12.9B per token; Qwen3-30B-A3B holds 30.5B and activates 3.3B.
The trade, in one line: MoE lets you pay for a big model in memory and run a small model in compute.
Side by side
| Dense | MoE | |
|---|---|---|
| Work per token | All parameters | Only the selected experts |
| Memory needed | Total parameters | Total parameters (all experts) |
| Speed per token | Set by total size | Set by active size |
| Quality per GB of RAM | Good | Depends entirely on whether the whole model fits |
| Fine-tuning | Straightforward | Harder — router instability, more data needed |
| Aggressive quantization | Forgiving | More sensitive, especially in rarely-used experts |
| Behavior | Predictable, uniform | Slightly variable as routing shifts |
| Best fit | Memory-constrained machines | Memory-rich, compute-limited machines |
Where dense models win
They fit. A 7–9B dense model at 4-bit quantization takes about 5 GB, which means it runs on almost any laptop made in the last five years and leaves room for context.
They are easy to fine-tune. A LoRA on a dense 8B model is a weekend project with well-worn tooling. The same job on an MoE is a research problem: the router can collapse onto a handful of experts, and rare experts receive too few tokens to learn from.
They degrade gracefully. Push a dense model down to 3-bit or 2-bit and you get a dumber model that still behaves like a model. Push an MoE that far and specific experts fall apart, producing failures that look like bugs rather than reduced intelligence.
They are predictable. No routing decisions means no surprises. For deterministic pipelines, evaluation suites, and anything you need to reason about, that consistency is worth real quality points.
Where MoE models win
Quality per unit of compute. A 30B MoE with 3B active parameters generates tokens at roughly the speed of a 3B model while answering closer to a 30B one. On hardware that is short on compute but long on memory — Apple Silicon with 32 GB or more, a single 24 GB GPU, a workstation with lots of RAM — that is the best deal available.
Fast generation. Token-by-token decoding is limited by how many bytes you read from memory per token, not by raw arithmetic. MoE reads only the active experts, so it moves far less data per token than a dense model of the same total size. The effect is dramatic on memory-bandwidth-limited machines.
Long outputs and agent loops. Any workload that generates a lot of tokens — agents, long-form drafting, chain-of-thought — benefits most, because the savings apply to every single token.
Multiple users. In a server setting, different requests route to different experts, so one model can serve high throughput without every request paying for the full parameter count.
The catch: you still load everything
This is the part that trips people up. MoE saves you compute, not memory. Every expert has to be in RAM or VRAM before the model can respond, because the router might pick any of them.
That means a 30B MoE needs the footprint of a 30B dense model — around 18 GB at 4-bit — even though it computes like a 3B one. If it doesn't fit, you are offloading experts to system RAM or disk, and the speed advantage evaporates. A half-offloaded MoE is often slower than a dense model a third of its size, and it will not even be much smarter.
How to choose
The mistake is comparing an MoE to a dense model with the same active parameters. They are not competitors. Compare it to the largest dense model that actually fits in your memory.
- 8—16 GB of RAM, integrated graphics: dense, 7–9B at 4-bit. A 30B MoE does not fit and offloading will disappoint you.
- 16—24 GB (unified memory or a 12–16 GB GPU): dense 14B at 4-bit, or a small MoE like gpt-oss-20b if it fits with room for context.
- 32—64 GB unified memory: the MoE sweet spot. A 30B-A3B model fits comfortably and gives you near-32B-dense quality at roughly 3B-dense speed.
- 64 GB+ or multiple GPUs: larger MoE models become genuinely practical, and the compute savings compound.
Two rules of thumb cover most of it:
- MoE memory ≈ dense model of the same total size.
- MoE speed ≈ dense model of the same active size.
If both of those facts work for your machine, choose MoE. If only the second one does, choose dense.
Bottom line
Dense models are the dependable default: they fit in less memory, tolerate quantization, fine-tune cleanly, and behave the same way twice. MoE models are the better buy when memory is abundant and compute is the bottleneck — they buy you a larger model's knowledge at a smaller model's speed, as long as you can hold all of it at once.
Pick the architecture your RAM can actually feed, then pick the biggest model inside that budget. That beats chasing parameter counts in either direction.
