Local Deployment of Trillion-Parameter MoE Models: Hardware Requirements and Cost Tiers

    This article explains the hardware and cost requirements for running a trillion-parameter Mixture-of-Experts (MoE) model on your own infrastructure. It shows how quantization sets the minimum weight footprint and compares three deployment tiers: CPU-offloaded inference, single-user use at 25 tokens/s, and 10-way concurrency. For each tier, it covers the hardware scale, interconnect requirements, and approximate cost. It also explains why capacity estimates should be checked with real benchmarks before purchasing hardware.

    Introduction: Why Local Deployment of Ultra-Large Models Is Worth Discussing

    As open-source large language models have grown from tens of billions to trillions of parameters, more teams want to run them on their own hardware. Common reasons include data compliance, cost control, and low latency. Take a typical trillion-parameter Mixture-of-Experts (MoE) model as an example. It has about 2.8 trillion total parameters and close to 900 experts per layer, but each token activates only a dozen or so of them, so the expert activation ratio is below 2%. This structure, with huge total parameters and a small active set, changes the deployment logic compared with dense models: VRAM scales with total parameters, while compute scales with active parameters. Understanding this is the prerequisite for sound capacity planning.

    1. Do the Math First: How Much Space the Weights Need

    The first step before deployment is estimating the minimum storage for the weights. This sets the floor for the hardware.

    1. Quantization format sets the base size. This class of model uses quantization-aware training from the supervised fine-tuning stage, with 4-bit weights and 8-bit activations. At a pure 4-bit format, 2.8 trillion parameters take about 1,400 GB. Mainstream 4-bit quantization schemes typically attach one 8-bit scaling factor to every 32 elements, so the effective bit width is about 4.25 bits per parameter. That works out to roughly 1,487.5 GB. This figure still excludes unquantized tensors, metadata, memory alignment overhead, runtime workspace, and the KV cache. The actual budget should be raised by another 10% to 15% on top of it.

    2. Benchmarking against known models. A widely used 671B-parameter MoE model has weights of about 685 GB in 8-bit format. With 4-bit quantization, its weights plus activations need about 400 GB, which fits on eight 80 GB accelerator cards. A trillion-parameter model is more than four times that size, which sets the hardware floor for full-capacity deployment. A GPU-only setup needs about 20 or more 80 GB-class accelerator cards, or a large-scale, high-speed interconnected supernode solution as recommended by the official guidance.

    3. MoE communication overhead cannot be ignored. Large-scale MoE inference is highly sensitive to inter-card bandwidth. With close to 900 experts spread across multiple cards, each routed token must send its activations to the card hosting the target expert for computation, then return the results. If cross-node traffic runs over ordinary Ethernet or low-speed interconnects, communication latency will consume the compute gains. High-throughput scenarios therefore need high-speed inter-card interconnects that keep expert communication within a single high-speed communication domain.

    2. Tier 1: Just Make It Run

    The goal is modest: load roughly 1,500 GB of weights into addressable storage and let the model generate tokens, even if only a few tokens per second.

    1. The core approach is hybrid GPU and CPU inference. The MoE structure lends itself to layered offloading. The shared attention layers are compute-intensive and hold a small share of the parameters, so they run on the GPU with high memory bandwidth. Sparse experts account for most of the storage, but only a dozen or so are active at a time. All of them can be offloaded to CPU memory, where a large-memory server calls them on demand based on routing results. Open-source inference frameworks already use this architecture, and practice has shown it to be feasible.

    2. Reference configuration and cost range. The minimum viable setup is a dual-socket server with more than 1 TB of system memory, plus one consumer-grade or entry-level data center GPU for attention computation. At current market prices, the full system costs roughly tens of thousands of RMB, and memory is the largest single expense. The trade-off is very low throughput, with output possibly only a few tokens per second. This tier suits offline batch processing, functional validation, and secondary development and debugging.

    3. Considerations. First, memory bandwidth is the bottleneck, so choose a platform with many memory channels. Second, expert weights can be paged in from disk on demand to lower the memory requirement further, but this adds latency. Third, after the weights are officially released, run a correctness check with small batches before evaluating performance.

    3. Tier 2: Single User at 25 Tokens/s

    Moving from “it runs” to “it is usable” requires a key change: experts can no longer sit entirely in CPU memory.

    1. Trading memory bandwidth for speed. 25 tokens/s means completing 25 full rounds of expert routing and computation per second. If experts stay in system memory, each forward pass must move the data for the activated experts, roughly tens of GB based on active parameters. DDR memory bandwidth of several hundred GB/s sits right at the edge, so a stable 25 tokens/s is hard to reach in practice. The mainstream approach at this tier is to move hot experts, or all experts, into GPU VRAM. Attention computation and the prefix cache also stay on the cards.

    2. Reference configuration. Full 4-bit weights of about 1,500 GB correspond to a multi-machine or full-rack setup with about 20 to 24 80 GB-class data center accelerator cards. High-speed interconnects keep expert parallelism communication efficient. With a limited budget, a hybrid strategy can keep hot experts in VRAM and cold experts in system memory. This reduces the card count to 8 to 12, but it requires a carefully designed cache replacement policy. Costs range from several hundred thousand to several million RMB.

    3. The software stack matters too. Techniques such as speculative decoding, continuous batching, and KV cache quantization can noticeably improve effective output speed for a single user. Sometimes they are more cost-effective than adding cards.

    4. Tier 3: 10-Way Concurrency, with Each User Still Above 25 Tokens/s

    Concurrency shifts the bottleneck from memory bandwidth to a combination of compute and bandwidth.

    1. Resource needs grow almost linearly. Ten-way concurrency means maintaining 10 separate KV caches and roughly 10 times the decoding compute. The good news is that MoE expert utilization rises as batch size grows, so the cost per token falls. When several tokens hit the same expert, their computation can be merged. The bad news is that all-to-all communication volume grows in step, which places higher demands on the interconnect topology.

    2. Reference configuration. Building on Tier 2, use a hybrid of expert parallelism and data parallelism. Split the model across two or more high-speed interconnect domains, perform expert parallelism inside each domain, and balance load across requests between domains. A typical setup is a multi-machine cluster of 32 to 64 accelerator cards with a high-bandwidth, low-latency network. Costs reach several million to tens of millions of RMB, approaching the investment level of a small or mid-sized company building its own data center.

    3. Trade-off considerations. At this scale, the depreciation, operations, and power costs of self-built hardware must be compared carefully with elastic cloud compute. For workloads with large demand swings, GPU compute and container platforms from cloud providers, scaled on demand, are often more economical than a one-time purchase. Self-hosting suits long-term, steady workloads where data must stay on premises.

    5. Summary

    Deploying a trillion-parameter MoE model locally follows a clear decision chain. First, calculate the weight floor from the quantization bit width. Next, decide whether experts live in system memory or VRAM based on the speed target. Finally, choose the communication topology and card count based on the concurrency level. Costs rise from tens of thousands of RMB in the first tier to tens of millions in the third. The gap comes mainly from two hard constraints: VRAM capacity and interconnect bandwidth. All figures in this article are estimates based on public information, and the model weights and technical report have not yet been officially released. Before deployment, verify each item with real benchmarks to avoid buying hardware based on paper specifications, which can cause resource mismatches.