Local Deployment Costs of Ultra-Large MoE Models and a Three-Tier Configuration Plan
This article explains how to estimate the true cost of deploying ultra-large Mixture-of-Experts (MoE) models on-premises. It defines three distinct deployment targets—bare-minimum feasibility, 25 tokens/s for a single user, and 25 tokens/s per user under 10 concurrent sessions—then walks through VRAM and storage calculations, hardware profiles, CAPEX/OPEX and three-year TCO formulas, key bottlenecks such as all-to-all interconnect and KV cache management, and practical recommendations for procurement and benchmarking.
1. Aligning the Terms: Local Deployment Cost Is Not Just “Buying a Few GPUs”
Before discussing local deployment of ultra-large MoE models, three goals must be clearly separated: can it run at all, can a single user reach 25 tokens/s, and can every user still get 25 tokens/s under 10 concurrent sessions. These three targets map to entirely different hardware, and their costs can differ by an order of magnitude. Critically, an ultra-large MoE’s capacity is determined by its total parameter count, while compute consumption scales with the fraction of activated experts. At inference time, all experts must reside in memory or be quickly retrievable; each token is then routed to activate only a subset. As a result, the VRAM wall, interconnect wall, power wall, and operations wall all appear at once.
All figures below are estimation methods or illustrative assumptions and do not correspond to any specific commercially available product. Once model weights, quantization formats, and benchmarks are publicly available, every number must be verified item by item.
2. VRAM and Storage Floor: First Calculate What “Fitting In” Requires
Assume the model has 2.8 trillion total parameters, with an MoE architecture of 896 experts and 16 experts activated per token. Weight capacity for MoE deployment is estimated by total parameters; the activation ratio mainly affects compute and communication, and does not directly lower the weight residency floor.
With 4-bit quantization using block-wise scaling factors, weight elements plus scale factors are estimated at roughly 4.25 bits per parameter:
Bare weight floor ≈ 2.8e12 × 4.25 ÷ 8 ÷ 1e9 ≈ 1487.5 GB
That is only the bare weights. In practice you must also account for non-4-bit tensors, metadata, alignment padding, runtime workspace, communication buffers, and the KV cache. Therefore, the Tier-1 “just run it” usable high-speed storage/VRAM floor is typically at the 2 TB–3 TB level. Tiered offloading to host memory and local SSDs can reduce accelerator VRAM requirements, but output speed will drop noticeably.
If Tier 3 requires quantization precision no lower than 8-bit floating-point equivalent, the bare weights are approximately:
2.8e12 × 8 ÷ 8 ÷ 1e9 = 2800 GB
Adding scaling factors, runtime workspace, and the KV cache for 10 concurrent sessions, usable system VRAM should generally be planned at the 4 TB–6 TB level. The KV cache can be estimated as:
KV_GB ≈ 2 × layers × KV heads × head dim × sequence length × batch size × bytes per element ÷ 1e9
With 10 concurrent long-context sessions, the KV cache can reach hundreds of GB or even TB scale, so procurement must not be based solely on short-prompt stress tests.
3. Three Deployment Tiers and Their Hardware Profiles
Tier 1: Just Make It Run, Speed Irrelevant
The goal is to load all experts correctly and complete inference without OOM. Small batches, short contexts, tiered offloading, and slow time-to-first-token are acceptable. If all weights reside in high-speed VRAM, at 2 TB–3 TB of usable VRAM this requires roughly 32–48 accelerators of the 80 GB class. With a small number of accelerators plus tiered offloading to host memory and local SSDs, CAPEX can be compressed to the tens-of-thousands-of-dollars range, but output speed may fall far below a usable experience. This tier is suitable for validating weight integrity, quantization error, and business workflows—not for production launch.
Tier 2: Single-User Output at 25 tokens/s
Reaching 25 tokens/s means every generated token must complete routing, expert computation, and result aggregation. Once 896 experts are spread across many GPUs, all-to-all communication latency directly eats into compute. At this tier, all weights should reside within a single high-speed interconnect domain; plan for 32–64 accelerators of the 80 GB class, with low-latency interconnects, hot-expert redundancy, and continuous batching. The cost is typically in the hundreds of thousands to millions of dollars range, depending on card pricing, interconnect switches, storage, and data-center conditions.
Tier 3: 10 Concurrent Users, Each Above 25 tokens/s, Quantization No Lower Than 8-bit FP Equivalent
Total output throughput must be at least 250 tokens/s, on top of prefill, routing jitter, and tail latency. At 8-bit equivalent precision, bare weights are about 2.8 TB; with runtime overhead and KV cache, plan for 4 TB–6 TB of usable VRAM, roughly 64–128 accelerators of the 80 GB class, plus a supernode or equivalent high-speed interconnect domain. With longer contexts or uneven expert distribution, the actual card count rises further. This tier represents a multi-million-dollar investment, and power, cooling, and spare-parts costs cannot be ignored.
4. Cost Breakdown: CAPEX, OPEX, and Three-Year TCO
Costs fall into four blocks: accelerators and servers, interconnect switches and cabling, storage and hosts, and facility power and operations. Beyond CAPEX, calculate the three-year TCO:
TCO ≈ servers & accelerators + interconnect switches + storage hosts + facility upgrades+ electricity × PUE × operating hours + ops staff + spare parts + software support
An illustrative estimation flow:
weight_gb = total_params × bits_per_weight ÷ 8 ÷ 1e9kv_gb = 2 × layers × kv_heads × head_dim × seq_len × batch × bytes ÷ 1e9total_mem_gb = weight_gb × overhead + kv_gb + workspace_gbcards = ceil(total_mem_gb ÷ usable_per_card_gb)nodes = ceil(cards ÷ cards_per_node)capex = nodes × node_price + network + storage + power_retrofitopex = power_kw × hours × price_kwh × pue + staff + spare
Under illustrative assumptions—80 GB-class cards at $15K–$30K each, 8-GPU nodes at $150K–$300K, and interconnect/storage/power at 20%–40% of system cost—the all-VRAM Tier-1 option lands in the hundreds of thousands of dollars; Tier 2 in the hundreds of thousands to millions; Tier 3 in the millions to tens of millions. Tiered offloading can bring Tier 1 down to tens of thousands of dollars, but the speed is not production-grade. During the research phase, general-purpose cloud services—object storage, container platforms, and monitoring/alerting, such as those offered by Baidu AI Cloud—can be used for data distribution and environment orchestration for temporary stress testing. However, final on-premises deployment costs should still be calculated against owned accelerator resources and the three-year TCO.
5. Key Bottlenecks and Optimization Order
- Quantization is more than bare 4-bit weights: block scaling factors, non-quantized tensors, and the KV cache all inflate VRAM. When planning Tier 3 at 8-bit equivalent, reserve at least 30% headroom.
- Optimize the interconnect first: after expert parallelism, all-to-all communication is the throughput bottleneck. Make the communication domain as large as possible, and use topology-aware routing, expert redundancy, and hot-expert caching.
- KV cache governance: use paged KV, prefix caching, and continuous batching; limit ultra-long-context concurrency to prevent KV from crowding out weight space.
- Benchmark tail latency: beyond average tokens/s, record time-to-first-token, P99 latency, all-to-all time, peak VRAM, and power draw. Passing a short-prompt stress test does not prove 10-concurrent long-context viability.
- Power and racks first: high-density accelerator nodes impose heavy demands on rack load-bearing, power supply, and cooling; facility upgrades are often underestimated.
6. Practical Recommendations
If the goal is simply to validate business feasibility, start with a small-scale PoC: confirm the quantization format, weight sharding, and inference runtime compatibility first, then stress-test with realistic long contexts. Only if the goal is sustained high load, data compliance, or offline inference should you evaluate on-premises deployment against a three-year TCO. The conclusion is clear: “can run” can be achieved cheaply via tiered offloading; “single-user 25 tps” requires full weight residency in high-speed memory plus a low-latency interconnect; “10-concurrent 25 tps at 8-bit equivalent” should be planned with a supernode-class communication domain and a multi-million-dollar budget. Before procurement, verify every item with real weights and benchmarks rather than estimating from parameter sheets alone.
