Deploying Trillion-Parameter Open Models: VRAM Budgeting and Hardware Selection

    Running a trillion-parameter open-weight model starts with simple math. This article walks through how to estimate weight footprint, VRAM requirements per GPU count, and KV Cache consumption for a ~2.8T-parameter MoE model, then provides a practical capacity-planning formula and sizing checklist you can verify yourself.

    1. Why You Should Do the Math First

    Open-weight models have grown from tens of billions of parameters to the trillion-parameter range. Recently, an AI lab released the full weights of a Mixture-of-Experts (MoE) model with roughly 2.8T total parameters, totaling about 1.56TB on disk. These models are highly capable, but whether they can run on your own hardware comes down to three questions: whether the weights fit into VRAM or system memory, how much space the KV Cache consumes at inference time, and whether the deployment topology meets your latency and throughput targets.

    This article uses only numbers that can be derived from arithmetic. Wherever a figure must be verified against official documentation, that is explicitly noted. You can treat the whole piece as a checklist—every step can be recomputed independently.

    2. The MoE Architecture: Total Parameters Drive VRAM, Activated Parameters Drive Compute

    An MoE model splits its feed-forward network into many experts. Each token is processed only by the few experts selected by the gating network, so the model gains a large knowledge capacity while keeping per-token compute within a modest range.

    This architecture requires distinguishing two concepts. Compute is determined by activated parameters; memory footprint is determined by total parameters. Using the officially published figures—2.8T total parameters and roughly 104B activated per token—the activation ratio is about 3.7%. Per-token compute is close to that of a 104B dense model, yet all 2.8T weights must remain resident in VRAM or memory, because the router may select any expert at any time. This is the fundamental reason MoE models have a high deployment bar.

    3. Weight Footprint: Precision Determines Whether It Fits

    Weight footprint equals total parameters multiplied by bytes per parameter. At 2.8T parameters, the footprint at different precisions is:

    • BF16 (2 bytes): ~5.6TB
    • FP8 (1 byte): ~2.8TB
    • INT4 (0.5 bytes): ~1.4TB
    • 1.58-bit (~0.2 bytes): ~0.55TB

    The released weight files total about 1.56TB, which works out to roughly 4.5 bits per parameter (1.56TB × 8 ÷ 2.8T ≈ 4.46 bits). Uniform FP8 would be close to 2.8TB, so the files most likely use mixed precision—for example, low-bit storage for expert weights while attention layers and other critical parts keep higher precision. The exact precision distribution needs to be confirmed by reading the model’s configuration files or weight index.

    4. VRAM and GPU Count: Whether 8 GPUs Suffice Depends on Precision

    Total VRAM for common 8-GPU servers:

    • 8 × 80GB = 640GB
    • 8 × 96GB = 768GB
    • 8 × 192GB = 1.536TB

    Comparing these against weight footprints leads to the following conclusions:

    • The 1.58-bit version (~0.55TB) fits into 8 × 80GB or 8 × 96GB. With 8 × 96GB, roughly 200GB remains after the weights, available for KV Cache and activations.
    • The INT4 version (~1.4TB) does not fit into 8 × 80GB or 8 × 96GB. On 8 × 192GB, only about 136GB remains beyond the weights, which supports only short contexts and low concurrency.
    • The FP8 version (~2.8TB) cannot fit on a single 8-GPU server. At 192GB per GPU, at least 15 GPUs are required, which in practice means two 8-GPU machines.
    • 8 × 192GB provides 1.536TB in total—slightly less than the 1.56TB native weight files. If the inference framework cannot convert precision at load time, loading in the native mixed precision will not fit on 8 GPUs either. This must be verified empirically.

    Single 80GB GPUs are even more constrained. INT4 weights alone require at least 18 GPUs, and adding KV Cache and communication overhead means even more cards—typically a multi-machine deployment.

    Therefore, whether 8 GPUs are enough depends on the target precision, context length, and concurrency; there is no one-size-fits-all answer.

    5. KV Cache: Long Contexts and High Concurrency Consume Massive VRAM

    With standard multi-head attention, KV Cache bytes per token can be calculated as:

    Bytes per token = 2 × number of layers × number of KV heads × head dimension × bytes per element

    The factor of 2 accounts for both the K and V caches. Total usage equals bytes per token multiplied by context length, multiplied by concurrency. Models using compressed-attention designs (such as MLA-style architectures) follow a different formula; use the actual parameters in the model’s configuration files.

    The following example uses a set of hypothetical parameters purely to demonstrate the calculation—these are not the model’s real configuration: 60 layers, 8 KV heads, head dimension 128, BF16 precision (2 bytes), 128K context (131,072 tokens), and 16 concurrent requests.

    • Bytes per token: 2 × 60 × 8 × 128 × 2 = 245,760 bytes, about 240KB
    • One 128K context: 131,072 × 245,760 ≈ 32.2GB
    • 16 concurrent requests: about 515GB

    This single item can exceed the remaining space in most of the configurations discussed above. As a result, long-context, high-concurrency serving typically requires compressing the KV Cache (for example, storing KV in FP8) or capping maximum context length and concurrency.

    6. A VRAM Planning Formula

    Required VRAM ≈ quantized weights + KV Cache + activations + communication buffers + headroom

    • Quantized weights: compute using the precision table in Section 3.
    • KV Cache: compute per Section 5, using the peak under your target concurrency and context length.
    • Activations and communication buffers: these depend on the inference framework and batch size and should be measured empirically. For initial planning, reserve 5% to 10% of the total, then calibrate with measurements.
    • Headroom: reserve at least 10% to absorb fragmentation and peak fluctuations.

    When planning, fix the precision and target concurrency first, then compute each component, and finally select the GPU count. This is more reliable than applying rule-of-thumb multipliers such as “1.5× total server VRAM.”

    7. Three Compression and Parallelism Paths

    Low-bit quantization. INT4 or lower-bit quantization can significantly reduce