Deploying Ultra-Large MoE Models Locally: A Guide to VRAM and Hardware Cost Estimation

    As large language models scale toward trillions of parameters, the Mixture of Experts (MoE) architecture has become the standard for balancing model capability and inference costs. This guide examines the local deployment of a 2.8-trillion-parameter MoE model, providing an in-depth analysis of VRAM requirements, hardware cost estimates across three typical deployment tiers, and network communication bottlenecks to help developers plan effectively.

    As LLM parameters scale from hundreds of billions to trillions, the Mixture of Experts (MoE) architecture has emerged as the mainstream solution for balancing model capability and inference costs. However, deploying such massive models locally presents formidable VRAM barriers and exorbitant compute costs. Using a prominent 2.8-trillion-parameter MoE model as an example, this article explores the VRAM requirements, hardware cost estimates, and network communication bottlenecks of local deployment, offering actionable planning guidelines across three typical deployment tiers.

    1. Architecture Analysis: The VRAM Trade-off Between Total and Activated Parameters

    Before discussing deployment costs, it is crucial to understand the architectural characteristics of ultra-large MoE models. The aforementioned 2.8-trillion-parameter model employs a sparse activation design, activating only 16 out of 896 expert networks per token. While this expert activation ratio appears to be only about 1.79%, it does not mean that only 1.79% of the parameters need to be loaded during inference.

    The core principle of MoE deployment is “full load, on-demand routing.” Because different input tokens are dynamically routed to different expert nodes, all 896 experts’ weights must reside completely in the storage medium. The reduced activation ratio primarily affects floating-point operations during computation, not static VRAM usage. The model’s backbone utilizes Delta Attention combined with Attention Residuals, paired with a Gated MLA component. This means that regardless of concurrency, the system’s primary task is providing sufficient storage capacity to house these massive weights.

    2. Quantization Strategies and Actual VRAM Estimation

    To alleviate the storage pressure of trillions of parameters, the industry widely adopts quantization-aware training. This model integrates MXFP4 weight and MXFP8 activation quantization strategies deeply during the SFT (Supervised Fine-Tuning) stage. Converting 2.8 trillion parameters to 4-bit precision yields a theoretical lower bound of approximately 1400GB for the raw data.

    However, in practical engineering, VRAM consumption extends far beyond this. According to the OCP specification, every 32 4-bit elements in the MXFP4 format require an 8-bit scaling factor. Based on this, the volume of weight elements plus scales alone reaches: 2.8T × 4.25 bit ÷ 8 ≈ 1487.5GB. This does not include non-4-bit tensors, routing metadata, VRAM alignment overhead, runtime workspaces, and the dynamically growing KV Cache as context length increases. Factoring in these hidden costs, the actual VRAM capacity required for deployment easily surpasses 1.5TB.

    To put this scale into perspective, consider a common 671B-parameter MoE model. In FP8 format, its main parameters plus MTP parameters require about 685GB of VRAM; even with AWQ 4-bit quantization, it requires about 335GB for weights and 37GB for activations, totaling roughly 400GB to barely run on 8x80GB accelerator cards (640GB total). In contrast, the 2.8-trillion-parameter model is over 4 times larger. Its full deployment hardware floor increases proportionally, typically requiring dozens of high-end accelerator cards just to meet the minimum operational threshold.

    3. Hardware Planning Guidelines for Three Deployment Tiers

    Based on different user needs, we categorize local deployment into three tiers and analyze the corresponding hardware costs and configuration strategies.

    Tier 1: Just Running, Speed Ignored
    This is a “threshold-level experience” deployment, suitable for scenarios highly tolerant of latency, such as scientific exploration or model validation. The goal here is to fit the model into limited hardware using extreme quantization (e.g., 4-bit or lower). Based on previous calculations, at least 1.6TB of total VRAM must be prepared. If using 80GB single cards, a cluster of at least 20 cards is required. Hardware procurement costs will start in the millions, and inference speed may drop to single-digit tokens per second.

    Tier 2: Single-User Output Speed of 25 TPS
    25 TPS (Tokens Per Second) is the comfort zone for human reading speed. Achieving this requires solving compute throughput in addition to loading weights. A single-user request cannot fully utilize MoE sparsity, so the system must allocate sufficient compute for routing calculations and attention mechanisms. This means that beyond the roughly 20 cards used for storing weights, additional accelerator cards or higher bandwidth VRAM configurations may be needed to accelerate computation. The overall cluster scale may need to expand to 24 to 32 accelerator cards, equipped with high-speed cluster interconnects.

    Tier 3: 10 Concurrent Users with 25+ TPS per User (Quantization no lower than FP8 or equivalent)
    This represents the stringent requirements of an enterprise production environment. Processing 10 concurrent requests means KV Cache VRAM consumption grows 10-fold, while the routing system must handle multi-batch token distribution without severe congestion. Furthermore, requiring a quantization level no lower than a specific high-precision standard means weights cannot be over-compressed, driving VRAM usage even higher. At this point, traditional 8-card or 16-card server nodes are insufficient; a multi-node ultra-large cluster is mandatory. An estimated 40 to 64 or more high-end accelerator cards are needed, pushing total hardware investments into the tens of millions. Additionally, to ensure stable output under high concurrency, introducing high-performance computing instances (such as Baidu AI Cloud) or building dedicated container platforms with monitoring and alerting systems is necessary to guarantee high availability.

    4. Communication Bottlenecks and Supernode Deployment Solutions

    When deploying ultra-large MoE models across multiple cards or nodes, the biggest technical hurdle is not pure compute power, but communication latency.

    During the forward propagation of MoE inference, each token undergoes a “routing distribution - expert computation - result aggregation” process. With 896 experts distributed across multiple accelerator cards, each token’s activation values must be transferred via All-to-All communication to the card hosting the target expert for computation, and then transferred back. This frequent cross-card data transfer is extremely sensitive to interconnect bandwidth. If nodes use traditional Ethernet or PCIe interconnects, communication latency will directly eat up the accelerator’s compute power, leaving GPUs in a waiting state for extended periods.

    Therefore, official and industry best practices recommend deploying such ultra-large MoE models using a “supernode” comprising 64 or more accelerators. Supernodes utilize GPU-native high-speed interconnect technology (e.g., NVLink) to expand the communication domain, allowing all expert activation interactions to occur within the same high-speed communication domain, thereby minimizing physical latency of cross-node transmissions. For enterprises, this means servers cannot simply be stacked; high-end AI server clusters with ultra-large high-speed interconnect domains must be procured.

    5. Conclusion

    Deploying the new generation of 2.8-trillion-parameter MoE models is by no means a simple game of “stacking GPUs.” It is a triple extreme challenge of storage capacity, compute power, and network bandwidth. From a basic deployment that merely runs, to smooth single-user interaction, to high-concurrency enterprise production applications, hardware costs scale exponentially. When planning local deployments, developers and enterprises must accurately estimate VRAM and interconnect bandwidth requirements based on their concurrency and response speed needs. With computing costs remaining high, leveraging cloud computing infrastructure and distributed architecture designs may offer better commercial viability than blindly purchasing physical hardware.