A Tiered Cost Guide to Locally Deploying Trillion-Parameter MoE Models

    This article breaks down the true cost of locally deploying trillion-parameter MoE (Mixture-of-Experts) models into three tiers: simply running inference, achieving 25 tokens/s for a single user, and sustaining 25 tokens/s per user across 10 concurrent sessions. It covers weight and runtime memory requirements, KV cache estimation, hardware configurations, TCO components, and a verification checklist to validate performance after model weights are released.

    A Tiered Cost Guide to Locally Deploying Trillion-Parameter MoE Models

    Note: This article does not target any specific product. It discusses the general problem of locally deploying models with trillion-scale total parameters using sparsely activated MoE architectures. All throughput, memory, and hardware figures are estimates and must be verified against benchmarks after the actual weights are released.

    1. Scoping the Problem: Local Deployment Is More Than Downloading the Weights

    Before discussing cost, the goal must be clearly defined. An ultra-large MoE model typically has two key properties:

    • Total parameters determine the storage floor. Although an MoE model activates only a subset of experts per token, all experts must be addressable and loadable. You cannot provision storage only for the activated portion just because the activation ratio is low.
    • Activated parameters determine the compute floor. Each token is routed to a number of experts, and compute is estimated based on those activated experts. However, routing, data movement, aggregation, and KV cache still add overhead.

    Consider a hypothetical architecture: roughly 2.8 trillion total parameters, 896 experts, 16 experts activated per token—an expert activation ratio of about 1.79%. One important caveat: the expert activation ratio does not equal the strict parameter activation ratio. Shared layers, the attention backbone, the router network, and embedding layers may still participate in computation or storage. Memory footprint must be planned around total parameters; only compute consumption references the activation ratio.

    Therefore, “how much does local deployment cost” cannot be answered with a single number. It should be split into three tiers:

    1. Just get it running: all experts can be loaded, routing and inference complete, tokens are generated—even at only a few tokens per second.
    2. 25 tokens/s for a single user: interactive usability, with the decode stage not frequently stalled waiting for expert weights to be moved.
    3. 10 concurrent users each sustaining 25+ tokens/s, with quantization no lower than 4-bit class: total throughput of at least 250 tokens/s, requiring multiple accelerators, high-speed interconnects, and scheduling optimizations.

    Each tier corresponds to entirely different hardware profiles, cost magnitudes, and optimization priorities.

    2. Weights and Runtime Overhead: 1.5TB Is Only the Bare-Weight Floor

    Start with the weight floor. Given total parameters (P) and weight bit width (b_w), the raw data size is:

    1. W_raw = P × b_w ÷ 8

    With (P = 2.8) trillion and 4-bit weights:

    1. W_raw = 2.8T × 4 ÷ 8 = 1400GB

    But 4-bit floating-point quantization is rarely “exactly 4 bits per weight.” Common formats attach a scale factor per fixed-size group—for example, one 8-bit scale per 32 4-bit elements. On that basis:

    1. W_scale = 2.8T × 4.25 ÷ 8 ≈ 1487.5GB

    This is still only the bare data of weight elements plus scales. It does not include:

    • Non-4-bit tensors, such as certain normalization, routing, or embedding-related parameters;
    • Metadata, alignment padding, and redundancy from tensor-parallel sharding;
    • Inference runtime workspaces and temporary buffers;
    • KV cache;
    • Batching state under concurrency.

    A more realistic plan: provision an addressable memory pool of at least 2TB, and 2.5–3TB for conservative scenarios. With long contexts and high concurrency, the KV cache pushes requirements even higher. A simplified KV cache estimate:

    1. KV ≈ 2 × layers × KV heads × head dimension × sequence length × batch size × bytes per element

    Context length and batch size are both linear growth factors. With 10 concurrent long-context sessions, the KV cache can easily range from tens to hundreds of GB. Cost estimation must include it—not just the weights.

    3. Hardware Profiles and Cost Magnitudes by Tier

    Tier 1: Just Get It Running — Heterogeneous Offloading with Large Memory

    The most direct approach is heterogeneous GPU–CPU inference: keep the compute-dense, relatively small shared attention backbone on the GPU, and offload the sparse experts—which dominate storage but activate only a few at a time—to CPU memory on a high-memory server.

    The critical factors at this tier are not peak FLOPS but memory capacity, memory bandwidth, and the loading path. At minimum, you need:

    • An addressable memory pool of 2TB or more;
    • A multi-socket CPU platform or a high-memory-bandwidth server;
    • A small number of accelerators for backbone computation and expert caching;
    • Fast local storage for the weights to reduce startup load time.

    Keep performance expectations conservative: prefill may be slow, and decode may reach only single-digit tokens/s. This tier suits model validation, offline batch processing, and internal evaluation—not multi-user interactive services. Costs are dominated by the high-memory server, the CPU platform, and a few accelerators. Purchases typically fall in the range of tens of thousands of US dollars; rentals are billed by memory configuration and accelerator-hours.

    Tier 2: 25 Tokens/s for a Single User — Expert Caching and Higher Bandwidth

    The decode bottleneck is usually not floating-point compute but the bandwidth for moving expert weights from host memory to compute units. To sustain 25 tokens/s, you need to:

    • Keep frequently routed “hot experts” resident in accelerator memory;
    • Tier cold experts across CPU memory or fast local storage;
    • Improve CPU-to-accelerator transfer efficiency;
    • Use continuous batching, routing caches, and expert load balancing;
    • Keep quantization at 4-bit class or better and verify accuracy loss.

    This tier generally requires multiple accelerators working with a large memory pool. Hardware costs rise significantly over Tier 1—potentially into the range of tens of thousands to over a hundred thousand US dollars. The exact figure depends on expert cache hit rate, context length, and acceptable P99 latency. Look beyond average tokens/s; tail latency matters.

    Tier 3: 10 Concurrent Users at 25 Tokens/s Each — Supernodes and Expert Parallelism

    Ten concurrent users at 25 tokens/s each means total output throughput of at least 250 tokens/s. Large-scale MoE inference is extremely sensitive to all-to-all communication: with 896 experts spread across many accelerators, each routed token’s activations must be moved to the accelerator hosting the target expert and then moved back. Communication latency directly eats into compute.

    This tier typically requires:

    • A supernode of 64 or more accelerators, or an equivalent high-speed interconnect domain;
    • A memory pool of 2TB or more, with headroom for KV cache and workspaces;
    • A combination of expert parallelism, tensor parallelism, and pipeline parallelism;
    • Topology-aware routing and all-to-all aggregation;
    • Redundant power, switched networking, and operational monitoring.

    Costs typically start in the range of several hundred thousand US dollars. Interconnect bandwidth, redundancy, and facility conditions significantly affect total price. Under a rental model, billing combines accelerator-hours, memory configuration, interconnect bandwidth, and storage traffic. Note that 25 tokens/s is a per-user output target; total throughput is not a simple multiplication—batching efficiency, expert load balancing, and KV cache management all affect real-world results.

    4. Cost Components: Don’t Count Only Accelerator Unit Prices

    Total cost of ownership for local deployment includes at least:

    1. Accelerators and memory: with weights around 1.5TB and 80GB of memory per accelerator, roughly 19 accelerators are needed just to hold the bare weights; with runtime overhead and KV cache, 25–40 are often required. Tier 3 recommends 64 or more.
    2. CPU and memory: Tier 1 centers on 2TB+ of memory; Tiers 2 and 3 still need large memory for expert tiering.
    3. High-speed interconnect: accelerator-to-accelerator links, inter-node switching, cabling, and topology design—major cost items at Tier 3.
    4. Storage: fast local storage for weight loading; object-storage-like capabilities for long-term archiving.
    5. Power and cooling: high-power accelerators and high-memory servers impose greater facility demands.
    6. Software and operations: container platforms, scheduling, monitoring and alerting, logging, failure recovery, and spare parts.

    Simplified formulas:

    1. TCO = hardware depreciation + electricity + facility + operations staff + spares + software platform
    2. Rental cost = accelerator-hours × quantity + memory tier × duration + interconnect/storage traffic

    5. Optimization and Verification Checklist

    Until the weights are public, treat all numbers as estimates. After release, verify against this checklist:

    • Can all experts be fully loaded and a complete inference pass executed?
    • What are the prefill and decode tokens/s?
    • Is 25 tokens/s stable for a single user, and is P99 latency acceptable?
    • Do total throughput and per-user output meet targets under 10 concurrent sessions?
    • What are peak memory usage and KV cache consumption?
    • What are interconnect utilization and all-to-all latency?
    • How does accuracy regress after 4-bit-class quantization?
    • What are the hot-expert cache hit rate and routing balance?

    6. Conclusion

    The cost of locally deploying an ultra-large MoE model is fundamentally determined by total-parameter storage floor + quantization overhead + KV cache + interconnect. To simply run the model, heterogeneous offloading with large memory can keep the barrier in the tens-of-thousands-of-dollars range. Sustaining 25 tokens/s for a single user requires expert caching and higher bandwidth, pushing costs into the tens of thousands to over a hundred thousand dollars. Ten concurrent users at 25 tokens/s each generally calls for a supernode of 64+ accelerators, with costs starting in the several-hundred-thousand-dollar range. A sensible path is to validate at Tier 1, tune at Tier 2, and scale out at Tier 3—replacing estimates with real benchmarks at every step.