The Cost of Deploying Ultra-Scale MoE Models Locally
A practical breakdown of local deployment costs for an ultra-scale 2.8-trillion-parameter MoE model across three target tiers. It explains why memory is sized by total parameters rather than the expert activation ratio, how 4-bit weights translate into a storage floor, why a high-speed interconnect domain is a hard constraint, and how hardware requirements and trade-offs shift from a single user to 10 concurrent sessions. Readers get a capacity formula and acceptance criteria to avoid deployments that run but remain unusable.
1. Define the Requirements First: Three Tiers, Three Cost Structures
Before discussing how much anything costs, the requirements have to be layered. For the same ultra-scale MoE model, the cost across three tiers can differ by an order of magnitude:
- Tier 1: Just get it running. No constraint on output speed. The goal is to validate that the weights are usable and that the inference path works end to end.
- Tier 2: Usable by a single user. Output speed holds steady at roughly 25 tokens per second, giving an interactive experience close to a typical online service.
- Tier 3: Usable under concurrency. With 10 concurrent sessions, each session still sustains at least 25 tokens per second, and quantization precision stays at the 4-bit tier or better.
One caveat up front: as of this writing, the full weights and technical report for this class of trillion-parameter model have not been officially released; the official position is that they will follow later. So beyond the public architecture and API pricing, every figure here for speed, memory, and hardware count is an engineering estimate based on public information. Once the weights land, each item must be re-verified with benchmarks.
2. What 2.8 Trillion Parameters Mean for Memory
The model has roughly 2.8 trillion parameters and uses a mixture-of-experts (MoE) architecture: of 896 experts, each token activates 16, an expert activation ratio of about 1.79%. A common misreading needs to be flagged here — the expert activation ratio is not the parameter activation ratio. The backbone attention portion and the shared parameters are always resident.
The backbone is a linear-attention-style structure (incremental state updates) combined with residual connection improvements, and the attention modules use a low-rank compression variant. The key conclusion for deployment is:
MoE memory consumption is calculated from total parameters; the activation ratio only affects compute consumption and bandwidth pressure.
In other words, all 896 experts must first fit into storage, and only then does inference pull the 16 selected by the router into computation.
The model uses quantization-aware training from the supervised fine-tuning stage onward: weights in 4-bit floating point, activations in 8-bit floating point. Sizing the capacity:
- 2.8 trillion parameters at 4-bit gives a raw data floor of about 1400GB.
- The 4-bit floating point format carries one 8-bit scaling factor per 32 elements. Following the Open Compute Project convention, weights plus scaling factors come to roughly
2.8T × 4.25bit ÷ 8 ≈ 1487.5GB. - That still excludes non-4-bit tensors (embeddings, normalization, router gating), metadata, memory alignment, the runtime workspace, and the KV cache.
For reference, an already open-sourced 671B-class MoE model needs about 685GB for main parameters plus the multi-token prediction head at 8-bit weights, and about 335GB of weights plus roughly 37GB of activations after 4-bit quantization — around 400GB in total, which fits exactly on 8 80GB-class accelerators (640GB of memory). The new model is more than four times that size, which sets the memory floor for a full deployment.
3. Why a Super Node Is a Hard Constraint
The recommendation is a high-speed interconnect node with 64 or more accelerators. The reason is not memory but communication.
With 896 experts spread across multiple cards, every token has to have its activations moved to the card holding the target expert after routing, then moved back once computed. If the communication domain spans nodes over a conventional network, all-to-all latency eats the compute directly, producing the classic symptom of “all the cards are lit up but throughput won’t climb.” A high-speed interconnect (high-bandwidth links within the node) is therefore needed to make the communication domain large enough that data movement stays inside a single domain as much as possible.
The KV cache also has to be budgeted in engineering terms. Estimating 10 concurrent sessions with contexts of tens of thousands of tokens, cache usage can reach tens to over a hundred GB. That must be counted in the total budget rather than squeezing into the weight space after the fact.
4. Cost Structure Across the Three Tiers
Tier 1 (just get it running): Weight shards can be offloaded to host memory and swapped in on demand, and it is even possible to get it running with CPU memory plus a small number of accelerators. The hardware threshold is the lowest, but speed may drop too low for interaction, making this suitable only for functional validation.
Tier 2 (25 tps for one user): All weights must stay resident in memory. Working back from the 1487.5GB floor and adding cache and workspace, this typically requires 8 to 16 80GB-class accelerators plus a high-speed interconnect. The cost is mainly the accelerators and the accompanying servers.
Tier 3 (10 concurrent sessions, ≥25 tps each, ≥4-bit): Aggregate output is around 250 tps, and compute and communication pressure rise together. The card count often doubles, and demands on interconnect bandwidth, power, and cooling go up as well. At this point the one-time investment in self-hosting is usually higher than on-demand cloud usage, and it only pays off under data compliance requirements and a stable long-term workload.
5. Implementation Recommendations
- Once the weights are released, run small-scale benchmarks first, measuring actual memory usage, time to first token, and steady-state tps.
- Build a capacity table using
total memory = weights + scaling factors + cache + workspace, and do not estimate memory from the activation ratio. - Prioritize keeping the communication domain intact before stacking more cards.
- Write precision, concurrency, and context length into the acceptance criteria to avoid a deployment that “runs but is unusable.”
On Baidu AI Cloud, this kind of workload can draw on general capabilities such as the container platform, object storage, log service, and monitoring and alerting to handle environment orchestration, weight distribution, and runtime observability — validate at small scale first, then decide between self-hosting and on-demand usage.
