The Cost of Deploying a Trillion-Parameter MoE Model Locally
A practical breakdown of what local deployment of a trillion-parameter MoE model actually costs, covering the memory floor calculation for 4-bit weights, the bandwidth required for different token-per-second targets, and how the requirements scale across three tiers from CPU-GPU hybrid setups to 64-GPU supernodes.
1. Define the Problem First: What You Are Actually Paying For
The question “how much does it cost to deploy a trillion-parameter model locally” is hard to answer because it bundles three independent variables: storage capacity, compute throughput, and communication bandwidth. Most budgets spiral out of control because these three get conflated, and a conclusion is drawn simply by multiplying parameter count by a bit width.
Take a publicly documented architecture as a worked example: an ultra-sparse MoE model with roughly 2.8 trillion total parameters, using a routing strategy of 896 experts with 16 experts activated per token, an expert activation ratio of about 1.79%. One point here is very easy to misread: the expert activation ratio is not the parameter activation ratio. The former only determines compute consumption; the latter is what relates to VRAM—and for MoE, VRAM must be calculated from the total parameter count.
The reason is straightforward: routing is dynamic, and you cannot predict which experts the next token will hit, so all 896 experts must stay resident in addressable storage, with 16 of them moved into place at inference time according to the routing result. This is the most fundamental cost difference between MoE deployment and dense models: you pay for VRAM by the total, and for compute by the activated portion.
In terms of backbone structure, this class of model generally combines linear attention/Delta-style attention with attention residuals, gated low-rank attention, and similar components. These structures grow KV cache significantly more slowly than standard attention under long contexts, which is favorable for the memory budget, but it does not change the capacity floor of the weights themselves.
2. A Rigorous Calculation of the VRAM Floor: Don’t Just Divide Parameters by 2
The model introduced quantization-aware training from the supervised fine-tuning stage, and a mixed-precision scheme with 4-bit weights and 8-bit activations is common practice in the industry. Estimating at 4 bits, the raw data floor for 2.8 trillion parameters is about 1400GB. In engineering terms, however, you must add the overhead of one 8-bit scaling factor carried per 32 4-bit elements:
effective weight bit width = 4 bit + 8 bit / 32 = 4.25 bitweight size ≈ 2.8e12 × 4.25 / 8 ≈ 1487.5 GB
That 1487.5GB is only the starting point. A realistic budget must also stack on:
- Unquantized tensors (normalization layers, embedding layers, routing gates, MTP-style auxiliary heads), typically counted as 1%~3% of total parameters;
- Metadata, tensor alignment, and shard padding, adding 3%~8% under multi-GPU partitioning;
- Runtime workspace (dequantization buffers, temporary activations, communication send/receive buffers);
- KV cache, which grows linearly with concurrency and context length and can reach tens of gigabytes in long-context scenarios.
As a horizontal reference, an industry model of roughly 671B parameters in FP8 format, a dense+MoE hybrid, totals about 685GB for main plus auxiliary parameters. With 4-bit quantization, weights come to about 335GB, with activations and runtime around 37GB, for a total of about 400GB—just enough to run on 8 accelerator cards of the 80GB class (640GB). Treat the target model as more than four times that size, and the capacity threshold naturally lands in the range of more than 1.6TB of usable VRAM/unified memory.
3. Cost Structure Across Three Tiers of Goals
Tier 1: Just Get It Running, Speed Does Not Matter
The goal is to fit roughly 1.5TB of weights into addressable storage and produce tokens, with single-digit TPS being acceptable. The common industry approach here is GPU+CPU heterogeneous inference: the shared attention portion of each layer is compute-intensive and stays on the GPU to execute at high bandwidth, while the sparse experts that dominate storage are offloaded entirely to CPU memory, supplied by a large-memory server.
Cost composition: 2~4 accelerator cards of the 48GB class plus a multi-socket server with 1.5TB~2TB of memory. The bottleneck at this tier is PCIe bandwidth and memory bandwidth; random access for expert fetching will drop TPS to single digits, but the validation value is very high—it lets you complete precision alignment and pre/post-processing validation on the day the weights are released.
Tier 2: Stable 25+ TPS for a Single User
25 TPS is a clear compute and bandwidth constraint for the decode phase. Decoding is memory-access intensive: for every token generated, the activated expert weights must in theory be read once. Estimating at a 1.79% activation ratio, a single token requires reading roughly 26GB of weight data, and 25 TPS implies about 650GB/s of effective read bandwidth. Adding dequantization and scheduling overhead, you should reserve a 1.5~2x margin in practice.
A single card’s VRAM bandwidth cannot cover this. The viable path is an 8-card node (NVLink-class interconnect, with aggregate bandwidth reaching several TB/s) plus expert parallelism, sharding the 896 experts evenly so that the 16 expert accesses per token are spread across multiple cards and completed in parallel. Cost at this tier is dominated by the whole machine, at the granularity of a high-end 8-card node or a same-spec container instance on the cloud.
Tier 3: 10 Concurrent Users at 25+ TPS Each, Without Lowering the Quantization Level
Concurrency is the most easily underestimated cost item. 10 concurrent means 10 decode paths running simultaneously; KV cache, routing buffers, and the effective cache hit rate for expert weights all deteriorate, and aggregate bandwidth demand rises roughly linearly to a level above 6TB/s, while also requiring coordinated optimization of the expert sharding strategy and batch scheduling.
At this point a single 8-card machine is no longer enough. You need a supernode form with more than 64 cards, built as a single communication domain over high-speed interconnect. The reason is that large-scale MoE inference is extremely sensitive to all-to-all communication: after each token is routed, its activations must be sent to the card holding the target expert and fetched back after computation. If the communication domain is cut across network tiers, communication latency will directly swallow the compute gains. This tier is a data-center-scale investment, and typically only on-demand cloud access makes it cost-justifiable.
4. Turning the Estimate into an Executable Process
- Capacity accounting: use the 4.25-bit formula above to compute weights first, then apply a 1.05~1.10 factor for runtime, and finally list the KV cache budget separately;
- Bandwidth accounting: target TPS × activated bytes per token × safety factor, to derive the required aggregate VRAM bandwidth;
- Communication accounting: confirm all participating cards sit within the same high-speed interconnect domain, avoiding cross-domain all-to-all;
- Staged validation: first get precision running on the heterogeneous setup, then establish a single-concurrency speed baseline, and finally stress concurrency and long context;
- Unify the cost basis: local one-time purchase is amortized across the whole machine plus memory plus network, while cloud is priced separately by instance duration and storage capacity; the two cannot be compared directly.
Conclusion: for local deployment of a trillion-class ultra-sparse MoE, the capacity threshold is about 1.6TB, and the bandwidth threshold ranges from hundreds of GB/s to several TB/s. The three tiers correspond respectively to a “heterogeneous large-memory server”, an “8-card high-speed interconnect node”, and a “supernode of more than 64 cards”. Before the weights and official technical details are published, all of the above are conservative estimates based on publicly available architecture parameters; formal selection should be corrected item by item against measured benchmarks.
