2.8 Trillion Parameter MoE On-Premises Deployment: Cost Breakdown and Hardware Selection
This article breaks down what it really costs to deploy a 2.8 trillion parameter Mixture-of-Experts (MoE) model on-premises and how to choose hardware for each performance target. It defines three deployment tiers—from simply getting the model running, to single-user throughput of at least 25 tokens per second, to 10 concurrent users at 25 tps each while preserving native 4-bit precision—and shows how the bottleneck shifts from memory-transfer bandwidth to VRAM capacity and bandwidth, and finally to interconnect latency and prefill compute. It presents the capacity, bandwidth/latency, compute, and prefill constraint equations, a reproducible Python estimation script, detailed hardware guidance and cost magnitudes for each tier, a cost breakdown covering power and depreciation, and a post-release verification checklist.
1. Executive Summary: Three Tiers at a Glance
Before deploying a 2.8 trillion parameter MoE model on-premises, you first have to define what “successful deployment” means. If the only goal is to get it running, cost can be kept to just over 100,000 RMB. If you require a single-user interactive speed of at least 25 tps, you typically need a single machine with several high-memory accelerator cards. If you require 10 concurrent streams at 25 tps each while preserving native 4-bit precision, hardware moves into the tens-of-millions-of-RMB range. The difference between these tiers is not simply adding more cards—the bottleneck shifts from memory-transfer bandwidth, to VRAM capacity and bandwidth, and finally to interconnect latency and prefill compute.
| Tier | Target | Recommended form | Hardware scale | Expected performance | Cost magnitude |
|---|---|---|---|---|---|
| Tier 1 | Just get it running | GPU + CPU heterogeneous offload | 1 large-memory server + 2–8 accelerators | Single-digit tps | ~100,000 to several hundred thousand RMB |
| Tier 2 | Single user ≥25 tps | Single-node tensor parallel or hybrid offload | 8–16 accelerators with hundreds of GB VRAM each | Single user ≥25 tps | Millions of RMB to several million RMB |
| Tier 3 | 10 concurrent, each ≥25 tps | 32–64-card super node, tensor/expert/pipeline parallel | 32–64 accelerators + high-speed interconnect | 10 streams, each ≥25 tps | Tens of millions of RMB |
Note: card counts are illustrative of order of magnitude and do not correspond to specific models; the tens-of-millions figure excludes the data center, long-term operations, and procurement fluctuations.
2. Baseline: What 2.8 Trillion Parameters Actually Means
2.1 Total parameters set capacity; activation ratio sets compute
The model has roughly 2.8 trillion total parameters and uses an MoE structure: 896 experts, with 16 experts activated per token, an expert activation ratio of 16/896, or about 1.79%.
The point most easily confused here is that the activation ratio affects the compute per token, not the resident weight footprint. All 896 experts must stay resident in VRAM or system memory; at inference time, only the routed subset is read. Capacity is determined by total weight volume, while speed is determined by how much is actually read per token.
2.2 Weight volume: ~1.4 TB raw, ~1.49 TB practical budget
Calculated as raw 4-bit data:
2.8 trillion parameters × 4 bit ÷ 8 = 1.4 TB.
If every 32 4-bit weights share one 8-bit scale factor, the effective size is 4.25 bit:
2.8 trillion × 4.25 ÷ 8 ≈ 1.4875 TB.
On top of this, embedding layers, normalization layers, routing gates, and the output layer may retain higher-precision parameters, plus overheads for tensor metadata, alignment padding, runtime workspace, and shard replicas. A budget of about 1.6 TB is recommended as resident memory or VRAM. This article uses the weight-closer figure of 1.49 TB for its calculations; 1.6 TB is the upper budget including system reserves.
2.3 Read volume per token: ~149 GB shared, ~24 GB activated experts
Assume expert parameters make up about 90% of total parameters and shared parameters about 10%. Based on 1.49 TB total weights:
Shared parameters: 1.49 TB × 10% ≈ 149 GB.
Activated expert parameters per token: 1.49 TB × 90% × 16/896 ≈ 23.9 GB.
Under the raw 1.4 TB baseline, shared parameters would be about 140 GB and activated experts about 22.5 GB. This article consistently uses the 1.49 TB figure that includes scale factors.
Because of this, per-card read volume cannot be written simply as “1/8 of total weights.” A more reasonable formula is:
Per-card read volume ≈ shared weights / TP + activated expert weights / EP
where TP is the tensor parallelism degree and EP is the expert parallelism degree. With TP=8 and EP=8:
149/8 + 23.9/8 ≈ 18.6 + 3.0 = 21.6 GB per card per token.
This explains why the core constraints of Tier 2 are VRAM capacity and bandwidth: capacity determines whether the 1.49 TB of weights can be held, and bandwidth determines whether data can be fetched in time for each token.
3. Four Sets of Constraint Equations
3.1 Capacity constraint
Minimum number of cards to hold the fully resident model:
N_min = ceil((W_4bit + KV + workspace) / C_card)
where W_4bit ≈ 1.49 TB; C_card should be estimated at 80%–85% of rated VRAM as usable capacity; KV and workspace must be computed separately based on context length, concurrency, and implementation.
3.2 Bandwidth and latency constraint
Memory-access time for a single decode step:
T_mem ≈ W_shared / (TP × BW_card × u) + W_experts / (EP × BW_card × u)
where W_shared ≈ 149 GB, W_experts is the activated expert weight per token ≈ 23.9 GB, BW_card is single-card VRAM bandwidth, and u is effective bandwidth utilization, typically 0.3–0.5 in practice.
If cross-node communication or pipeline parallelism is significant, communication and scheduling overhead must also be added:
T_step ≈ W_shared/(TP×BW×u) + W_experts/(EP×BW×u) + L_FF
L_FF includes overhead from all-to-all, reductions, synchronization, scheduling, and pipeline bubbles.
3.3 Compute constraint
Total compute per token during decoding is approximately:
S ≈ 2 × active parameters
active parameters = total parameters × [shared ratio + expert ratio × activation ratio]
With 2.8 trillion total parameters, 90% expert share, and activation ratio 16/896, active parameters are about 325B, so decode compute is roughly 0.65 TFLOPs per token.
Single-step compute time:
T_compute ≥ S / (F_card × n × η)
where F_card is single-card compute, n is the number of cards participating in compute, and η is tensor-parallel/cluster efficiency.
3.4 Prefill constraint
At 10 requests each running at 25 tps, total decode throughput is about 250 tokens/s, corresponding to about 250 × 0.65 = 162.5 TFLOPS—not a high bar for a high-end accelerator cluster. What actually tends to overwhelm the system is long-input prefill. Estimating a 10,000-token input, total prefill compute is roughly:
10,000 × 0.65 TFLOPs ≈ 6.5 PFLOPs, or 6500 TFLOPs.
If prefill and decode run mixed together, long inputs continually consume decode time slices and drive tps down. In practice you should enable prefill/decode disaggregation, token budget limits, and prefix caching.
4. A Reproducible Estimation Script
The script below uses consistently: 2.8 trillion total parameters, an effective 0.53125 Byte/parameter for 4-bit plus scale factors, 90% expert share, and activation ratio 16/896.
import mathTOTAL_PARAMS = 2.8e12EXPERT_SHARE = 0.90ACTIV_RATIO = 16 / 896BYTES_PER_PARAM = 4.25 / 8 # 4-bit + one 8-bit scale factor per 32 elementsGB = 1e9def profile():total = TOTAL_PARAMS * BYTES_PER_PARAMshared = total * (1 - EXPERT_SHARE)experts = total * EXPERT_SHARE * ACTIV_RATIOactive_params = TOTAL_PARAMS * ((1 - EXPERT_SHARE) + EXPERT_SHARE * ACTIV_RATIO)return total / GB, shared / GB, experts / GB, 2 * active_paramsdef offload_tps(bw_gbps=25, util=0.8):_, _, experts, _ = profile()return experts / (bw_gbps * util)def step_time(tp, ep, bw=8000, util=0.35, pp=1, layers=64, latency_us=0):_, shared, experts, _ = profile()mem = (shared / tp + experts / ep) / (bw * util)comm = 2 * layers * latency_us * 1e-6 * (pp - 1) / pp if pp > 1 else 0.0return mem + commif __name__ == "__main__":total, shared, experts, flops = profile()print(f"Total weights {total:.1f}GB, shared {shared:.1f}GB, experts/token {experts:.1f}GB")t = offload_tps(25)print(f"Tier 1 (25GB/s): {t*1000:.0f}ms, {1/t:.2f}tps")t = offload_tps(100)print(f"Tier 1 (4x25GB/s): {t*1000:.0f}ms, {1/t:.2f}tps")t = step_time(8, 8)print(f"Tier 2 (pure GPU TP8xEP8): {t*1000:.1f}ms, {1/t:.0f}tps")t = max(experts / 60, (shared / 8) / (8000 * 0.35))print(f"Tier 2 (hybrid, CPU 60GB/s): {t*1000:.0f}ms, {1/t:.1f}tps")t = step_time(8, 16, pp=4, latency_us=10)print(f"Tier 3 (TP8xEP16xPP4): {t*1000:.1f}ms, {1/t:.0f}tps/user")print(f"Tier 3 (PP8): {step_time(8,16,pp=8,latency_us=10)*1000:.1f}ms")
With the parameters above, the theoretical results are as follows:
| Scenario | Step time | Speed | Notes |
|---|---|---|---|
| Tier 1: 25 GB/s bus | ~1.20 s | ~0.84 tps | Pure CPU offload of expert weights |
| Tier 1: 4×25 GB/s | ~0.30 s | ~3.35 tps | Limited gain from parallel buses |
| Tier 2: pure GPU TP8×EP8 | ~7.7 ms | ~130 tps | Requires 8 cards to split weights |
| Tier 2: hybrid, CPU 60 GB/s | ~398 ms | ~2.5 tps | If all experts sit on CPU, 25 tps is not met |
| Tier 3: TP8×EP16×PP4 | ~8.1 ms | ~123 tps/user | Requires high-speed interconnect and low-latency sync |
| Tier 3: TP8×EP16×PP8 | ~8.3 ms | ~120 tps/user | Pipeline adds concurrency headroom |
These are theoretical upper bounds. Real systems will fall short due to all-to-all congestion, expert hotspots, batch scheduling, KV/activation buffers, and prefill interference. Tier 3 in particular must be stress-tested with a real prompt set.
5. The Three Tiers in Detail
5.1 Tier 1: Just get it running
Tier 1 suits non-real-time scenarios such as API validation, private knowledge Q&A, and evaluation scoring. The basic idea is to offload the expert layers—which account for the vast majority of storage—to a large-memory server, leaving the accelerators to handle only attention, routing, and result aggregation.
Hardware requirements:
- At least 1.6 TB of system memory; a dual-socket server with multiple high-capacity DIMMs per socket is recommended.
- About 1.6 TB of NVMe to avoid excessive load times on each start.
- 2–8 accelerators with 24–48 GB each, for attention and scheduling.
The bottleneck is bus-transfer bandwidth. If each token must move about 24 GB of expert weights from CPU memory, a single 25 GB/s bus takes about 1.2 s theoretically, giving about 0.84 tps; even aggregated to 100 GB/s, it reaches only about 3.35 tps. Tier 1 is therefore unsuitable for interactive workloads.
Optimization directions:
- Keep 4-bit weights; avoid upgrading to 8-bit, which would double the transfer volume.
- Use multiple cards and buses to split expert reads across different tokens.
- Offline batch processing can raise total throughput but will not significantly improve single-request latency.
- Cache hot experts; the higher the hit rate, the lower the actual transfer volume.
Cost: about 100,000 RMB at the entry level, up to several hundred thousand RMB for a high-end configuration—the cheapest of the three tiers.
5.2 Tier 2: 25 tps for a single user; capacity sets the floor
Tier 2 requires a single-user interactive speed of at least 25 tps. Start with the capacity floor. Estimating from 1.49 TB of weights:
| Per-card VRAM | Theoretical minimum cards | Practical recommendation |
|---|---|---|
| 24 GB | 63 | Usually unrealistic; hybrid offload recommended |
| 48 GB | 32 | Multi-node or high-bandwidth hybrid offload |
| 80 GB | 19 | A single 16-card node is not enough |
| 96 GB | 16 | A single 16-card node is viable |
| 141 GB | 11 | A single 12–16-card node is comfortable |
| 192 GB | 8 | A single 8-card node is a good fit |
For pure GPU tensor parallelism, prefer single cards with more than 96 GB. Eight 192 GB cards can hold about 1.49 TB of weights with headroom to spare; 16×96 GB cards also work, but usable VRAM utilization needs attention.
For expert parallelism degree, choose factors of 896, such as 2, 4, 7, 8, 14, or 16. Since 896 is divisible by both 8 and 16, a single 16-card node can use TP16 or TP8×EP2, while a single 8-card node can use TP8×EP1, or TP8×EP8 depending on expert placement. The exact choice depends on the communication domain and load balancing.
Hybrid offloading can be a cost-reduction option, but you must account for aggregate CPU memory bandwidth. If each token still needs to read about 24 GB of expert weights from CPU and effective bandwidth is only 60 GB/s, the theoretical speed is about 2.5 tps, which fails to meet Tier 2. Hybrid offloading is worth trying only when:
- Only some non-hot experts are offloaded;
- Hot experts stay resident in VRAM;
- Prefix caching or routing caches have a high hit rate;
- Aggregate CPU memory bandwidth reaches several hundred GB/s or more.
Cost: an 8-card model with hundreds of GB per card is on the order of millions of RMB; 192 GB large-VRAM models cost more; 16×96 GB configurations typically fall between millions and several million RMB.
5.3 Tier 3: 10 concurrent, each ≥25 tps
The goal of Tier 3 is not a faster single stream, but maintaining 25 tps per user across 10 concurrent streams while keeping quantization no lower than native 4-bit. At this point the bottleneck shifts from single-card bandwidth to interconnect latency, expert routing balance, and prefill scheduling.
Based on about 1.49 TB of weights plus KV cache, activations, and communication buffers, at least 1.6 TB of VRAM is required. At 80–96 GB usable per card, the theoretical minimum is roughly 17–20 cards; but to provide concurrency headroom, expert parallelism, tensor parallelism, and pipeline parallelism, real deployments usually land in the 32–64 card range.
Key pressures in Tier 3:
All-to-all communication. Each decode step, at each layer, may involve expert dispatch and combine. Cross-node network latency amplifies this directly. With a 10 microsecond sync latency, 64 layers, and a 4-stage pipeline, communication overhead is about 0.96 ms; if synchronization is congested or spans multi-hop networks, overhead rises significantly. This calls for a high-bandwidth, low-latency switching fabric and keeping the communication domain within the super node as much as possible.
Prefill compute. Decoding 10 streams at 25 tps needs only about 162.5 TFLOPS, not much pressure for a high-end cluster; but long-input prefill consumes large amounts of compute in bursts. A 10,000-token prefill requires about 6.5 PFLOPs. If long inputs arrive densely, decode gets crowded out by prefill and throughput collapses. Countermeasures are prefill/decode disaggregation, limiting the number of tokens in concurrent prefill, and enabling prefix caching.
Precision path. If “no precision degradation” means keeping native 4-bit, weight volume matches Tier 2; if 8-bit or higher precision is required, weight volume approaches 2.8 TB and both card count and cost roughly double.
Parallelism recommendations:
- Decode phase: prioritize expert parallelism degree and all-to-all efficiency.
- Prefill phase: dominated by dense compute, tensor parallelism matters more.
- When deployed separately: the prefill side can use TP8–16; the decode side can use smaller TP with larger EP.
Cost: 32–64 card complete systems, high-speed networking, parallel storage, and data-center facilities typically reach the tens-of-millions-of-RMB range.
6. Cost Breakdown: Hardware, Power, and Depreciation
6.1 Cost components
Total cost of ownership includes:
- Accelerators and servers;
- CPU memory, NVMe, and parallel storage;
- High-speed networking and switches;
- Data center, power, cooling, and operations staff;
- Cloud elastic resources or hybrid deployment costs.
6.2 Power estimate
Assuming 0.6–1.0 kW per card, a 40%–80% system-level overhead including CPU and network storage, and a data-center factor of 1.3:
32 cards × 0.75 kW = 24 kW; about 36 kW after overhead; running 8760 hours a year gives about 315,000 kWh per year; at about 0.7 RMB per kWh, roughly 220,000 RMB per year. With 64 cards, the electricity cost roughly doubles.
6.3 Depreciation and utilization
Let annual depreciation be D, effective service time be H hours per day, and target throughput be 25 tps. Annual tokens served:
Tokens_year = 25 × 3600 × H × 365 × utilization
At 8 hours per day and 100% utilization, that is about 263 million tokens per year. With annual depreciation of 1 million RMB:
Depreciation per token ≈ 1,000,000 ÷ 263,000,000 ≈ 0.0038 RMB/token, or about 3.8 RMB per million tokens.
With annual depreciation of 10 million RMB, it is about 0.038 RMB/token, or 38 RMB per million tokens.
Conclusion: utilization determines unit cost more than simply driving down hardware prices. A high-end cluster left idle long-term wastes more than hardware that costs a bit more up front.
7. Selection Recommendations and Verification Checklist
7.1 Selection recommendations
- For feature validation only: choose Tier 1, first getting load, routing, long-context, and concurrency APIs working end to end.
- For long-term single-user use: choose Tier 2, prioritizing VRAM capacity and single-node bandwidth.
- For 10 concurrent streams: do not jump straight to 64 cards. First validate expert routing balance, continuous batching, and prefill scheduling on an 8- or 16-card machine, then scale out horizontally.
Beyond self-hosting, consider a hybrid model of “resident baseline + cloud elastic peak”: store the weights in public cloud object storage, spin up GPU cloud servers on demand, and track VRAM, bandwidth, interconnect, and latency metrics through cloud monitoring. If you lack experience in parallel partitioning, heterogeneous deployment, or cost governance, you can bring in technical support from a cloud provider or a specialist vendor.
7.2 Verification checklist after weights are released
- Size verification: measure the true weight volume, scale factors, and non-quantized tensors; calibrate the 1.49 TB and 1.6 TB budgets.
- Structure verification: count layers, attention dimensions, number of experts, and KV/hidden-state formats; recompute read volume per token.
- Precision verification: compare native 4-bit and 8-bit weights on perplexity and task suites.
- Function verification: verify load, routing logs, long-context continuation, concurrent requests, and error recovery.
- Performance verification: measure tps, P50/P95/P99 latency, VRAM, and interconnect traffic under single-stream and 10-concurrent loads using a real prompt set.
- Stability verification: run soak tests for hot experts, load imbalance, long-input bursts, and faulty-card failover.
- Supply chain verification: watch accelerator price fluctuations, delivery lead times, and data-center power, cooling, and floor-loading conditions.
In the end, “how much does on-premises deployment cost” depends on the definition of success: just over 100,000 RMB gets it running, millions of RMB achieve smooth single-user use, and only the tens-of-millions range can reach 10 concurrent streams at 25 tps each while preserving 4-bit precision. What truly decides success is not the budget number, but accurately modeling the four constraint categories: capacity, bandwidth, interconnect, and compute.
