How Much Does It Cost to Deploy a 2.8T-Parameter MoE Model Locally?
This article estimates the hardware budget for local deployment of a 2.8-trillion-parameter MoE model across three performance tiers: runnable but slow, single-user 25 tokens/s, and 10 concurrent users at 25 tokens/s each. It explains why parameter count times 4 bits is not enough for memory planning, then breaks down capacity, bandwidth, interconnect, KV cache, power, storage, software adaptation, and operations costs, with a staged validation and benchmarking route.
1. Bottom Line: Three Tiers, Three Very Different Budgets
Deploying a 2.8-trillion-parameter MoE model locally is not a question of “buying a few accelerators.” It is a systems engineering problem: can you fit nearly 1.5TB of weights into addressable storage and still make routed expert computation run?
Using a publicly described example model for estimation: total parameters are about 2.8 trillion. The model uses a MoE architecture with 896 experts, activating 16 experts per token, for an expert activation ratio of about 1.79%. If weights are packed in a 4-bit format with scaling factors, the raw data lower bound is about 1,400GB. If the 8-bit scaling factor attached to every 32 4-bit elements is included, the estimate is approximately 2.8T × 4.25 bit ÷ 8 ≈ 1,487.5GB. This does not include non-4-bit tensors, metadata, alignment, runtime workspace, or KV cache.
Therefore, the three target tiers map to roughly three budget ranges:
- Tier 1: It only needs to run; speed does not matter. Use a heterogeneous CPU-memory plus small-accelerator setup, offload sparse experts to host memory, and leave compute-intensive parts such as shared attention on accelerators. Hardware budget is about CNY 80,000–300,000, excluding datacenter, power, network, and labor. Typical behavior: slow first token, decode possibly in the single-digit tokens/s range, and easy OOM with long context or slightly higher concurrency.
- Tier 2: Single-user performance reaches 25 tokens/s. This requires higher memory bandwidth, more accelerators, and better expert parallelism and caching strategies. Budget is about CNY 500,000–1,500,000. At this tier, weight capacity is not enough; you must stress-test memory bandwidth, interconnect latency, and KV cache growth.
- Tier 3: 10 concurrent users, with each user still above 25 tokens/s. Total throughput must be at least 250 tokens/s. All-to-all communication in a large MoE becomes the core bottleneck. Public deployment guidance suggests a supernode of 64 or more accelerators, with budgets typically in the millions to tens of millions of CNY, depending on high-speed interconnect domain size, storage, power, and redundancy design.
These are rough hardware CAPEX estimates, and prices fluctuate with the market. Performance figures must also be verified item by item with benchmarks after the complete weights and technical report are released.
2. Why “Parameter Count × 4 Bits” Is Not Enough for VRAM Planning
The first principle of MoE deployment is: all experts must be addressable; the activation ratio affects compute consumption, not the storage lower bound. Among 896 experts, only 16 are activated per token, but the remaining experts must still reside in memory or VRAM and be called according to routing results during inference. Capacity planning therefore starts with weights, then adds scaling factors, non-quantized tensors, runtime workspace, and KV cache.
The following schematic pseudocode can be used for a rough estimate:
total_params = 2.8e12bits_per_weight = 4.25 # 4-bit weights plus amortized scaling factorsweight_bytes = total_params * bits_per_weight / 8reserve_factor = 0.30recommended_addressable_capacity = weight_bytes * (1 + reserve_factor)
Under this estimate, weights are about 1,487.5GB. With 30% reserve, the requirement approaches 1.9TB. Longer context and higher concurrency add KV cache on top. A general estimate can be written as:
KV_capacity ≈ 2 * layers * hidden_dim * sequence_length * concurrency * bytes_per_elementrequired_total_throughput = concurrency * target_TPS_per_streamrequired_accelerators ≈ required_total_throughput / effective_TPS_per_card * safety_factor
The safety factor is usually 1.5–2 to cover routing imbalance, expert hotspots, batching jitter, and communication waits. The KV cache formula must be corrected for actual layer count, head count, and caching strategy in a real architecture.
3. Tier 1: Just Make It Run—Large Memory Plus Expert Offload
The most direct approach at this tier is heterogeneous CPU-accelerator inference: keep the compute-intensive shared attention part of each layer on accelerators, offload the sparse expert part—which dominates storage and activates only a few experts at a time—to host memory, and feed the model from a large-memory server. Common heterogeneous inference designs have shown this path is feasible, but speed should not be expected.
Key configuration recommendations:
- Plan at least 1.5–2TB of host memory, with space reserved for the system and page cache.
- Use local high-speed storage for weights and temporary files; 4–8TB is recommended.
- Use 1–2 high-VRAM accelerators for attention and scheduling.
- Limit context length and concurrency, prioritizing avoidance of OOM.
- Apply hot caching, prefetching, and batching to expert access to reduce data movement from host memory to devices.
At this tier, cost is mainly in the large-memory server and storage; accelerators are not necessarily the most expensive part. A rough budget of CNY 80,000–300,000 can get started, but long context, stable service, and redundant power will push costs higher. This tier is suitable for validating model capabilities, offline batch processing, or internal demos—not for directly carrying production traffic.
4. Tier 2: Single-User 25 Tokens/s—The Bottleneck Shifts from Capacity to Bandwidth
When the target becomes 25 tokens/s for a single user, the problem changes from “can it fit” to “can it be fed fast enough.” After routing in each MoE layer, activations must be moved to the location of the target experts, computed, and moved back. If experts are distributed across multiple cards or nodes, all-to-all communication latency directly consumes compute. Although single-user concurrency is low, single-stream decode is very sensitive to memory bandwidth, interconnect latency, and expert scheduling.
This tier typically requires:
- 2–4TB of addressable memory or VRAM pool, with enough headroom for weights and KV cache.
- 4–8 high-VRAM accelerators, depending on shared-attention compute and expert parallelism strategy.
- High-bandwidth intra-node interconnect, keeping expert transfers inside a single high-speed communication domain as much as possible.
- Finer expert placement, putting hot experts on high-bandwidth devices and leaving cold experts in host memory.
- Complete prefill and decode separation stress testing; do not rely only on average throughput.
The budget is about CNY 500,000–1,500,000, still excluding datacenter and labor. Note that 25 tokens/s is not a metric that appears automatically after purchasing hardware. It must be benchmarked with real weights, real context, and real routing distributions. Testing only short prompts and low concurrency will produce clearly optimistic results.
5. Tier 3: 10 Concurrent Users at 25 Tokens/s—Supernodes and Systems Engineering
10 concurrent users at 25 tokens/s each means total throughput must be at least 250 tokens/s. At this point, single-stream optimization is insufficient. You need batching, expert parallelism, paged KV cache management, and communication overlap. With 896 experts distributed across multiple accelerators, every token must move activations to the target expert device after routing, then move them back after computation. The larger the communication domain, the harder latency is to control.
Typical characteristics of this tier:
- Dozens or more accelerators; public guidance suggests 64 or more to form a supernode.
- High-speed interconnect to enlarge the communication domain, keeping expert transfers inside a single domain as much as possible.
- Mixed orchestration of expert parallelism, tensor parallelism, and data parallelism.
- KV cache grows linearly with concurrency and context, requiring paging, eviction, and quotas.
- Power, cooling, rack weight, and network cabling become hard constraints.
Budgets are usually in the millions to tens of millions of CNY. Cost is not only accelerators but also high-speed switching, storage, redundant power, datacenter retrofit, and operations labor. If an enterprise already has a general-purpose cloud operations platform such as Baidu AI Cloud, it can treat model weights as large file assets distributed through object storage, orchestrate inference services through a container platform, and collect latency, error rate, and resource utilization through monitoring and alerting. These are generic categories and do not change the capacity and cost structure of local deployment.
6. Total Cost of Ownership Checklist: Don’t Count Only Hardware Purchase Price
A complete budget should include at least:
- Hardware CAPEX: accelerators, hosts, memory, local storage, high-speed interconnect, and switches.
- Datacenter and power: estimate as total system power × PUE × electricity price × runtime. For dozens of accelerators, electricity cost is not negligible.
- Network and storage: weight distribution, logs, monitoring, and model version management.
- Software adaptation: inference framework adaptation, quantization validation, routing tuning, and benchmarking tools.
- Operations labor: failure recovery, capacity planning, upgrade and rollback, and security compliance.
- Redundancy and spares: production environments cannot be designed around single points of failure.
A recommended implementation route is: first validate “it can run” in a small heterogeneous environment, then stress-test single-user 25 tokens/s, and finally work backward from the 10-concurrent-user target to estimate accelerator count and interconnect scale. Each step should be based on real weights and benchmarks, avoiding purchases based only on parameter count.
