Local Deployment of Trillion-Parameter MoE Models: Memory, Hardware, and Cost Planning

    This article analyzes local deployment of a frontier mixture-of-experts model with roughly 2.8 trillion total parameters. It covers why memory must be sized by total parameters, why the quantized weight lower bound is still about 1.5TB, why 64+ accelerator supernodes are recommended for production, and how CPU-GPU heterogeneous inference can reduce cost. It also outlines three budget tiers and practical decision criteria for teams evaluating self-hosting.

    Local Deployment of Trillion-Parameter MoE Models: Memory, Hardware, and Cost Planning

    Deploying a trillion-parameter model locally is no longer just a question of buying a few GPUs. This article examines a frontier model with about 2.8 trillion total parameters and a mixture-of-experts (MoE) architecture, covering memory estimation, hardware networking, heterogeneous inference options, and overall cost boundaries.

    Before going further, it is important to note that at this stage, the full weights and technical report for such a model have not yet been officially released. Except for officially published architecture parameters, the speed, memory, and hardware configuration figures below are estimates based on public information and should be verified item by item with benchmarks once the weights are available.

    1. Architecture: Why Memory Is Calculated by Total Parameters

    A typical configuration for this class of ultra-large model is: 2.8 trillion total parameters, MoE architecture, 896 experts with only 16 activated per token, and an expert activation ratio of about 1.79%. Note that this is the activation ratio at the expert level, not a strict parameter activation ratio.

    A common misunderstanding is: “Since each token activates only a small subset of experts, is it enough to load only those parameters?” The answer is no. MoE deployment memory usage is calculated by total parameters; the activation ratio only affects compute consumption. The router makes dynamic decisions during inference—any expert may be selected by any token—so all 896 experts must first be placed in addressable storage. During inference, the activated 16 experts are then fetched according to routing results.

    At the architecture level, the backbone of this type of model is usually a linear attention variant (such as a gated incremental attention mechanism) combined with attention residual structures, with gated multi-head latent attention as a component. This shared attention part is dense computation executed at every layer, creating a clear compute/storage distribution difference from the sparse experts. This directly determines the deployment strategies discussed below.

    2. Memory Lower Bound: Still About 1.5TB After Quantization

    The good news is that this type of model has undergone quantization-aware training since the SFT stage and natively supports MXFP4 weights with MXFP8 activations, so quantization loss is relatively controlled. The bad news is that even with 4-bit storage, the numbers remain striking:

    • Bare data lower bound: 2.8 trillion parameters × 4 bit ÷ 8 ≈ 1400GB
    • Under the OCP specification, MXFP4 adds an 8-bit scale for every 32 4-bit elements. Including this gives 2.8T × 4.25 bit ÷ 8 ≈ 1487.5GB

    This is far from the whole story. Actual operation also requires:

    1. Non-4-bit tensors (such as router, norm layers, and embeddings, which usually remain in higher precision);
    2. Metadata and memory alignment overhead;
    3. Inference runtime workspace;
    4. KV Cache—in long-context scenarios, this grows linearly with concurrency and sequence length.

    For reference, a 671B total-parameter MoE model uses about 685GB for weights plus MTP parameters in FP8. With AWQ 4-bit, it still requires about 335GB of weights plus about 37GB of activations, roughly 400GB in total, which fits on 8 high-end data center GPUs with 640GB of combined memory. The 2.8-trillion-parameter model is more than 4× that size, pushing the lower bound for full deployment to the 1.5TB level—this is the starting point for all design choices.

    3. Why the Official Recommendation Is a Supernode with 64+ GPUs

    The official recommendation is to use a supernode composed of 64 or more accelerators because large-scale MoE inference is extremely sensitive to all-to-all communication bandwidth.

    The 896 experts are distributed across multiple GPUs. The inference flow for each token is: routing calculation → move activations to the GPU hosting the target expert → expert computation → move results back. The more distributed the experts are, the more frequent the cross-GPU communication becomes, and communication latency directly “eats” compute—GPUs spend a large amount of time waiting for data rather than computing.

    The value of a supernode is that it expands the communication domain using NVLink or equivalent high-speed interconnect, keeping this high-frequency transfer within a single communication domain. Inside a supernode, interconnect bandwidth can reach hundreds of GB/s with very low latency. Once traffic crosses nodes over the network, bandwidth typically drops by an order of magnitude or more, and MoE inference throughput falls sharply.

    That said, if the only goal is to make the model emit tokens—even at single-digit tokens per second—there is a more economical path.

    4. Low-Cost Path: CPU-GPU Heterogeneous Inference

    The most direct cost-saving idea is to exploit the compute/storage asymmetry of MoE for heterogeneous inference:

    • Shared attention part (linear attention variant plus gated MLA): compute-intensive but small in parameter count, kept on GPUs with high-bandwidth memory;
    • 896 sparse experts: account for the majority of parameters, but only 16 are activated per token. Their computation is “sparse and bursty,” so they can all be offloaded to CPU memory carried by a large-memory server.

    Open-source inference frameworks have already validated this route in the industry: a dual-socket server-grade CPU (64+ cores, AVX-512 support) plus a single consumer flagship GPU can run a 4-bit quantized version of a 671B model (about 377GB of weights) with prefill of 200+ tokens/s and decode of about 14 tokens/s. However, the official tutorial figures come with caveats such as expert selection strategy, and actual experience will vary by configuration.

    Extrapolating this ratio to a 2.8-trillion-parameter model with about 1.5TB of weights means:

    • Memory: at least 2TB of server memory (reserving headroom for KV Cache and runtime, 3TB is safer);
    • GPU: at least 1–2 consumer-grade cards with 24GB of memory for the attention part;
    • Storage: about 1.5TB for weight files; NVMe SSD is recommended, with space reserved for two copies.

    A rough budget: a dual-socket server platform plus 2TB of memory costs about RMB 150,000–250,000, and GPUs cost tens of thousands of RMB. The total can be kept under RMB 300,000. The tradeoff is that decode speed will most likely be in the single-digit tokens/s range, making it suitable only for personal research or scenarios that are completely insensitive to latency.

    5. Cost Tier Summary

    Tier Configuration Approach Budget Level Expected Experience
    Entry Large-memory server + 1–2 consumer GPUs, heterogeneous inference Tens of thousands to RMB 300,000 Single-digit tokens/s
    Mid-range Multi-GPU server cluster, experts partly on GPUs Millions of RMB Usable concurrency, second-level response
    Full 64+ accelerator supernode, high-speed interconnect RMB 10 million+ Production-grade throughput and latency

    6. Practical Recommendations

    For most teams, the decision logic for local deployment of a trillion-parameter model should be:

    1. Define the SLA first: If only offline batch processing or research validation is needed, a heterogeneous approach is sufficient. If online serving must be supported, a supernode is almost mandatory.
    2. Prioritize inference services: When weights have just been released and the ecosystem is not yet mature, validating business value through cloud provider APIs or managed inference services before deciding whether to build in-house can significantly reduce sunk costs. Elastic compute, object storage, and container orchestration capabilities offered by mainstream cloud platforms can also be used first to build a prototype environment.
    3. Wait for the ecosystem to mature: Support for new architectures (such as linear attention variants) in quantization toolchains and inference frameworks often lags weight releases by weeks to months. Investing in hardware too early may create software incompatibility risks.

    In one sentence: the barrier to running a trillion-parameter model locally has fallen from “impossible” to “reachable at the RMB-million level,” but between “running” and “running well” there is still a supernode bill.