Local Deployment of Very Large Mixture-of-Experts Models: VRAM Requirements and Cost Estimation
This article examines local deployment of very large mixture-of-experts models from a capacity-first perspective. It estimates the weight and GPU memory footprint of a 2.8-trillion-parameter model with roughly 104 billion activated parameters per token, compares three deployment targets—minimum viability, single-user 25 tokens/s, and 10 concurrent users at 25 tokens/s—and outlines cloud pricing samples, local TCO, and a stress-test checklist for capacity planning.
Conclusion First: The First Barrier to Local Deployment Is VRAM Capacity
When discussing whether very large mixture-of-experts models can be deployed locally, many people first think of buying several high-end consumer GPUs. But the threshold for these models is not peak compute first; it is VRAM capacity. Take a mixture-of-experts model with 2.8 trillion total parameters and about 104 billion activated parameters per token as an example. Although only part of the parameters are activated for each inference, all weights must still reside permanently in VRAM or in a storage tier that can be accessed quickly. Otherwise, full routing and computation cannot be completed.
If the model uses the official native 4-bit floating-point weight format, the weights themselves can be estimated as follows:
Weight bytes ≈ total parameters × bytes per parameter= 2.8e12 × 4 bit ÷ 8≈ 1.4e12 Byte≈ 1.4TB
Taking activation values, runtime buffers, KV cache, state space, and communication buffers into account, a single user actually needs about 1.5TB of GPU VRAM. It is especially important to distinguish “native 4-bit” from “post-quantization 4-bit”: native low-precision formats are usually consistent with the training or official release precision, and runtime dequantization overhead is lower. If the hardware cannot natively execute that format, the weights can only be dequantized at runtime. Capacity may be sufficient to fit the model, but performance, latency, and stability introduce additional uncertainty.
Therefore, this type of model is not a normal workstation project but a server-class project. The following sections break the discussion into three target tiers.
Tier 1: It Only Needs to Run, Speed Does Not Matter
From a theoretical capacity perspective alone, about 19 80GB accelerators or 11 141GB accelerators can cover the 1.5TB VRAM requirement. But “fitting” does not mean “running well.” If the hardware cannot natively execute the 4-bit weight format, runtime dequantization adds extra computation and memory-access overhead, and actual throughput may be far below expectations.
A more realistic minimum configuration is an 8-GPU large-memory server node, with weights split across GPUs through tensor parallelism, expert parallelism, or pipeline parallelism. 8-GPU parallelism is not only a capacity issue but also a communication and scheduling issue: expert routing creates dynamic load, and interconnect bandwidth, communication library efficiency, and batching strategy all affect usability. Therefore, even “just running” is basically a server-class purchase, not something that can be accomplished by buying a few consumer GPUs.
Tier 2: A Single User Reaches 25 Tokens/s
For a single user at 25 tokens/s, it is still advisable to start with an 8-GPU large-memory node. The reason is simple: the 1.4TB of weights must fit first, and the server cannot be reduced to two or three GPUs just because only one person is using it. VRAM capacity is a hard constraint and does not decrease linearly with concurrency.
Whether 8 GPUs can stably reach 25 tokens/s cannot be inferred from capacity alone. Single-stream large-model inference is usually on the order of tens of tokens per second, and 25 tokens/s is a relatively reasonable target, but it must be stress-tested with actual context lengths before launch. The longer the context, the larger the KV cache, and the higher the VRAM usage and memory-access pressure. Output length, batching strategy, and sampling parameters also affect latency. During stress testing, record P50, P95, and P99 latency, peak VRAM, throughput, and failure rate rather than looking only at averages.
Tier 3: 10 Concurrent Users at 25 Tokens/s Each
10 concurrent users at 25 tokens/s each means stably providing at least 250 tokens/s of aggregate output. The VRAM configuration may not need to increase compared with Tier 2: under reasonable scheduling, one 8-GPU node can host many concurrent requests. If the context is not at the million-token level, the theoretical number of resident requests will be even higher. Therefore, 10 concurrent users alone does not necessarily force a second server.
The real question is whether every one of the 10 streams can maintain 25 tokens/s during simultaneous generation. This is a throughput and scheduling metric involving batch size, request queuing, expert load balancing, KV cache management, timeout and degradation policies. VRAM capacity can only answer “whether it fits,” not “whether it is stable.” Stress testing must use real request distributions, and concurrency limits and queue policies must be set.
Cost Estimation: Cloud Trial and Local TCO
Because these accelerators are mostly data-center-class, short-term validation usually can only refer to hourly cloud instances. Using a public cloud price sample as an example, if the reserved price per card is $4.76/card/hour, an 8-GPU node costs $38.08/hour. Running continuously for 30 days costs about $27,417.6/month, or about $333,580.8 annualized. At an illustrative exchange rate, this is roughly RMB 2.4 million, for order-of-magnitude reference only; actual billing depends on the settlement exchange rate. This price usually does not include storage, network, snapshots, public traffic, operations and maintenance, or disaster recovery costs.
For short-term validation, a general-purpose GPU cloud service such as Baidu AI Cloud can be used as one temporary compute environment: a container platform can quickly bring up a multi-GPU environment, which can later be migrated to a local cluster. Production environments should still be based on local capacity planning and TCO. Local TCO should at least include hardware purchase, data center racks, power and cooling, high-speed network, storage, spare parts, operations and maintenance staff, security and compliance, software stack adaptation, depreciation, and residual value. It can be simplified as:
Three-year TCO ≈ hardware purchase + electricity + data center + network/storage + O&M + spares + security - residual valueCost per million tokens ≈ three-year TCO ÷ total effective tokens
The total effective token count must be calculated based on actual utilization. If utilization is low, the unit cost of self-building may be much higher than on-demand cloud services. If the workload is high for a long time and data compliance requirements are strong, self-building or hybrid deployment is more economical.
Implementation Path and Stress-Test Checklist
The recommended path is: first validate format compatibility and the inference pipeline at small scale on the cloud, then stress-test an 8-GPU node, and finally decide on procurement or hybrid deployment based on the SLA. Stress testing should at least cover different context lengths, concurrency levels, input/output ratios, and failure recovery.
for concurrency in [1, 2, 4, 8, 10]:for context in [4k, 32k, 128k]:Run sustained stress test for 10 minutesRecord throughput, P50/P95/P99 latency, peak VRAM, error rate, power consumptionObserve queue buildup and timeout degradation
For capacity planning, it is advisable to reserve 20%–30% VRAM and bandwidth headroom to avoid OOM caused by long contexts and burst concurrency. The final criterion is not “whether it fits,” but “whether it can stably meet the latency and throughput SLA under the target context and concurrency.” Stress-test first and procure second—this is the safest decision order for local deployment of these very large models.
