Equation 1 · Comparing the Main Approaches to AI Inference Economics
What does this equation mean?
Read the formula alongside the article passage below. Each part has a deeper page with its role in the equation, the supporting passage and nearby citations.
This equation gives an approximation: it relates the quantities while allowing an approximation. Read the equation part by part below; each part has a contextual explanation and a link to its mathematical background.
Read it piece by piece
Symbol C_dense
ense occurs above the fraction bar. The numerator is divided by the entire denominator below it.
Symbol C_MoE
oE occurs below the fraction bar. The quantity above the bar is divided by this expression; zero is excluded as a denominator.
Symbol N_dense
ense occurs above the fraction bar. The numerator is divided by the entire denominator below it.
Symbol N_active
ctive occurs below the fraction bar. The quantity above the bar is divided by this expression; zero is excluded as a denominator.
subscript
The lower label selects a particular version, component, or indexed member of the quantity. For example, x₀ and xₜ can be values at different positions.
How to interpret it
With a fixed numerator, increasing a nonzero denominator reduces the fraction. Its accuracy depends on the assumptions and range of use described in the article.
What the article says around this equation
For inference cost specifically, what matters is that per-token compute tracks activated parameters, not total parameters. Approximating compute per token as proportional to the parameter count actually touched [ 13 , 11 ] , the ratio of dense to MoE compute at equal activated size is approximately . for a dense model with parameters compared against an MoE model activating of its parameters per token. What this ratio hides is exactly what a compute-only comparison always hides: memory. Serving an MoE model requires holding all parameters resident — on one device or, more often, sharded across…
Read the full surrounding passage
For inference cost specifically, what matters is that per-token compute tracks activated parameters, not total parameters. Approximating compute per token as proportional to the parameter count actually touched [ 13 , 11 ] , the ratio of dense to MoE compute at equal activated size is approximately . for a dense model with parameters compared against an MoE model activating of its parameters per token. What this ratio hides is exactly what a compute-only comparison always hides: memory. Serving an MoE model requires holding all parameters resident — on one device or, more often, sharded across several with communication between them whenever a batch’s tokens route to different experts — even though only of them do arithmetic on any given token. A dense model of the same activated size carries no such requirement. The compute saving is real and is the reason MoE models can be commercially attractive to serve; the memory and networking cost it trades against is equally real, and neither the Switch Transformer paper, the Mixtral paper nor the DeepSeek-V3 report discloses enough about any specific production serving stack to say where the net trade lands for a given deployment.
Sources cited in the article section
- [12] Mixtral of Experts ↗
- [11] DeepSeek-V3 Technical Report ↗
- [13] Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsity ↗
- [8] Pricing ↗
These citations give research context. Read each source to check which claims it supports.
Return to Comparing the Main Approaches to AI Inference Economics