Trillion-Parameter MoE Deployment Costs: GPU Memory, Networking, and Budget

    Deploying a trillion-parameter mixture-of-experts model on premises requires more than enough GPU memory to hold its weights. Using a 2.8-trillion-parameter model as an example, this article explains MXFP4 storage overhead, runtime memory requirements, expert-parallel communication, and three deployment budget tiers. It also outlines the questions teams should answer before choosing between self-hosting and cloud APIs.

    1. What Determines the Cost of On-Premises Deployment?

    When assessing whether a large language model can run in their own data center, many teams start with a simple calculation:

    Parameter count × bytes per parameter = estimated GPU memory requirement

    That is a useful starting point, but it does not capture the full cost. A realistic estimate has four components:

    1. Weight storage: The memory required to hold the model’s parameters establishes the baseline.
    2. Runtime overhead: KV cache, temporary activation buffers, communication buffers, framework metadata, and memory alignment or fragmentation all consume additional capacity.
    3. Compute capacity: Although a mixture-of-experts (MoE) model activates only a subset of experts for each token, routing, all-to-all communication, and expert parallelism reduce effective compute utilization.
    4. Networking: Inter-node links, high-speed supernode fabrics, and switches can account for roughly 20%–30% of the total budget.

    Understanding these four components is essential before selecting hardware or estimating deployment costs.

    2. What a Trillion-Parameter MoE Architecture Means for Memory

    Consider an MoE model with 2.8 trillion total parameters. It might contain hundreds of expert networks—for example, 896 experts—while routing each token to only 16 of them. That corresponds to an expert activation ratio of roughly 1%–2%.

    A common mistake is to assume that activating only a small fraction of experts means storing only that fraction of the weights in GPU memory.

    These are different constraints:

    • The activation ratio affects computation. Each token passes through only its selected experts, substantially reducing the required FLOPs.
    • Weight storage depends on the total parameter count. In a fully GPU-resident deployment, all expert weights must remain available in GPU memory, regardless of which experts a particular token uses.

    The inference engine cannot assume that the next token will use the same experts as the previous one. It must make the full expert pool available for routing.

    The key budgeting principle is therefore:

    Sparse activation reduces per-token computation; it does not, by itself, reduce the memory required to store the complete model.

    3. The Real Cost of Quantization: “4-Bit” Is Not the Whole Story

    Models in this class may incorporate quantization-aware training (QAT) late in training, using formats such as MXFP4 for weights and MXFP8 for activations.

    However, MXFP4 storage is not simply four bits per parameter. Under the OCP microscaling format specification, every block of 32 four-bit elements includes an additional eight-bit shared scale.

    The effective storage requirement is therefore:

    4 + 8 ÷ 32 = 4.25 bits per parameter

    For a 2.8-trillion-parameter model:

    Weight storage calculation Theoretical requirement
    Four-bit values only 2.8 trillion × 4 ÷ 8 ≈ 1,400 GB
    Including shared scales 2.8 trillion × 4.25 ÷ 8 ≈ 1,487.5 GB

    These figures use decimal GB and represent theoretical weight-storage estimates, not complete deployment requirements.

    Additional memory requirements

    A working deployment must also accommodate:

    1. Higher-precision tensors: Embeddings, the output head, and some normalization parameters may remain at higher precision.
    2. Metadata and alignment: Sharded expert weights, page tables, routing tables, and alignment requirements introduce overhead.
    3. Runtime workspaces: All-to-all communication buffers, temporary activations, and CUDA or framework contexts require memory.
    4. KV cache: This can become one of the largest additional allocations. With a 128K-token context window and substantial concurrent traffic, KV cache can reach hundreds of gigabytes or more. At a fixed sequence length, it grows approximately linearly with the number of concurrent sequences.

    A practical planning guideline is to reserve 30%–50% above the weight-storage baseline, then validate the allocation against the intended workload.

    For the 2.8-trillion-parameter MXFP4 example, a rough full-model deployment memory target is around 1.8–2.2 TB. This is a planning range, not a guarantee that every context-length and concurrency combination will fit.

    4. A 671B-Parameter Model as a Reference Point

    A smaller—but still very large—MoE model helps put these requirements into perspective.

    Consider a model with 671 billion total parameters and approximately 37 billion active parameters per token:

    • FP8 deployment: The main model and speculative decoding module may require approximately 685 GB of GPU memory. Eight 80 GB accelerators provide only 640 GB, so that configuration needs CPU offloading or additional compression.
    • Four-bit weight quantization, such as an AWQ-style approach: Weights alone are approximately 335 GB. An illustrative estimate adds about 37 GB for activations and runtime allocations, with an overall deployment budget of roughly 400 GB after other overheads. This can fit within an eight-accelerator node, subject to workload requirements.

    A 2.8-trillion-parameter model has more than four times as many parameters as a 671B model. Even with four-bit weights, its weight-storage requirement starts at approximately 1.5 TB.

    An eight-card node with 80 GB per accelerator is therefore insufficient for a fully GPU-resident deployment. The model requires a multi-node configuration.

    Large-scale MoE inference has a particularly important bottleneck: all-to-all communication.

    With expert parallelism (EP), experts are distributed across dozens or hundreds of accelerators. During inference, each MoE layer follows a process like this:

    1. The router selects the experts that should process each token.
    2. Token activations are dispatched to the accelerators hosting those experts.
    3. The experts perform their computations.
    4. Their outputs are returned and combined.

    When experts span 64 accelerators across multiple servers, repeated token dispatch and return operations create substantial inter-device and inter-node traffic.

    At that point, network performance directly affects accelerator utilization. A fast GPU provides little value while it waits for activations to arrive.

    This is the rationale for using a high-speed supernode with 64 or more accelerators, rather than a collection of servers connected through ordinary Ethernet. The goal is to keep expert-parallel communication within a high-bandwidth, low-latency interconnect domain.

    Importantly, this recommendation is not just about fitting weights into memory. It is also about delivering useful throughput once the model is loaded.

    6. Three Deployment Tiers and Their Estimated Budgets

    The following tiers provide rough planning ranges, not procurement quotes. Budgets are retained in Chinese yuan (CNY) rather than converted into potentially misleading international hardware prices. Actual costs depend on accelerator selection, networking, server configuration, and market conditions.

    Tier 1: Quantized, Multi-Node Experimental Deployment

    Indicative budget: CNY 3–5 million

    • Approximately 16–32 accelerators with 80 GB of memory each.
    • Four-bit weights sharded across multiple nodes.
    • Limited expert-parallel performance, with all-to-all traffic traversing the inter-node network.
    • Best suited to feasibility testing and experimental workloads rather than demanding production service.

    The memory arithmetic matters here: the lower end of this accelerator range does not provide enough GPU memory for the roughly 1.5 TB MXFP4 weight baseline, let alone runtime overhead. Feasibility therefore depends on the actual compression or offloading configuration; this tier should not be read as a promise of fully GPU-resident operation across the entire range.

    Tier 2: Standard High-Speed Supernode

    Indicative budget: CNY 15–30 million

    • Approximately 64–128 accelerators in a high-speed interconnect domain.
    • Dedicated switching infrastructure.
    • Intended for full-model MXFP4 deployment.
    • More room for KV cache and moderate-concurrency production workloads.

    This tier addresses both major constraints: aggregate memory capacity and the communication bandwidth needed for expert parallelism.

    Tier 3: Production-Scale Cluster

    Indicative budget: CNY 50 million or more

    • More than 128 accelerators.
    • Redundant power infrastructure, high-performance storage, monitoring, and operational tooling.
    • Designed for higher-concurrency online services.
    • Requires a dedicated team for inference optimization and infrastructure operations.

    At this scale, accelerator purchases are only part of the investment. Reliable service also depends on the supporting infrastructure and the people who operate it.

    7. Three Questions to Ask Before Self-Hosting

    Do you need the complete model at its intended precision?

    If lower-bit quantization or expert pruning still meets application quality requirements, deployment costs may fall substantially—potentially by an order of magnitude.

    However, that is a different deployment target from running the complete model at its intended precision. Define acceptable quality before selecting hardware.

    Does your concurrency justify the infrastructure?

    For low-concurrency workloads, a cloud API will generally offer a lower total cost of ownership than purchasing and operating a large dedicated cluster.

    Cloud object storage, container platforms, and elastic inference services can also reduce operational complexity. The comparison should include more than hardware acquisition: it should reflect how much useful work the infrastructure will actually perform.

    Can your team optimize large-scale expert-parallel inference?

    Running the model is not the same as running it efficiently.

    Communication tuning, expert-routing balance, and KV cache management require specialized engineering. Buying enough accelerators provides the hardware foundation, but it does not guarantee acceptable throughput or operating costs.

    Bottom Line

    For a 2.8-trillion-parameter MoE model, MXFP4 weights alone require approximately 1.5 TB of storage, including shared scales. Runtime allocations and KV cache push practical memory requirements higher.

    A realistic production configuration may call for a 64-accelerator or larger high-speed supernode, not merely enough disconnected GPU memory to hold the weights. Illustrative budgets range from a few million CNY for constrained experiments to tens of millions for production infrastructure.

    Before committing to on-premises deployment, calculate the complete memory footprint, evaluate expert-parallel communication requirements, and compare total ownership costs with cloud alternatives.