The Cost of Deploying Trillion-Parameter MoE Models Locally
A practical breakdown of what drives the cost of self-hosting a trillion-parameter MoE model: weight storage, KV cache, inter-GPU communication domains, and GPU-CPU heterogeneous inference as a way to cut hardware requirements. Includes weight size estimates, capacity math, and a verification checklist for after the weights are released.
1. Define the Problem First: What Actually Drives Local Deployment Cost
When people ask how much it costs to run a trillion-parameter MoE model locally, the most common mistake is to divide the parameter count by something and stop there. Real cost is the sum of four factors: the storage floor for weights, KV cache and runtime workspace, the scale of the inter-GPU communication domain, and whether storage and compute can be decoupled in a heterogeneous setup. Every speed, memory, and configuration number below is an estimate based on publicly available architecture information; once the weights are officially released, each one must be verified with benchmarks.
2. Architecture Determines Memory: Sparse Activation Is Not Sparse Storage
The model has roughly 2.8 trillion parameters in total and uses an MoE structure: 896 experts, of which only 16 are activated per token, an expert activation ratio of about 1.79%. One frequently confused point deserves emphasis here: the expert activation ratio is not the same as a strict parameter activation ratio. It affects compute consumption only and does not reduce storage occupancy.
The iron rule of MoE deployment is that all 896 experts must first be loaded into storage, and at inference time 16 of them are pulled out for computation according to the routing result. So plan memory against total parameters and plan compute against the activation ratio. Keep the two accounts separate.
The backbone is an incremental attention variant (KDA-style) combined with a residual attention design, with Gated MLA (gated multi-head latent attention) as one of its components. This kind of structure is friendlier to KV cache compression, but the resource profile of the backbone layers and that of the expert layers are completely different, and the heterogeneous split described later is built on exactly that difference.
3. Weight Size, Precisely: 4-bit Is Not Simply Dividing by 2
Quantization-aware training was introduced as early as the supervised fine-tuning stage, following a mixed-precision route of 4-bit weights and 8-bit activations. At pure 4-bit, the raw data floor is about 1400GB. But every 32 4-bit elements also carry one 8-bit scaling factor, which works out per the OCP specification as:
weight elements + scale ≈ 2.8T × 4.25 bit ÷ 8 ≈ 1487.5 GB
That 1487.5GB does not yet include: tensors that are not 4-bit (embedding layers, normalization layers, routing gates), metadata and alignment padding, runtime workspace, and KV cache. In engineering practice, add a 15%–25% margin for a conservative estimate, and the pure on-disk weight footprint is already approaching the 1.7TB range.
For horizontal reference, the previous generation of 671B-class MoE models took about 685GB for main parameters plus multi-token prediction parameters in 8-bit format. After 4-bit quantization, weights came to about 335GB with roughly 37GB of activation overhead, about 400GB in total, which just fit on 8 × 80GB accelerator cards (640GB). The new generation is more than four times that size, which establishes the hardware floor for a full deployment.
4. Communication Is the Hidden Bill: Why Official Guidance Recommends a Super Node
Large-scale MoE inference is extremely sensitive to all-to-all bandwidth. 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 computation finishes, and communication latency will directly eat the compute gains. The official recommendation of a super node made up of 64 or more accelerators is essentially about using high-speed interconnect (NVLink or an equivalent) to make the communication domain large enough that data movement never leaves a single domain.
The cost implication is direct: the number of cards does not stop at whatever memory happens to fit. It has to cross the communication domain threshold. Below that threshold, more cards actually mean worse throughput, and the money is spent on idle compute.
5. The Cost-Reduction Path: Heterogeneous GPU and CPU Inference
The most realistic way to save money is to decouple storage from compute. The shared attention backbone is compute-intensive, so keep it on the GPU to run at high bandwidth; the sparse experts take up most of the storage but only a few are activated at a time, so offload them wholesale to large system memory on the CPU and let the server memory pool feed them. Heterogeneous inference frameworks in the industry have already validated this route: a dual-socket server CPU paired with a single consumer-grade 24GB GPU running a 671B-class 4-bit model (about 377GB) reached over two hundred tokens per second for prefill and about 14 tokens per second for decode, and that number comes with constraints on the expert selection strategy, so an actual deployment needs to reproduce it independently.
Illustrative capacity calculation:
weight_gb = 1487.5overhead_ratio = 0.20kv_cache_gb = 120 # varies with context length and concurrencyhost_mem_gb = 1024 # memory per nodetotal_gb = weight_gb * (1 + overhead_ratio) + kv_cache_gbprint(total_gb) # ≈ 1905 GBprint("Recommended GPU count (80GB):", (total_gb * 0.35) // 80)
6. Cost Ranges and a Verification Checklist
- Full-GPU, full-capability deployment: a super node of 64 or more cards, a data-center-scale investment, suited to teams that already have high-speed interconnect.
- Heterogeneous setup: 2–4 large-memory CPU nodes plus a small number of GPUs, an order of magnitude lower in cost, at the price of higher decode latency.
- Cloud alternative: spin resources up on demand using general capabilities such as container platforms, object storage, and monitoring and alerting, avoiding a one-time capital expenditure.
Once the weights are open, verify four things: the actual on-disk weight size, the effective memory per card, measured all-to-all bandwidth, and peak KV cache at the target context length. Only after all four are measured does the budget become deterministic.
