Local Deployment Cost Estimation for a 2.8T-Parameter MoE Model

    This article presents a practical method for estimating the local deployment cost of a 2.8-trillion-parameter MoE model. It first verifies the parameter definitions that determine capacity calculations, then breaks down GPU memory into its major components, and finally examines supernode communication and GPU-CPU heterogeneous deployment. The goal is to establish defensible lower bounds and identify the metrics that must be measured before procurement.

    1. Verify Parameter Definitions First

    Cost estimation starts with three numbers: total parameters, activated parameters, and expert count. Publicly available information gives an expert count of 896, with 16 experts activated per token. The sparsity ratio of the expert network is therefore approximately 16 ÷ 896 ≈ 1.79%. This ratio describes only the expert network. Attention layers and embedding layers usually participate in computation for every token, so this ratio cannot represent total compute.

    It is currently not possible to confirm from verifiable original documentation whether 896 is the number of experts per layer or the total number of expert instances in the full model. The two definitions produce very different results. If 896 is the per-layer count, the total number of expert instances equals 896 multiplied by the number of layers, and both weight volume and cross-GPU communication volume must be revised upward accordingly. Until the definition is confirmed, all figures in this article should be treated as estimates pending verification.

    When verifying, check the model card or config file item by item:

    • Total expert count, and whether experts are allocated by layer
    • Number of experts activated per token
    • Number of layers, and whether every layer is an MoE layer
    • Number of attention heads, KV heads, and head dimension
    • Whether embedding layers, normalization layers, and similar components are stored at higher precision
    • The official definitions of “total parameters” and “activated parameters”

    Architecture names such as Delta Attention, Attention Residuals, and Gated MLA appear only in secondary sources; no formal paper or model card has been found. These names can help explain the architectural direction, but they cannot be used as the basis for capacity or cost calculations.

    2. GPU Memory Breakdown Formula

    Total GPU memory consists of six parts:

    Total GPU memory ≈ weights (including scaling factors) + non-4-bit tensors + KV cache + runtime workspace + communication buffers + system reserve

    The system reserve is usually 5% to 10% of total GPU memory, depending on the inference framework. Therefore, the sum of the first five items divided by (1 − reserve ratio) gives total GPU memory.

    Weights. In MXFP4 format, each element occupies 4 bits, and every 32 elements share one 8-bit scaling factor. The average storage is therefore 4 + 8 ÷ 32 = 4.25 bits per element. Weight volume is calculated as follows:

    Weight = parameter count × bits per parameter ÷ 8

    Substituting 2.8 trillion parameters:

    2.8×10^12 × 4.25 ÷ 8 ≈ 1.4875×10^12 bytes ≈ 1487.5 GB (decimal)

    This article uses decimal GB consistently, where 1 GB equals 10^9 bytes. Converted to GiB, the result is approximately 1385 GiB. Since 1487.5 ÷ 80 ≈ 18.6, weights alone require at least 19 80GB GPUs.

    This is a theoretical lower bound for weights only. It does not include non-4-bit tensors, KV cache, workspace, communication buffers, or system reserve, and it cannot be used directly as a procurement configuration. A GPU’s nominal 80GB is not the same as its actual available memory; use the available memory reported by the framework.

    Component status is as follows:

    Component Calculation method Current status
    Weights Parameter count × bits per parameter ÷ 8 Lower bound can be calculated under MXFP4
    Non-4-bit tensors Embedding layers, normalization layers, and parts kept at higher precision Need to check model card
    KV cache Layers × KV heads × head dimension × 2 × sequence length × concurrency × bytes per element Depends on architecture and concurrency; requires measurement
    Runtime workspace Temporary buffers allocated by the framework during inference Requires measurement
    Communication buffers Depends on parallelism method and batch size Requires measurement
    System reserve 5% to 10% of total GPU memory Depends on inference framework

    KV cache example. The following values are assumptions used only to demonstrate the formula and do not represent the actual configuration of this model: 60 layers, 8 KV heads, head dimension 128, sequence length 8192, concurrency 16, and 2 bytes per element (FP16 or BF16).

    60 × 8 × 128 × 2 × 8192 × 16 × 2 ≈ 3.22×10^10 bytes ≈ 32.2 GB

    KV cache grows linearly with sequence length and concurrency. If concurrency increases from 16 to 64, KV cache under the same assumptions is approximately 128.8 GB. If the model uses compressed attention such as MLA, the KV cache formula must be replaced with one that matches the actual architecture.

    3. Supernode Communication and GPU-CPU Heterogeneity

    Communication volume in expert parallelism. When experts are distributed across multiple GPUs, the hidden state of each token in each layer must first be sent to the GPU hosting the selected expert and then returned after computation. Therefore, communication volume per layer per token can be approximated as:

    2 × activated experts × hidden dimension H × bytes per element

    The “2” represents one dispatch and one combine. Actual communication volume depends on whether the framework performs deduplication, whether load is balanced, and whether lower-precision transport such as FP8 is used. The formula above can therefore only be used for order-of-magnitude estimation.

    Communication buffers should be estimated based on the maximum number of tokens in a single batch and measured with the target framework. Buffer size is directly related to batch size, parallelism method, and expert distribution.

    Supernode refers to GPUs within the same high-speed interconnect domain. All-to-all bandwidth between GPUs inside the domain is higher. Once traffic leaves the domain, bandwidth drops and latency rises. Before procurement, confirm the following:

    • Number of GPUs within a single interconnect domain
    • Intra-domain interconnect bandwidth and cross-domain bandwidth
    • Whether the chosen parallelism method can run efficiently on this topology

    GPU-CPU heterogeneous deployment means placing some experts or KV cache in CPU memory. Offloading reduces GPU memory usage, but every access must go through PCIe or another link whose bandwidth is much lower than GPU memory. Pure transfer time can be estimated as:

    Transfer time ≈ data volume ÷ effective link bandwidth

    For example, to retrieve 1GB of data at an effective bandwidth of 50GB/s, pure transfer takes about 20ms, excluding compute time. This number is only an example; actual bandwidth must be measured on the target platform.

    Heterogeneous deployment is usually better suited to low-concurrency, latency-insensitive offline workloads. For high-concurrency online serving, measure time to first token (TTFT) and overall throughput before deciding the offload ratio.

    Approach Impact on GPU memory Impact on cost Metrics that must be measured
    Pure GPU deployment Highest GPU memory usage Highest hardware investment Peak GPU memory, throughput
    Expert offload to CPU Lower GPU memory usage Added CPU memory and link costs Per-token transfer volume, TTFT