The Cost of Deploying a Trillion-Parameter MoE Model Locally
This article breaks down the real cost of running a trillion-parameter Mixture-of-Experts (MoE) model on local hardware. It explains why a low expert activation ratio does not reduce memory requirements, estimates the bare weight footprint after 4-bit quantization, and maps three deployment targets—simply running the model, single-user 25 tokens/s, and 10 concurrent users at 25 tokens/s—to concrete hardware paths and cost tiers. Readers will find a cost checklist and a suggested verification order once the weights are released.
## 1. Defining the Problem: What Determines the Cost of Local Deployment
Before asking “how much does it cost,” it helps to split the problem into three measurable targets, because each one maps to a completely different class of hardware:
- Just run it: Output speed does not matter; the goal is to fit the weights into addressable storage and generate tokens.
- Single user, usable: Decode output reaches roughly 25 tokens/s for one user.
- Concurrent, usable: With 10 concurrent streams, each stream still sustains at least 25 tokens/s, at a quantization level no lower than 4-bit.
One caveat up front: apart from public architecture and pricing information, all speed, memory, and configuration figures in this article are engineering estimates derived from public sources. Once the weights are officially released, every number must be re-verified with benchmarks.
2. Architecture Sets the Memory Floor: Why a Low Activation Ratio Does Not Mean Low Memory Usage
This class of model has roughly 2.8 trillion total parameters and uses a sparse Mixture-of-Experts (MoE) structure with about 896 experts, of which roughly 16 are routed and activated per token—an expert activation ratio of about 1.79%. Here is the point most people misread: the activation ratio is a compute concept, not a memory concept.
The backbone uses a linear-attention-style structure (such as delta-rule state-space attention) combined with an attention residual design, with gated multi-head latent attention as one of its components. This kind of structure keeps KV state growth more controlled under long contexts, but it does nothing to reduce the storage pressure of the expert weights themselves.
The iron rules of MoE deployment are:
- All expert weights must stay resident in addressable storage;
- During inference, activations are moved to the device holding the target expert according to the routing result, then moved back after computation;
- Therefore memory/VRAM usage is calculated from total parameters, while the activation ratio only affects actual compute consumption and communication volume.
3. Estimating the Bare Weight Floor After Quantization
This class of model introduces quantization-aware training as early as the supervised fine-tuning stage, with weights in a 4-bit floating-point format and activations in an 8-bit floating-point format. Calculating from raw 4-bit data:
2.8e12 × 4 bit ÷ 8 ≈ 1400 GB
However, 4-bit floating-point formats typically attach one 8-bit scaling factor per 32 elements. Using the common convention:
2.8e12 × (4 + 8/32) bit ÷ 8 ≈ 1487.5 GB
This still excludes non-4-bit tensors (embeddings, normalization, routing gates, etc.), metadata, memory alignment fragmentation, the runtime workspace, and the KV cache. In practice, adding a 10%–20% margin puts the weight footprint at roughly 1.6–1.8 TB.
For a horizontal reference, a certain 671B-class MoE model needs about 685 GB for main parameters plus multi-token prediction parameters under 8-bit floating point; converted to 4-bit, the weights are about 335 GB, and with activations and runtime it comes to about 400 GB—just fitting into the VRAM of eight 80GB accelerators (640GB). The model discussed here is more than four times that size, which is where the cost curve for a “full-strength local deployment” begins.
4. Hardware Paths and Cost Framework for the Three Targets
Tier 1: Just Run It (Heterogeneous Offloading)
The core idea is GPU+CPU heterogeneous inference: keep the shared attention/linear-attention portion of each layer on the GPU (compute-intensive and bandwidth-sensitive), and offload the sparse experts, which dominate storage, entirely to CPU memory, carried by a large-memory server.
A reference order of magnitude from public engineering practice: a dual-socket server-class CPU paired with one consumer 24GB GPU running 671B-class 4-bit weights (about 377GB) can reach over two hundred tokens/s for prefill and about 14 tokens/s for decode (with an expert selection strategy in place). Linearly extrapolating to four times the parameter count, decode for this model likely lands in single-digit tokens/s.
Cost structure: one large-memory (1.5–2TB RAM) dual-socket server plus 1–2 consumer or professional accelerators. This is the only option among the three that fits within a “single machine” budget.
Tier 2: Single User at 25 TPS
A single stream at 25 TPS means a per-token budget of 40ms during decode. The bottleneck is not compute but weight read bandwidth: each token requires reading the activated portion of roughly 1.5TB of weights, and if expert distribution is uniform, the effective bandwidth requirement is extremely high—beyond what consumer PCIe GPUs can carry.
The viable path is 8–16 80GB-class accelerators with high-bandwidth interconnect, keeping weight shards resident in VRAM, combined with expert-affinity scheduling to reduce cross-device transfers. Cost magnitude: a full system starting at 8 cards, i.e., a “high-end server” budget.
Tier 3: 10 Concurrent Streams, Each ≥25 TPS
Concurrency amplifies bandwidth and communication pressure by nearly an order of magnitude. At this point the all-to-all communication problem must be solved: 896 experts are spread across multiple cards, and after routing, every token must move activations across devices. If the communication domain extends beyond the high-speed interconnect, latency will directly eat into compute.
Engineering-wise, this requires a rack-scale super-node of 64+ cards built with in-domain high-bandwidth interconnect (such as NVLink-class), making the communication domain large enough that transfers never leave a single domain; continuous batching, bucketed routing, and hot-expert replication are also needed to raise effective throughput. Cost magnitude: a rack-scale super-node, the highest investment of the three tiers.
5. Cost Estimate Checklist (Verify Item by Item Once Weights Are Released)
| Cost Item | Tier 1 | Tier 2 | Tier 3 |
|---|---|---|---|
| Accelerators | 1–2 consumer | 8–16 80GB-class | 64+ card super-node |
| Memory/VRAM | 1.5–2TB RAM | 640GB–1.2TB VRAM | Several TB VRAM |
| Interconnect | PCIe | High-bandwidth inter-card | In-domain high-bandwidth |
| Estimated Speed | Single-digit TPS | ~25 TPS | 10 concurrent ≥25 TPS |
Suggested verification order: first measure weight loading and peak VRAM, then prefill, and finally decode and P99 latency under different concurrency levels; also record per-token cross-device communication volume to judge whether the interconnect is the bottleneck.
6. Conclusion
The cost of locally deploying a trillion-parameter MoE model is essentially paying for “1.5TB-class weights” and “the communication introduced by routing”: just running it needs one large-memory server, single-user 25 TPS needs an 8-card-class full system, and 10 concurrent streams above 25 TPS require a rack-scale super-node. If an organization has requirements around delivery timelines and elasticity, it can also evaluate on-demand options from cloud general-purpose container platforms and high-performance networking products, converting one-time capital expenditure into variable cost.
