Trillion-Parameter MoE Deployment: Costs, Hardware Requirements, and Planning
A practical deployment plan for a trillion-parameter mixture-of-experts model starts with clear performance targets, not a GPU shopping list. Using a 2.8-trillion-parameter model as the reference, this article examines weight storage, interconnect bandwidth, quantization support, and three deployment tiers—from CPU-offloaded experimentation to concurrent production inference. It also outlines indicative costs and the software optimizations needed to turn hardware capacity into usable throughput.
1. Define the Deployment Target Before Choosing Hardware
For a trillion-parameter mixture-of-experts (MoE) model, different performance targets lead to dramatically different hardware requirements. Costs can range from hundreds of thousands to millions of Chinese yuan, with larger production deployments potentially exceeding that range.
A useful planning framework separates deployment into three tiers:
- L1: Minimum viable deployment. The model loads and generates output. Response speed is not a priority; the goal is functional validation or occasional experimentation.
- L2: Interactive single-user inference. A single developer receives a sustained generation rate of at least 25 tokens per second.
- L3: Concurrent production inference. The system supports at least 10 simultaneous requests, each generating at least 25 tokens per second. It preserves the intended quality of the model’s training-time 4-bit weight format and reserves enough capacity for the KV cache and runtime workspaces.
The central constraint is that MoE weight storage depends on total parameters, not just active parameters. Activating only a small subset of experts reduces computation per token, but it does not eliminate the need to keep all model weights accessible somewhere in the storage hierarchy.
That distinction establishes the hardware capacity floor.
2. Core Hardware Constraints
2.1 Model Size and Weight Memory
The reference configuration has 2.8 trillion parameters and 896 experts, with 16 experts activated per token—an activation ratio of approximately 1.79%.
Its backbone uses a hierarchical attention design that includes multi-head latent attention components. Residual connections support stable gradient flow during training. At inference time, routing dynamically sends tokens to the selected experts. Distributing those experts across accelerators introduces communication overhead in addition to the model’s storage requirements.
The model is described as using quantization-aware training from the supervised fine-tuning stage, with 4-bit weights and 8-bit activations.
At 4 bits per parameter, the theoretical minimum weight storage is:
2.8 trillion parameters × 4 bits ÷ 8 = 1,400 GB
Actual requirements are higher because of scale factors, tensors retained at higher precision, metadata, alignment, and runtime buffers.
Under a microscaling layout with one 8-bit scale factor for every 32 four-bit values, the weight allocation becomes approximately 1,487.5 GB. This figure covers weights and their scale factors, not the complete inference runtime.
For an all-GPU deployment, roughly 1.5 TB of aggregate accelerator memory is therefore only the starting point. Additional headroom is needed for non-quantized tensors, KV cache, activations, and workspaces.
2.2 Communication Bandwidth and Cluster Topology
Distributed MoE inference is sensitive to communication latency and bandwidth.
When experts are spread across accelerators, the inference engine must dispatch intermediate activations to the devices hosting the selected experts and then return their outputs. This dispatch-and-combine pattern often involves all-to-all communication.
A slow network can leave expensive accelerators waiting for data. Conventional Ethernet—particularly 10 GbE—is unlikely to provide a suitable fabric for tightly coupled, high-throughput inference at this scale.
The preferred design is a high-bandwidth communication domain built with NVLink or comparable accelerator interconnect technology. The reference plan targets interconnect bandwidth in the 900 GB/s class or above.
That number should be treated as a topology-planning target, not a universal point-to-point requirement or a guarantee of application throughput. Effective performance depends on the interconnect layout, communication pattern, and inference implementation. Nevertheless, inadequate connectivity can cause severe throughput degradation.
2.3 Precision and Storage Trade-offs
Weight format has a direct effect on deployment size.
As a comparison, a same-generation open-weight MoE configuration with approximately 685 billion parameters, including its main model and additional modules, requires roughly:
- 685 GB for FP8 weights.
- 335 GB for AWQ 4-bit weights.
- Around 400 GB in total after adding activations and runtime overhead in the referenced configuration.
That configuration can fit across eight accelerators with 640 GB of aggregate memory. The 2.8-trillion-parameter reference model is more than four times larger by parameter count, so its capacity requirements cannot be inferred from the smaller model’s GPU count alone. The approximately 1.5 TB weight estimate is the more useful starting point.
Hardware support for the exact quantization format also matters. MXFP4 is intended to provide favorable numerical behavior at low precision, but not every accelerator supports efficient native execution or dequantization for it.
If the deployment stack expands weights into BF16 or FP16, memory consumption rises substantially. Confirm the accelerator, kernel, and inference engine support for the intended weight format before purchasing hardware.
3. Deployment Designs by Performance Tier
3.1 L1: Minimum Viable Inference
The objective at L1 is simply to generate tokens, without a strict latency target.
A heterogeneous CPU–GPU design offers a practical route:
- Keep shared, sequentially executed components—such as attention and routing—on the GPU.
- Store the much larger expert weights in system RAM.
- Use NVMe storage as an additional capacity tier.
Servers populated with 64 GB or 128 GB DIMMs can provide more than 1 TB of RAM. However, the reference model’s approximately 1.5 TB of quantized weights means that a 1 TB server alone cannot hold the full weight set in memory. The complete storage hierarchy must be sized accordingly.
In an on-demand expert-loading design, the GPU retrieves selected expert weights from host memory over PCIe. The bandwidth gap is substantial: the reference comparison is approximately 32 GB/s over PCIe versus 2 TB/s of local accelerator memory bandwidth.
Prefetching and overlapping transfers with computation can reduce stalls, but they do not remove that bottleneck. A generation rate in the single-digit tokens-per-second range is an experimental objective rather than a guaranteed result.
The main hardware expenses are a server with substantial memory expansion capability and an accelerator with enough memory for shared computation. The reference configuration recommends at least 80 GB of accelerator memory, subject to the actual model partition.
One implementation pattern is to:
- Partition the model by layer and component.
- Keep shared components on the GPU.
- Export expert weights into memory-mapped files.
- Use a host-side loader to manage expert access and prefetching.
Prefetch depth needs careful tuning. A large window can waste memory bandwidth; a small one can leave the GPU waiting for transfers. Prefetching approximately twice the number of active experts is a starting heuristic, not a model-independent optimum.
3.2 L2: Single-User Inference at 25 Tokens per Second
A target of 25 tokens per second requires roughly 25 autoregressive decoding steps per second for one sequence. Each step includes routing, execution of the selected experts, and attention computation.
At this performance level, the proposed design places all expert weights in GPU memory or an equivalent high-bandwidth memory tier. CPU offloading should not be assumed to meet the target without measurement.
Using approximately 1.5 TB as the weight-storage baseline, candidate configurations include:
- Around 10 accelerators with 192 GB each, providing 1.92 TB in total.
- 16 accelerators with 96 GB each, providing 1.536 TB in total.
These are capacity-oriented examples, not validated performance configurations. In particular, the second leaves very little room beyond the estimated weights and scales.
KV cache requires a separate budget. At long context lengths, such as 128K tokens, cache requirements can reach hundreds of gigabytes depending on the model’s attention implementation and workload.
Once capacity is established, validate communication performance. The reference sizing assumes intermediate expert activations on the order of hundreds of kilobytes per invocation and communication demand reaching tens of gigabytes per second per layer. Those assumptions need to be checked against the actual model and execution plan.
At the inference-engine level, useful scheduling techniques include:
- Chunked prefill.
- Separate scheduling of prefill and decode work.
- Overlapping those workloads on different GPU streams where supported.
The goal is to balance compute-intensive prefill with bandwidth-sensitive decoding. The effectiveness of overlap must be measured rather than assumed.
3.3 L3: Production Inference at 10 Concurrent Requests
Ten concurrent requests, each generating 25 tokens per second, require an aggregate output rate of 250 tokens per second. The system must also handle scheduling overhead and competition for memory.
The reference production design uses at least 16 high-memory accelerators, with approximately 3 TB or more of aggregate accelerator memory. After allocating roughly 1.5 TB to weights, the remaining capacity accommodates:
- Per-request KV caches.
- Activation buffers.
- Communication buffers.
- Runtime workspaces.
Configurations built from lower-memory devices may fit the weights but leave insufficient headroom for the desired concurrency and context length.
A hybrid parallelism strategy is appropriate:
- Tensor parallelism partitions attention and other shared computation.
- Expert parallelism distributes experts across devices.
Expert placement should account for routing frequency so that a small number of heavily used experts do not overload individual devices.
The reference design again favors a tightly connected accelerator domain with interconnect bandwidth in the 900 GB/s class or above. The practical requirement is enough effective bandwidth and sufficiently low latency to prevent communication from dominating execution.
The inference engine should also support continuous batching, dynamically combining token-level work from different requests to improve utilization.
Neither 3 TB of memory nor a particular accelerator count guarantees 250 tokens per second. Both are planning inputs that require workload-level validation.
4. Indicative Costs and Hardware Selection
The following figures retain the source estimates in Chinese yuan (CNY). They are planning references based on hardware pricing, depreciation assumptions, or cloud commitments—not current quotes or globally available offers.
| Tier | Reference configuration | Indicative hardware cost | Indicative cloud cost |
|---|---|---|---|
| L1 | Large-memory server with 1 TB RAM, 32 CPU cores, and one 80 GB accelerator | CNY 150,000–300,000 | CNY 20,000–50,000 per month |
| L2 | Ten 192 GB accelerators with a high-speed switched interconnect | CNY 2–3.5 million | CNY 1.5–2.5 million per year under an annual commitment |
| L3 | A tightly connected system with 16–24 high-memory accelerators, high-speed storage, and management networking | CNY 5–8 million | Approximately CNY 6–10 million per year, subject to a negotiated configuration |
The L1 example depends on a tiered-storage approach: its 1 TB of RAM is below the estimated full quantized weight footprint. Pricing and availability must be checked for the complete configuration, including any additional memory or storage required.
Actual costs can change significantly with accelerator generation, supply, interconnect design, and cloud contract terms.
Operating expenses also matter:
- Electricity.
- Cooling and facility capacity.
- System administration and maintenance.
For illustration, the source assumes approximately 20 kW at full load for an L3 system and an annual electricity expense above CNY 200,000. That is a budgeting assumption, not a fixed operating cost; local tariffs and actual utilization determine the result.
For individuals and budget-constrained teams, on-demand cloud trials—or an official API, if one becomes available—may be more economical than an immediate hardware purchase.
5. Software Optimization After Deployment
Adequate hardware capacity is only the foundation. Real throughput depends heavily on routing, scheduling, quantization execution, and cache management.
5.1 Profile Routing and Rebalance Experts
Measure how frequently each expert is selected under representative requests.
Where the partitioning scheme allows it, placing frequently used experts closer to attention and shared computation can reduce communication. Expert placement should also avoid concentrating too much work on one device.
The reference discussion assumes that roughly 20% of experts might serve more than 50% of routing traffic. Treat that as a profiling hypothesis, not an established property of the model.
5.2 Tune Continuous Batching
Set a maximum token budget per batch—for example, 512 tokens as an initial tuning point—and schedule prefill and decode work to reduce idle periods.
The source estimates a possible 30%–60% aggregate throughput improvement in a 10-request scenario. Such gains depend on the baseline scheduler, request lengths, and hardware utilization; they are not guaranteed.
Batching should be evaluated against per-request latency as well as total throughput.
5.3 Validate Quantization Scales
Quantization-aware training does not remove the need to validate the deployed numerical path.
The proposed workflow uses approximately 1,000 representative, domain-specific examples to check scale behavior and identify accuracy loss that may arise from unsuitable global statistics.
Any calibration or scale adjustment must remain compatible with the model’s quantization format and inference implementation.
5.4 Cache Repeated Prefixes
Prefix caching can reuse work for repeated system prompts and conversation prefixes, substantially reducing repeated prefill computation.
For workloads with long, frequently reused prefixes, the source estimates that effective throughput could more than double. The benefit depends on cache hits and the share of total work attributable to prefill; it does not eliminate the cost of generating new tokens.
6. A Practical Deployment Decision Process
Deploying a trillion-parameter MoE model is not simply a matter of adding GPUs. It is an engineering decision sequence:
Define the workload → establish the budget → choose the architecture → validate interactive performance.
For occasional model evaluation, CPU-offloaded inference can provide a lower-cost entry point, provided the storage hierarchy can hold the full model and slow generation is acceptable.
For sustained interactive use and concurrent production serving, the reference architecture calls for substantially more high-bandwidth memory and a tightly connected accelerator system. Memory capacity establishes whether the model fits; communication, scheduling, and execution efficiency determine whether it meets the service target.
Before committing to hardware, run representative benchmarks on on-demand infrastructure wherever practical. Base the final purchase decision on measured throughput, latency, context length, concurrency, and memory usage—not storage arithmetic alone.
Improvements in sparse-expert scheduling and high-bandwidth memory may reduce deployment costs over time. Their timing and impact remain uncertain, so they should inform future reassessment rather than justify an unvalidated purchase today.
