Estimating VRAM and Total Cost for On-Premises Deployment of a Trillion-Parameter MoE Model
Deploying a roughly 2.8-trillion-parameter Mixture-of-Experts model on-premises is not simply a matter of fitting 4-bit weights into GPU memory. The full expert set must remain rapidly accessible, while KV cache, runtime overhead, communication buffers, networking, power, cooling, redundancy, and operations can determine the actual cost. This article estimates the memory floor, explains why MoE communication is expensive, outlines accelerator requirements, and compares full local deployment, smaller models, and hybrid architectures.
1. Problem Definition: On-Premises Deployment Is About Stable Service, Not Just Loading the Model
When evaluating whether a roughly 2.8-trillion-parameter MoE model can be deployed locally, one of the most common mistakes is to interpret sparse activation as a proportionally small memory requirement. In this architecture, all model parameters must first reside in storage that can be accessed quickly. During inference, the routing module selects a small number of experts for each token.
In other words, the activation ratio primarily affects compute, communication, and energy consumption. It does not directly reduce the lower bound for resident model weights.
The value of on-premises deployment usually comes from three factors:
- Data remains within the organization’s security boundary.
- Latency and throughput can be controlled.
- Long-term costs are more predictable.
For trillion-parameter MoE models, however, private deployment is first and foremost a systems engineering problem. VRAM capacity is only the entry requirement. High-bandwidth interconnects, parallelism strategies, KV-cache growth, scheduling fragmentation, power and cooling, spare capacity, and operational expertise are also critical. A simple calculation based only on “parameter count × bit width” can underestimate the real investment by more than half.
2. The VRAM Floor: Why 2.8 Trillion Parameters Cannot Fit into a Few Hundred Gigabytes
A key characteristic of MoE models is that they combine a very large total parameter count with relatively sparse per-token computation. Assume the model contains approximately 896 experts and routes each token to 16 of them. The activation ratio is therefore about 1.79%.
This ratio means that only a small portion of the expert weights is accessed during each forward pass. It does not change the deployment requirement that all 896 experts may be selected by later tokens and must therefore remain available. If a requested expert is not resident, it must be loaded from slower storage, causing latency to become unpredictable.
Suppose the model uses a quantization-aware format in which weights are close to 4-bit and activations are close to 8-bit. If every 32 low-bit elements also carry an 8-bit scale factor, a common block-wise low-precision layout results in an effective weight width of approximately 4.25 bits rather than exactly 4 bits. The rough calculation is:
Weight lower bound ≈ parameter count × effective bit width ÷ 8≈ 2.8T × 4.25 ÷ 8≈ 1,487.5 GB
This is only the idealized raw size of the weight elements and block scales. A real deployment must also account for:
- Tensors that are not quantized to low precision
- Vocabulary and normalization parameters
- Routing tables and expert metadata
- Page tables and alignment padding
- Communication buffers
- CUDA kernel workspace
- Runtime handles
- Health-check snapshots
- KV cache, which is often underestimated
KV-cache usage can be estimated with the following general formula:
KV bytes ≈ 2 × number of layers × hidden dimension× bytes per element × effective token countEffective token count ≈ concurrent sessions × average context length
Long contexts and high concurrency can turn the KV cache from a secondary overhead into a second major memory requirement. For example, offline batch evaluation can use lower concurrency in exchange for throughput. Online question answering, coding assistants, and agent workflows often involve long contexts, multiple retrieval rounds, and bursty concurrency. KV cache and scheduling headroom must therefore be sized for peak conditions rather than average usage.
For this reason, 1,487.5 GB should be treated as the raw lower bound for weights, not as a production memory target. A more practical starting point is to estimate total requirements for resident weights, runtime overhead, and KV cache at approximately 1.8 TB to 2.6 TB, with the final value depending on context length, concurrency, parallelism, and redundancy requirements.
A claim that “1.4 TB of VRAM is enough for full-scale operation” may be valid for demonstrating model loading, but it is not an appropriate assumption for production traffic.
3. Sparse Activation Does Not Mean Sparse Communication
MoE inference performs a repeated routing cycle for every token and every layer:
- Route the token.
- Dispatch it to the target expert.
- Execute the expert computation.
- Gather the result back into the original parallel group.
When experts are distributed across multiple accelerators, activations must travel across devices to reach the selected experts. After computation, the results must be sent back. This all-to-all traffic is highly sensitive to interconnect bandwidth and network topology.
A smaller communication domain restricts expert placement and routing flexibility. A larger domain provides more routing freedom, but increases infrastructure cost.
The cost can be viewed as two separate curves:
- Compute curve: Grows with the number of activated experts, sequence length, and batch size, determining theoretical FLOPs.
- Communication curve: Grows with expert placement distance, routing entropy, parallelism strategy, and payload size, determining effective performance.
Once communication latency begins to dominate compute time, adding more accelerator compute does not produce a linear throughput increase. In some cases, adding more cards can increase waiting time instead.
This is why very large MoE deployments generally require communication domains containing dozens or more accelerators, connected by high-bandwidth interconnects. Homogeneous high-speed links, topology-aware parallelism, and balanced expert placement help keep the movement of frequently selected tokens within a low-latency domain.
Engineering evaluations should begin with three questions:
- How much usable memory and bandwidth can a single communication domain provide?
- Can cross-domain traffic be reduced to an acceptable proportion?
- When routing becomes imbalanced, does the system support dynamic migration or capacity penalties?
4. Estimating Accelerator Count: From “Fitting the Weights” to Peak Headroom
Assume the deployment is planned around 2.5 TB of effective memory demand. If each accelerator provides 80 GB of usable memory, approximately 32 cards would be required just to hold the theoretical weight footprint. This does not yet include KV cache, communication buffers, pipeline bubbles, fault isolation, or rolling-deployment redundancy.
A higher-memory accelerator can reduce the card count, but it may increase interconnect constraints and the impact of individual failures. For production systems, a common approach is to apply a safety factor of 1.3× to 1.8× to the minimum capacity, then determine whether the target SLO requires a single communication domain with more than 64 accelerators.
A neutral estimation script could look like this:
params = 2.8e12weight_bits = 4.25weight_gb = params * weight_bits / 8 / 1e9kv_gb = estimate_kv(layers, hidden, bytes_per_elem, concurrency, ctx_len)runtime_gb = 0.15 * weight_gb # buffers, alignment, handles, and related overheadsafety = 1.35 # peak load, fragmentation, and redundancyneed_gb = (weight_gb + kv_gb + runtime_gb) * safetycards = ceil(need_gb / usable_mem_per_card)power_kw = cards * card_tdp_kw * pue * headroom
The important point is not any single fixed number. The goal is to make the variables explicit:
- Context length
- Concurrency
- Quantization format
- Expert-parallelism strategy
- Usable memory per accelerator
- PUE
- Electricity price
- Depreciation period
- Operations staffing
When evaluating procurement options, organizations should require benchmark and stress-test reports based on these variables rather than relying on marketing statements about the maximum parameter count supported.
5. Cost Structure: CAPEX Is Only the Beginning
The cost of a full-scale on-premises deployment can be divided into five categories.
1. Accelerator and server infrastructure
This includes accelerators, complete servers, CPUs, system memory, local NVMe storage, and high-speed network adapters.
2. High-bandwidth interconnects
This includes switches, optical modules, cables, topology management, and congestion control.
3. Data-center infrastructure
This includes racks, power distribution, UPS systems, cooling, fire protection, structural load requirements, and network connectivity.
4. Software stack
The software layer covers container platforms, scheduling, inference frameworks, logging, monitoring and alerting, object storage, and image registries.
5. Ongoing operations
Operational costs include electricity, spare parts, on-call coverage, failure drills, model upgrades, and security and compliance work.
The recommended approach is to calculate total cost of ownership rather than looking only at equipment prices. A three-year or five-year TCO model should combine hardware depreciation, electricity, maintenance, rack space, bandwidth, labor, and opportunity cost. It should then be compared with the cost per successful request.
A common mistake is to use peak throughput to spread the cost while ignoring low utilization during normal business periods. If average daily utilization remains below 30% for an extended period, the apparent cost control of a large private cluster may be offset by idle capacity. When data-compliance requirements are strict and workloads are stable, however, private deployment may provide meaningful predictability and control.
6. Practical Deployment Paths: Full-Scale Local, Smaller Model, or Hybrid
There are three primary deployment paths.
Full-scale local deployment
This option is suitable for organizations with strict compliance requirements, high and stable workloads, and the required data-center and operations capabilities. It has the highest entry barrier, but provides the clearest data boundary.
Smaller or optimized models
Organizations can use a model with fewer parameters, apply more aggressive quantization, use distillation, or limit context length and concurrency. The objective changes from reproducing full-scale model capability to meeting a defined business threshold. For many enterprise deployments, this offers a more realistic return on investment.
Hybrid architecture
Sensitive data can remain on-premises while general-purpose peak traffic is handled by elastic compute capacity. For neutral cloud-capability evaluations, comparisons can focus on categories such as object storage, container platforms, logging, monitoring and alerting, and GPU resource pools, rather than being tied to a particular product or vendor.
Regardless of the selected path, acceptance criteria should be defined at the business and service levels:
- Time to first token
- Steady-state throughput
- P95 and P99 latency
- Long-context performance degradation
- Expert hotspot imbalance rate
- Failure recovery time
- Energy consumption and cost per 1,000 requests
Only when these service metrics are evaluated together with TCO does the question “How much does local deployment cost?” become a meaningful operating decision rather than a simple hardware-sizing exercise.
7. Conclusion
For an MoE model with approximately 2.8 trillion parameters, local deployment is not a matter of multiplying the parameter count by 4 bits. The system must accommodate the full expert set, KV cache, runtime overhead, and communication headroom, while providing enough high-bandwidth interconnect capacity for token routing and expert execution.
With block-wise low-precision storage, the raw weight lower bound is approximately 1.5 TB. A production-ready design normally requires substantially more. For stable online service, a high-bandwidth communication domain containing dozens or more accelerators is a more realistic starting point.
The final budget is determined jointly by memory, interconnects, power, data-center infrastructure, software, and utilization—not by the price of an individual accelerator alone.
