Deploying Trillion-Parameter MoE LLMs Locally: Configuration Tiers and Cost Breakdown

    Deploying a trillion-parameter Mixture of Experts (MoE) model on local hardware is achievable, but the cost depends far more on your performance targets than on the raw parameter count. This article separates two things people often conflate: total parameters determine how much memory you need, while the small number of experts activated per token determines how fast the model runs. Using a 2.8-trillion-parameter, 896-expert sample model as the reference, it explains why the weights alone require roughly 1.5TB of addressable memory, then lays out three deployment tiers—from a GPU-CPU heterogeneous setup that simply runs, to a 64-plus-card data-center-class super node for low-latency concurrent serving. It also covers the communication bottleneck that dominates multi-card MoE inference and offers guidance on weighing self-built hardware against on-demand cloud GPU capacity.

    1. First, a key clarification: parameter count is not the same as per-inference compute

    Before discussing cost, it’s worth correcting a common misconception: treating “total parameter count” as if it were equivalent to “the compute required at runtime.” For very large models built on a Mixture of Experts (MoE) architecture, these two metrics are decoupled.

    Take the trillion-parameter MoE model used as the analysis sample in this article (note: all speed, memory, and hardware figures below are engineering estimates based on public information, and each one should be verified with benchmarks once the weights are officially released). It has roughly 2.8 trillion parameters spread across 896 experts. For each token, routing activates only 16 of those experts—an expert activation ratio of about 1.79%.

    This point deserves emphasis: 1.79% is the “expert activation ratio,” not a strict “parameter activation ratio.” It only affects the compute consumed by a single forward pass, which determines how fast the model runs. Memory (VRAM or system RAM) usage, by contrast, is calculated against the total parameter count, which determines whether the model can fit at all. Grasping this distinction is the foundation for every cost estimate that follows—you cannot buy storage for just the activated portion. You must place all 896 experts into addressable memory in advance, then call them dynamically via routing during inference.

    2. What memory usage actually consists of: why the floor is around 1.5TB

    Many trillion-parameter models adopt quantization-aware training from the supervised fine-tuning stage onward, using 4-bit floating-point weights paired with higher-precision activations. As a rough estimate, 2.8 trillion parameters stored purely at 4-bit yields a raw-data floor of about 1400GB.

    But engineering practice never looks at raw data alone. Take the MXFP4 format from the OCP (Open Compute Project) specification as an example: every 32 4-bit elements carry an additional 8-bit scaling factor (scale). Counting both the weight elements and the scale gives roughly:

    1. 2.8 × 10^12 × (4 + 8/32) bit ÷ 8 ≈ 1487.5 GB

    And that is still just the weights themselves. The real VRAM/RAM requirement for deployment must add:

    • Non-4-bit tensors: certain layers (such as normalization and attention projections) typically keep higher precision and cannot all be quantized down to 4-bit;
    • Metadata and alignment overhead: routing tables, tensor descriptors, and memory alignment consume additional space;
    • Runtime workspace: intermediate activations, temporary buffers, and communication buffers;
    • KV Cache: grows linearly with context length and concurrency, and is a major memory consumer in long-context scenarios.

    For reference, an industry model in the 600B–700B MoE class has roughly 680B parameters combined across primary and auxiliary parameters: about 685GB in FP8, and even quantized to 4-bit its weights still come to around 335GB—plus about 37GB of activations, totaling roughly 400GB just to run on an accelerator node with 8 cards of 80GB each (640GB total).

    Our sample model is more than four times the size of that class. From this we can draw a key conclusion: the floor for a full deployment is placing nearly 1500GB of weights into addressable storage, with enough headroom reserved for the KV Cache and runtime overhead.

    3. Three deployment tiers and their hardware configurations

    Layer the requirements, and the costs layer naturally. Below are configuration approaches for three typical targets.

    Tier 1: It just needs to run locally; speed is not a concern.
    The core challenge here is “fitting it in,” not “running it fast.” A GPU-CPU heterogeneous setup works well: a server with large memory capacity hosts all the weights (1.5–2TB or more of memory is recommended), paired with a small number of VRAM cards to participate in computation. This tier places low demands on inter-card bandwidth and compute, and output speed may be only single-digit tokens per second—but the budget stays relatively controllable, making it suitable for validation and learning.

    Tier 2: Single-user scenario reaching 25 tokens/second output.
    This requires the critical compute path (especially the shared attention component) to run on high-bandwidth VRAM, while reducing data movement through a more sensible VRAM/RAM ratio and operator-level optimization. This tier typically needs multiple high-memory, high-bandwidth accelerators working together, rather than relying on CPU memory alone to brute-force it.

    Tier 3: 10 concurrent streams, each sustaining 25+ tokens/second output.
    This is the most demanding tier. It simultaneously stresses compute, VRAM capacity, and VRAM bandwidth, and requires the system to maintain stable KV Cache management under high concurrency. This tier essentially calls for a high-speed-interconnect super node built from 64 or more accelerators—a data-center-class solution.

    4. GPU-CPU heterogeneous inference: leveraging architecture to lower the barrier

    For Tiers 1 and 2, heterogeneous inference is the most pragmatic path, and mature framework approaches already exist in the industry to reference. The core insight comes from the structure of MoE:

    • The shared attention backbone (in this sample model, components such as attention and residual connections) is compute-intensive. It moves little data but is sensitive to bandwidth, so it should stay on the GPU and run at high bandwidth.
    • The sparse expert layers occupy the vast majority of storage, yet each token activates only a tiny fraction of experts per pass. These are well suited to being offloaded entirely to the large-capacity, lower-unit-cost CPU memory and pulled in on demand.

    This division of labor—compute-intensive work stays on the GPU, storage-intensive work goes to CPU memory—turns local trillion-parameter deployment from “impossible” into “possible.” The cost is the data-movement latency introduced by links such as PCIe, which is precisely the root cause of Tier 1’s slow speed.

    5. The communication bottleneck you can’t avoid in multi-card deployment

    Once you move to multi-card or even super-node deployment, the bottleneck shifts from “can it fit?” to “can communication move the data fast enough?” Large-scale MoE inference is extremely sensitive to all-to-all communication bandwidth: with 896 experts distributed across multiple cards, every token must, after routing, move its activations to the card hosting the target expert for computation and then move the results back. If the communication domain is fragmented across slower links, communication latency will directly eat into precious compute.

    For this reason, official guidance generally recommends using high-speed inter-card interconnect (such as NVLink-class high-speed interconnect buses) to make the communication domain as large as possible, so this frequent inter-expert data movement stays within a single high-speed domain. This is the technical reason the Tier 3 solution’s cost remains so high.

    6. Cost estimation approach and selection recommendations

    Taken together, cost breaks down into three parts: storage/memory (can it hold 1.5TB+ of weights), accelerators (which determine compute and bandwidth), and high-speed interconnect (which determines multi-card efficiency). Here is a rough budget framework for reference (actual prices fluctuate with the market and should be based on real quotes):

    • Tier 1 (heterogeneous setup that runs): centered on a large-memory server plus a few VRAM cards, at a budget on the order of tens of thousands up to around a hundred thousand RMB.
    • Tier 2 (single user at 25 tps): requires multiple high-memory, high-bandwidth accelerators, pushing the budget up to the hundreds-of-thousands RMB range.
    • Tier 3 (10 concurrent at 25+ tps): a 64-card-plus super node, a data-center-class investment in the range of millions to tens of millions of RMB.

    Selection recommendations: If you’re only validating or using it occasionally at low frequency, prioritize the heterogeneous inference route and trade capacity for cost. If you want a responsive interactive experience, focus your investment on VRAM bandwidth and high-speed interconnect. If you need production-grade service at multiple concurrent streams, evaluate the economies of scale of building your own super node. Of course, self-building isn’t the only option—when peak demand fluctuates widely or upfront investment is constrained, renting GPU compute, container services, and elastic scaling on demand from a cloud platform such as Baidu AI Cloud can often strike a better balance between CAPEX and OPEX, converting heavy capital investment into controllable, on-demand costs.