Cost Estimation and Practical Considerations for Deploying a Trillion-Scale MoE Model On-Premises
Deploying a large-scale Mixture-of-Experts (MoE) model with roughly 2.8 trillion parameters is not a question of a single price tag but rather a spectrum of costs driven entirely by your performance targets. This article breaks down the real hardware requirements across three deployment tiers—minimal output, single-user streaming, and multi-user production—calculating the memory footprint of quantized weights, KV Cache overhead, and the number of accelerators required at each level. From a low-budget CPU-offload server costing tens of thousands of dollars to a full 64-GPU supernode cluster in the millions, we analyze the architectural bottlenecks, explore partial expert offloading strategies, and provide a practical framework for deciding whether on-premises deployment or API calls make more economic sense for your specific needs.
Cost Estimation and Practical Considerations for Deploying a Trillion-Scale MoE Model On-Premises
1. The Bottom Line: Your Deployment Goal Defines the Budget
Before discussing the cost of deploying an ultra-large model on-premises, one critical fact must be established: the deployment cost is not a single number, but a range dictated by your performance objectives. In practice, on-premises deployment needs fall into three distinct tiers:
- Minimal Viability: You don’t care about speed as long as the model produces tokens, even at a few tokens per second.
- Single-User Streaming: A single user experiences a smooth, interactive output speed of approximately 25 tokens per second (tps), comparable to average reading speed.
- Multi-User Production: Supports 10 concurrent users, each maintaining an output speed of no less than 25 tps. This is the minimum standard for a service exposed to external users.
The hardware investment between these tiers can differ by one to two orders of magnitude. This article uses one of the largest publicly disclosed MoE models (approximately 2.8 trillion total parameters, 896 experts, with 16 experts activated per token) as a case study to break down the cost structure at each tier. It is important to note: since the full model weights are not yet publicly available, all memory and speed figures are estimates based on architectural parameters. Any real deployment must be validated with benchmarking before finalizing budgets.
2. The Core Calculation: Estimating Minimum Memory and Storage
2.1 The Storage Logic of MoE
A key characteristic of the MoE architecture is that memory footprint scales with total parameters, while compute scales with activated parameters. Although only about 1.79% of experts (16 out of 896) are activated per token, routing is dynamic—any expert could be selected for the next token. Therefore, you must keep all experts in addressable storage and retrieve them on demand during inference. A low activation ratio saves compute and power, but it does not reduce storage procurement costs.
2.2 Minimum Data Size After Quantization
Assume the model was trained with quantization awareness, using MXFP4 for weights and MXFP8 for activations. Under the OCP specification, MXFP4 stores a single 8-bit scale for every 32 4-bit elements, resulting in an effective storage cost of 4.25 bits per element. The baseline calculation is:
Weight Storage ≈ 2.8T × 4.25 bits ÷ 8 ≈ 1487.5 GB
This is the lower bound for raw data only. A real deployment adds these factors:
- Non-4-bit tensors (embedding layers, output heads, some normalization parameters).
- Metadata and memory alignment overhead.
- Inference runtime workspace (intermediate activations, routing buffers).
- KV Cache, which scales with context length and concurrency—it is the most frequently underestimated component in concurrent scenarios.
A rough estimate puts real usable storage requirements 20% to 40% higher than the bare weights.
2.3 A Reference Point
For context: a mainstream 671B-parameter MoE model requires approximately 685GB of weights in FP8 format. When quantized to 4-bit, the weights shrink to roughly 335GB. Adding activations and runtime overhead, you need around 400GB to run on a single 8-GPU server (with a combined 640GB of HBM). The 2.8-trillion-parameter model is more than four times that size—this is the basis for the lower-bound estimate: you need close to 1.5TB of high-speed storage just for the weights.
3. Tier 1: Minimal Viability — The Heterogeneous Offloading Approach
3.1 Why This Works
The goal here is simple: fit nearly 1.5TB of weights into addressable storage and get the model to generate tokens. The most direct approach is GPU + CPU heterogeneous inference, which exploits a structural feature of MoE:
- Attention components (including gating and linear attention modules): present in every layer, compute-intensive, stay on the GPU.
- Sparse experts: account for most of the parameter count, but only a fraction is activated per step. Offload these to CPU memory, letting a large-memory server feed the GPU.
A multi-socket server with 1.5TB or more of system RAM, paired with one or two consumer-grade or entry-level data center GPUs, is sufficient to run the model.
3.2 Performance Expectations and Budget
Public data from comparable solutions running a 671B model at 4-bit quantization (around 377GB) shows: a dual-socket high-end server with a single consumer flagship GPU achieves prefill at roughly 200+ tokens per second and decode at approximately 14 tps. With the 2.8-trillion-parameter model, the experts are larger and memory access pressure is higher, so decode speed will likely drop to single digits per second.
Budget Reference: A dual-socket server with 512GB to 2TB of RAM costs approximately $15,000 to $45,000 USD, plus $3,000 to $15,000 for GPUs. Total investment lands somewhere between $20,000 and $60,000. Be aware that some inference frameworks implement expert selection or caching strategies that may produce outputs differing from official benchmarks. Validation should always be done with your own production prompts.
3.3 Who Is This For?
Individual researchers, data-sensitive organizations that require offline environments, and early adopters willing to trade time for cost. If your workload is “run overnight batch processing and wait,” this tier is sufficient.
4. Tier 2: Single-User Streaming at 25 tps — The Full-GPU Threshold
4.1 The Bottleneck
Decode is memory-bandwidth-bound for each individual token: for every generated token, the activated expert weights must be moved from storage to compute units. When the weights reside primarily in CPU memory, PCIe bandwidth becomes the limiting factor. To achieve 25 tps, the activated weights must be resident in GPU memory or a high-bandwidth interconnect domain.
4.2 Configuration Estimate
Even with 4-bit quantization, nearly 1.5TB of weights requires at least 25 accelerators with 80GB of memory each. Adding KV Cache and runtime overhead, a realistic starting point is 32 GPUs. At $12,000 to $22,000 per accelerator (typical for high-end data center GPUs), the raw cards alone run to $380,000 to $700,000. Including servers, NVLink-class interconnects, networking, storage, and power infrastructure, the total lands in the $550,000 to $1,100,000 range.
4.3 A Middle Path
Teams with constrained budgets that still need acceptable speed can consider a compromise: pin the most frequently routed experts (based on statistical routing frequency) to GPU memory, while keeping the long tail offloaded. This approach provides significant speedup, but the gains depend on how concentrated the expert distribution is in your workload—it must be validated with real traffic.
5. Tier 3: 10 Concurrent Streams at 25 tps — Supernodes and Communication Bottlenecks
5.1 Why Concurrency Is Not a Simple “x10”
Large-scale MoE inference is extremely sensitive to all-to-all communication bandwidth. With 896 experts spread across many accelerators, each token requires its activations to be shipped to the node hosting the target expert and then sent back after computation. Higher concurrency means more tokens in flight and more frequent transfers, and communication latency can directly negate compute gains. The industry standard solution is to build a “supernode”—a cluster of dozens of accelerators connected by high-bandwidth interconnect, containing the entire expert communication domain within a single high-speed fabric.
5.2 Budget Scale
To support 10 concurrent streams at 25 tps each, while accommodating the KV Cache for real context lengths, a sensible configuration is 64+ data center accelerators, comprising a full 8-node supernode cluster. Including hardware, network, liquid cooling/power upgrades, the total investment typically falls between $1.4 million and $2.8 million. Operating costs—electricity and maintenance—run high as well: such a cluster draws hundreds of kilowatts at full load.
5.3 The Comparison You Must Make
At this budget level, you must compare against API calls. Even at a premium per-million-token price, $1.4 million in hardware is equivalent to hundreds of millions of API calls. Unless you have strict data compliance requirements, a hard offline mandate, or a consistently massive call volume, building your own infrastructure is rarely the purely economic winner.
6. Decision Framework
| Tier | Core Configuration | Budget Range (USD) | Typical Use Case |
|---|---|---|---|
| Minimal Viability | Large-memory server + 1–2 GPUs | $20,000 – $60,000 | Research, offline batch processing |
| Single-User 25 tps | ~32 accelerators, full-GPU | $550,000 – $1,100,000 | High-compliance, single-team internal use |
| 10 Concurrent 25 tps | 64+ accelerators, supernode | $1.4M – $2.8M | Production-grade external service |
Three practical recommendations to close:
- Calculate your KV Cache budget before buying hardware: In concurrent scenarios, it is frequently the last straw that breaks the memory budget.
- Re-benchmark after weights are released: Quantization schemes, context length, and expert routing policies will all significantly shift the real-world numbers.
- Think in terms of totals: For MoE, memory follows total parameters, compute follows the activation ratio. Confusing the two is the root cause of runaway deployment budgets.
