Trillion-Scale MoE LLM Local Deployment: A Memory and Cost Estimation Guide

    A practical guide to estimating the memory, hardware, and cost of deploying ultra-large MoE (Mixture-of-Experts) models locally. Using a roughly 2.8-trillion-parameter example with 896 experts, it explains why memory must be sized by total parameters rather than activated parameters, and how 4-bit (MXFP4) and 8-bit (MXFP8) quantization push the storage floor to nearly 1500GB. It breaks the problem into three deployment tiers—just getting the model to run, single-user output at 25 tps, and 10 concurrent users without lowering quantization—then covers the all-to-all communication bottleneck of supernode designs and closes with selection guidance, including renting elastic cloud compute instead of buying a full supernode outright.

    1. First, a Necessary Clarification

    Recently, a wave of large models with trillion-scale total parameters has appeared. Take as an example a model with about 2.8 trillion total parameters built on an MoE (Mixture-of-Experts) architecture: it contains 896 experts, of which only 16 are activated per token, giving an expert activation ratio of roughly 1.79%. It’s important to stress that this “activation ratio” refers to the expert dimension and is not the same as a strict parameter activation ratio.

    The overall backbone of such models typically combines several newer attention structures (for example, variants of Multi-head Latent Attention (MLA), attention residual connections, and linear attention): the sparse expert layers occupy the vast majority of storage, while the shared attention part is compute-intensive.

    One caveat: because the full weights and technical report for this example model are not yet fully public, all memory, speed, and hardware figures below are estimates based on public information and will need to be verified item by item through benchmarking once the weights are officially released.

    2. Why Memory Must Be Calculated by “Total Parameters,” Not “Activated Parameters”

    This is the first place many people miscalculate cost. The inference logic of MoE is this: no matter how few experts are activated each time—only 16 in this case—you must first load the weights of all 896 experts into addressable storage, then route to and compute with the relevant experts during inference. The activation ratio only affects compute consumption (the number of parameters actually involved in matrix multiplication each time); it does not lower the storage floor.

    Quantization significantly changes this number. This example introduced quantization-aware training as early as the SFT (supervised fine-tuning) stage, using a 4-bit microscaling floating-point format (MXFP4) for weights and an 8-bit format (MXFP8) for activations.

    • At a pure 4-bit calculation, 2.8 trillion parameters yield a raw data floor of about 2.8T × 4 ÷ 8 ≈ 1400GB.
    • But the 4-bit microscaling format attaches an 8-bit scale factor to every 32 elements; per the OCP specification, weights plus scale come to about 2.8T × 4.25 ÷ 8 ≈ 1487.5GB.
    • This still doesn’t count non-4-bit tensors, metadata, alignment padding, the runtime workspace, or the KV cache.

    3. A Reference Point for Scale

    Using the previous generation of mainstream MoE models as a reference makes things more concrete. A model with 671B total parameters (plus about 14B MTP multi-token-prediction parameters) needs about 685GB in FP8 format; switching to 4-bit weight quantization brings weights down to about 335GB, plus about 37GB of activations, totaling about 400GB—just enough to run on 8 high-end accelerators with 80GB each (640GB total).

    The new example is more than 4 times larger, which directly pushes the memory floor for “full-capability local deployment” up to nearly 1500GB—already beyond the physical capacity of a single 8-card machine, making multi-machine, multi-card deployment mandatory.

    4. Three Tiers of Requirements and Cost

    The real value of the original question lies in layering. The same goal of “running locally” can translate into costs that differ by an order of magnitude depending on the target.

    Tier 1: Just get it running, don’t care about speed

    The goal is to fit nearly 1500GB of weights into addressable storage so the model can emit tokens, even at just a few tokens per second. This path is the most compute-frugal but demands very high memory capacity. A typical approach is heterogeneous GPU-CPU inference: the shared attention part is compute-intensive, so it stays on the GPU and runs at high bandwidth; the 896 sparse experts occupy storage but only activate a few at a time, so they are offloaded wholesale to a large-memory server and fed by CPU memory. Mature open-source heterogeneous inference frameworks can already support this “GPU compute + large memory” combination, lowering the bar from “dozens of high-end cards” to “a few cards plus a large-memory server.”

    Tier 2: Single user with an output speed of 25 tps

    25 tokens/s is a “usable but not impressive” interactive threshold. Reaching it is often not enough with heterogeneous offloading alone—CPU memory bandwidth and bus transfer become the bottleneck. This tier typically requires keeping more hot experts resident in GPU memory, or adding cards to shorten the transfer path for expert fetching—trading memory bandwidth for throughput.

    Tier 3: 10 concurrent users with over 25 tps each, without lowering the quantization level

    This is the tier closest to production: it must be not only fast but also able to handle concurrency, and it cannot sacrifice quality through aggressive quantization. Ten concurrent users means 10 inference streams simultaneously competing for memory bandwidth and compute, the KV cache grows several-fold, and expert-routing load becomes more dispersed. This tier can essentially only follow the officially recommended route—a high-speed-interconnect supernode built from 64 or more accelerators.

    5. The Unavoidable Communication Bottleneck

    Large-scale MoE inference is extremely sensitive to all-to-all communication bandwidth. With 896 experts spread across multiple cards, every token, after routing, has its activations moved to the card hosting the target expert and moved back once computation is done. The more cards and the finer the sharding, the more frequent these transfers become, and communication latency directly eats into compute.

    The core idea of the supernode approach is to use high-speed inter-card interconnect to enlarge the communication domain, so that the vast majority of transfers happen within the same high-bandwidth domain, avoiding inefficient cross-node, cross-network transfers. This also explains why “adding cards” is not a linear speedup—if the interconnect topology cannot keep up, adding cards may instead yield diminishing returns as communication overhead rises.

    6. Cost and Selection Summary

    Bringing the tiers above together:

    • Storage is a hard constraint: nearly 1500GB of weights means every tier crosses the single-machine 8-card threshold.
    • Compute and bandwidth determine speed: going from “get it running” to “single user at 25 tps” to “10 concurrent at high throughput” is essentially about making tradeoffs among memory capacity, memory bandwidth, and interconnect bandwidth.
    • Quantization is a lever: 4-bit weights compress the storage floor to about 1.4–1.5TB, but if high quality is required, the aggressiveness of quantization still needs to be controlled.

    For most teams, procuring a 64-card-class supernode from scratch is unrealistic—it is a one-time heavy-asset investment that also carries ongoing costs for data-center space, power, and operations. A more pragmatic path is to evaluate elastic cloud compute: mainstream cloud services (such as Baidu AI Cloud) typically offer general-purpose capabilities like GPU instances, container services, object storage, and monitoring and alerting, which can be rented on demand rather than self-built at great expense, converting fixed investment into variable cost. Whether to self-build, rent, or adopt managed inference depends on your concurrency scale, data-compliance requirements, and long-term cost curve. It is advisable to run benchmark tests on a small cluster first after the weights are officially released, then work backward from the measured data to determine the configuration and budget.