The Cost of Deploying a Trillion-Parameter MoE Model Locally
A practical breakdown of what drives the cost of running a trillion-parameter Mixture-of-Experts model on your own hardware. It defines three deployment targets, explains why MoE memory scales with total parameters while compute scales with the activation ratio, calculates the 4-bit memory floor, estimates hardware and cost ranges for each target, and lists hidden costs plus post-release benchmarking steps.
1. Define the Problem First: What Actually Drives Local Deployment Cost
Before discussing how much you will spend, you need to fix three target tiers. Without them, budget estimates can differ by an order of magnitude:
- Just get it running: Output speed does not matter. The model only needs to load and emit tokens for correctness checks, architecture research, and prompt debugging.
- Usable by a single user: Decode speed reaches roughly 25 tokens/s for one user, close to the threshold for mainstream interactive applications.
- Usable with concurrency: At 10 concurrent streams, each stream still sustains at least 25 tokens/s, with quantization no lower than 4-bit equivalent precision.
One caveat up front: as of this writing, the full weights and technical report for this class of trillion-scale model (about 2.8 trillion total parameters) have not been publicly released; the official statement is that they will follow within days. So apart from public architecture details and the official API pricing logic, all figures below for speed, VRAM, and hardware mix are engineering estimates based on public information. Once the weights land, every item must be re-verified with benchmarks.
2. Architecture Drives Cost: In a Hyper-Sparse MoE, Memory and Compute Are Two Different Curves
The model has roughly 2.8 trillion total parameters and uses a Mixture-of-Experts (MoE) structure: of 896 experts, each token activates only 16, an expert activation ratio of about 1.79%. A common misconception needs clearing up here: the expert activation ratio is not the parameter activation ratio. The former only describes how sparse the routing is; the latter must also account for the shared backbone, attention, embeddings, and other dense components.
The backbone uses a linear-attention-style structure (a delta-rule variant) plus residual connections, and the attention modules are a gated low-rank compressed form. The practical deployment implication is this: the dense backbone is compute-intensive but small in memory footprint, while the sparse experts take up a huge share of memory but do little compute per pass.
That yields the first hard constraint: MoE memory is calculated from total parameters; the activation ratio only affects compute consumption. You must first fit all 896 experts into addressable storage, then select the 16 routed experts for computation at inference time.
3. The Memory Floor: 4-Bit Is Not Simply “Divide by 4”
Quantization-aware training was introduced as early as the supervised fine-tuning stage: weights are in a 4-bit floating-point format and activations in an 8-bit floating-point format. A rough conversion of 2.8 trillion parameters to 4-bit puts the bare data floor at about 1400GB. But 4-bit floating point attaches one 8-bit scaling factor per 32 elements, so under the open compute specification:
Effective weight bit width ≈ 4 + 8/32 = 4.25 bit2.8e12 × 4.25 / 8 ≈ 1487.5 GB
That 1487.5GB does not yet include: tensors that are not 4-bit (embeddings, normalization, and the routing/gating layers usually stay at higher precision), tensor metadata and alignment padding, the runtime workspace, and the KV cache.
For reference, a same-generation 671B-class dense+MoE hybrid model at 8-bit needs about 685GB for the main parameters plus the multi-token prediction head; after 4-bit weight quantization that becomes roughly 335GB of weights plus about 37GB of runtime overhead, for a total near 400GB that only just fits into 8 80GB-class accelerators (640GB). The target model is more than four times that size, which fixes the memory floor for a full deployment: a single-node, 8-card configuration is mathematically impossible.
The officially recommended minimum form is a supernode built from 64 or more accelerators. The reason is that large-scale MoE inference is extremely sensitive to all-to-all communication bandwidth: with 896 experts spread across many cards, every token after routing must have its activations moved to the card holding the target expert and then moved back after computation, and communication latency will directly eat the compute gains. A supernode confines communication to a single high-bandwidth domain, avoiding cross-domain detours.
4. Configurations and Cost Estimates for the Three Tiers
Tier 1: Just Get It Running (Heterogeneous Offloading)
The idea is GPU+CPU heterogeneous inference: keep the dense backbone (linear attention plus gated low-rank attention) on the GPU, where it is compute-intensive and uses bandwidth well, and offload the 896 sparse experts to CPU memory on a large-memory server.
Public data from comparable practice: a dual-socket server-class CPU paired with a single consumer 24GB GPU running a 4-bit quantized 671B-class model (about 377GB) achieves over 200 tokens/s prefill and about 14 tokens/s decode, and that figure comes with constraints on the expert-selection strategy. Scaling to 1.5TB-class weights requires more than 1.5TB of usable memory (2TB recommended for headroom) plus a single 24GB-class GPU, putting the cost in the range of tens of thousands of RMB, with decode speed expected in the single-digit tokens/s. Suitable for validation and debugging, not for production.
Tier 2: 25 tokens/s for a Single User
A single node with 8 cards and 640GB cannot hold the weights. The viable paths are dual-node 16-card with high-bandwidth interconnect, or a hybrid single-node multi-card setup with memory offloading. The former offers ample memory and a controllable communication domain, with decode speeds reaching tens of tokens/s; the latter costs a tier less but is limited by off-chip bandwidth, leaving little speed headroom. The cost range is hundreds of thousands of RMB, with the main variables being the inter-card interconnect form and memory capacity.
Tier 3: 10 Concurrent Streams at ≥25 tokens/s Each, Precision No Lower Than 4-Bit
The aggregate throughput requirement is above roughly 250 tokens/s, and after subtracting all-to-all communication and scheduling overhead, the actual compute demand is higher. The practical minimum is 32 to 64 high-bandwidth accelerators forming a single communication domain, paired with a high-speed network and parallel storage to load the weights. The cost range is millions of RMB, with additional spending required on data-center power, cooling, networking, and operations.
5. Four Hidden Costs That Are Easy to Miss
- Loading and storage: Reading 1.5TB of weights from a parallel file system takes minutes, requiring high-throughput storage and local NVMe caching.
- KV cache: Under long contexts it grows linearly with concurrency and sequence length; 10 concurrent long-text streams will consume an extra tens of GB of VRAM.
- Quantization and precision validation: 4-bit weights need routing stability and output quality checks, so budget compute for A/B comparison and evaluation.
- Operations and observability: You need monitoring and alerting, log services, metrics collection, and container orchestration to keep fault-localization time within an acceptable range.
6. Conclusions and Action Items
- Calculate memory first, then talk about speed: 1487.5GB is the hard floor, and no design may exceed it.
- Invest by tier: heterogeneous offloading for validation, dual-node 16-card for pilots, a supernode for production.
- Within 48 hours of the weights being released, complete three benchmarks: load time, single-stream decode speed, and 10-concurrency aggregate throughput.
- If the cost or timeline of self-hosting is unacceptable, evaluate on-demand general-purpose containers and high-performance compute instances in the cloud, converting capital expenditure into operating expenditure and using elastic scaling to handle concurrency spikes.
