Local Deployment Cost Breakdown for Trillion-Parameter MoE Models
This article breaks down the real cost of deploying a trillion-parameter Mixture-of-Experts (MoE) model locally across three acceptance tiers: getting it running, single-user usability at 25 tokens/s, and 10-way concurrency above 25 tokens/s. It explains why MoE memory usage scales with total parameters rather than activated experts, how to estimate the VRAM floor from 4-bit weights, and which hardware configurations, offloading strategies, and tuning variables apply to each tier, along with a pre-launch stress-test checklist and budget ratio guidance.
1. Define the Problem First: Three Cost Tiers for Local Deployment
Before asking “how much will it cost,” you need to split the goal into three verifiable tiers. The cost gap between tiers is usually an order of magnitude, not a few tens of percent:
- Tier 1: It runs. The model loads successfully and generates tokens stably, even at single-digit tokens/s.
- Tier 2: Usable by one person. Output reaches roughly 25 tokens/s for a single user, close to fast human reading speed.
- Tier 3: Shared by multiple users. With 10 concurrent streams, each stream still delivers at least 25 tokens/s, at a quantization level 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 ultra-large models are not yet fully public, with an official release expected within the coming weeks. So apart from the officially published architecture details and API pricing, all figures below for speed, VRAM, and hardware are engineering estimates based on public information. Once the weights land, every item must be re-verified with benchmarks.
2. Architecture Drives Cost: Sparse Does Not Mean VRAM-Saving
The sample model has roughly 2.8 trillion total parameters and uses a Mixture-of-Experts (MoE) structure. Of its 896 experts, only 16 are activated per token, an expert activation ratio of about 1.79%. Here is a point that is very easy to misread: the expert activation ratio is not the parameter activation ratio. The former only affects compute consumption, not storage footprint.
The attention backbone follows a route combining linearized attention with residual connections, plus a gated low-rank attention component. This kind of structure mainly makes KV cache growth more gradual and is friendlier to long contexts, but it does not reduce weight size.
The conclusion is straightforward: MoE VRAM is calculated on total parameters. You must first fit all 896 experts into addressable storage, then select the 16 routed experts for computation at inference time. What you save is FLOPs, not GB.
3. How to Calculate the VRAM Floor: From Raw Data to Real Usage
This model family introduces quantization-aware training from the supervised fine-tuning stage, and the officially recommended path is 4-bit weights with 8-bit activations. Estimating at 4-bit:
- Raw data floor: 2.8T × 4 bit ÷ 8 ≈ 1400 GB
- Including one 8-bit scale factor per 32 4-bit elements (4.25 bit/element): 2.8T × 4.25 ÷ 8 ≈ 1487.5 GB
And that 1487.5 GB is just the weights themselves. A real deployment must add: non-4-bit tensors (embeddings, normalization, routing gates, output head), metadata and alignment padding, runtime workspace, and KV cache.
For a horizontal reference, a comparable sparse model at the 671-billion-parameter level uses about 685 GB for main parameters plus an auxiliary prediction head under 8-bit weights; switching to 4-bit quantization brings weights to about 335 GB and activation overhead to about 37 GB, totaling around 400 GB, right at the capacity edge of 8 × 80 GB accelerators (640 GB). The sample model is more than 4 times that reference size, which is the root reason “full-power deployment” costs are pushed up.
A handy self-check formula:
Total demand ≈ weights (total parameters × bytes per parameter × 1.06) + runtime workspace + KV cacheKV cache ≈ concurrency × context length × KV bytes per token
4. Tier 1: Just Get It Running with Heterogeneous Offloading
The cheapest route is heterogeneous inference across GPU and CPU memory. Mature open-source approaches already exist: keep the shared attention portion of each layer (compute-intensive and bandwidth-sensitive) on the GPU, and offload the storage-heavy sparse experts entirely to server memory, fetching them on demand based on routing results.
Reference configuration: 1 accelerator with 48–80 GB plus a dual-socket server with more than 1.5 TB of DDR memory. This tier usually needs only one machine, and cost is dominated by memory modules, but output speed is often only single-digit tokens/s. It suits functional validation and quality evaluation, not production.
5. Tier 2: 25 tokens/s for a Single User
25 tokens/s for a single user means completing 25 full routing and expert-read cycles per second. If all weights reside in local memory, the bottleneck immediately shifts from compute to memory bandwidth: at least hundreds of GB must stream through per step, which ordinary DDR channels cannot sustain.
A workable approach is to raise the proportion of weights resident on the GPU side, keeping hot experts in VRAM and cold experts in memory, and using larger-batch prefill to hide the data-movement latency of the decode phase. Reference configuration: 8 × 80 GB accelerators plus 1.5 TB of memory, with full weights in host memory and attention plus hot experts on the cards. The key tuning parameter for this tier is the “number of VRAM-resident experts,” which directly determines the hit rate.
6. Tier 3: 10 Concurrency at 25 tokens/s or More
Concurrency amplifies three things at once: KV cache capacity, routing communication volume, and memory bandwidth contention. Large-scale MoE is extremely sensitive to all-to-all communication—with 896 experts spread across multiple cards, every token must move its activations to the target card after routing, compute, and move back, so communication latency directly eats into compute. This is why the official recommendation is a high-speed interconnected supernode of 64 or more accelerators, making the communication domain large enough that data movement stays within a single domain.
Reference configuration: start with a 64-card supernode, with high-speed intra-node interconnect and high-bandwidth inter-node networking, combined with three-dimensional tensor/expert/pipeline parallelism. If going cloud, you can choose GPU instances with high-speed interconnect plus parallel file storage and object storage for weight distribution, and use monitoring, alerting, and logging services to observe throughput and tail latency.
7. Cost Structure and Acceptance Checklist
Cost is not just hardware procurement; it also includes weight storage and distribution, network upgrades, power and cooling, and operations staff. The reasonable budget ratio across the three tiers is roughly 1 : 5 : 20.
Before going live, run and document stress tests against this checklist: load success rate, first-token latency, steady-state output speed, P99 tail latency under 10 concurrency, VRAM peak under long context, and the accuracy delta on the same evaluation set before and after quantization. If any item fails, go back to the two main variables—“VRAM-resident ratio” and “communication domain size”—and rebalance.
