Architecture
The Trillion-Parameter Model That Only Wakes a Fraction of Itself
· 8 min read · Anton Babayan, Founder
A dense model puts every parameter it has to work on every word it reads. That is why making one bigger makes it slower and dearer in exact proportion, and it is the wall that stopped the industry simply scaling upward. The way around it changes what a parameter count means, and anyone comparing models on that number alone is now comparing two different things.
What is actually split up
A transformer layer has two halves. Attention, where words look at each other, and a feedforward block, where most of the learned knowledge sits. The feedforward block is also where most of the arithmetic happens, so that is the half worth attacking.
A sparse mixture-of-experts model replaces that single block with many smaller ones, called experts, plus a small network called a router. For each token, the router scores the experts and sends the token to the few that score highest. The rest do nothing for that token and are woken for the next one.
The specialisation that results is real but rarely tidy. Experts do not divide up neatly into one for mathematics and one for French. They settle into patterns that are statistically useful and often difficult to describe, which is worth knowing before anyone promises a client an expert that handles their domain.
The two numbers that matter
Every model of this kind has a total parameter count and an active parameter count, and the gap between them is the whole design.
Mixtral 8×7B splits each layer into eight experts and routes every token to two of them. Its paper puts that at 47 billion parameters a token can reach and 13 billion it actually uses. DeepSeek-V3 goes much further, with 256 routed experts plus one shared expert that every token passes through, picking eight of the 256 and using 37 billion of 671 billion. Qwen3-235B-A22B uses 128 experts and no shared one at all.
That last difference is worth noticing. A shared expert exists so that the ordinary work every token needs is done in one place, instead of each specialist wasting capacity learning the same basics. It is a reasonable idea that not every architecture adopts, which is a fair summary of how settled this field is.
The trade that nobody mentions in the headline
Sparsity buys arithmetic, and it does not buy memory. Every expert has to be resident on the hardware, because nothing can know which expert the next token will want. A model that uses 37 billion parameters per token still needs room for all 671 billion.
So the shape of the machine changes rather than shrinking. You need the memory of an enormous model and the compute of a modest one, which is a strange thing to buy and an excellent thing to rent. It is also why a sparse model is a poor fit for a single quiet server and a good fit for a busy one, where the cost per request falls as the machine fills up.
This bears on whether to run a model yourself or rent one more directly than almost any other property. A dense model of similar quality may be far easier to run on hardware you own, and a sparse model may be far cheaper per token from somebody who keeps it busy.
Why training one is harder
Routers have a failure mode that sounds like economics. Experts that do slightly better early attract more tokens, more tokens mean more practice, more practice means doing better still, and the result is a handful of overworked experts and a crowd of untrained ones. The model is then an expensive dense model wearing a sparse architecture.
The usual counter is a balancing term that penalises an uneven spread, pushing the router to use everything it has. DeepSeek-V3 reports a different approach, adjusting a per-expert bias that affects which experts are chosen without distorting the training signal itself.
None of this is a buyer's problem directly, and it explains something a buyer sees. Sparse models vary more in quality than their parameter counts suggest, because two models with identical totals can have very different amounts of their capacity actually trained.
What to take from it
Ask for both numbers. Total parameters and active parameters per token. One predicts the hardware, the other predicts the speed and the price, and a single figure hides which you are buying.
Do not compare across architectures on size. A 671 billion parameter sparse model and a 671 billion parameter dense model would be entirely different propositions, and only one of them exists.
Expect the memory requirement to decide where it runs. This is the property that most often rules out hosting a frontier open-weight model in a single organisation's own rack, whatever the inference speed suggests.
Sources
The DeepSeek-V3 figures, the expert counts and the load-balancing approach are from the DeepSeek-V3 Technical Report (arXiv 2412.19437). Mixtral’s eight experts and top-two routing are described in Mixtral of Experts (arXiv 2401.04088), which is also where its 47 billion and 13 billion come from. Every figure here is the one its own authors publish, and rounder summaries of them circulate elsewhere.
The short version
A sparse model holds a great many parameters and uses a few of them per word, so it runs at the speed of a small model and needs the memory of a large one. Ask for the total and the active count, treat the headline figure as half the story, and expect the memory requirement rather than the speed to decide where the thing can live.
Frequently asked questions
What is a mixture-of-experts model?
A model whose feedforward layers are split into many smaller sub-networks, with a small router choosing a few of them for each token. The rest sit idle for that token. Capacity comes from the total, speed comes from the few that run.
Does a mixture-of-experts model need less memory?
No, and this is the most common misunderstanding. Every expert has to be resident, because nothing knows which one the next token will need. The saving is in arithmetic per token, not in memory. DeepSeek-V3 uses 37 billion of its 671 billion parameters per token and still needs room for all 671 billion.
What does the headline parameter count tell a buyer?
Less than it appears to. A sparse model and a dense model with the same total are different products: one is fast and memory-hungry, the other is slower and smaller. The two numbers worth asking for are total parameters and active parameters per token.
What is routing collapse?
The failure where a few experts attract most of the traffic during training, improve faster because of it, and attract still more, leaving the rest barely trained. Architectures counter it with a balancing term that pushes the router to spread tokens out, which is one of the harder parts of training this kind of model.