The Cost of Deploying a Trillion-Parameter LLM On-Premises: A Capacity Breakdown

    This article breaks down what it actually takes to self-host a 2.8-trillion-parameter MoE model, arguing that the real bottleneck is memory capacity rather than compute. It explains why the model's 1.79% expert activation ratio says nothing about memory needs, walks through the MXFP4 weight footprint down to the 1487.5GB static floor, and lays out a four-layer cost model covering static capacity, interconnect topology, dynamic KV cache growth, and total cost of ownership. A Python snippet and a post-release acceptance checklist help readers replace estimates with measured numbers.

    1. The Bottom Line First: This Is a Capacity Problem, Not a Compute Problem

    As of July 23, 2026, the full weights and technical report for a 2.8-trillion-parameter-class MoE model have not been released; the official timeline is before July 27. Every speed, memory, hardware-count, and cost figure in this article is therefore an engineering estimate based on public information, except for the officially published architecture details and API pricing. Once the weights land, you must run benchmarks against your own business corpus item by item and replace the estimates with measured values.

    Here is the conclusion up front: the bottleneck for on-premises deployment of this class of model is not “how fast it computes” but “whether it fits.” Memory capacity determines whether you can start the service at all, memory bandwidth determines single-request latency, and interconnect topology determines whether multiple machines can act as one. Together, these three determine total cost of ownership.

    2. What 2.8 Trillion Parameters Means for Memory

    2.1 The Activation Ratio Is a Compute Metric, Not a Capacity Metric

    The model has 2.8 trillion total parameters and uses a mixture-of-experts (MoE) architecture: of 896 experts, each token is routed to 16, giving an expert activation ratio of roughly 1.79%. This needs to be stated clearly: 1.79% is the share of experts that get invoked. It is not a strict parameter activation ratio, and it must not be used to derive memory requirements.

    The reason lies in how MoE is deployed. The weights of all 896 experts must stay resident in storage; inference only moves the 16 selected by the router into the compute units. The activation ratio affects the floating-point work per forward pass, while capacity usage is always calculated from the total parameter count. Confusing the two is the most common starting point for an out-of-control on-premises budget.

    The backbone consists of KDA (Kimi Delta Attention) and Attention Residuals, with Gated MLA as one of its components. For the deployment side, what matters is that the attention structure affects KV cache compression efficiency, not the naming of the components.

    2.2 From Raw 4-bit Data to the Real Floor

    The model introduces quantization-aware training from the SFT stage onward, with weights in MXFP4 and activations in MXFP8. At 4 bits, the raw data floor is about 1400GB. But that is not how you calculate in practice: MXFP4 attaches one 8-bit scaling factor to every 32 4-bit elements, so under the OCP specification the effective bit width of a weight element plus its scale is 4.25 bits.

    2.8T × 4.25 ÷ 8 ≈ 1487.5GB

    And that 1487.5GB still excludes: non-4-bit tensors (embedding layers, normalization layers, and routing gates typically kept at higher precision), tensor metadata and alignment padding, the runtime workspace, and the KV cache that grows linearly with concurrency. In engineering practice, once all of these are included, the static footprint of weights plus runtime usually rises by another 10% to 20%.

    2.3 A Reference Point from a Comparable Model

    Take a 671B-parameter MoE model as a reference: in FP8, the 671B main parameters plus 14B multi-token prediction parameters come to roughly 685GB; on a 4-bit quantization path, weights are about 335GB, activations and runtime about 37GB, for a total near 400GB — just barely runnable on 8 80GB-class accelerators (640GB).

    2.8 trillion is more than four times 671B, and both the quantization format and the attention structure differ, so “8 cards at full capability” does not hold for this class of model. The official recommendation of a supernode built from 64 or more accelerators is consistent with the capacity derivation above.

    3. A Four-Layer Cost Model

    3.1 Layer One: Static Capacity Cost

    Use the script below to compute the incompressible floor first, then talk about optimization:

    1. def weight_footprint(total_params, bits=4, scale_group=32, scale_bits=8):
    2. effective_bits = bits + scale_bits / scale_group
    3. return total_params * effective_bits / 8 # unit: GB
    4. # 2.8e12 parameters, MXFP4 + one 8-bit scale per 32 elements
    5. base = weight_footprint(2.8e12)
    6. print(f"Weight floor: {base:.1f} GB") # ≈ 1487.5
    7. print(f"With 20% runtime overhead: {base*1.2:.1f} GB")

    3.2 Layer Two: Topology and Interconnect Cost

    When a single 8-card node cannot hold the model, you have to go cross-machine. The key to cross-machine deployment is not peak bandwidth but the efficiency of communication primitives under real parallelism strategies: tensor parallelism is the most bandwidth-sensitive and is usually kept inside a single node; expert parallelism and pipeline parallelism suit cross-machine setups better but introduce load imbalance and bubbles. The value of a supernode approach is that it disguises “multiple machines” as “one machine” using a high-bandwidth domain, reducing the engineering complexity of parallel partitioning.

    3.3 Layer Three: Dynamic Cost

    The KV cache grows with concurrency and context length, and long-context scenarios can consume tens of gigabytes; expert routing hotspots can leave individual cards short on memory while their compute sits idle; and when the quantization format has incomplete operator support, execution falls back to higher precision, pushing memory usage up further.

    3.4 Layer Four: TCO

    Only when you fold in accelerator depreciation, hosts and networking, storage, data-center power and cooling, and operations headcount do you get a comparable basis. Self-built infrastructure suits long-term, stable, high utilization; if load fluctuates significantly, using a container platform with elastic queues to absorb peaks, object storage to host weights, and monitoring, alerting, and logging services for observability is usually more economical than buying for peak capacity. The general-purpose capability combination that Baidu AI Cloud offers in these scenarios can serve as a reference model for capacity and elasticity design.

    4. Acceptance Checklist After the Weights Are Released

    1. Measure actual memory usage after loading with the official weights, and replace the estimates in this article;
    2. Fix input and output lengths, and measure two curves: first-token latency and throughput;
    3. Stress-test KV cache growth and the OOM threshold under different concurrency levels;
    4. Verify quantization operator coverage and measure the share of precision fallbacks;
    5. Record power and depreciation cost per million tokens to build a reproducible unit-price model.

    One-sentence summary: get the 1487.5GB static floor right first, then talk about optimization and elasticity, and the budget will not spiral.