MoE Model Selection: How to Estimate VRAM and Cost
This article explains how to evaluate large MoE models by separating total and active parameters, reviewing sparse activation, routed experts, sparse attention, and multi-token prediction, and using formulas to estimate VRAM, compute, and decoding trade-offs. It uses a 744B-total-parameter, roughly 40B-active-parameter open-source MoE model as an example and highlights caveats around official specifications, KV cache, routing balance, communication overhead, and speculative decoding acceptance rates.
1. Why Total and Active Parameters Must Be Calculated Separately
A MoE (Mixture of Experts) model consists of many expert subnetworks. After each token enters the network, the router selects only a small number of experts to participate in computation. Therefore, the same model has two parameter counts to track:
- Total parameters: the number of all weights. This determines how much VRAM the weights occupy.
- Active parameters: the weights that actually participate in computation when processing one token. This determines the compute per token and the main part of single-request decoding latency.
This article uses an open-source MoE model with 744B total parameters and about 40B active parameters as an example. These figures come from publicly cited information; at the time of writing (November 2026), they have not been checked item by item against the official technical report. Before final selection, refer to the model’s official technical report and release notes. This article does not recommend a specific product; the focus is on understanding architectural trade-offs and learning to estimate VRAM, compute, and latency yourself.
The following table lists how the two types of parameters affect various metrics:
| Metric | Mainly determined by | Notes |
|---|---|---|
| Weight VRAM | Total parameters | All experts must reside in VRAM or be swapped in and out |
| Compute per token | Active parameters | Forward compute is approximately 2 × active parameters FLOPs |
| Single-request decoding latency | Active parameters and memory bandwidth | Decoding is usually limited by memory bandwidth |
| Batch throughput | Both, together with routing distribution | As batches grow, more experts are triggered at the same time, increasing reads |
For a dense model with the same 744B parameters, every generated token requires reading all 744B weights. In a single-request scenario, MoE only needs to read about 40B, roughly 5.4% of the dense model. This is the fundamental reason MoE saves compute, but VRAM cost does not fall proportionally.
2. Sparse Activation, Routed Experts, Sparse Attention, and Multi-Token Prediction
Sparse Activation and Routed Experts
The router calculates a score for each expert for every token, selects the top-k experts, and sums their outputs by weight. Many designs also keep a small number of shared experts that all tokens pass through.
This structure has two common risks:
- Load imbalance: some experts receive a large number of requests and become hot spots, slowing down computation for the entire layer. Auxiliary loss is commonly used during training to balance load, and expert hit rates need to be monitored during inference.
- Communication overhead: when experts are distributed across multiple GPUs, each layer requires an all-to-all communication. If interconnect bandwidth is insufficient, the time saved on computation can be offset by communication.
Sparse Attention
The compute of standard attention grows approximately with L² as context length L increases. Sparse attention computes only a subset of positions visible to each token, such as a local window plus selected key blocks. Compute grows approximately with L × k, where k is the number of positions each token actually attends to. Its benefits mainly appear in long-context scenarios.
Note that sparse attention does not necessarily reduce KV cache occupancy. Whether the KV cache falls by the same proportion depends on the specific implementation, so it should be verified during selection.
Multi-Token Prediction (MTP)
MTP adds lightweight prediction heads outside the backbone network, allowing one forward pass to produce candidates for multiple future tokens. It has two uses: providing additional supervision signals during training, and acting as a draft model for speculative decoding during inference. Actual benefit depends on the acceptance rate, which can only be measured with your own workload data.
3. VRAM Estimation and Speculative Decoding Formulas
VRAM Estimation
Inference VRAM can be divided into three parts: weights, KV cache, and runtime overhead:
M ≈ (M_w + M_kv) × (1 + r)
The variables are as follows:
- M_w = N_total × b_w, weight VRAM. N_total is the total parameter count in billions, and b_w is the number of bytes per parameter: 2 for BF16, 1 for FP8, and about 0.5 for INT4. After unit conversion, the result is in GB.
- M_kv = 2 × L × n_kv × d_head × s × B × b_kv, KV cache. Here 2 represents the two caches for K and V, L is the number of layers, n_kv is the number of KV heads, d_head is the dimension per head, s is sequence length, B is concurrent batch size, and b_kv is the number of bytes per cache element.
- r is the runtime overhead ratio, including activations, communication buffers, and framework reservations. Empirical values range from 0.1 to 0.2 and should be calibrated against measured results.
Using 744B parameters as an example, the weight-only estimates are as follows: about 1488 GB for BF16, about 744 GB for FP8, and about 372 GB for INT4. If BF16 is used with r = 0.15, weights plus overhead are about 1711 GB, not yet including the KV cache.
