How to Estimate Local Deployment Costs for a 2.8T MoE LLM
This article explains how to estimate the local deployment cost of a roughly 2.8-trillion-parameter sparse MoE model. It breaks the problem down into memory, quantization, communication, compute, and total cost, clarifies why memory is driven by total parameters while expert activation mainly affects compute, and provides three deployment tiers with rough hardware and cost estimates for validation, single-user use, and high-concurrency use.
How to Estimate Local Deployment Costs for a 2.8T MoE LLM
As 2.8-trillion-parameter sparse MoE models gradually become available, more developers are seriously evaluating a practical question: to deploy one on their own hardware, how much GPU memory, how many accelerator cards, and how much money are required? There is no fixed number. The answer depends on what “running it” means: only generating tokens, reaching 25 tokens per second (tps) for one user, or supporting 10 concurrent requests with each request staying above 25 tps. Using a sparse MoE model with about 2.8 trillion total parameters as the reference, this article breaks deployment into five parts—memory, quantization, communication, compute, and cost—and provides a reusable estimation framework.
A note upfront: because the full weights, architectural details, and benchmark data for this class of model may not be fully available soon after release, the speed, memory, card-count, and cost numbers below are mostly engineering estimates. For real deployment, validate them with actual hardware benchmarks and vendor quotes.
1. First, distinguish expert activation ratio from memory savings
The reference model has about 2.8 trillion total parameters and uses a MoE architecture with 896 experts. After routing, each token activates only 16 experts, an expert activation ratio of about 1.79%. This means the number of parameters actually involved in a single forward pass is approximately:
2.8 trillion × 16 / 896 ≈ 50B
So, although the total parameter count is close to 2.8 trillion, each token involves about 50B parameters in computation.
One point is easy to misunderstand: the expert activation ratio is not the same as a strict parameter activation ratio. It measures how many experts participate in each forward pass. It directly affects compute consumption, not memory usage.
The key conclusion is that MoE deployment memory should be calculated from the total parameter count. The activation ratio only affects compute. All 896 experts must be loaded into addressable storage, and only 16 of them are dynamically selected for computation according to routing. This means that even if a token uses only a small portion of the parameters, you still pay the full memory cost for having the entire model ready at all times.
Also note that although the expert activation ratio reduces the compute for a single token, prefill compute, KV cache, and memory usage grow with context length and concurrency. When estimating cost, you cannot look only at the parameter activation ratio. You must also include the extra overhead from long context and multiple concurrent requests.
2. Quantization sets the lower bound for weights: 4-bit is not a universal solution
The model introduces quantization-aware ideas from the training stage. A commonly cited public format is 4-bit weights with 8-bit activations in a micro-scaling format, namely MXFP4 weights / MXFP8 activations. This allows an estimate of the physical lower bound for weights.
The naive lower bound is: converting 2.8 trillion parameters to 4-bit gives about:
2.8T × 4 bit ÷ 8 ≈ 1400GB
But MXFP4 is not only 4-bit raw data. Under the open compute format, each 32 4-bit elements in MXFP4 usually also has an 8-bit scaling factor attached. This means each weight element is effectively about 4.25 bits, so:
2.8T × 4.25 bit ÷ 8 ≈ 1487.5GB
This is still only the weights themselves. Actual deployment also needs to add some non-4-bit tensors, biases, normalization parameters, model metadata, memory alignment, runtime workspace, and KV cache that grows with context. Therefore, just “fitting the model in” requires at least 1.5TB of addressable storage.
A safer selection recommendation is to reserve 20% to 30% headroom on top of the 1.5TB+ baseline. In other words, if only basic weights are considered, plan for at least 2TB of addressable storage. If the context is long or concurrency is high, the headroom should be increased further.
Another often-overlooked prerequisite is hardware dependency. MXFP4 and MXFP8 are not natively supported by all accelerators. If the hardware does not support native MXFP4, software dequantization or mixed-precision fallback is required. After dequantizing to bf16, the 2.8-trillion-parameter weights are about:
2.8T × 2 byte = 5.6TB
5.6TB is already far beyond the capacity of a single card or a small number of cards. Therefore, before discussing cost, you must first confirm whether the hardware natively supports MXFP4 or a similar low-bit format, or whether it can only run with bf16. The former is the basis for a low-cost estimate; the latter directly raises the hardware threshold.
3. Horizontal reference: how a 671B-class MoE differs from a 2.8-trillion-parameter model
To better understand the scale of a 2.8-trillion-parameter model, it helps to compare it with a 671B-class open-source MoE model.
In FP8 format, that reference model has about 671B main parameters plus about 14B additional parameters, totaling about 685GB. Even with activation-aware 4-bit weight quantization, it still needs about 335GB of weights plus about 37GB of activations, totaling about 400GB, just to fit into 8 data-center-class 80GB accelerator cards, or 640GB of total GPU memory.
The 2.8-trillion-parameter model referenced here has more than four times the parameter count of the 671B-class model. Therefore, its memory threshold should roughly scale up by about four times. However, the communication domain and parallelism scale need to be considered separately. More parameters mean not only more weights to store, but also more pressure on expert placement, routing transfers, and inter-card communication.
So, you cannot simply say that if the parameter count increases by a few times, the cost increases by the same few times. The memory lower bound scales with parameter count, while communication complexity and engineering difficulty may increase nonlinearly.
4. Communication bottleneck: 896 experts amplify all-to-all overhead
Even if memory is sufficient, whether the model can run fast depends on inter-card interconnect. Large-scale MoE inference is very sensitive to inter-card all-to-all communication bandwidth. The 896 experts are split across multiple cards. After routing, each token’s activations must be moved to the card where the target expert resides for computation, then moved back after computation.
When experts are spread across tens or hundreds of cards, this high-frequency, small-packet movement creates significant communication overhead. Communication latency directly consumes compute that could otherwise be used for useful work and may even become the main bottleneck for throughput.
From an engineering perspective, it is common to recommend using more than 64 accelerators as a “super node” to host this class of model. The value of a super node is not simply to pile up memory. It uses high-speed inter-card interconnect buses to enlarge the communication domain, keeping most token transfers inside a single high-speed communication domain and avoiding slow networks as much as possible.
With these two points in mind—memory is calculated from total parameters, and performance is constrained by communication—the three deployment tiers below have clear corresponding strategies.
5. Three deployment tiers: configurations and cost breakdown
Tier 1: It runs, but speed does not matter
The goal is simple: load the nearly 1.5TB of weights into addressable storage and let the model output tokens, even if only a few tokens per second.
The most direct and cheapest approach is CPU+GPU heterogeneous inference. The core insight comes from the structure of each MoE layer: each layer has a shared attention part, which is compute-intensive and suitable for GPUs. The 896 sparse experts, which account for most of the storage, only activate 16 experts per layer and can be offloaded to CPU memory in a large-memory server and fetched on demand.
A typical configuration for this tier is a large-memory server with multiple CPUs and at least 2TB of physical memory recommended, plus 1 to 4 workstation-class or high-end consumer GPUs to handle attention computation. Because you need to reserve space for KV cache, runtime, memory alignment, and headroom, physical memory should not be limited strictly to the 1.5TB lower bound. 2TB or more is safer.
The total hardware investment is roughly on the order of tens of thousands to low hundreds of thousands of RMB. The tradeoff is very slow speed. Due to CPU memory bandwidth and PCIe transfer efficiency, output speed is often only a few tokens per second. This tier is suitable for functional validation and single-request offline batch processing, not interactive dialogue.
Tier 2: Single user, 25 tps output
At this tier, “it runs” becomes “it is usable,” and the bottleneck shifts from “fitting it in” to “feeding it fast enough.” To achieve smooth output at 25 tps, you need to improve both compute and memory bandwidth while reducing data movement for each layer.
Feasible directions include: keeping more layers and more experts resident in high-bandwidth GPU memory to reduce repeated CPU-GPU transfers; applying low-bit or mixed-precision processing to non-4-bit tensors on top of MXFP4; optimizing KV cache management and batch scheduling; and ensuring that the CPU side has enough memory channels to provide bandwidth.
The cost premise must be stated here. If a large amount of CPU offloading is still retained and high-bandwidth accelerators are used only for some critical layers, the hardware investment may be on the order of hundreds of thousands to millions of RMB. This premise must be clear: it is estimated based on an engineering prototype using MXFP4 weights, mixed precision, partial residency, and partial offloading.
If the requirement is to keep the 2.8-trillion parameters resident in memory with bf16, the weights alone are about 5.6TB. This requires at least 70 80GB cards, not including KV cache, runtime, and redundancy. At that point, the cost can no longer be covered by “hundreds of thousands of RMB” and should be re-evaluated on the scale of several million RMB to tens of millions of RMB.
Therefore, the key for Tier 2 is not simply to say “you need many cards.” It is to first determine three things: whether weights are resident in MXFP4, which layers must be resident, and whether CPU offloading is acceptable. Different assumptions lead to completely different costs.
Tier 3: 10 concurrent users, each above 25 tps
This is the most demanding tier: it must support 10 concurrent requests while keeping each request above 25 tps, and the quantization level should not be reduced too much. Concurrency multiplies two resource consumptions: compute and KV cache.
Ten concurrent requests mean the GPU memory must hold 10 growing context caches at the same time. Expert routing for any request triggers cluster-wide communication, and all-to-all pressure increases with concurrency. If a large amount of CPU offloading is still used at this point, single-card bandwidth and PCIe transfers quickly become bottlenecks and make it difficult to sustain stable low-latency output.
To satisfy both low latency and high concurrency, there is basically only one path: full deployment. Load as many weights as possible resident into high-bandwidth accelerator memory, and use more than 64 accelerators as a super node, relying on high-speed interconnect to enlarge the communication domain.
It should be emphasized that more than 64 cards is not derived solely from the memory lower bound. With a rough MXFP4 calculation, the weights are about 1.5TB, which theoretically does not require 64 80GB cards just to fit them. Choosing the 64-card scale is more about shrinking the all-to-all communication domain and keeping expert parallelism and routing transfers within the high-speed interconnect range.
For cost, if you estimate using MXFP4 weights, a 64-card scale, and mainstream data-center-class 80GB accelerator cards, GPU procurement alone could reach several million RMB. Using a public market price range of RMB 50,000 to RMB 100,000 per card, the GPU cost for 64 cards is about RMB 3.2 million to RMB 6.4 million. Adding servers, high-speed networking, storage, power, cooling, racks, and redundancy, the overall cluster should usually be planned at the ten-million-RMB scale and above.
If bf16 full residency is insisted upon, the weights are about 5.6TB, requiring at least 70 80GB cards, and hardware plus supporting costs will rise further. Therefore, a more reasonable description for Tier 3 is not “several million RMB,” but “starting from the ten-million-RMB scale.”
6. One-page calculation: decode, prefill, and KV cache
To make the cost estimate more reusable, here is a one-page calculation. All numbers are rough engineering estimates. Actual results should be based on the model architecture and benchmark tests.
1. Activated parameters
Total parameters are about 2.8 trillion, and the expert activation ratio is about 1.79%:
2.8T × 1.79% ≈ 50B
So each token involves about 50B parameters in computation.
2. Decode compute
For Transformer-like models, single-token decode can roughly be estimated as twice the activated parameters:
2 × 50B = 100GFLOPs/token
If the target is 10 concurrent users with 25 tps each, the total output speed is:
10 × 25 = 250 token/s
The corresponding decode compute is:
250 × 100GFLOPs = 25TFLOPs
This does not look particularly high, but the real bottleneck during decode is often not peak compute but weight-reading bandwidth.
3. Decode and weight bandwidth
Assume a single card holds about 50GB of weights resident. Each token generated requires reading these weights. Based on 100GFLOPs / 50GB, the arithmetic intensity is about:
2 FLOPs/Byte
This means decode is more sensitive to GPU memory bandwidth. If inter-card communication also needs to transfer expert routing, bandwidth pressure increases further.
4. Prefill and time to first token
The prefill stage processes the input prompt. If a single input has 8k context, roughly estimated at 100GFLOPs per token, the activated weight computation for a single request is about:
8000 × 100GFLOPs = 800TFLOPs
This is only the backbone activation computation. Long-sequence attention adds additional compute. Therefore, prefill is usually more compute-intensive than decode, and time to first token is often much higher than the per-token interval.
5. KV cache estimation
KV cache depends on the number of layers, KV head dimension, precision, context length, and concurrency. A simplified formula is:
KV cache ≈ 2 × number of layers × total KV dimension × bytes per element × context length × concurrency
Without complete architectural parameters, we can make a conservative assumption: the attention part of the model has about 80 layers, and the KV cache per token is about 2 to 3MB. For an 8k-context single request, this is about:
8k × 2 to 3MB ≈ 16 to 24GB
For 10 concurrent requests, this is about:
160 to 240GB
If FP8 or lower-precision KV cache is used, the usage can roughly be halved. If the context expands to 32k, the usage can increase by several times.
The conclusion is clear: decode is mainly determined by weight bandwidth, prefill is mainly determined by compute, and concurrency is mainly determined by KV cache. A super node with more than 64 cards is not just for fitting weights; it is for shrinking the communication domain and reducing all-to-all latency.
7. Self-hosting vs cloud: rough token-price calculation
Putting the three tiers together shows that cost does not grow linearly. Going from “it runs” to “single-user usable” is one order-of-magnitude jump, and going to “multi-concurrency high throughput” is another order-of-magnitude jump. But hardware procurement is only the tip of the iceberg. There are three easily overlooked variables: utilization and amortization, operations and stability, and iteration speed.
The table below provides a rough framework for comparing self-hosting and cloud costs. Prices are order-of-magnitude estimates; actual costs should be based on vendor quotes.
| Option | Key assumptions | Rough annualized cost | Best fit |
|---|---|---|---|
| Self-hosted cluster | 64x80GB accelerator cards; servers, networking, and data-center setup about RMB 10 million; 3-year depreciation; power, cooling, and O&M about RMB 1 million per year; utilization about 30% | About RMB 3.5 million to RMB 4.5 million per year, roughly RMB 1,500 to RMB 5,000 per million tokens | Stable concurrency, long-term operation, team with O&M capability |
| Cloud annual commitment | Comparable card types on annual lease; single-card monthly rent of tens of thousands of RMB; annual rent for 64 cards can reach the RMB 10 million scale; usually includes basic O&M and elastic scaling | On the RMB 10 million scale per year, depending on package, discounts, and utilization | Clear peaks, desire to reduce self-hosted O&M pressure |
| Cloud on-demand | On-demand unit price is usually higher than annual commitment; compare based on target utilization; suitable for elastic scaling | More economical at low utilization; high utilization needs to be compared with annual commitment | Validation, pronounced peak-and-valley traffic, frequent iteration |
For self-hosting, if expensive accelerators sit idle for a long time, the per-token cost can actually be higher. Suppose the self-hosted cluster can provide 250 token/s output at peak. If actual utilization is only 10%, a large amount of hardware cost is diluted by idle capacity. Only when utilization rises above 30% does the per-unit cost drop significantly.
For the cloud side, capabilities such as GPU instances, container services, and inference platforms from mainstream cloud providers can turn one-time hardware capital expenditure into usage-based operating expenditure. For volatile workloads, validation stages, or short-term peak scenarios, cloud elastic compute is usually more flexible. For long-term, high-concurrency, stable operation with O&M capability, self-hosting may be able to amortize costs better.
8. Conclusion: validate first, then choose based on business scale
Local deployment of trillion-parameter MoE models is essentially a three-way constraint among storage, compute, and interconnect. Memory is calculated from total parameters, which determines the lower bound of what can be loaded. The quantization format determines the specific value of that lower bound. Inter-card communication determines whether it can run well after being loaded.
The three tiers correspond to three very different hardware forms and cost scales:
- Tier 1: It runs. Mainly a large-memory server plus CPU offloading, with hardware investment of about tens of thousands to low hundreds of thousands of RMB, suitable for validation and offline tasks.
- Tier 2: Single user at 25 tps. Under the premises of MXFP4 or mixed precision, partial residency, and partial offloading, it may require hundreds of thousands to millions of RMB; if bf16 residency is required, the cost needs to be re-evaluated at the ten-million-RMB scale.
- Tier 3: 10 concurrent users, each above 25 tps. This usually requires a super node with more than 64 cards and full residency. Based on a rough MXFP4 estimate, the overall plan should start from the ten-million-RMB scale.
The rational approach is not to ask at the beginning, “Should I buy cards?” Instead, first use a low-cost Tier 1 solution to validate feasibility. Then, based on the real business’s concurrency, latency, and context length, decide whether to increase self-hosted investment or switch to cloud elastic compute, turning heavy capital expenditure into controllable operating expenditure.
All of the above are order-of-magnitude estimates. Please verify them with the actual model architecture, benchmark results, card prices, and cloud-provider quotes.
