Trillion-Parameter MoE Local Deployment: VRAM Requirements and Cost Analysis

    This article analyzes what it takes to deploy a trillion-parameter sparse MoE model locally, from the hard lower bound on VRAM capacity to three deployment targets: load-and-run, single-user 25 tokens/s, and 10 concurrent users at 25 tokens/s each. It covers weight capacity, native low-precision formats, parallelism, KV-cache budgeting, batching and scheduling, and compares cloud hourly costs with on-premises capex and opex. The goal is a practical, vendor-neutral framework for capacity validation, throughput testing, and total cost of ownership before treating a deployment as production-ready.

    Conclusion first: a trillion-parameter sparse MoE model is not a project that can be brought up locally on a few consumer flagship GPUs. Even if the only goal is to load the model and produce outputs, the lower bound on VRAM capacity already falls within the range of server-grade multi-GPU nodes. If the target is 25 tokens/s for a single user and 25 tokens/s for each of 10 concurrent users, deployment planning must account for VRAM capacity, memory bandwidth, inter-GPU communication, batching and scheduling, and context length at the same time. This article is vendor-neutral and examines deployment thresholds and cost magnitudes from a general technical perspective.

    1. Start with capacity: weights are the hard lower bound; activations determine headroom

    Very large sparse MoE models are characterized by a large total parameter count but only a subset of parameters activated per token. This reduces compute per token, but it does not reduce the resident capacity required for weights. During inference, different tokens may be routed to different experts, so all expert weights must remain accessible. Capacity can be estimated as:

    VRAM lower bound ≈ total parameters × weight bit width ÷ 8 + activation and runtime overhead + KV/state cache

    For a total of 2.8 trillion parameters with native 4-bit weights, weights alone are about:

    2.8 trillion × 4 bit ÷ 8 ≈ 1.4 TB

    After adding activations, runtime buffers, KV cache, and state caches, a single-user deployment usually needs around 1.5 TB of VRAM to be reasonably safe. The key distinction is native 4-bit versus post-quantized 4-bit: native 4-bit means the weight format was designed for low precision at training or release time, so the capacity benefit is clear. Even when weights are stored in 4 bits, computation may still require upsampling to higher precision or depend on specific hardware and kernel support. If the hardware cannot natively execute low-precision matrix multiplication, runtime dequantization is required. The model may fit in capacity, but that does not mean throughput and latency will be good.

    Therefore, the first threshold is not compute but whether the weights can be loaded at all. If some weights are allowed to be offloaded to host memory or local high-speed storage, the capacity lower bound can be reduced, but latency and throughput will degrade significantly, making this generally unsuitable for production inference. Production environments more commonly use multi-GPU parallelism and split weights across multiple data-center accelerators.

    2. Three targets imply different engineering priorities

    2.1 Load and run: capacity first, at least a server-grade multi-GPU node

    From a capacity perspective alone, if using data-center accelerators with 80 GB of VRAM per card, about 19 cards would theoretically be needed to accommodate a 1.5 TB-class VRAM requirement; with 140 GB per card, about 11 cards would still be needed. However, fitting is not the same as running well. Older-generation cards that cannot natively execute low-precision formats require dequantization, and actual throughput may be poor. A more realistic starting point is an 8-GPU node based on a newer generation with large VRAM, combined with tensor parallelism, expert parallelism, or pipeline parallelism. This scale is already a server-grade project involving multi-GPU interconnect, data-center power, cooling, and operations, not an ordinary workstation.

    2.2 Single-user 25 tokens/s: capacity remains a prerequisite; throughput must be benchmarked

    A single-user scenario is easily misunderstood as something that can be scaled down to two or three GPUs. But the weight capacity requirement does not disappear just because there is only one user. As long as the model needs all weights to be accessible, the VRAM lower bound remains. 25 tokens/s is a reasonable single-stream inference target, but whether an 8-GPU node can sustain it depends on model architecture, parallel partitioning, inter-GPU bandwidth, batching strategy, and context length. Before launch, benchmark with real context lengths and record time to first token, output token rate, peak VRAM, and communication overhead. Capacity estimates alone are not sufficient.

    2.3 10 concurrent users at 25 tokens/s each: aggregate throughput of at least 250 tokens/s

    Ten concurrent streams mean aggregate output must reliably reach at least 250 tokens/s. VRAM configuration does not necessarily need to double immediately: when context is not extremely long, a single 8-GPU node may handle dozens of concurrent requests through continuous batching, request scheduling, and KV-cache management. But with 10 simultaneous generations, the real question is whether each stream can maintain 25 tokens/s, not simply whether total VRAM is sufficient. This is a throughput and scheduling metric that requires benchmark validation. The longer the context, the larger the KV-cache footprint, the fewer requests can remain resident, and the more complex the scheduling policy becomes.

    3. Key deployment areas: parallelism, precision, and cache management

    Local deployment typically needs to be designed around the following areas:

    • Weight sharding: shard attention and feed-forward layers with tensor parallelism, and shard MoE experts with expert parallelism to reduce per-GPU VRAM pressure.
    • Communication optimization: prioritize high-bandwidth interconnect within multi-GPU nodes and avoid hotspots and communication bottlenecks caused by expert routing.
    • Precision strategy: prefer native low-precision weights; if the hardware does not support native computation, evaluate dequantization overhead and kernel efficiency.
    • KV-cache budget: estimate the cache ceiling based on maximum context length, concurrency, and number of layers, and set admission and eviction policies.
    • Batching and scheduling: continuous batching improves throughput, but per-request latency must be controlled so long requests do not degrade short ones.
    • Monitoring and alerting: collect VRAM, bandwidth, inter-GPU communication, queue length, token rate, and error rate.

    An illustrative configuration is shown below. It expresses parameter relationships only and does not represent a specific tool interface:

    1. model:
    2. weight_format: native_4bit
    3. total_params_t: 2.8
    4. active_params_b: 100
    5. parallel:
    6. tensor_parallel: 8
    7. expert_parallel: true
    8. runtime:
    9. max_context_tokens: 32768
    10. kv_cache_budget_gb: 120
    11. max_batch_size: auto
    12. admission_control: true

    4. How to calculate cost: cloud hourly billing versus on-premises capex plus operations

    Cloud costs can be estimated from node hourly prices:

    Monthly cost ≈ per-GPU hourly price × number of GPUs × 24 × 30

    As an example, assume US$4 to US$5 per GPU-hour. An 8-GPU node would cost about US$32 to US$40 per hour; at 720 hours, the monthly cost would be about US$23,000 to US$29,000. Long-term reservations or annual commitments may reduce unit prices, but availability zones, inventory, networking, and storage add-on fees still need attention. The advantage of cloud is elasticity and no operations burden; the disadvantage is high cost under sustained full load.

    On-premises deployment must account for both capital expenditure and operating cost: 8 data-center-grade GPUs, server motherboards, memory, storage, high-speed interconnect, switches, racks, power, and cooling all need to be included. Per-GPU purchase prices are typically in the tens of thousands of US dollars, and a full node plus supporting facilities often reaches hundreds of thousands of US dollars or more. Electricity can be estimated as power in kW × 720 × electricity price. Assuming a whole-system power draw of 6 kW and an electricity price of CNY 0.8 per kWh, monthly electricity would be about CNY 3,456, before cooling and operations labor. Three-year depreciation, spare parts, downtime, and software adaptation costs also need to be considered.

    5. Decision guidance: capacity first, then throughput, then total cost of ownership

    A four-step approach is recommended. First, validate capacity with the real model and maximum context length, confirming weights, KV cache, and runtime overhead. Second, measure single-stream token rate and time to first token under a small request load. Third, gradually increase load to 10 concurrent users and observe per-stream rate and queue wait time. Fourth, compare cloud hourly cost, on-premises depreciation, electricity, and operations labor on the same basis. If request volume fluctuates significantly, cloud elasticity is a better fit; if utilization is high over the long term and data-center capabilities are available, on-premises nodes may reduce unit cost. In either case, do not mistake “the model fits in VRAM” for “production-ready.” Benchmark data is the final basis for decisions.