Local Deployment of a 2.8 Trillion-Parameter MoE Model: VRAM Requirements and Cost Estimates
This article estimates the memory footprint and cost of running a 2.8 trillion-parameter Mixture-of-Experts (MoE) model on your own hardware. It explains why the expert activation ratio does not reduce memory demand, derives a ~1.55 TB resident weight size step by step, and clarifies why a supernode of 64+ accelerators is the practical engineering starting point. It compares self-hosting against cloud rental with per-card-hour calculations, lists five levers to lower the bill, and gives cost estimates for three deployment scenarios. All figures are order-of-magnitude estimates based on public information, not measurements of released weights.
1. Bottom Line First
How much does it cost to deploy a 2.8 trillion-parameter MoE model locally? What is the memory floor? Are 64 cards enough? Is self-hosting or cloud rental the better fit? Here are four conclusions up front:
- Memory floor: Considering only the 4-bit expert weights, the theoretical figure is about 1.49 TB; adding roughly 5% of non-4-bit tensors brings the resident weights to about 1.55 TB. Once you add the KV cache, activation buffers, communication buffers, and framework overhead, a real deployment typically starts at around 1.7 TB of memory, and long-context or high-concurrency scenarios may approach 2 TB.
- Card count floor: Assuming 141 GB per card, weights alone need at least about 12 cards; leaving 35% for runtime overhead, you need about 17 cards. Public deployment guidance usually recommends supernodes of 64+ accelerators, and the reason is not just memory but the all-to-all communication pressure that comes with MoE expert parallelism.
- Cost magnitude: Building your own 64-card supernode is a one-time investment of roughly RMB 14 million to 22 million; assuming 3-year depreciation and 70% utilization, the combined cost works out to about RMB 15-23 per card-hour. Renting 64 cards on a monthly commitment in the cloud runs about RMB 370,000 to 830,000 per month, or roughly RMB 11-26 per effective card-hour.
- Important boundary: The numbers here are estimates based on public information, not measurements of existing weights. Once the weights and technical report are officially released, the official model card, weight files, API documentation, and actual quotes should be treated as the source of truth, and the retrieval date and source links should be added.
2. Prerequisites: What Is Fairly Certain and What Needs Measurement
While the full weights and technical report are not yet public, information should be handled in two categories.
Fairly certain information includes: a total parameter count of about 2.8 trillion, 896 MoE experts, 16 experts activated per token, a backbone that includes KDA and Attention Residuals, Gated MLA as a component, quantization-aware training starting from the SFT stage, MXFP4 weight format, and MXFP8 activation format. These determine the baseline for the memory estimate.
Information that needs measurement includes: the actual activated parameter ratio per token, peak memory per card, KV cache usage under long context, decoding speed, the actual all-to-all bandwidth of expert parallelism, real cloud instance quotes, hardware delivery lead time, and data-center power and cooling conditions. The numbers in this article are for building an order-of-magnitude judgment; once the weights are released, each should be replaced with measured values.
Note also that this article uses decimal units throughout: 1 TB = 1000 GB. If a vendor or cloud platform reports in GiB/TiB, the tables and card counts need to be re-converted.
3. Activation Ratio Does Not Equal Memory Usage
The expert activation ratio for this model is 16 ÷ 896 ≈ 1.79%. This is easily misread as “only about 1.79% of memory is used,” which is wrong.
In MoE inference, the activation ratio only affects the compute path and compute consumption for a single token; it does not reduce memory demand. There are three reasons:
- The shared part cannot be skipped: tensors such as attention, embeddings, routing, and normalization participate in computation or are accessed for every token.
- Batched inference touches more experts: different tokens route to different experts, and the number of experts actually used within a single decode step is usually far more than 16.
- Weights must stay resident in memory: all 896 experts must fit in memory and are then called according to routing results during inference, rather than loading only the activated experts.
Therefore, the memory floor for MoE deployment is governed mainly by total parameters, not by the activation ratio.
4. How to Calculate VRAM: Reaching ~1.55 TB in Four Steps
Step 1: Bare 4-bit weights
With 2.8 trillion total parameters at 4 bits each:
2.8×10¹² × 4 bit ÷ 8 ≈ 1400 GB
This is the floor without considering scale factors, non-4-bit tensors, or runtime overhead.
Step 2: Add block-level scale factors
The MX format is a block-level micro-scaling format. The common convention is one 8-bit shared scale factor per 32 4-bit elements, which adds 0.25 bit per element. So estimate each weight element at 4.25 bits:
2.8×10¹² × 4.25 bit ÷ 8 ≈ 1487.5 GB
This can be treated as the theoretical value where “all parameters use 4-bit plus scale factors,” about 1.49 TB.
Step 3: Add non-4-bit tensors
In a real deployment, tensors such as attention, embeddings, routing, and normalization are usually not stored entirely in 4-bit. Assuming 95% of expert-layer parameters at 4.25 bits and 5% of non-expert-layer parameters at 8 bits:
- Expert-layer parameters: 2.8 trillion × 95% = 2.66 trillion
- Non-expert-layer parameters: 2.8 trillion × 5% = 0.14 trillion
The weight size is about:
2.66×10¹² × 4.25 ÷ 8 ÷ 10⁹ + 0.14×10¹² × 8 ÷ 8 ÷ 10⁹ ≈ 1553 GB
In other words, the resident weight size closer to a real deployment is about 1.55 TB.
If you add extra redundancy on top, or round with different parameter shares, you may see estimates around 1575 GB. Mapping to 141 GB cards with 35% reserved for runtime overhead:
- Using 1553 GB: about 17 cards;
- Using 1575 GB: about 18 cards.
A simple script can verify this:
import mathTOTAL_PARAMS = 2.8e12EXPERT_SHARE = 0.95GPU_MEM_GB = 141expert_params = TOTAL_PARAMS * EXPERT_SHAREother_params = TOTAL_PARAMS - expert_paramsweight_gb = (expert_params * (4 + 0.25) / 8 / 1e9+ other_params * 8 / 8 / 1e9)print(f"Resident weight memory ~ {weight_gb:.0f} GB")for reserve in (0.20, 0.35):cards = (weight_gb / (1 - reserve)) / GPU_MEM_GBprint(f"With {int(reserve*100)}% reserved, ~ {math.ceil(cards)} cards")
Step 4: Add runtime overhead
Beyond the resident weights, you also need to add:
- KV cache: related to concurrency, context length, and attention structure; long context can occupy hundreds of GB;
- Workspace: activation buffers, communication buffers, framework overhead;
- Parallelism overhead: extra buffers from expert parallelism, tensor parallelism, and pipeline parallelism.
If runtime overhead is roughly estimated at 5%-15% of the weights, the actual memory requirement for 1553 GB of weights is about:
1553 × 1.05 ≈ 1631 GB
to:
1553 × 1.15 ≈ 1786 GB
So a normal deployment can start by evaluating at around 1.7 TB; high-concurrency, long-context scenarios should reserve 2 TB or more.
Compared with BF16, 2.8 trillion parameters stored in BF16 are about:
2.8×10¹² × 2 ÷ 10⁹ = 5600 GB
1553 GB is about 27.7% of 5600 GB, i.e. about 1/3.6. This shows that 4-bit plus block-level scaling really does compress weight size substantially, but the compression effect cannot be extrapolated indefinitely, because the KV cache and runtime overhead do not shrink proportionally.
5. Comparing the Cost Structure Against a 700B-Class Model
A 700B-class open-source MoE model can serve as a reference. Assume about 685B total parameters, with the following deployment experience:
- FP8 deployment: weights are about 685 GB. The weights alone exceed the 640 GB capacity of eight 80 GB cards, so you need at least nine 80 GB cards just to fit the weights. If you reserve another 20%-40% for the KV cache and runtime, you typically need 13-15 80 GB cards, or larger-memory cards.
- 4-bit deployment: weights are about 335 GB; adding activations and standard buffers of about 65 GB gives a total memory of about 400 GB. With eight 80 GB cards (640 GB total), weights plus standard buffers take about 63%, leaving about 37% for the KV cache and higher concurrency.
This lets us refine two rules of thumb:
- Rule 1: for 4-bit deployment, total memory demand can usually be estimated at weight ÷ 0.8; for FP8 or long-context scenarios, use weight ÷ 0.65. When more conservative, take 0.6-0.7.
- Rule 2: 4-bit weight size is roughly parameters (B) × 0.5 GB. 2.8 trillion parameters correspond to about 1400 GB of bare weights; with scale factors and non-4-bit tensors added, about 1553 GB.
This model is more than four times the size of a 700B-class model. With 1553 GB of weights and 80 GB cards, the weights alone need about 20 cards; with 141 GB cards, the weights alone need at least 12 cards. A real deployment also adds communication, parallelism, and runtime overhead, so a supernode of 64+ cards is a more reasonable engineering starting point.
6. Why 64+ Cards Is More Reasonable
The bottleneck for MoE is not only memory but also communication. With 896 experts spread across multiple cards, every token at each MoE layer typically goes through:
- the gate computing the routing;
- dispatching activations to the cards holding the target experts;
- collecting results back to the original card after expert computation completes.
A single decode repeats this communication across dozens of layers. The larger the scale and the more dispersed the routing, the greater the all-to-all traffic.
Consider a hypothetical example: decode batch 128, hidden dimension 8192, 16 experts activated per token, 64 MoE layers, activations in 8-bit. The all-to-all traffic per step is about:
128 × 64 × 16 × 8192 × 1B × 2 ≈ 2.1 GB
At 20 steps per second, this needs about 43 GB/s of sustained bidirectional bandwidth. Once communication crosses out of the node, it passes through more switching layers, and latency and jitter both amplify.
The value of a supernode is to organize dozens to hundreds of cards into a low-latency communication domain via high-bandwidth interconnect, keeping the cross-card transfers of expert parallelism within a single communication domain as much as possible. 64 cards is not an absolute red line, but it is the balance point that is easiest to realize among weights, communication, and throughput. With fewer cards, you need more aggressive quantization, more aggressive expert compression, and must tolerate lower throughput — “it runs, but is not practical.”
7. Cost Estimates: Self-Hosting and Cloud
7.1 Self-Hosting One-Time Investment
Assuming 64 GPUs with ≥141 GB HBM across 8 compute nodes:
| Item | Basis | Estimate |
|---|---|---|
| Compute nodes | 8 nodes, 8 cards each, including CPU, memory, local disk | RMB 12M-18M |
| Network interconnect | High-speed interconnect within node, 200-400G-class RDMA between nodes | RMB 1M-2M |
| Storage | All-flash parallel file system, ~100 TB effective capacity | RMB 0.8M-1.5M |
| Data-center facility | Power, cooling, racks, cabling | RMB 0.5M-1M |
| Total | ~RMB 14M-22M |
When purchasing, don’t just look at the GPU unit price; also check power and cooling, GPU delivery lead time, taxes, exchange rates, data-center acceptance, and network convergence ratio. Some cloud or integrator packages bundle network and storage, so break them down for comparison.
7.2 Self-Hosting Annual Operating Cost
| Item | Basis | Estimate |
|---|---|---|
| Electricity | ~80 kW at full load, at RMB 0.6/kWh over 8760 hours | ~RMB 420K |
| O&M staff | 2-3 people allocated | RMB 600K-1M |
| Bandwidth, rack space, maintenance | Per actual contract | RMB 200K-400K |
| Total | ~RMB 1.2M-1.8M/year |
7.3 Combined Per-Card-Hour Cost
The formula is:
Combined per-card-hour cost = (one-time investment ÷ depreciation years + annual operating cost) ÷ (64 × 8760 × target utilization)
With RMB 14M-22M investment, RMB 1.2M-1.8M/year operating cost, 3-year depreciation, and 70% utilization:
- Annual depreciation: about RMB 4.67M-7.33M;
- Total annual cost: about RMB 5.87M-9.13M;
- Effective card-hours: 64 × 8760 × 70% = 392,448 card-hours;
- Combined cost: about RMB 15-23 per card-hour.
Sensitivity:
- Extending depreciation to 5 years lowers the cost to about RMB 10-16 per card-hour;
- Dropping utilization to 50% raises the cost to about RMB 21-33 per card-hour;
- Every RMB 0.1/kWh increase in electricity price adds about RMB 70K in annual electricity cost.
7.4 Cloud Rental: Monthly Commitment and On-Demand
Cloud monthly-commitment prices are usually understood as discounted versions of on-demand prices. The monthly-commitment price is about 40%-60% of the on-demand price, not simply “1 minus a discount.”
Take on-demand at RMB 20 per card-hour as an example; over 720 hours the monthly on-demand cost is RMB 14,400. If the monthly-commitment price is about 50% of on-demand, a single card is about RMB 7,200/month. For 64 cards on a monthly commitment:
7,200 × 64 = RMB 460,800/month
If utilization is 70%, the effective card-hours are:
64 × 720 × 70% = 32,256 card-hours
The effective cost works out to:
460,800 ÷ 32,256 ≈ RMB 14.3 per effective card-hour
Estimating at 64 cards, on-demand RMB 20-30 per card-hour, and a monthly-commitment discount of 40%-60%:
- 64-card monthly commitment is about RMB 370K-830K/month;
- At the paid 720 hours, about RMB 8-18 per card-hour;
- At 70% utilization, about RMB 11-26 per effective card-hour.
Choice guidance:
- If long-term average utilization exceeds 60%-70%, self-hosting is usually more cost-effective;
- Below 30%, on-demand cloud is more economical;
- In between, start with monthly-commitment or spot instances to validate, then decide whether to purchase.
When choosing cloud instances, check four things: whether they can provide 64 cards in the same high-speed interconnect domain; whether storage can load 1.5 TB of weights fast enough; whether pricing is per card-hour, per instance-hour, or per token; and the real-time price and inventory on the official billing page. When GPU supply is tight, temporary bulk rental may carry a premium or a queue.
8. Five Levers to Lower the Bill
- Control the KV cache: use paged KV management, KV quantization, and prefix-cache reuse. The benefit is most obvious for long-context scenarios.
- Prioritize expert parallelism: use tensor parallelism for the attention part and expert parallelism for the MoE layers, and overlap all-to-all with computation. Routing can be grouped and constrained to reduce cross-node traffic.
- Improve batching efficiency: use continuous batching to raise GPU utilization. Decoding is memory-bound, and the larger the batch, the fewer weight reads are amortized per token.
- Use speculative decoding: a small model or MTP head drafts and the large model verifies, which can lower per-token latency. But verification still passes through the full model, so it cannot replace a full deployment.
- Separate evaluation criteria: benchmarks should use full precision and all parameters; run quantization, sparsification, or distillation experiments only before production, and avoid using experimental criteria directly for procurement decisions.
9. Cost Estimates for Three Scenarios
| Scenario | Recommended config | Estimated cost | Notes |
|---|---|---|---|
| Trial/validation | On-demand 64 cards in the cloud, a few days | ~RMB 100K | Validate accuracy, speed, and communication; avoid blind procurement |
| Mid-scale | Self-hosted 64 cards, serving hundreds of concurrent users | One-time in the millions, annual ops in the millions | Mainly decode-oriented; add cards for long context |
| Large-scale | 128+ cards across multiple machines, or monthly cloud | Double self-hosting, or ~RMB 740K-1.66M/month | Prioritize expert parallelism within a single communication domain |
10. Once the Weights Are Released, Verify These Six Things
- Measure the weight size: count the actual file size after unpacking and compare it with the ~1553 GB estimate.
- Measure per-card memory: separately measure weights, KV cache, activation buffers, and runtime peaks.
- Measure communication overhead: measure all-to-all bandwidth and its impact on throughput.
- Measure accuracy: compare pre- and post-quantization results on a business evaluation set.
- Measure speed: record first-token latency and per-token output time.
- Update quotes: replace the estimate ranges in this article with the latest quotes from cloud platforms and hardware vendors, and add official announcements, model cards, or API documentation links together with the retrieval date.
In one sentence: for local deployment of a 2.8 trillion-parameter MoE model, the memory floor is set by total parameters, the speed ceiling by communication, and the bill by utilization.
