Cost and Deployment Options for Local Inference of a Hyper-Scale MoE Model
This article provides a practical cost and hardware estimation framework for deploying a hyper-scale Mixture-of-Experts (MoE) model with roughly 2.8 trillion total parameters and 896 experts. It defines three target levels of usability—minimal token generation, single-user 25 tokens per second, and 10 concurrent users at 25 tokens per second—and translates each into realistic memory, storage, compute, and network requirements. The piece includes baseline weight and runtime memory calculations, example hardware configurations with indicative price ranges, and a checklist of engineering considerations and acceptance metrics for validation before committing to a large purchase.
Define the Scope: This Is a Hyper-Scale MoE Model, Not a Dense Model
Before discussing local deployment costs, it is critical to frame the deployment target as a generic technical problem: a Mixture-of-Experts (MoE) model with approximately 2.8 trillion total parameters, 896 experts, and 16 experts activated per token, giving an expert activation ratio of about 1.79%. Note that the expert activation ratio is not the same as the actual parameter activation ratio. For memory and storage planning, you must allocate resources for the full set of parameters because every expert must remain addressable; the activation ratio only affects compute and bandwidth consumption during inference. When a token is routed to specific experts, the corresponding activations must be sent to the devices holding those experts and then transferred back for subsequent layers.
Therefore, the cost question is not “can one GPU card run it?” but rather a system-level trade‑off driven by target throughput, concurrency, quantization precision, context length, and the communication overhead of expert parallelism. The speed, memory, and hardware figures provided below are order‑of‑magnitude estimates based on publicly available architecture information; they must be validated with benchmark tests after the official weights and technical report are released.
Three Target Levels: Define “Runs” vs. “Is Usable”
Level 1: “It can run” – no speed requirement
The goal is to load roughly 1.5 TB of weights into addressable storage and let the model generate tokens steadily, even at single‑digit tokens per second. A practical approach is heterogeneous CPU+GPU inference: keep compute‑intensive shared attention layers on accelerators, and offload the large but sparsely activated expert weights to large‑capacity host memory, where the CPU computes them. The main bottlenecks are host memory bandwidth, the interconnect bus, and expert scheduling efficiency. Decode speed will typically be low.
Level 2: Single user at 25 tokens per second
This reaches an interactive level of usability. The decode stage must sustain at least 25 token/s, prefill must not be too slow, and quantization precision should be no lower than 4‑bit weights with 8‑bit activations, with measured accuracy loss. At this level, CPU‑only offloading is not sufficient. Hot experts and attention computation need to reside on accelerators to exploit high memory bandwidth and reduce the latency of reading expert weights for each token.
Level 3: 10 concurrent users, each still at 25+ tokens per second
Total output throughput is about 250 token/s, and the KV cache is roughly 10× that of a single user. Batch scheduling, expert routing load balancing, and all‑to‑all communication pressure increase significantly. Large‑scale MoE inference is extremely sensitive to expert‑parallel communication: with 896 experts distributed across many GPUs, every token requires moving activations to the relevant experts. Industry experience suggests that dozens of accelerators in a high‑speed interconnect domain are needed to keep expert traffic within a single communication domain.
Compute the Weight and Runtime Memory Budget
For 2.8 trillion parameters with 4‑bit weights, the raw weight lower bound is:
2.8T × 4 bits ÷ 8 = 1400 GB
Adding a group‑wise scaling factor (e.g., one 8‑bit scale per 32 4‑bit weights) gives:
- Scaling factors: 2.8T / 32 × 8 bits / 8 ≈ 87.5 GB
- Total weight + scaling: about 1487.5 GB
This does not yet include non‑4‑bit tensors, metadata, alignment, runtime workspaces, communication buffers, or the KV cache.
A quick calculation script is shown below:
def weight_gb(total_params, weight_bits=4, scale_bits=8, group_size=32):raw = total_params * weight_bits / 8 / 1e9scales = total_params / group_size * scale_bits / 8 / 1e9return raw, raw + scalesraw, with_scale = weight_gb(2.8e12)print(raw, with_scale) # about 1400, 1487.5
For runtime memory, plan on at least 30–50% headroom above the sum of weights + KV cache + activations/workspace + fragmentation. The KV cache can be estimated using the standard formula: 2 × layers × KV heads × head dimension × sequence length × concurrency × bytes per element. At 10 concurrent users and long context, the KV cache can range from tens to hundreds of GB, so it must be accounted for based on the actual architecture. Local solid‑state storage should be at least 2–4 TB to hold weight files, container images, logs, and temporary caches.
Hardware Configuration Ideas and Cost Ranges for the Three Levels
Level 1: “It can run”
- Configuration: Large‑memory server (2–3 TB RAM) + a few accelerators + local SSD.
- Approach: Accelerators handle shared layers and hot experts; expert weights primarily reside in host memory.
- Cost drivers: Memory capacity, storage, and accelerator count.
- Indicative range: New enterprise‑grade equipment can cost several hundred thousand RMB (tens of thousands of USD). Used or heavily trimmed configurations can drop to several tens of thousands of RMB (a few thousand USD). Cloud‑based large‑memory instances and GPU instances can be rented by the hour for a proof of concept (POC), but are not cost‑effective for sustained high load.
Level 2: Single user at 25 token/s
- Configuration: Multiple GPUs in one server, weight sharded, expert parallelism.
- Example: With 80 GB per GPU, carrying the ~1.5 TB weights theoretically requires at least ~19 cards, but adding KV cache, workspace, redundancy, and communication buffers suggests 24–32 cards with high‑speed interconnect.
- Cost drivers: Procurement of GPUs, networking, storage, and power/cooling infrastructure.
- Indicative range: Typically reaches the million‑RMB level (hundreds of thousands of USD). CPU offloading can reduce the GPU count but makes hitting 25 token/s risky and requires real testing.
Level 3: 10 concurrent users at 25 token/s each
- Configuration: Tens of GPUs in a high‑speed interconnect domain; 64 GPUs are closer to realistic.
- Cost drivers: Not just the accelerators, but also high‑speed switches, full racks, power and cooling, storage, and integration effort.
- Indicative range: Several million to over ten million RMB (several hundred thousand to over a million USD). Staged validation can be done using cloud GPU instances, object storage, container platforms, and monitoring services, but a full comparison of total cost of ownership (TCO) is necessary before building an on‑premises cluster.
Engineering Considerations and Acceptance Checklist
The software stack must support:
- MoE expert parallelism
- All‑to‑all communication
- Continuous batching
- KV cache page management and reuse
- Low‑precision quantization kernels
- Prefill/decode separation
- Expert load monitoring
Expert routing should avoid overloading hot experts. Mitigations include replicating hot experts, offloading cold experts, and overlapping communication with computation.
Acceptance metrics should include:
- Time to first token
- Decode throughput (token/s)
- Total throughput under 10 concurrent users
- p99 latency
- GPU/memory utilization
- Interconnect bandwidth usage
- Accuracy regression
It is advisable to first validate feasibility at Level 1, then stress‑test Levels 2 and 3 incrementally, rather than purchasing a large cluster upfront.
TCO Formula
Total cost of ownership includes:
- Hardware depreciation
- Electricity (whole‑rack power kW × PUE × electricity rate × hours)
- Network and storage costs
- Operations and maintenance
- Integration and adaptation labor
- Trial‑and‑error cost
Conclusion
- Level 1 (“can run”) can start from several tens of thousands of RMB (a few thousand USD).
- Level 2 (single user at 25 token/s) usually lands in the million‑RMB range (hundreds of thousands of USD).
- Level 3 (10 concurrent users at 25 token/s) moves into the multi‑million RMB range (hundreds of thousands to over a million USD).
Exact figures must be calibrated with local vendor quotes and benchmark tests after the official model weights are released.
