Trillion-Parameter MoE LLM Local Deployment: Hardware Thresholds and Cost Estimation
This article explains the hardware requirements and cost estimation framework for locally deploying a trillion-parameter Mixture-of-Experts (MoE) large language model, using a model with approximately 2.8 trillion total parameters as a reference. It clarifies that MoE VRAM usage is determined by total parameters rather than activated experts, estimates the 4-bit weight footprint, and compares three deployment tiers: minimum runnable setup, single-user throughput above 25 tokens/s, and 10 concurrent users with at least 25 tokens/s each. It also highlights why inter-card communication bandwidth and high-speed interconnect become the main bottleneck at higher tiers, and provides a practical cost estimation formula.
Introduction: Why Local Deployment of Trillion-Parameter Models Is Hard
When a large language model reaches the trillion-parameter scale, local deployment is no longer simply a matter of buying a GPU and running it. It becomes a systems engineering problem that requires balancing VRAM capacity, memory bandwidth, inter-card communication, and concurrency.
Many people immediately ask how much an accelerator costs. However, the real answer depends on the desired service level and performance target. A model can sometimes be loaded with enough hardware, but still be too slow for practical use.
This article uses a MoE model with approximately 2.8 trillion total parameters as a reference. It breaks the deployment problem into several computable and decision-making layers. The VRAM, throughput, and hardware-scale numbers mentioned here are engineering estimates based on public architecture information. They are intended to help build a judgment framework, not to provide an exact quote. In a real deployment, always validate the requirements against the target model’s actual weights and measured benchmarks.
1. What a Trillion Parameters Means for VRAM
1.1 MoE VRAM Logic: Count Total Parameters, Not Activated Parameters
This is one of the most commonly misunderstood points.
The reference model uses a MoE architecture with 896 experts. During inference, each token activates only 16 of these experts. Therefore, the expert activation ratio is approximately:
16 / 896 ≈ 1.79%
A natural but incorrect assumption follows: if less than 2% of the parameters are activated, should VRAM usage also be only about 2% of the full model?
The answer is no.
The activation ratio affects compute consumption, measured in FLOPs, but it does not directly reduce VRAM usage. During inference, expert routing is dynamic. You cannot know in advance which experts the next token will activate. As a result, the weights of all 896 experts must remain resident in VRAM. When a token is routed to a particular expert, the relevant expert weights are used temporarily for computation.
A useful analogy is a library. You may borrow only 16 books at a time, but the entire library and all of its shelves must still exist.
Conclusion: MoE VRAM usage should be calculated based on total parameters. This is the first-order factor determining the hardware threshold.
1.2 How Far Can Quantization Reduce VRAM Usage?
The reference model introduces quantization-aware training, or QAT, starting from the supervised fine-tuning stage. This makes it more suitable for low-bit quantization. Its weights use a 4-bit microscaling floating-point format, while activations use 8-bit.
First, consider an idealized lower bound. If all 2.8 trillion parameters are converted to 4-bit:
2.8T × 4 bit ÷ 8 = 1400 GB
This is the raw data lower bound.
However, 4-bit microscaling is not pure 4-bit storage. Under the OCP microscaling specification, every 32 4-bit elements are accompanied by an 8-bit shared scale factor. This brings the effective size to approximately 4.25 bits per weight:
2.8T × 4.25 bit ÷ 8 ≈ 1487.5 GB
This is still only the weight footprint. In a real deployment, the following additional factors must be considered:
- Non-4-bit tensors, such as LayerNorm, embeddings, and some attention projection layers, may retain higher precision.
- Tensor metadata and memory alignment can introduce fragmentation.
- Runtime workspaces are required for activations, temporary buffers, and communication buffers.
- KV Cache grows approximately linearly with context length and concurrency, and can become substantial in long-context scenarios.
A simplified estimation script can capture the core logic:
# Weight VRAM lower-bound estimation for a single replica in 4-bit microscaling formattotal_params = 2.8e12 # Total parameters: 2.8 trillionbits_per_weight = 4.25 # 4-bit weight plus shared scale factor overheadweight_gb = total_params * bits_per_weight / 8 / 1e9print(f"Weight VRAM lower bound ≈ {weight_gb:.1f} GB") # Approximately 1487.5 GB# Rough estimation of KV Cache usagedef kv_cache_gb(layers, kv_heads, head_dim, seq_len, batch, bytes_per_elem=2):# 2 means storing KV Cache in FP16 or BF16 formatelems = 2 * layers * kv_heads * head_dim * seq_len * batchreturn elems * bytes_per_elem / 1e9
1.3 Comparison: Model Scale Determines the Hardware Threshold
For reference, a mainstream 671B-scale open-source MoE model requires approximately 685 GB in total for its main parameters and additional parameters when running in FP8.
Even if activation-aware weight quantization is used to reduce weights to 4-bit, the weights alone still require about 335 GB. Including activation overhead, the total requirement is approximately 400 GB. This is why such a model can run on 8 accelerators with 80 GB of VRAM each, providing 640 GB of total VRAM.
The trillion-scale model discussed in this article is more than four times larger than that 671B model. A simple extrapolation shows that its weights alone approach 1.5 TB, which is nearly four times the 4-bit deployment footprint of the 671B model.
This hard-determines the lower bound of VRAM required for full deployment.
2. Configuration and Cost Breakdown by Deployment Tier
Do not start by asking only how much it costs. First clarify the target service level. The following discussion divides deployment into three progressive tiers.
Tier 1: Minimum Runnable Deployment, With Performance Not a Priority
Goal: The model can load normally and generate outputs, even if token generation speed is slow.
Key configuration points:
- VRAM must first accommodate approximately 1.5 TB of 4-bit weights.
- Assuming 80 GB of VRAM per accelerator card,
1500 ÷ 80 ≈ 19cards are only enough to store the weights. - After adding KV Cache, runtime workspace, non-4-bit tensors, and memory fragmentation, at least 24 to 32 accelerator cards are practically required for stable startup.
- This is the minimum threshold for theoretical operation. Throughput may be too low for interactive use.
Cost components:
- Accelerator purchase or rental
- Servers capable of hosting multiple cards
- High-speed interconnect
- High-speed storage for weight loading
- Data center and power infrastructure
At this tier, the core issue is whether the model can be loaded, not whether it runs fast enough.
Tier 2: Single-User Output Speed Above 25 Tokens per Second
Goal: For a single user, output speed remains above 25 tokens/s, making the model usable for everyday question answering.
Why this is harder than Tier 1:
For a trillion-scale MoE model, 25 tokens/s is not an easy target. Generation speed is mainly determined by VRAM bandwidth and the efficiency of moving data during each decoding step, rather than compute capacity alone.
To reach this level, you need:
- Sufficient aggregate VRAM bandwidth across multiple cards.
- A better inter-card communication topology to reduce all-to-all overhead caused by expert routing.
- Enough reserved KV Cache capacity to support normal context lengths.
The number of required cards does not decrease significantly compared with Tier 1. However, the requirements for interconnect quality and memory bandwidth increase substantially. It is often necessary to organize multiple cards into a high-speed communication domain, commonly referred to as a supernode.
Tier 3: 10 Concurrent Users, With Each User Above 25 Tokens per Second
Goal: Serve approximately 10 concurrent requests while each user still maintains at least 25 tokens/s.
Why cost increases sharply:
- KV Cache grows approximately linearly with concurrency. Ten concurrent users can mean nearly ten times the context cache and VRAM overhead.
- Compute demand also grows nearly linearly, because more concurrent tokens require more expert parallel computation.
- Communication pressure increases sharply, because all-to-all traffic is amplified by both concurrency and sequence length.
This tier usually requires a full supernode-level cluster, built from tens of high-end accelerator cards connected through high-speed interconnect. The communication domain must be large enough to ensure that expert routing and data movement remain within a single high-speed domain.
This also explains why official deployment recommendations for this class of models often point to a scale of 64 or more accelerators within a supernode. The bottleneck is not compute. Communication bandwidth becomes the real constraint.
3. The Underestimated Key: Inter-Card Communication Bandwidth
Large-scale MoE inference is extremely sensitive to all-to-all communication bandwidth. This is one of the biggest differences from traditional dense models.
The principle is straightforward. The 896 experts are distributed across different accelerator cards. After routing, the activation values of each token must be moved to the card hosting the target expert for computation, and then moved back for subsequent processing.
As the number of cards increases and expert distribution becomes more spread out, communication latency can directly consume compute capacity. Even if each card has sufficient compute, overall throughput will remain limited if data cannot be moved efficiently.
Therefore, the correct approach to deploying such models is not simply to stack compute. Instead, focus on the following:
- Prioritize communication domain quality: Use high-speed inter-card interconnects and keep all-to-all traffic within one large communication domain as much as possible.
- Plan expert placement carefully: Reduce data movement across nodes and switching layers.
- Overlap communication with computation: At the framework level, hide communication overhead within computation where possible.
4. Cost Estimation and Decision Recommendations
The logic above can be condensed into a practical estimation framework:
| Deployment Tier | Core Goal | VRAM / Hardware Scale, Estimated | Key Constraint |
|---|---|---|---|
| Tier 1 | Run the model | Approximately 24 to 32 cards with 80 GB class VRAM | Whether the weights fit |
| Tier 2 | Single user at 25 tokens/s or higher | Similar card count, upgraded interconnect | VRAM bandwidth and interconnect quality |
| Tier 3 | 10 concurrent users at 25 tokens/s or higher | Full supernode-level cluster with tens of cards | Communication bandwidth and aggregate compute |
For the specific amount, it is better not to memorize a single number. Use a formula to estimate it yourself:
Total cost ≈ number of accelerators × market price per accelerator+ server and high-speed interconnect cost+ high-speed storage cost for weight loading+ data center, power, and operations as long-term expenses
The market price per accelerator can fluctuate significantly with supply and demand. Always use the actual quote at the time of procurement.
The number of required cards rises stepwise with the deployment tier, making it the dominant cost variable. However, interconnect, storage, and power-related costs should also not be ignored in long-term operations.
Conclusion
Local deployment of trillion-parameter MoE models is essentially a combined problem of VRAM capacity, communication bandwidth, and concurrency. To make a reasonable judgment, focus on three main points:
- VRAM is calculated based on total parameters. Sparse activation in MoE does not lower the VRAM threshold.
- Quantization can reduce the weight lower bound, but it cannot eliminate KV Cache and runtime overhead.
- As the deployment tier increases, the bottleneck shifts from VRAM to communication. Supernode-style high-speed interconnect is often unavoidable.
This estimation framework can help turn the vague question of cost into an engineering decision that can be checked tier by tier and parameter by parameter.
