Local Deployment Cost Breakdown for Ultra-Scale MoE Models
This article breaks down the real cost of deploying an ultra-scale MoE model locally across three target tiers: getting it running, serving a single user at 25 TPS, and handling 10 concurrent streams at 25 TPS. It explains why MoE memory is sized by total parameters while compute is sized by activated parameters, how 4-bit quantization with scale factors affects the weight floor, and which constraint dominates each tier—storage capacity, memory bandwidth, or interconnect and KV cache. Includes a tiered budget framework and a post-release verification checklist.
1. Define the Target First: Three Tiers of Local Deployment
Before asking “how much will it cost,” you have to define “what does running well mean.” For the same model, different targets can produce costs an order of magnitude apart. Local deployment goals are usually grouped into three tiers:
- Runs at all: The model loads and emits tokens; single-digit TPS is acceptable.
- Usable for one user: Output holds steady around 25 TPS for a single user, close to the experience of a hosted service.
- Concurrent serving: 10 concurrent streams, each still above 25 TPS output, with quantization no lower than 4-bit.
These tiers do not scale linearly; they jump in steps. The first is constrained by storage capacity, the second by memory bandwidth, and the third by a triple constraint of compute + interconnect bandwidth + KV cache capacity. Misidentify the constraint and you will misjudge the budget.
One caveat up front: as of this writing, the full weights and technical report for this class of ultra-scale model (roughly 2.8 trillion total parameters, MoE architecture, 896 experts, 16 experts activated per token) have not been fully released; the official statement is that they will follow within days. So apart from the “official architecture description and API pricing,” every speed, memory, and hardware figure below is an engineering estimate based on public information. Once the weights are out, each number must be verified with benchmarks.
2. Architecture Drives Cost: Why Memory Is Sized by Total Parameters
The model’s backbone uses a linear-attention-style structure (Delta-type state updates) combined with a residual attention design, with gated multi-head latent attention as one component; the feed-forward part is a sparse mixture of experts, where only 16 of 896 experts are activated per token—an expert activation ratio of about 1.79%.
Here is a point that is very easy to misread: 1.79% is the expert activation ratio, not a strict parameter activation ratio. It affects compute consumption (FLOPs) only, not memory footprint. Routing is dynamic—you cannot predict which experts the next token will hit—so all 896 experts must reside in addressable storage, and at inference time activations are moved to the target expert’s location for computation.
The one-line conclusion: MoE memory is sized by total parameters; compute is sized by activated parameters. This is the first principle behind every cost estimate.
3. The Weight Floor: 4-bit Is Not Simply Divide by Two
The model introduces quantization-aware training as early as the supervised fine-tuning stage, and the officially recommended path is 4-bit weights with 8-bit activations. A rough figure for 2.8 trillion parameters at 4-bit is about 1400GB of raw data. But 4-bit group quantization attaches one 8-bit scale factor per 32 elements, so under the common OCP block format specification:
weight elements + scale ≈ 2.8T × (4 + 8/32) bit ÷ 8= 2.8T × 4.25 bit ÷ 8≈ 1487.5 GB
That 1487.5GB still excludes: non-4-bit tensors (normalization layers, embedding layers, and the gating/routing layer usually stay at higher precision), model metadata, memory alignment fragmentation, the runtime workspace, and the KV cache. For engineering purposes, the practical floor should add another 10%–20% on top of this.
As a horizontal reference, the previous generation of 671B-class MoE models in the industry (plus roughly 14B multi-token prediction parameters) sits at about 685GB in 8-bit floating point; after 4-bit quantization the weights are about 335GB, and with activations and runtime about 400GB—just enough to run on 8 accelerator cards of the 80GB class (640GB). This round’s model is more than 4 times that size, which sets the bar for a full deployment.
4. Tier 1: Heterogeneous Inference Pushes “Runs at All” Cost to the Minimum
If the goal is only to fit nearly 1500GB of weights into addressable storage and produce tokens, the most direct route is GPU + CPU heterogeneous inference, for which mature open-source implementation approaches already exist:
- The shared attention portion in each layer (here, linear state updates plus gated latent attention) is compute-intensive and bandwidth-sensitive, so it stays on the GPU.
- The 896 sparse experts dominate storage but only 16 activate at a time, so all of them are offloaded to CPU memory, supplied by a large-memory server.
A schematic deployment logic (pseudocode, expressing only the layering idea):
for layer in model.layers:# Compute-intensive, needs high bandwidth: resident in VRAMhidden = gpu_attention(layer.attn, hidden)# Storage-heavy, sparsely activated: fetch experts from host memory on demandfor expert_id in router.topk(hidden, k=16):w = host_cache.fetch(layer.experts[expert_id])hidden = gpu_moe_apply(hidden, w)
The cost structure of this tier: memory demand only needs to cover the attention portion + a small hot-expert cache + KV cache, so a standard workstation-class accelerator will do; the main cost shifts to host memory capacity (1.5TB or more recommended) and CPU memory bandwidth. The price is speed—single-digit TPS is normal, because every token requires a host-to-device transfer.
5. Tier 2: 25 TPS for One User, Bottlenecked by Memory Bandwidth
25 TPS for a single user means one full forward pass every 40ms. At this point the constraint switches from capacity to bandwidth: each token generated requires moving the weights on the activation path from storage to the compute units. If the weights stay resident in memory, the required effective bandwidth is roughly “bytes to read per token ÷ 40ms.”
Key points:
- Most weights must reside in memory; heterogeneous offloading can only serve as overflow.
- 4-bit weights plus 8-bit activations significantly reduce the transfer volume—this is where quantization-aware training pays off.
- In a single-user scenario, KV cache pressure is small, so the budget can concentrate on memory capacity and bandwidth.
In engineering terms, a hybrid split of tensor parallelism plus expert parallelism is typically used to spread the 1400GB-class weights across multiple cards’ memory, while ensuring that post-split communication stays within the same high-speed interconnect domain.
6. Tier 3: 10 Concurrent at 25 TPS, the Interconnect Domain Is a Hard Gate
Concurrency is the most expensive tier, for three reasons:
- Compute amplification: 10 concurrent streams raise effective token throughput roughly 10-fold, and the compute demand for activated parameters scales up accordingly.
- KV cache amplification: concurrency × context length × number of layers × hidden dimension directly consumes the already-tight memory headroom, requiring paged cache management or cache quantization.
- Communication amplification: large-scale MoE is extremely sensitive to all-to-all interconnect bandwidth. With 896 experts spread across different cards, every token after routing must move activations to the card holding the target expert and back after computation; communication latency directly eats into compute gains.
So the official recommendation is a high-speed interconnected super-node of 64 or more accelerators, using high-bandwidth in-domain interconnect to keep communication enclosed in a single domain and avoid cross-domain hops. The main cost of this tier is not the cards but interconnect and the overall machine form factor: high-speed links, topology design, and the accompanying scheduling and parallelism strategy.
7. Tiered Budget Table (Estimation Framework)
| Target tier | Primary constraint | Key investment | Relative cost magnitude |
|---|---|---|---|
| Runs at all | Storage capacity | Large-memory host, CPU memory bandwidth | 1× |
| Single user 25 TPS | Memory bandwidth and capacity | Multi-card memory, 4-bit weights | 5×–10× |
| 10 concurrent 25 TPS | Compute + interconnect + cache | High-speed interconnect super-node, cache management | 20×+ |
When budgeting, be sure to count three hidden costs: first, the preprocessing compute for quantization and format conversion; second, the runtime workspace and alignment fragmentation; third, the observability investment on the operations side (logging services, monitoring and alerting, and metric collection fall under general cloud capability categories—select as needed).
8. Verification Checklist: Must Test Each Item After Weights Are Released
- Measure the actual on-disk weight size (including non-4-bit tensors and metadata) to calibrate the storage floor.
- Measure effective bandwidth utilization on a single card and across multiple cards with fixed input/output lengths.
- Measure the all-to-all communication share to decide whether a higher interconnect tier is needed.
- Measure peak KV cache under the target concurrency to confirm whether cache quantization or paging is needed.
- Record output quality differences across quantization levels to verify that “no lower than 4-bit” meets business requirements.
- Cross-check against token-based API pricing from hosted providers to find the break-even point between self-hosting and calling an API.
Conclusion: For local deployment of a 2.8-trillion-parameter-class MoE model, cost is not determined by “whether it fits,” but jointly by “target tier + interconnect level + cache strategy.” Set the target first, then calculate bandwidth and communication, and only then buy cards—that is the budgeting order that avoids pitfalls.
