Local Deployment of a 2.8-Trillion-Parameter MoE LLM: Cost Breakdown and Implementation Paths
This article breaks down the memory, communication, and quantization requirements for running a 2.8-trillion-parameter MoE model locally. It compares three deployment tiers, from a low-cost setup for functional testing to a 10-user production cluster, with hardware cost estimates and ways to reduce spending. All figures are estimates, because the full model weights have not been officially released.
1. Background: When Model Scale Exceeds Traditional Deployment Limits
With the growing use of Mixture-of-Experts (MoE) architectures in large language models, total parameter counts have grown from the hundred-billion scale to the trillion scale. A recently released 2.8-trillion-parameter MoE model (hereafter the “K3-class model”) has 896 expert modules. Each token activates only 16 of them, an expert activation ratio of about 1.79%. In theory, this design sharply reduces the compute needed per inference step. However, it creates unprecedented storage and communication challenges for local deployment. All expert weights must stay resident in addressable storage so that the inference engine can dispatch them dynamically according to routing decisions.
For technical teams, deploying a model of this size requires answering three core questions. What is the minimum hardware needed to get it running? What configuration is needed to reach a usable output speed? How much investment is required to support multiple users at the same time? This article answers each question in turn.
2. Deployment Tiers and Cost Overview
Before discussing specific configurations, deployment goals must be defined. Latency, throughput, and concurrency requirements differ widely across application scenarios, and costs vary by orders of magnitude accordingly. This article divides deployment needs into three tiers:
| Tier | Core requirement | Reference output speed | Concurrency | Estimated hardware investment |
|---|---|---|---|---|
| Tier 1 | The model runs, speed is not a concern | Single-digit tokens per second (tps) | None | RMB 200,000–500,000 |
| Tier 2 | Smooth interaction for one user | ≥25 tps | 1 | RMB 1–2 million |
| Tier 3 | Team-level production environment | ≥25 tps per user | 10 concurrent users | RMB 5–15 million |
Please note: The full weights of this model have not been officially released. All speed, memory, and configuration figures in this article are therefore estimates based on public architecture information and common industry estimation methods. Actual deployments should rely on benchmark results published after the weights are released.
3. Core Technical Challenges
3.1 Calculating Memory Requirements Precisely
The K3-class model has 2.8 trillion total parameters and uses a quantization-aware training strategy with MXFP4. According to the MXFP4 specification from the Open Compute Project (OCP), every 32 four-bit weight elements carry one 8-bit scaling factor. This means:
- Weights alone: 2.8T × 4.25 bits ÷ 8 ≈ 1487.5 GB
- Non-4-bit tensors and overhead: Adding non-4-bit tensors (such as embeddings and LayerNorm parameters), metadata, and memory alignment overhead pushes the actual storage requirement beyond 1.6 TB.
- Runtime workspace and KV cache: Even with memory-optimized architectures such as Gated MLA, the KV cache in long-context scenarios may still take an additional 200–400 GB.
For reference, the earlier 671B-parameter MoE model had weights of about 685 GB in FP8 and about 335 GB after 4-bit quantization. Running it with activations still required about 400 GB of memory, which fit on eight H-series accelerator cards with a combined 640 GB. The K3-class model is more than four times the size of that model, so its minimum memory requirement rises considerably.
3.2 Communication Bottleneck: The Hidden Ceiling of MoE
Large-scale MoE inference is highly sensitive to all-to-all communication bandwidth. The 896 experts are spread across dozens of accelerator cards. After routing, each token’s activations must be moved to the card that hosts its target expert for computation, and the results must be sent back to the original card. This pattern occurs in every Transformer layer. As the number of layers grows and concurrent requests increase, communication latency can erode the compute advantage.
The solution is to build a supernode. High-speed interconnects such as NVLink, or an interconnect with equivalent bandwidth, combine 64 or more accelerator cards into a single communication domain. Expert-to-expert data transfers then stay inside that domain. This also explains why the official recommendation calls for supernodes with 64 or more cards.
3.3 Quantization: Balancing Precision and Speed
The model applies quantization-aware training from the SFT stage and supports MXFP4 weights with MXFP8 activations. This means 4-bit weights can be deployed with little or no accuracy loss. Keep the following in mind:
- MXFP4 storage overhead is not simply “total parameters × 4 bits.” The extra space for scaling factors must be included.
- Activations still need higher precision (MXFP8), so activation memory cannot be compressed too aggressively.
- Quantization that is too coarse (for example, one scale for an entire layer) can cause accuracy collapse. Use block-level quantization, such as one scale per group of 32 elements.
4. Deployment Plans by Tier
4.1 Tier 1: Minimum Configuration to Get It Running
Goal: Get the model generating tokens, even at single-digit tps. This setup suits technical validation and functional debugging.
Core strategy: CPU+GPU heterogeneous inference
This is the mainstream approach in the industry for very large MoE models. The shared attention part of the MoE layers (in this model, the KDA architecture combined with Gated MLA components) is compute-intensive, so it stays on the GPU to benefit from high memory bandwidth. The 896 sparse experts take up most of the storage, but only 16 are activated per inference step. They can therefore be offloaded to CPU memory and fed to the GPU over a high-speed bus by a large-memory server.
Recommended configuration:
- GPU: 4 consumer-grade accelerator cards with 48 GB of memory each, used for attention computation and caching a small number of experts, connected over PCIe 5.0
- CPU: 2 server processors with 64 cores each
- Memory: 1.5 TB DDR5 ECC, covering all model weights plus 20% headroom
- Storage: 2 TB NVMe SSD, for weight loading and hot swapping
Cost estimate: Hardware costs about RMB 300,000–500,000, plus power (8–10 kW) and data center space. Latency per token may reach 10–30 seconds, so this setup suits only model logic validation or offline batch processing.
4.2 Tier 2: Smooth Single-User Interaction (≥25 tps)
Goal: Reach 2–3 times human reading speed to meet the real-time conversation needs of one user.
Core strategy: Full weights on a single high-speed node
At 25 tps, CPU offloading can no longer keep up, because PCIe bandwidth becomes the new bottleneck. All weights must reside in GPU memory, and expert parallelism depends on high-speed interconnects between GPUs.
Memory budget: Weights 1488 GB + KV cache 200 GB + runtime overhead 112 GB ≈ 1800 GB. With the largest-capacity H-series accelerator currently available (141 GB), 16 cards are needed. An 8-card group of 141 GB cards (1128 GB total) is not enough. Such a setup would need to grow to 20 cards or use cards with more memory.
Recommended configuration:
- Accelerators: 16 × 141 GB H-series cards (2256 GB total), fully connected with NVLink
- Inter-node interconnect: NVLink bandwidth of 900 GB/s within each 8-card node. Nodes connect across InfiniBand NDR at 400 Gb/s.
- CPU and memory: 2 processors with 64 cores each and 1 TB of memory, for data preprocessing and scheduling
Cost estimate: Accelerator cards cost about RMB 1.2–1.6 million. The complete system, including servers, networking, and storage, costs about RMB 2–2.5 million. Power draw is 15–20 kW, and the monthly electricity bill is about RMB 20,000–40,000.
Performance expectation: With 16 cards, theoretical compute could support 25–40 tps for a single user. All-to-all communication, however, grows exponentially with card count. Actual speed may drop to 20–30 tps, so routing strategies need tuning.
4.3 Tier 3: Production-Grade Deployment for 10 Concurrent Users (≥25 tps per User)
Goal: Support 10 users at the same time, with each user receiving at least 25 tps. Total throughput must reach at least 250 tps.
Core strategy: Very large supernode, sequence parallelism, and dynamic batching
With 10 concurrent users, the GPUs must move activations for 10 different requests at once, and communication conflicts intensify sharply. Adding cards alone cannot scale throughput linearly, so the deployment architecture must be restructured.
Capacity planning:
- Total memory: Weights 1488 GB + KV cache for 10 concurrent requests (10 × 200 GB) = 3488 GB. Temporary activation buffers from batching also need space, so the plan is sized at 4 TB.
- Accelerator count: 32 cards with 141 GB each form four 8-card supernodes. Alternatively, a 64-card supernode (9024 GB total) can be built to leave room for expansion.
- Interconnect topology: Use a full NVLink domain across 32 cards, or a two-tier topology that combines NVLink and InfiniBand. Either option should keep latency between any two cards below 5 μs.
- Scheduling optimization: Combine dynamic tensor parallelism with expert parallelism. Replicate high-frequency experts across several cards to reduce cross-card data movement. Use continuous batching to raise GPU utilization.
Cost estimate:
- Accelerators: 32 cards × about RMB 100,000 = RMB 3.2 million
- Servers: 8 four-card servers (or 4 eight-card servers), about RMB 800,000
- High-speed networking: NVLink Switch plus InfiniBand NICs and switches, about RMB 400,000
- Storage and peripherals: High-performance parallel file system for weight loading, plus backup, about RMB 300,000
- Facility upgrades: Power capacity for 40–60 kW, liquid cooling, and racks, about RMB 500,000
- Software and tuning: Custom inference framework development, communication optimization, and benchmarking, about RMB 500,000–1,000,000 in labor
Total: about RMB 5.7–6.2 million. If the next generation of accelerators offers higher memory capacity, such as 192 GB per card, the card count can drop to 24. Total cost could then fall below RMB 5 million.
5. Three Levers for Reducing Cost
5.1 Quantization Granularity and Mixed Precision
The model natively supports MXFP4, but in practice you can keep sensitive layers at FP8 or MXFP8. Examples include the first and last few layers and the attention projection layers. Use 4-bit precision only for the expert layers. This mixed-precision approach keeps accuracy loss on critical paths to a minimum and increases storage by only 5–8%. The trade-off is that the inference framework must support non-uniform quantization, which adds implementation complexity.
5.2 Speculative Decoding and KV Cache Compression
Speculative decoding: A small draft model, such as a dedicated model with a few billion parameters, first generates candidate token sequences. The large model then verifies them in one pass. In an MoE architecture, verification can reuse the shared attention weights already loaded in GPU memory, which can raise effective output speed by 2–3 times. As a result, the Tier 2 configuration might reach 25 tps with 12 cards instead of 16.
KV cache quantization: Compressing the KV cache from FP16 to FP8, or even MXFP8, can cut its memory footprint in half. In the 10-user scenario, a 400 GB KV cache could shrink to 200 GB. That frees the memory equivalent of one accelerator card. Be aware of the accuracy loss, and set up a fallback mechanism for abnormal outputs.
5.3 Elastic Resource Planning
Peak concurrency may not persist in production. For example, 80% of the time only 1–5 users may be active, and 10 concurrent users may appear only during specific periods. In that case, a hybrid deployment strategy works well. Purchase a base configuration of 8 cards, which supports 5 concurrent users. During peak periods, scale elastically to 32 cards through a cloud provider. Cloud resources are billed hourly, at about RMB 50–100 per card per hour, and are enabled only when needed. This can reduce average annual cost by 40–60%. The approach requires an inference framework that supports seamless scheduling across cloud and local environments, and model weights and KV cache must sync quickly to the cloud.
6. Conclusion and Decision Recommendations
Deploying a 2.8-trillion-parameter MoE LLM locally is essentially a trade-off between storage capacity, communication bandwidth, and budget. The three tiers fall into very different cost ranges:
- Technical validation: RMB 300,000–500,000. A CPU+GPU heterogeneous setup trades speed for feasibility.
- Single-user production: RMB 2–2.5 million. A 16-card full-weight deployment reaches the threshold for smooth interaction.
- Team collaboration: RMB 5.7–6.2 million. A supernode with 32 or more cards supports 10 concurrent users.
Recommendations: Before the full weights are officially released, teams should use a 671B-class model to research inference frameworks and communication topology. Focus on measuring how all-to-all communication performs at the target card count. Once the full weights are released, run the workflow end to end on a small 8-card configuration. Then decide on additional investment based on measured speed and memory data. The real challenge of large-scale MoE deployment is not raw compute. It is making hundreds of cards work together as one machine.
