Local Deployment Costs for Trillion-Parameter MoE Large Language Models: An Engineering Estimate
This article estimates the cost of running a 2.8-trillion-parameter Mixture-of-Experts (MoE) large language model locally. It covers the memory budget, 4-bit quantization, the communication requirements of expert routing, and three hardware options, from supernodes to cloud compute. It also recommends validating with benchmarks before committing to a full-scale cluster.
Recently, a number of open-source large models with total parameter counts in the trillions have released their weights. Whether developers can run them locally, and what that would cost, has become one of the community’s most common questions. This article uses a representative model with about 2.8 trillion total parameters and a Mixture-of-Experts (MoE) architecture as an example. Setting aside marketing claims, it works through engineering estimates across four areas: memory budget, quantization, communication architecture, and hardware cost.
Note that apart from the officially published architecture details, the speed, memory, and configuration figures below are engineering estimates based on public information. They must be verified with benchmarks, item by item, once the weights are officially released.
1. How Large Is the Model?
The model has about 2.8 trillion total parameters and uses an MoE architecture with 896 experts. For each token, the router activates 16 of them, so about 1.79% of the experts are active. The backbone is a linear attention variant combined with attention residual connections, and it includes components such as gated multi-head latent attention.
One point is easy to misread: the activation ratio affects compute, not memory footprint. During MoE inference, the router selects only 16 experts per token. However, the weights of all 896 experts must stay in storage that can be accessed quickly, and they are loaded on demand according to the routing results. The memory (or RAM) budget must therefore be calculated from the full parameter count. The idea that “only 1.79% is active, so it is small” is a common misconception.
2. How Much Does Quantization Save? A Memory Budget Breakdown
The model uses quantization-aware training starting from the supervised fine-tuning stage. Its weights use a 4-bit microscaling floating-point format, and its activations use 8-bit. This turns local deployment from “impossible” into “expensive but feasible.”
Under the common microscaling format specification, every 32 four-bit elements share one 8-bit scaling factor. Each weight element therefore takes about 4.25 bits on average:
2.8T × 4.25 bit ÷ 8 ≈ 1487.5 GB
This figure is only the lower bound for the quantized weight data itself. The full memory budget also includes:
- Non-quantized tensors: normalization parameters, embedding layers, and similar components that usually stay at higher precision, typically tens of GB;
- Metadata and alignment overhead: sharded storage and padding for tensor alignment;
- Runtime workspace: attention intermediate results, routing buffers, and communication buffers;
- KV cache: grows linearly with context length and concurrency, and can reach hundreds of GB in long-context scenarios.
Overall, the storage floor for a full-size quantized deployment is on the order of 1.6 TB.
For comparison, a similar MoE model at the 671B scale needs about 400 GB, counting quantized weights and activations together at 4-bit, to run on an 8-GPU high-end server with 640 GB of total GPU memory. The 2.8T model is more than four times that size. This floor follows from the physical size of the weights, and no shortcut avoids it.
3. The Communication Bottleneck: Why Supernodes Are Recommended
The officially recommended deployment is a supernode of 64 or more accelerators. The reason is communication, not compute.
Large-scale MoE inference is highly sensitive to all-to-all communication bandwidth. The 896 experts are spread across dozens of accelerators. After routing, each token’s activations must be moved to the accelerator that hosts the target expert, computed there, and sent back. This transfer happens at every layer of each token’s processing, so communication latency can eat up the compute gained from parallelism. A supernode uses high-bandwidth inter-chip interconnects, such as dedicated fully connected high-speed links, to enlarge the communication domain. This keeps expert transfers inside one low-latency domain. Ordinary multi-node Ethernet setups cannot match this.
4. A Lower-Cost Path: Heterogeneous GPU/CPU Inference
For teams with limited budgets, the most direct alternative is heterogeneous GPU/CPU inference. The large pool of expert weights sits in high-capacity system memory, which can reach several TB across multi-socket servers. The GPU handles only the dense layers and the computation for activated experts. Open-source heterogeneous inference frameworks commonly used in the industry have shown that this approach is feasible, and academic teams have also published mature reference implementations.
The trade-off is memory bandwidth. System memory bandwidth, typically on the order of hundreds of GB/s, is far lower than GPU memory bandwidth, so token generation slows noticeably. This path suits offline batch processing and research validation, where latency matters less. It does not suit online, high-concurrency serving.
5. Cost Estimates and Recommendations
Rough estimates for three deployment options:
- Full-scale supernode deployment: a full machine with 64 high-end accelerator cards. Hardware investment is on the order of 10 million RMB. This suits enterprises with large-scale inference workloads.
- Multi-GPU workstation with large-memory heterogeneous setup: a high-end workstation with 1.5 TB or more of system memory plus a few GPUs. Investment can be reduced to several hundred thousand RMB, but throughput is limited.
- Elastic cloud compute: if the need is phased validation, renting cloud GPU container instances on a pay-as-you-go basis is often more economical than a one-time purchase. Elastic scaling can be handled through a container platform, model weights can be hosted in object storage, and monitoring and alerting help control costs.
The final recommendation is to start with a small-scale deployment to verify correctness. Next, use real business traffic to stress-test communication and KV cache overhead. Only then decide whether to invest in a full-scale cluster. For trillion-parameter MoE models, fitting the model into memory is only the starting point. The real cost threshold is whether the system can compute fast enough without communication becoming the bottleneck.
