Very Large MoE Models: Local Deployment Cost and Configuration Guide

    This guide breaks down the real cost drivers for locally deploying very large MoE models, including weight storage, VRAM and system memory, expert-routing communication, KV cache, high-speed interconnect, and operations. It outlines three deployment tiers—from low-cost heterogeneous inference to single-user 25 tokens/s and 10-concurrent-user service—and explains how to budget, validate, and scale hardware before purchasing.

    1. First, Clarify: Local Deployment “Cost” Is Not Just GPUs

    When discussing the local deployment cost of very large models, you cannot look only at the number of GPUs. The real cost items include at least:

    1. Model weight storage;
    2. VRAM or system memory required for inference;
    3. Inter-card communication introduced by expert routing;
    4. KV cache usage;
    5. High-speed network and switching equipment;
    6. Hosts, power, cooling, and racks;
    7. Software adaptation, quantization, monitoring, and failure maintenance;
    8. Redundancy and capacity reservation under concurrent workloads.

    This is especially true for models using MoE, or Mixture-of-Experts architecture. Although only a small number of experts are activated per token, deployment usually still requires the full expert weights to remain accessible. In other words, sparse activation mainly reduces per-token computation; it does not reduce weight storage requirements proportionally to the activation ratio.

    The following analysis assumes a model with about 2.8 trillion total parameters, hundreds of experts, only a few experts activated per token, and an inference scheme using low-bit weights and low-precision activations. Before official weights are released, all numbers should be treated as capacity-planning references, not final procurement conclusions.

    2. How Much Storage Do the Weights Actually Need?

    If 2.8 trillion parameters were simply stored at 4 bit, the theoretical lower bound would be:

    1. 2.8 trillion × 4 bit ÷ 8
    2. ≈ 1.4 TB

    However, real quantization formats usually do not store only the parameters themselves. In group quantization, for example, each group may also need scaling factors, zero points, or other metadata. If every 32 parameters share an 8-bit scale value, the average storage cost per parameter becomes slightly higher than 4 bit, and the weight volume may approach 1.5 TB.

    This does not yet include:

    • Non-quantized tensors;
    • Embedding and output layers;
    • Router parameters;
    • Tensor alignment and file indexes;
    • Weight-loading buffers;
    • Runtime workspace for the inference framework;
    • KV cache;
    • Additional space from multi-replica deployment.

    Therefore, when planning actual storage, do not buy only 1.5 TB. A safer approach is to prepare more than 2 TB of high-speed local storage and reserve space for temporary conversion, verification, and multiple quantized versions. If you need to keep original weights, quantized weights, and backup files at the same time, storage requirements may reach several TB or more.

    Note that disk capacity is not the same as loading speed. Model startup usually involves large-scale sequential reads. Low-latency solid-state storage can shorten startup time, but it cannot replace VRAM bandwidth or fully solve the problem of moving expert weights during inference.

    3. Three Deployment Targets and Cost Tiers

    3.1 Tier 1: It only needs to run; generation speed does not matter

    The goal at this tier is to load the model and produce output, even if generation speed is only a few tokens per second.

    A recommended approach is a heterogeneous setup where GPUs handle high-frequency computation and CPU memory holds most expert weights. Shared attention modules, routing modules, and some active experts stay in VRAM; the remaining experts are placed in large-capacity memory and read dynamically based on routing results.

    One feasible capacity approach is:

    • VRAM: 48 GB to 96 GB;
    • System memory: 512 GB to 1.5 TB;
    • High-speed solid-state storage: 2 TB or more;
    • CPU: dual-socket or high-core-count server processor;
    • Number of GPUs: 1 to 2 high-VRAM accelerator cards;
    • Network: single-machine deployment preferred; large-scale inter-card interconnect is not yet required.

    The advantage of this configuration is relatively low initial investment. It is suitable for model-structure validation, quantization-effect testing, and offline experiments. The disadvantage is also obvious: CPU memory bandwidth is far lower than the VRAM bandwidth of high-end accelerator cards. When expert weights are frequently swapped in and out, inference speed will be seriously affected.

    If the only goal is “it can answer,” the total system cost may be in the range of tens of thousands to low hundreds of thousands of RMB. If more than 1 TB of memory, server-grade motherboards, and highly reliable storage are required, the cost will continue to rise. These price ranges are only for budget tiering; actual procurement prices depend on memory capacity, accelerator VRAM, chassis specifications, and power systems.

    3.2 Tier 2: Single user at 25 tokens/s

    A single user at 25 tokens/s is no longer just a loading problem. It is a problem of meeting requirements across computation, VRAM bandwidth, and communication bandwidth at the same time.

    If the model uses about 4-bit weights, the theoretical weight volume is still close to 1.5 TB. To achieve higher decoding speed, most weights should ideally reside permanently in accelerator VRAM rather than relying on dynamic reads from CPU memory. Even at 80 GB of VRAM per card, holding only the weights would require nearly 20 cards; considering runtime space, KV cache, communication buffers, and safety margins, the actual number is usually higher.

    At this point, the focus is not only “total VRAM” but also:

    • Inter-card interconnect bandwidth;
    • Expert sharding strategy;
    • All-to-All communication efficiency;
    • Whether routing load is balanced;
    • VRAM bandwidth per card;
    • Whether the inference framework supports continuous batching;
    • Whether communication bottlenecks appear during decoding.

    For each token generated by an MoE model, the process may involve “route—send—expert compute—return.” If experts are distributed across different devices, a large amount of activation data must be transferred across cards. Low-speed interconnect will make compute units wait for data and reduce accelerator utilization.

    For this target, a more realistic configuration is closer to:

    • Accelerators: about 24 to 32 high-VRAM devices;
    • Total VRAM: about 2 TB to 3 TB;
    • High-speed interconnect: high-bandwidth interconnect within the same communication domain;
    • System memory: more than 1 TB;
    • Local storage: around 4 TB, adjusted by the number of weight versions;
    • Racks and power: planned for high-power servers or a multi-node cluster.

    Equipment procurement costs may reach several million RMB, and power, cooling, and data center conditions cannot be ignored. If a multi-node cluster is used, high-speed network, switching equipment, and unified operations systems must also be configured. A single user at 25 tokens/s does not mean this speed can be achieved for all input lengths; short context, long context, long output, and different batch sizes must be tested separately.

    3.3 Tier 3: 10 concurrent users, each still at 25 tokens/s or higher

    Ten concurrent users and high-speed generation for a single user are two completely different goals.

    If ten users generate at the same time and each is still required to maintain 25 tokens/s, the system must sustain a continuous decoding throughput of nearly 250 tokens/s while also handling input prefill, context caching, and request scheduling. Simply adding more GPUs is not necessarily effective. The system design must be built around service-oriented inference.

    Key considerations include:

    1. Batching strategy
      Continuous batching can combine computation from different requests and improve device utilization. However, batching increases VRAM pressure and requires dynamic management of each request’s KV cache.

    2. KV cache capacity
      The longer the context and the higher the concurrency, the larger the KV cache usage. Even if weights are already quantized, KV cache can still become a VRAM bottleneck. Capacity must be estimated based on maximum context length, average output length, and concurrency.

    3. Request isolation and rate limiting
      If one request has an especially long input, it may consume a large amount of prefill resources and affect other users. A production environment needs maximum input length, maximum generation length, queue timeout, and priority policies.

    4. Expert load balancing
      Some experts may become overloaded due to uneven routing distribution, causing local device congestion. It is necessary to observe expert hit rates, device utilization, and cross-card traffic, not just average GPU utilization.

    5. Fault redundancy
      A 10-concurrent-user service is not suitable for an extreme configuration where every card is counted with no spare capacity. Failure of any card or node may make the entire model unavailable. Production deployments usually need reserved spare capacity, multi-replica deployment, partitioned fault tolerance, and automatic migration mechanisms.

    Under this target, an initial capacity plan of 32 to 64 high-VRAM accelerator cards is recommended. The exact number should be determined by measured throughput, context length, and quantization precision. Total investment in equipment, network, racks, power, cooling, and software engineering usually reaches several million to over ten million RMB. For long-term stable operation, operations staff, spare parts, and electricity costs must also be factored in.

    4. Why Official Guidance Usually Recommends Large-Scale High-Speed Interconnect

    The key bottleneck of very large MoE models is often not compute, but communication.

    Assume each layer has many experts. When the current token is routed to the devices hosting certain experts, the corresponding activations must be sent there. After expert computation is complete, the results must be returned to the main computation flow. If ordinary networking is used between devices, insufficient communication latency and bandwidth will directly reduce throughput.

    The value of high-speed interconnect is mainly reflected in three areas:

    • Shortening the transmission time of expert activation data;
    • Reducing cross-device synchronization waits;
    • Keeping more devices within the same low-latency communication domain.

    Therefore, when purchasing, you cannot judge feasibility only by whether total VRAM is sufficient. Two systems with the same VRAM can differ greatly in actual generation speed if their interconnect structures are different. For very large models, validated node topologies should be preferred, and communication performance should be confirmed through actual All-to-All tests.

    5. How to Calculate the Total Budget

    A rough budget model can be built as follows:

    1. Total budget =
    2. accelerator cost
    3. + host and memory cost
    4. + high-speed storage cost
    5. + high-speed network and switching equipment cost
    6. + rack, power, and cooling cost
    7. + software adaptation and testing cost
    8. + spare equipment and operations cost

    If you are only doing personal experiments, start with the Tier 1 target rather than directly buying a complete cluster designed for 10-concurrent-user service. First validate the following:

    • Whether the weights can be loaded successfully;
    • Whether output quality after quantization is acceptable;
    • Memory usage per layer or per node;
    • Whether expert routing is correct;
    • How performance changes as context length increases;
    • The impact of CPU offload ratio on speed;
    • Whether the inference framework supports the target hardware.

    After validation passes, scale up based on measured data. For enterprise users, start with small-scale benchmark tests before deciding whether to build an on-premises data center, rent dedicated compute, or use general-purpose accelerated computing resources from cloud platforms, such as Baidu AI Cloud where available. Cloud options can reduce upfront procurement and data center construction pressure, but for sustained high-load operation, you need to compare instance unit prices, storage fees, network fees, data migration costs, and idle resource rates.

    6. Final Recommendations

    If the goal is only to validate model capabilities, focus on large memory, low-cost heterogeneous inference, and stable loading. The budget can be kept in the range of tens of thousands to low hundreds of thousands of RMB.

    If the goal is a single user at 25 tokens/s, plan for dozens of high-VRAM accelerator cards and high-speed interconnect. The budget will roughly enter the several-million-RMB range.

    If the goal is 10 concurrent users with each maintaining 25 tokens/s or higher, you must build a service cluster. In addition to compute resources, you need to invest in networking, scheduling, monitoring, disaster recovery, and operations. The overall cost may reach several million to over ten million RMB.

    The most important point is this: before official weights, quantization formats, and inference frameworks have been fully validated, do not place procurement orders based directly on theoretical parameter counts. A reasonable process is to obtain the weights, complete VRAM and memory measurements, then run single-machine benchmarks, single-node communication tests, concurrency stress tests, and long-context tests, and finally decide hardware scale based on real throughput. This avoids problems such as “enough VRAM was purchased but speed is insufficient,” or “enough compute was purchased but performance is dragged down by communication and KV cache.”