Local Deployment and Cost Estimation Guide for Ultra-Large-Scale MoE Models

    This guide explores how to deploy a 2.8-trillion-parameter Mixture of Experts (MoE) model on-premises. It analyzes the model's architecture and memory baseline, then presents three deployment tiers—from a minimal CPU-GPU heterogeneous setup, to a full-GPU cluster for single-user interactive use, to a 64-GPU supernode architecture for high-concurrency enterprise scenarios—along with hardware and cost estimates for each, plus hybrid cloud deployment recommendations.

    As large language models scale toward trillions of parameters, the Mixture of Experts (MoE) architecture has become an industry standard because it can host massive parameter counts at a relatively small computational cost. However, for enterprises or developers seeking on-premises deployment, running such ultra-large models imposes extremely high hardware barriers and engineering challenges. Using a typical MoE model with roughly 2.8 trillion total parameters as an example, this article examines local deployment strategies and cost estimates, organized into three tiers based on performance requirements.

    1. Model Architecture and Quantization Baseline

    Before discussing deployment plans, we must clarify the target model’s architectural characteristics and memory baseline. The model has 2.8 trillion total parameters and uses an MoE architecture with 896 expert networks per layer, but only 16 experts are activated per token during inference—an activation ratio of about 1.79%. The backbone uses Delta Attention with Attention Residuals, incorporating components such as Gated Multi-Head Latent Attention.

    In an MoE architecture, memory consumption is determined by the total parameter count, while the activation ratio only affects compute cost during inference. This means that no matter how much you optimize, all 896 experts’ weights must be fully loaded into addressable storage.

    Additionally, the model introduced quantization-aware training during the SFT stage, natively supporting MXFP4 weights with MXFP8 activations. Converting 2.8 trillion parameters to 4-bit precision yields a raw data floor of roughly 1400GB. Per the general Open Compute Project specification, MXFP4 requires an 8-bit scaling factor for every 32 four-bit elements, so the actual footprint of weights plus scaling factors is about 1487.5GB. This doesn’t even account for non-4-bit tensors, metadata, memory alignment padding, runtime workspace, or the ever-growing KV Cache. For comparison, a well-known 671B-parameter MoE model in the industry requires nearly 685GB of memory in FP8 format, and even with 4-bit quantization needs about 400GB to run across eight 80GB-class accelerators. The target model is more than four times that size, which sets the hardware floor for full-scale deployment.

    2. Deployment Tier 1: Just Get It Running, Speed Doesn’t Matter

    Goal: Load the nearly 1500GB of weights into storage and get the model generating tokens, even if output is only a few tokens per second.

    For this minimal requirement, the most direct and economical approach is heterogeneous CPU-GPU inference. Research institutions have open-sourced heterogeneous inference frameworks specifically optimized for ultra-large MoE models.

    Under this architecture, the model is split into two parts:

    1. The shared attention component: Compute-intensive with high bandwidth and compute demands, retained on the GPU.
    2. The sparse expert component: Occupies the vast majority of storage (the bulk of the 1500GB), but only a small number of experts (16) are activated per inference pass. These weights are offloaded to CPU memory, with a large-memory server handling the feeding and computation.

    Hardware estimate:

    • CPU memory: A server with 1.5TB to 2TB of DDR5 memory.
    • GPU: 1 to 2 mid-range or consumer-grade accelerators.

    Cost assessment: This is the cheapest option, with hardware investment potentially in the tens of thousands of US dollars, but inference is extremely slow—typically 1–5 tokens/s—suitable only for validating model logic or very low-frequency offline batch processing.

    3. Deployment Tier 2: Single User at 25 TPS

    Goal: Support smooth single-user interaction with output speed in the comfortable human reading zone (25 tokens/s).

    To reach 25 TPS, CPU memory offloading alone cannot meet bandwidth requirements; most hot weights must be migrated into high-bandwidth memory (HBM). This requires building an all-GPU inference cluster.

    Based on the ~1500GB weight floor plus runtime workspace and KV Cache, at least 1800GB to 2000GB of GPU memory must be provisioned. With high-end AI accelerators offering 80GB per card, at least 24 to 25 cards are needed just to fit the model. To minimize cross-node communication latency, the model should be confined within a single 8-GPU or 16-GPU node, or hosted on dense servers connected via high-speed interconnect buses.

    Hardware estimate:

    • 25 accelerators with 80GB memory each (typically procured as 8-GPU or 16-GPU server units).
    • High-speed point-to-point interconnect buses to reduce routing latency between GPUs.

    Cost assessment: A single 8-GPU high-end server is expensive, and 25 cards mean an investment in at least three servers. Hardware costs will reach the hundreds of thousands of dollars. With optimized PagedAttention and memory allocation, this configuration can reliably sustain 25 TPS for a single user.

    4. Deployment Tier 3: 10 Concurrent Requests at 25+ TPS Each

    Goal: Support 10 concurrent requests, each with output speed of at least 25 TPS, at quantization no lower than 4-bit.

    This is the most demanding enterprise scenario. With 10 concurrent requests, memory requirements multiply due to KV Cache growth, and all-to-all communication latency becomes a critical bottleneck. The 896 experts are distributed across multiple GPUs, and each token’s activations must be moved across cards to the node hosting the target expert after routing, then moved back after computation. At high concurrency, this communication overhead can consume all available GPU compute.

    The official recommendation for this class of deployment is a supernode architecture built from 64 or more accelerators. A supernode expands the communication domain through ultra-high-speed interconnects, so all weight transfers complete within a single communication domain, drastically reducing cross-node network latency.

    Hardware estimate:

    • 64 accelerators with 80GB or more memory each, totaling over 5120GB of GPU memory—enough to handle the massive weights and KV Cache demands of 10 concurrent requests.
    • A supernode network architecture ensuring all-to-all communication bandwidth at the TB/s level.
    • Supporting container platforms and monitoring/alerting systems to ensure high availability.

    Cost assessment: A 64-GPU high-end cluster typically costs in the millions of dollars. This is why, for most enterprises, purchasing hardware at this scale for on-premises deployment is not cost-effective.

    5. Hybrid Approaches and Cloud-Native Deployment Recommendations

    Given the extremely high hardware barriers described above, enterprises often combine cloud infrastructure to lower the entry threshold in practice. For scenarios that must balance elastic compute with data privacy, a hybrid architecture of “core data on-premises + elastic compute in the cloud” can be adopted.

    In a cloud-native environment, object storage can archive the massive model weights, which are loaded on demand into GPU container clusters over high-performance networks; message queues can smooth out inference request peaks; and logging services combined with monitoring and alerting platforms can provide real-time visibility into GPU utilization and communication latency. Cloud providers such as Baidu AI Cloud offer general-purpose GPU compute instances that let enterprises rent high-end accelerator clusters on demand—scaling out to 64-GPU configurations during high-concurrency periods and scaling in to minimal heterogeneous inference nodes during low-usage periods, significantly reducing overall TCO.

    Conclusion

    Deploying a 2.8-trillion-parameter MoE model is no trivial undertaking. From a heterogeneous offloading setup that “just runs,” to an all-GPU-memory cluster for single-user use, to a supernode architecture supporting high concurrency, hardware costs escalate from tens of thousands to millions of dollars. When planning an actual deployment, developers must clearly define business concurrency requirements and latency tolerance, and adjust quantization strategies and memory allocation based on real benchmark testing. In an era of persistently high compute costs, rationally assessing your own requirements and making good use of heterogeneous computing and elastic cloud resources is the optimal path for putting large models into production.