The Cost of Deploying a Trillion-Parameter MoE Model Locally: Memory, Bandwidth, and Budget Breakdown

    This article breaks down the real cost of running a trillion-parameter MoE model on your own hardware across three deployment targets: getting it to load, hitting 25 tokens/s for a single user, and serving 10 concurrent users at 4-bit precision. It explains why a low expert activation ratio cuts compute but not memory requirements, walks through the memory floor calculation from raw 4-bit weights to real-world footprint including KV cache, and details the hardware and budget for each tier. A cost checklist covering accelerators, interconnect, memory, storage, power, and tuning is included, along with a pre-launch verification checklist. The key takeaway: the cost driver is storage capacity and interconnect bandwidth, not compute.

    1. Define the Target First: Three Tiers of Local Deployment

    Before asking “how much will it cost,” you need to split the goal into tiers. For the same model, a different target can shift the cost by an order of magnitude. Local deployment requirements generally fall into three tiers:

    1. Just get it running: Output speed does not matter. The model only needs to load and emit tokens, for functional validation, architecture research, or prompt debugging.
    2. Usable for a single user: In a single-user scenario, output reaches roughly 25 tokens/s, close to human reading speed, suitable for everyday Q&A and coding assistance.
    3. Usable with concurrency: With 10 concurrent streams, each stream still holds above 25 tokens/s, and the quantization level is no lower than 4-bit, approaching the threshold of a lightweight production environment.

    One premise needs to be stated up front: as of this writing, the full weights and technical report for this class of trillion-parameter model have not been publicly released, and the official statement is that they will follow. So apart from the architecture and publicly available pricing logic, every speed, memory, and hardware number below is an engineering estimate based on public information. Once the weights are released, each item must be verified with benchmarks.

    2. Architecture Drives Cost: Why a “Low Activation Ratio” Does Not Mean “Cheap”

    This class of model has roughly 2.8 trillion total parameters and uses a mixture-of-experts (MoE) architecture. Of 896 experts, each token activates 16, an expert activation ratio of about 1.79%. The backbone is a linear-attention structure (Delta-style state updates) with residual connections, and gated multi-head latent attention as one of its components.

    Two key conclusions, which many people get wrong:

    • The activation ratio only affects compute consumption, not memory footprint. You must fit all 896 experts into addressable storage, then pull 16 of them into computation per routing decision at inference time.
    • The expert activation ratio is not the parameter activation ratio. The former is a ratio of expert count; the latter must be weighted by the parameter size inside each expert. The two numbers differ, and you cannot use 1.79% to directly infer compute savings.

    This leads to a counterintuitive fact: a low activation ratio lowers compute demand, but the procurement threshold barely moves, because storage and interconnect are the hard constraints.

    3. Calculating the Memory Floor: From Raw Data to Real Footprint

    The model uses quantization-aware training from the supervised fine-tuning stage onward, with a format combination of 4-bit weights and 8-bit activations. At 2.8 trillion parameters and 4-bit, the raw data floor is about 1400GB.

    But that is not how you calculate it in engineering. 4-bit quantization attaches one 8-bit scaling factor per 32 elements. Under a common open computing specification:

    1. Weights and scaling factors ≈ 2.8T × (4 + 8/32) bit ÷ 8 ≈ 1487.5 GB

    This still excludes: non-4-bit tensors (normalization layers, embeddings, and the output head usually stay at higher precision), metadata and alignment padding, the runtime workspace, and the KV cache.

    As a reference point, a 671B-class MoE model in an 8-bit floating-point format runs about 685GB for the main parameters plus the multi-token prediction module. Switched to 4-bit quantization, weights come to about 335GB plus roughly 37GB of activation overhead, about 400GB in total, which fits just inside the capacity of 8x 80GB accelerator cards (640GB). The new generation model is more than four times that size, which sets the deployment floor: starting around 1.5TB, and that is the weights only, excluding cache and runtime.

    The KV cache is often underestimated. Although the linear-attention structure keeps state usage far below traditional attention, in a 10-concurrency, long-context scenario, cache and intermediate state still need a 5%–15% margin.

    4. Hardware and Budget Breakdown for the Three Tiers

    Tier 1: Just Get It Running (Lowest Budget)

    The approach is heterogeneous inference across GPU and CPU. Each MoE layer has a shared attention part that is compute-intensive and stays on the GPU to exploit high bandwidth. The 896 sparse experts take up most of the storage but activate only a few at a time, so all of them are offloaded to CPU memory, carried by a large-memory server.

    A high-performance configuration from a public tutorial: a dual-socket server-class CPU paired with one consumer 24GB graphics card, running the 4-bit quantized version of a 671B-class model (about 377GB), with prefill above 200 tokens/s and decode around 14 tokens/s, with an expert selection strategy applied. Extrapolating from this, running 1.5TB of weights needs 1.5–2TB of memory plus one 24GB card, with a whole-machine cost in the tens of thousands to low six figures of yuan, and expected output speed in the single-digit tokens/s.

    Tier 2: 25 tokens/s for a Single User

    Single-machine CPU memory bandwidth is the bottleneck. An 8-channel DDR5 dual-socket platform has a theoretical bandwidth of roughly 0.6–0.8TB/s. Generating each token requires reading the activated expert weights at least once, and effective bandwidth utilization is typically only 30%–50% of theoretical. To reach 25 tokens/s, the per-token read volume must be squeezed under 20GB, which places extreme demands on routing stability and expert cache hit rate.

    Two viable paths: upgrade to a high-end server platform with 12 or more memory channels and stack bandwidth; or introduce multi-level caching that keeps hot experts resident on high-bandwidth media. The budget is roughly 200,000–600,000 yuan, and it requires a fair amount of tuning work.

    Tier 3: 10 Concurrency, Above 25 tokens/s per User, 4-bit as the Starting Point

    This tier requires a multi-card high-speed interconnect path. Large-scale MoE inference is extremely sensitive to all-to-all communication bandwidth: the 896 experts are spread across multiple cards, and after each token is routed, its activations must be moved to the card holding the target expert and moved back after computation. Communication latency eats compute directly. The official recommendation of a supernode built from 64 or more accelerators is precisely to keep this movement inside a single high-speed interconnect domain.

    Estimating with 64x 80GB cards (5.12TB of memory), the hardware investment is in the millions of yuan range, plus high-speed networking, storage, and data center power and cooling upgrades. This is the threshold for near-production usability, not an experimental budget.

    5. The Cost Checklist: Do Not Count Only the Accelerators

    Item Notes Share (reference)
    Accelerators/GPUs Main expense 60%–75%
    High-speed interconnect and networking Intra-supernode interconnect, cross-node RDMA 8%–15%
    CPU and memory Memory capacity is a hard threshold for heterogeneous inference 5%–15%
    Storage Loading weights needs high-throughput parallel file storage 3%–8%
    Power and cooling Single-rack power density may require liquid cooling 5%–10%
    People and tuning Quantization verification, routing tuning, load testing Not negligible

    If you choose on-demand cloud usage, GPU instances, parallel file storage, object storage, container platforms, and monitoring and alerting services on a general cloud platform can be billed hourly, which suits early validation. General compute and storage offerings from providers such as Baidu AI Cloud can serve as a comparison reference, but for long-term, high-frequency inference, self-hosting is more economical, with the break-even point typically between a few months and a year.

    6. Verification Checklist Before Going Live

    1. After the weights are released, first test load success rate and peak memory, not speed directly.
    2. Use a fixed prompt set to measure prefill and decode as separate metrics; decode is what determines the interactive experience.
    3. For concurrency load testing, look at P50/P95 latency; averages hide queuing problems.
    4. Record the perplexity or task accuracy difference before and after quantization to confirm whether 4-bit is acceptable.
    5. Calculate the cost per million tokens and compare it against cloud API pricing before deciding.

    7. Conclusion

    For local deployment of a trillion-parameter MoE model, the main cost line is not compute but storage capacity and interconnect bandwidth. Getting it running takes an investment in the tens of thousands of yuan; 25 tokens/s for a single user needs 200,000–600,000 yuan and depends on memory bandwidth optimization; 10-concurrency production grade needs a supernode of 64 or more cards and a budget in the millions of yuan. The recommendation is to complete validation with on-demand cloud compute first, then decide whether to self-host.