Trillion-Parameter MoE Model: Local Deployment Costs and Hardware Selection Guide
Deploying a trillion-parameter Mixture-of-Experts (MoE) model locally requires careful hardware planning. This article defines three practical deployment targets—from minimum viable operation to fluent single-user inference and 10 concurrent requests—calculates the VRAM floor based on MXFP4 weight quantization, and compares GPU configurations to help you choose the right setup.
1. Define Three Deployment Targets First
Before deploying, you need to clarify your response speed requirements. The same model can demand hardware investments that differ by a factor of ten under different performance targets. This article divides targets into three tiers:
- Minimum viable operation: Text generation runs stably; even a few tokens per second is acceptable.
- Fluent single-user experience: Output reaches 25 tokens per second (referred to below as 25 TPS) for a single user—the threshold for interactive use.
- 10 concurrent requests: Serve 10 requests simultaneously while keeping each user at no less than 25 TPS.
The model has 896 experts per layer, with each token activating 16 of them—an activation ratio of roughly 1.79%. This significantly reduces computation, but VRAM must still account for all 2.8 trillion parameters. During inference, the router may invoke any expert, so all expert weights must reside in fast, directly addressable storage.
2. The VRAM Floor for Weights
Starting from the SFT stage, this model uses quantization-aware training with weights in MXFP4 format and activations in MXFP8. MXFP4 follows the OCP Microscaling Formats (MX) v1.0 specification: every 32 4-bit elements share one 8-bit scale factor, so each parameter actually occupies 4.25 bits.
2.8 × 10¹² × 4.25 bit ÷ 8 ≈ 1487.5 GB
That 1487.5 GB is pure weights only. Non-4-bit tensors, metadata, memory alignment, runtime workspaces, and the KV Cache must be counted separately. Based on experience, runtime overhead runs about 20%–30% of the weight footprint. Therefore, with all weights resident on GPUs on a single machine, total VRAM demand is approximately 1.8 TB; with sufficient KV Cache headroom, plan for 1.8–2.2 TB.
3. Three Configurations and Capacity Verification
3.1 Minimum Viable Operation: CPU-GPU Heterogeneous Inference
The idea at this tier is to keep the sparse experts in host memory while the GPU carries only the shared Attention portion. Attention executes for every token and has high computational density, making it a good fit for high-bandwidth VRAM.
- GPU: 1–2 accelerator cards with 24–48 GB each, holding only the shared Attention, activations, and runtime workspace.
- Host memory: Expert weights total about 1.45 TB, and memory must hold them completely—so 2 TB is recommended. A previous suggestion of 192 GB–384 GB cannot fit the weights and should not be used.
- Storage: At least a 2 TB NVMe SSD for the weight files.
Speed depends on how many parameters each token actually activates. The original material does not state the activated parameter count, so “5–15 TPS” is only an estimate that must be verified by testing. If experts must be read on demand from NVMe during inference, throughput will be noticeably lower than with memory-resident weights, and this approach should not be the basis for planning. This tier suits offline batch processing, knowledge base RAG, and non-real-time conversations.
3.2 Fluent Single-User Experience: All Weights Resident in VRAM
To reach 25 TPS, all weights must reside in GPU VRAM to avoid PCIe transfers becoming the bottleneck. The table below compares common configurations against the 1.8–2.2 TB requirement:
| Configuration | Total VRAM | Ratio to weights (1487.5 GB) | Meets 1.8–2.2 TB requirement? |
|---|---|---|---|
| 8 × 80GB | 640 GB | 43% | No |
| 12 × 80GB | 960 GB | 65% | No |
| 8 × 144GB | 1152 GB | 77% | No |
| 16 × 96GB | 1536 GB | 103% | No, barely holds weights only |
| 24 × 80GB | 1920 GB | 129% | Lower bound, tight KV Cache headroom |
| 16 × 144GB | 2304 GB | 155% | Yes |
| 12 × 192GB | 2304 GB | 155% | Yes, but the card count cannot divide 896 experts evenly |
The 8-card configuration falls short in both 80 GB and 144 GB variants. The earlier claim that “8 × 80 GB can barely hold most of the weights” was a misjudgment—8 × 80 GB covers only about 40% of the weights.
Expert distribution also matters when choosing card counts. Most expert parallelism schemes distribute experts evenly across cards; 896 is divisible by 8, 16, 32, 64, and 128, making these card counts easier to balance. 16 × 144 GB cards total 2304 GB, satisfying the capacity requirement while dividing evenly into 896—a good starting point for this tier.
At this point, the bottleneck shifts from VRAM capacity to interconnect bandwidth. After routing, each token’s activations must be transferred back and forth between cards hosting the target experts. This all-to-all communication is highly sensitive to interconnect bandwidth. When interconnect capacity is insufficient, compute utilization may drop significantly. The selection priority for this tier is therefore: VRAM capacity, inter-card interconnect bandwidth, then per-card compute.
3.3 10 Concurrent Requests: Supernode Configuration
For 10 concurrent requests, total demand equals the model weights plus the KV Cache of all requests. Based on the estimates above, with 16K context per request, the KV Cache for 10 requests runs roughly 200–400 GB. Weights plus runtime overhead come to about 1.8 TB, for a combined total of approximately 2.0–2.
