Trillion-Parameter MoE Models: Local Deployment Cost and Performance Guide

    Deploying a trillion-parameter Mixture-of-Experts (MoE) model locally cannot be reduced to a single price tag. Using a representative architecture with roughly 2.8 trillion total parameters, 896 experts, and 16 experts activated per token, this guide breaks deployment into three tiers — simply running, 25 tokens/s for a single user, and 10 concurrent users each holding 25 tokens/s — and explains why MoE memory is sized by total parameters rather than activated parameters, how much memory each tier needs, which optimizations matter (expert and tensor parallelism, low-bit quantization, KV cache paging, topology-aware scheduling), what the one-time and recurring cost components look like, and how to sequence benchmarks before committing to hardware.

    1. Reframing the question: not “can it fit,” but “at what cost does it run”

    When people ask how much it costs to deploy a trillion-scale MoE model on-premises, the real question is not a single purchase price but the combined cost of meeting a set of engineering targets. That cost typically splits into three tiers:

    1. Barely runnable: the model loads, accepts inference requests, and produces output. First-token latency and sustained throughput are not concerns.
    2. Single-user experience: one request at a time, output around 25 tokens/s, with low latency and stable response.
    3. Concurrent production: 10 concurrent users, each still above 25 tokens/s, with no meaningful degradation in quantization quality.

    These tiers are not a matter of “buying a few more cards.” Each one is a combination of memory capacity, memory bandwidth, expert routing communication, KV cache, scheduling policy, network topology, power and cooling, and operational capability.

    Until model weights, inference frameworks, quantization schemes, and benchmark data are fully public, any cost figure can only serve as an engineering estimate. This article uses a widely discussed very-large MoE architecture as an example: roughly 2.8 trillion total parameters, 896 experts, and 16 experts activated per token. The example is used only to illustrate cost and performance logic and does not point to any specific model or product.


    2. The core of memory sizing: MoE loads by total parameters, not activated parameters

    Many people assume that because a MoE model activates only a few experts per token, deployment memory can be estimated from “activated parameters.” This is a common mistake.

    During MoE inference, each token is indeed routed to only a few experts, but only on the condition that all expert weights are already resident in memory or high-bandwidth storage. At inference time the system selects the target expert based on the routing decision rather than loading experts from disk on demand. Reloading weights for every request would make latency unacceptable.

    So on-premises MoE memory usage is driven mainly by:

    • Total parameter count;
    • Quantization precision;
    • Whether any layers remain unquantized;
    • Whether MTP, a draft model, auxiliary modules, or long-context modules are retained;
    • KV cache size;
    • Runtime working memory;
    • Communication buffers;
    • The inference framework’s own memory overhead.

    Take 2.8 trillion total parameters with 4-bit weight quantization. The theoretical bare weights are:

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

    In real deployments, however, low-bit quantization is rarely just “4-bit raw data.” Some schemes attach an 8-bit scale factor to every 32 weight elements to restore the numeric range, giving an effective bit width of:

    1. 4 bit + 8 bit / 32 = 4.25 bit

    which corresponds to weights of roughly:

    1. 2.8T × 4.25 bit ÷ 8 ≈ 1487.5GB

    This still excludes:

    • Router layer parameters;
    • Embedding and output layers;
    • Unquantized sensitive layers;
    • Metadata;
    • Tensor alignment;
    • Runtime temporary buffers;
    • Multi-card communication buffers;
    • KV cache;
    • Long-context expansion overhead;
    • Memory reserved by the framework.

    For engineering purposes, it is therefore unwise to plan at the 1.4TB or 1.5TB limit. Budget for a unified pool of memory or high-bandwidth memory starting at 2TB, with 3TB being the safer target.


    3. Tier 1: just get it running — lowest cost, worst experience

    1. What the goal means

    “Just get it running” usually means:

    • The model loads successfully;
    • It can accept a single request;
    • It can generate a result;
    • First-token latency of several seconds is acceptable;
    • Output speed below 10 tokens/s is acceptable;
    • No multi-user concurrency;
    • No requirement for stable long context.

    The point of this tier is to validate feasibility, not production readiness.

    2. Memory and node count estimate

    With 80GB of memory per general-purpose accelerator card, the weights alone require at least:

    1. 1487.5GB ÷ 80GB ≈ 19 cards

    But that is only the theoretical bare-weight figure. KV cache, communication buffers, runtime overhead, and redundancy must also be accounted for, so plan for 24–30 80GB accelerator cards at a minimum.

    With 128GB per card, the theoretical figure is:

    1. 1487.5GB ÷ 128GB ≈ 12 cards

    Allowing for engineering headroom, plan for 16–20 128GB accelerator cards.

    These cards are typically spread across 4–8 servers. At that point the critical constraint is not single-machine compute but cross-node expert routing communication. If the nodes are connected only by ordinary Ethernet, dispatching tokens to the nodes that hold the selected experts and then collecting the results becomes a serious bottleneck.

    3. Required hardware

    The barely-runnable tier typically needs:

    • Multiple general-purpose accelerator servers;
    • High-capacity, high-speed solid-state storage to cache model weights;
    • Ample system memory for weight preloading and cache management;
    • A high-speed, low-latency network so cross-node expert calls do not become the bottleneck;
    • Stable power delivery and cooling;
    • Basic monitoring, at minimum covering memory use, utilization, temperature, and job status.

    4. Cost profile

    Hardware cost in this tier comes almost entirely from the number of accelerator cards, not from CPUs or system memory. Buying servers outright usually costs significantly more than a typical inference project. Renting on demand accumulates cost by the hour or by the day, and because single-request speed is very slow, the cost per unit of useful inference can be high.

    Put simply: the machines are expensive, but the output is low.


    4. Tier 2: 25 tokens/s for a single user — the shift from “fits” to “runs fast”

    1. What the goal means

    Once single-user output must reach 25 tokens/s, the emphasis shifts from capacity to latency and bandwidth. The areas to optimize are:

    • The single-token decode path;
    • Expert routing latency;
    • Multi-card communication latency;
    • Memory read bandwidth;
    • KV cache access efficiency;
    • Inference framework scheduling overhead;
    • Compute efficiency after low-bit quantization.

    2. Why 25 tokens/s for a single user stresses the architecture

    Single-user inference usually means a very small batch, close to 1. Compute utilization is often low at that point, and the bottleneck shifts to:

    • Weight read speed;
    • Expert dispatch and collection;
    • Inter-card communication;
    • Framework synchronization;
    • KV cache growth;
    • Attention computation under long context.

    If 896 experts are spread across multiple nodes, every generated token can involve routing to a remote expert. The node hosting that expert must receive the activations, run the expert computation, and send the result back. Across a slow link this directly drags down tokens/s.

    So high-performance single-user deployment cannot be judged by card count alone; topology matters just as much.

    1) Co-locate high-frequency experts within one communication domain

    Real traffic does not activate experts uniformly. Some experts are hit constantly while others stay cold. By measuring the routing distribution, you can place hot experts inside the high-speed interconnect domain to reduce cross-node access.

    2) Combine expert parallelism with tensor parallelism

    Expert parallelism spreads different experts across cards; tensor parallelism splits a single expert or layer across multiple cards. For very large MoE models, a single strategy is rarely enough:

    1. Expert parallelism + tensor parallelism + pipeline parallelism + data parallelism

    The exact ratio depends on node count, inter-card bandwidth, expert count, and context length.

    3) Reduce the share of cross-node expert communication

    Where possible, bring more cards into a single communication domain using high-speed interconnect. If that is not feasible for all of them, scheduling policy should still minimize cross-domain expert calls.

    4) Enable low-bit inference and dynamic routing caches

    Provided quality is acceptable, mixing 4-bit weights with 8-bit activations significantly reduces memory bandwidth pressure. In parallel, cache hot experts to avoid repeated loading or repeated dispatch.

    5) Treat first-token latency and decode throughput as separate targets

    First-token latency is governed by the prefill phase, while output speed is governed by decode. If the target is 25 tokens/s, decode is what to optimize — not first-token latency alone.

    4. How cost changes

    Compared with “just get it running,” single-user 25 tokens/s usually demands higher networking standards, greater inter-card bandwidth, and better node topology. It may even mean fewer cards per machine in exchange for more high-speed interconnect equipment. Total cost does not rise linearly; it steps up.

    Roughly speaking: the barely-runnable tier is about buying enough cards; the single-user high-speed tier is about buying the right topology.


    5. Tier 3: 10 concurrent users at 25 tokens/s each — production-grade deployment

    1. What the goal means

    Holding 25 tokens/s per user with 10 concurrent requests is a typical production metric. It requires the system to satisfy simultaneously:

    • Throughput;
    • Latency;
    • Stability;
    • Resource utilization;
    • Request fairness;
    • Failure recovery;
    • Monitoring and alerting;
    • Quality consistency.

    This is not a problem you solve by doubling the card count.

    2. The core bottlenecks under concurrency

    When several requests arrive at once, the system faces:

    • Shared expert routing across requests;
    • Rapid KV cache growth;
    • More complex batch scheduling;
    • Mixed short and long requests;
    • Memory fragmentation;
    • Communication congestion;
    • Queuing delay;
    • Individual experts becoming hot spots.

    With poor scheduling, even sufficient total compute can leave some users well below 25 tokens/s.

    3. Key optimizations

    1) Continuous and dynamic batching

    The inference system should keep folding new requests into the running batch and release resources as soon as requests finish. This suits real online serving better than a fixed batch size.

    2) KV cache pooling and paged management

    With 10 concurrent users, KV cache quickly becomes the dominant memory consumer. Use paging, pooling, reuse, and on-demand release to avoid fragmentation.

    3) Request priority and isolation

    Assign priority by user or business line. Critical workloads can get a dedicated resource pool so long-context requests cannot slow them down.

    4) Separate prefill from decode

    Where the framework supports it, schedule prefill and decode independently. Short requests complete prefill first while long requests are generated incrementally, reducing head-of-line blocking from long inputs.

    5) Topology-aware scheduling

    The scheduler needs to know which experts, which layers, and which KV cache pages live on each card, and should route each request over the cheapest communication path.

    6) Quality regression testing

    The production tier cannot be judged on speed alone. Quantization level, context length, sampling parameters, and system prompts can all affect output quality. Maintain a fixed evaluation set and verify regularly:

    • Task accuracy;
    • Long-text consistency;
    • Instruction following;
    • Code generation correctness;
    • Math reasoning stability;
    • Human preference ratings.

    4. Cost profile

    Production deployment typically needs more redundancy:

    • More accelerator cards;
    • Higher-bandwidth networking;
    • Redundant switching;
    • Dual power supplies;
    • Monitoring and alerting;
    • Logging services;
    • Object storage backups;
    • Containerized deployment;
    • Auto-scaling capability.

    This tier costs noticeably more than the previous two. Adding high availability, multiple replicas, failover, and elastic scaling pushes the budget further.


    6. Cost composition: more than accelerators, a full systems project

    The cost of running a very large MoE model locally splits into one-time investment and ongoing operating cost.

    1. One-time investment

    Item Notes
    Accelerator cards The main cost driver; count is determined by memory and throughput targets
    Servers Host the accelerators, CPUs, system memory, and local storage
    High-speed networking Used for expert routing, tensor parallelism, and parameter synchronization
    Storage Model weights alone typically exceed 1.5TB, so plan for more
    Power and racks High-power equipment needs matching supply and distribution
    Cooling High-power accelerators demand air or liquid cooling
    Deployment work Drivers, frameworks, scheduling, monitoring, and load testing

    2. Ongoing operating cost

    Item Notes
    Electricity Dozens of accelerators running continuously make power non-trivial
    Bandwidth Serving externally also requires public or dedicated network capacity
    Operations staff Incident handling, version upgrades, performance tuning
    Software maintenance Inference frameworks, quantization tools, and scheduling components all need upkeep
    Spare parts Redundancy for accelerators, power supplies, and network modules
    Security and compliance Data isolation, access control, log auditing

    3. Order-of-magnitude reference

    Without referencing any specific vendor’s pricing, the planning ranges look roughly like this:

    • For minimum viability, expect multiple servers, dozens of accelerator cards, and high-speed networking. One-time hardware investment typically reaches the hundreds of thousands to millions of RMB, and rises further with high-bandwidth, high-redundancy configurations.
    • For on-demand rental, cost varies by the hour, day, or contract term. Common ranges run from a few thousand to tens of thousands of RMB per day, depending on card type, network, storage, and SLA.
    • For production-grade 10-user concurrency at low latency, the budget is clearly higher than the barely-runnable tier, with additional provision needed for monitoring, redundancy, load testing, and tuning.

    So the question “how much does it cost to deploy a trillion-parameter MoE model” is the wrong one. The right question is “how much does it cost to deploy it at a given service level.”


    7. Software optimization often matters more than stacking hardware

    1. Lower bits are not always better

    4-bit weights sharply reduce memory pressure, but key layers, router layers, and output layers may need higher precision. In practice, a mixed strategy is common:

    • Low-bit weights for ordinary experts;
    • Higher precision retained for sensitive layers;
    • An appropriate dynamic range for activations;
    • Stability preserved in the router;
    • Quality preserved in the output layer.

    The goal of quantization should not be “it runs,” but “it runs within what the business will accept.”

    2. The parallelism strategy determines communication cost

    Parallelism choices directly affect latency for very large MoE models. Common approaches:

    • High-bandwidth interconnect inside a node;
    • Fewer frequent communications across nodes;
    • Clustering hot experts;
    • Pooling long-context requests separately from short ones;
    • Replicating hot experts;
    • Offloading or lazily loading cold experts.

    3. KV cache management determines concurrency

    Under 10-way concurrency, KV cache is often a tighter constraint than weights. Options include:

    • Paged management;
    • Prefix reuse;
    • Reclaiming idle cache;
    • Estimating resources from request length;
    • Capping extreme context lengths;
    • Cache compression;
    • Offloading cold cache to larger memory or high-speed storage when necessary.

    4. Observability determines long-term cost

    Without monitoring, an inference cluster makes it hard to tell where the money goes. At minimum, track:

    • Per-card memory usage;
    • Card utilization;
    • Temperature and power draw;
    • Network throughput;
    • Expert routing latency;
    • First-token latency;
    • Output tokens per second;
    • Queue length;
    • Failed request count;
    • User-side quality scores.

    If the workload runs in the cloud, general-purpose object storage, container platforms, logging services, and monitoring and alerting can form the basis of deployment, observability, and operations.


    8. Common mistakes and risks

    1. Estimating memory from activated parameters

    This is the most typical error. The activation ratio affects compute per pass; it does not determine how much total expert weight must stay resident.

    2. Assuming single-machine multi-card is always fastest

    Very large MoE models usually require multi-node deployment. With insufficient inter-node networking, cross-node expert routing severely slows things down.

    3. Ignoring KV cache

    Sizing memory from weights alone leads to rapid OOM under long context or concurrency.

    4. Looking only at theoretical FLOPS

    For a trillion-parameter MoE model, the bottleneck is often not FLOPS but bandwidth, communication, scheduling, and memory capacity.

    5. Over-quantizing and losing quality

    Low bit widths cut cost but must be validated against an evaluation set. If a critical workload needs high accuracy, higher-precision layers must be retained.

    6. Buying before benchmarking

    Performance can differ substantially across frameworks, parallelism strategies, and network topologies. Run a small-scale benchmark before committing to a purchase.


    1. Define the target: feasibility validation, single-user low latency, or production concurrency.
    2. Estimate memory: compute weights from total parameters and quantization, then add KV cache and runtime.
    3. Choose the parallelism scheme: design it around node count, inter-card bandwidth, and expert count.
    4. Run a small-scale benchmark: use a small number of requests to measure first-token latency, output speed, peak memory, and communication overhead.
    5. Load-test concurrency: simulate 10 concurrent users and observe queueing, the impact of long requests, and speed decay.
    6. Run quality regression: compare task results before and after quantization and confirm the business accepts them.
    7. Review cost: convert hardware, power, operations, and headcount into cost per token.
    8. Decide cloud versus on-premises: on-demand resources suit short-term validation; stable long-term workloads may justify self-hosting or a hybrid setup.

    10. Conclusion: cost is not a number but an engineering answer under constraints

    For on-premises deployment of a trillion-scale MoE model, the question is not “how much does it cost” but a set of three questions:

    1. Does it run at all?
      Determined by total memory, node count, and baseline networking.

    2. Can a single user reach 25 tokens/s?
      Determined by inter-card bandwidth, expert routing efficiency, quantization strategy, and scheduling.

    3. Is the experience preserved at 10 concurrent users?
      Determined by batching, KV cache management, resource isolation, monitoring and operations, and redundancy.

    In engineering terms, the barely-runnable tier should be planned around over 2TB of memory or high-bandwidth memory, dozens of accelerator cards, and a high-speed low-latency network; the single-user high-performance tier adds topology and communication optimization; and the production concurrency tier needs a fuller stack of scheduling, monitoring, caching, and redundancy.

    Final cost depends on the target tier, hardware form factor, procurement model, electricity price, operational maturity, and quality constraints. For teams preparing to deploy very large MoE models locally, the safest path is not a purchase list straight away, but layered benchmarking first — and hardware and budget decisions derived from those results.