Deploying Trillion-Parameter MoE Models Locally: VRAM and Cost Breakdown

    This article explains what a trillion-parameter Mixture-of-Experts (MoE) model actually demands in terms of memory and money. It clarifies why VRAM is sized by total parameters rather than activated ones, walks through the quantized weight floor (about 1.5 TB with 4-bit MXFP4 weights), shows why all-to-all communication makes a super node mandatory, breaks total cost into hardware, interconnect, power and cooling, and operations, and compares self-hosting with offloading and managed inference. Readers will come away with a practical framework for deciding whether to build, rent, or mix.

    Deploying Trillion-Parameter MoE Models Locally: VRAM and Cost Breakdown

    1. What a Trillion Parameters Means for VRAM

    Start with a point that is widely misunderstood: for a Mixture-of-Experts (MoE) model, VRAM consumption is determined by the total parameter count, not by the number of parameters actually activated per token.

    Take a model with 2.8 trillion total parameters built on an MoE architecture. Assume it has 896 experts, and that the router selects only 16 of them for each token — an expert activation ratio of roughly 1.79%. Many readers see that figure and conclude that they only need VRAM for 1.79% of the parameters. That is wrong. The activation ratio affects compute consumption and inference latency only. For deployment, the weights of all 896 experts must be loaded in full into VRAM or storage, because the router may dispatch any given token to any expert.

    On the backbone architecture, models of this class typically combine a linear attention variant (such as an incremental attention mechanism) with an attention residual design, using Gated MLA (Gated Multi-head Latent Attention) as one component to keep the KV cache small while preserving long-context capability. Understanding these trade-offs matters for estimating KV cache size and runtime overhead later.

    2. Quantized Weight Footprint: How to Calculate the Floor

    Modern very large models generally introduce quantization-aware training during SFT, with weights stored in a 4-bit format (such as MXFP4) and activations in 8-bit. That gives us a way to estimate the lower bound on weight footprint.

    Raw data floor: 2.8 trillion parameters × 4 bit ÷ 8 = about 1400 GB.

    Precise calculation using the OCP microscaling format spec: the format attaches one 8-bit scale factor to every 32 4-bit elements, which works out to roughly 4.25 bit per element. So:

    1. 2.8T × 4.25 bit ÷ 8 ≈ 1487.5 GB

    And that is only the weights themselves. Actual VRAM requirements must also add:

    • Tensors that are not 4-bit quantized (attention blocks, embedding layers, normalization layers, which usually stay at higher precision);
    • Routing metadata and tensor alignment overhead;
    • The inference framework’s runtime workspace;
    • The KV cache (which grows linearly with concurrency and context length).

    Reference comparison with a 671B-class model: a mainstream open-source model of 671B parameters takes about 685 GB of weights in FP8. Even with 4-bit weight quantization, it needs about 335 GB of weights plus about 37 GB of activations — roughly 400 GB in total — to run on 8 high-end accelerator cards with 80 GB of VRAM each (640 GB combined). A 2.8T model is more than four times that size, which sets the VRAM floor for a full-scale deployment: typically a super node made up of 64 or more accelerator cards.

    3. Why You Need a Super Node: Communication Is the Hidden Bottleneck

    Large-scale MoE inference is extremely sensitive to all-to-all communication bandwidth. When 896 experts are spread across dozens of accelerator cards, the processing path for each token is:

    1. The router computes the target experts;
    2. The activations are moved to the cards hosting those experts;
    3. Once the experts finish computing, the results are moved back and aggregated.

    This means every token can trigger data round trips across cards, and even across nodes. If that communication happens over a slower network, latency directly eats into the compute gains and card utilization drops sharply. The official recommendation to use a super node is essentially about enlarging the communication domain: high-speed interconnect (with card-to-card bandwidth on the order of VRAM bandwidth) keeps the “shuffling” above from escaping a single communication domain, so traffic avoids the slower inter-node network.

    4. Cost Breakdown Framework

    The total cost of local deployment splits into four parts:

    Item Notes
    Accelerator card purchase At least 64 80 GB-class HBM accelerator cards just to fit the weights; leaving headroom for the KV cache usually means more
    Servers and interconnect Several 8-card servers plus high-speed interconnect switching gear; a super node form factor reduces cross-machine traffic
    Power and cooling Hundreds of kilowatts of power delivery; data center rack retrofit costs are not negligible
    Operations staff Deploying, monitoring, and recovering from failures in a large-scale distributed inference framework requires a dedicated team

    If the goal is only validation or low-traffic serving, an offloading approach is also an option: keep expert weights in host memory or on high-speed SSDs and load them dynamically based on routing hit rate. The cost is a significant drop in throughput and higher latency, which makes it suitable for internal evaluation rather than production.

    5. Alternative Path: Managed Inference Services

    For the vast majority of enterprises and developers, building a 64-card cluster is a massive investment. A more pragmatic choice is a cloud-based LLM inference service or an integrated platform: billing per token, no hardware depreciation to carry, and typically elastic concurrency, quantization acceleration, and monitoring and alerting built in. Validating business value in the cloud first, then evaluating self-hosting once call volume crosses a scale threshold, is the safer path.

    Conclusion

    The core formula for deploying a trillion-parameter MoE model locally is simple: VRAM follows total parameters, compute follows activated parameters, and performance follows communication. Quantization-aware training pushes weights down to a floor of about 1.5 TB, a super node resolves the all-to-all communication bottleneck, and the threshold of 64 or more accelerator cards makes this a one-time investment in the millions. Decide on your business scale and latency requirements first, then make a rational trade-off among self-hosted, managed, and hybrid options.