Deploying a Trillion-Parameter MoE Model Locally: What Does It Actually Cost?

    Local deployment of a 2.8-trillion-parameter MoE model is very different from running a dense model, and the biggest surprise is where the money goes. Because all expert weights must be resident in memory regardless of how few experts each token activates, VRAM—not compute—sets the entry bar. This article breaks down the memory math across FP16, FP8, and 4-bit quantization, shows why a practical floor lands above 1500 GB, and lays out three deployment tiers (just runnable, 25 tokens/s for one user, and 10 concurrent users at 25+ tps). It explains why large-scale MoE inference depends on high-bandwidth "super nodes" and all-to-all communication, and provides a reusable cost framework of "tier configuration × market unit price" along with a Python estimation script and a cloud alternative. Use this as a practical guide to sizing hardware and budgeting before the weights are even released.

    1. First, understand why deploying a trillion-scale MoE is fundamentally different from a dense model

    The single biggest difference between a very large Mixture-of-Experts (MoE) model and a traditional dense model is that total parameter count and per-token compute are two independent curves. The model discussed here has roughly 2.8 trillion total parameters, uses an MoE architecture with 896 experts, and routes each token to activate only 16 of them.

    Here is a point that is easy to misread: the expert activation ratio is about 1.79% (16 / 896), but this is only the proportion of experts invoked—not the proportion of parameters used. Every layer contains a shared attention module that all tokens must pass through (these models typically build on an incremental, linear-complexity attention backbone fused with gated multi-head latent attention components), plus embedding parameters and others that are guaranteed to participate in every token’s computation. More importantly, the way VRAM usage is counted is completely different.

    Compute can be discounted by the activation ratio; VRAM cannot. During inference you must first preload all 896 experts’ weights into addressable memory, then, at runtime, move the relevant token’s activations to the physical location of the corresponding expert, compute, and move them back. In other words:

    MoE VRAM usage is counted by total parameters. The expert activation ratio only affects compute consumption, not the “does it fit” threshold.

    This conclusion dictates the direction of everything that follows: whether local deployment is feasible is decided by the first wall—fitting nearly 1.5 TB of weights into addressable memory—and only then does “can it run fast” come into play.

    2. The hard VRAM constraint: how low can quantization push the threshold

    The first thing local deployment of a large model runs into is always VRAM. A rough calculation for 2.8 trillion parameters:

    • FP16 (16-bit): 2.8T × 2 ÷ 8 ≈ 5600 GB
    • FP8 (8-bit): 2.8T × 1 ≈ 2800 GB
    • 4-bit raw lower bound: 2.8T × 0.5 ≈ 1400 GB

    But 4-bit is not a “clean” 4 bits. Mainstream fine-grained block quantization schemes attach a shared scale factor to each small block of weights in order to preserve accuracy at extremely low bit widths. Taking “one 8-bit scale factor per 32 4-bit elements” as an example, the effective bit width is 4 + 8/32 = 4.25 bit:

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

    This does not yet account for non-4-bit tensors (some attention/normalization layers usually stay at higher precision), metadata, memory alignment, the runtime workspace, and the KV cache, which grows with context length. So a practical VRAM floor should be counted at 1500 GB or above.

    The good news is that these models often introduce quantization-aware training (QAT) as early as the supervised fine-tuning (SFT) stage, combining 4-bit weights with 8-bit activations, which keeps the accuracy loss from low-bit inference relatively under control.

    As a reference point: a mainstream MoE model of about 671B parameters totals roughly 685 GB for its main parameters plus multi-token prediction head at FP8 precision; even compressed to 4-bit, it needs about 335 GB of weights plus tens of GB for activations and runtime overhead, for roughly 400 GB total, in order to run on 8 accelerator cards with 80 GB each (640 GB total). The subject of this article is more than 4 times that size, which pushes the full-scale deployment threshold even higher.

    3. Three tiers: different goals map to completely different hardware bills

    Deployment plans should not be one-size-fits-all; they should be tiered by goal. The three-tier approach proposed in the source is very practical, so let’s break down each tier.

    Tier 1: Just get it running, don’t chase speed

    The only goal is to fit nearly 1.5 TB of weights into addressable memory and get the model to emit tokens, even at single-digit tokens per second.

    The most direct route is GPU/CPU heterogeneous inference (an approach already used by mature open-source frameworks in the industry):

    • The shared attention part of each layer is compute-intensive but small in parameters → keep it on the GPU to compute with high bandwidth;
    • The 896 sparse experts take up the vast majority of storage, but only 16 are activated per token → offload all of them to CPU large memory, and use a big-memory server to “feed” data by routing.

    Illustrative data flow:

    1. Request token
    2. │
    3. ▼
    4. [Shared attention layer] ── always resident on GPU, compute-intensive
    5. │
    6. ▼ Gate (routing)
    7. [Target expert weights] ── always resident in CPU memory (4-bit)
    8. │ move activations / weight shards over PCIe on demand
    9. ▼
    10. Expert FFN computed on GPU → result moved back → next layer

    The key hardware for this tier is a high-capacity memory (≥1 TB) multi-socket server plus a small number of GPUs. It is insensitive to speed and extremely sensitive to memory capacity—the lowest-cost entry point for verifying “can it run at all.”

    Tier 2: 25 tps output for a single user

    25 tokens/s is a relatively interactive lower bound for smoothness. Here the bottleneck shifts from “can it fit” to the “bandwidth for accessing expert weights.”

    MoE decoding is essentially memory-access intensive: to generate each token, the weights of the 16 activated experts must all be read once. If the experts sit in CPU memory, PCIe bandwidth (on the order of tens of GB/s) immediately becomes the ceiling. To hold a stable 25 tps, you typically need to:

    • Promote more hot expert weights into GPU VRAM to reduce cross-PCIe movement;
    • Or use more aggressive quantization / tiered caching to reduce the number of bytes moved per step.

    Tier 3: 10 concurrent users, 25+ tps per user

    10 concurrent requests mean KV caches from multiple requests occupy VRAM simultaneously, and the routing results for all 10 token streams differ, so all-to-all communication pressure rises sharply. At this point, simple heterogeneous offloading is no longer enough—you need a super node built from dozens (typically 64 or more) accelerators with high-bandwidth inter-card interconnect.

    4. Why large-scale MoE must run on a “super node”

    Large-scale MoE inference is extremely sensitive to inter-card communication bandwidth. The 896 experts are sharded across multiple cards, and after each token is routed, its activations must be moved via all-to-all communication to the card hosting the target expert, computed, and moved back. If the communication domain is too small, cross-node traffic goes over the relatively slow general-purpose network, and transfer latency directly eats into the compute—adding more cards won’t help.

    The value of a super node is to use high-bandwidth inter-card interconnect (such as a dedicated high-speed interconnect bus) to enlarge the communication domain, so that these frequent expert transfers happen as much as possible within the same high-speed domain and never leave it. This is the dividing line between “can run” and “can handle concurrency” for a full-scale deployment.

    5. Cost estimation: break the bill into estimable factors

    Since hardware prices fluctuate with the market, this article does not hardcode amounts. Instead, it offers a reusable estimation framework—tier configuration × market unit price = budget.

    Tier Typical configuration Cost magnitude Dominant cost item
    Just run it 1 high-memory server (≥1 TB RAM) + a few GPUs Lowest Memory capacity
    Single user at 25 tps Multiple large-VRAM GPUs + high-memory host Medium VRAM capacity and PCIe bandwidth
    10 concurrent at 25+ tps 64-card-class high-bandwidth super node Highest Number of accelerators and high-speed interconnect

    Sample estimation script:

    1. def estimate_cost(gpu_unit_price, gpu_count, host_price,
    2. memory_gb, mem_price_per_gb, interconnect_ratio=0.15):
    3. gpu_total = gpu_unit_price * gpu_count
    4. mem_total = memory_gb * mem_price_per_gb
    5. host_total = host_price
    6. # High-speed interconnect/switches are usually added as a percentage of primary device cost
    7. fabric_total = (gpu_total + host_total) * interconnect_ratio
    8. return {
    9. "Accelerators": gpu_total,
    10. "High-memory host": host_total,
    11. "Memory": mem_total,
    12. "Interconnect fabric": fabric_total,
    13. "Total": gpu_total + mem_total + host_total + fabric_total,
    14. }

    Plug in current market unit prices to get a range. In addition, if you lack sufficient hardware locally, you can consider an elastic option: rent GPU cloud servers / bare-metal instances on demand or by term, load weights via object storage, carry multi-machine interconnect over a high-speed network, and track throughput and VRAM usage with monitoring and alerting. Relevant compute and storage products from Baidu AI Cloud, for example, can serve as a reference baseline when evaluating build-your-own vs. rent.

    6. Deployment checklist

    1. Calculate VRAM first: stock up for ≥1500 GB with 4-bit weights plus scale, and count the KV cache separately, as it grows with concurrency and context length.
    2. Select by tier: first get it running (heterogeneous offloading) → then push single-user 25 tps (raise VRAM bandwidth) → finally scale concurrency (adopt a super node).
    3. Watch communication: in multi-card scenarios, prioritize high-bandwidth inter-card interconnect and avoid getting all-to-all stuck on a general-purpose network.
    4. Verify quantization: all speed, VRAM, and configuration numbers here are estimates based on public information. Once the weights are officially released, re-check each item with benchmarks (time-to-first-token, stable tps, concurrency stress tests).
    5. Keep cost separable: estimate with the “tier configuration × market unit price” framework to avoid being misled by a single quote.

    In one sentence: local deployment of a trillion-scale MoE is a progressive engineering effort of first solving “does it fit,” then “can it run fast,” and finally “can concurrency stay stable.” Understand the three target tiers, calculate the VRAM bill, and keep an eye on the communication bottleneck—and the budget will take care of itself.