2.8T Open-Source LLM: How to Calculate VRAM and GPU Requirements
This article explains how to estimate VRAM and GPU count for a 2.8T-parameter open-source model with sparse activation. It covers total versus active parameters, inferring weight storage precision from the 1.56 TB checkpoint size, formulas for weight loading and KV cache, a GPU-count table for 80 GB to 288 GB cards, and download and integrity checks.
1. Distinguish Total Parameters from Active Parameters
According to the publisher, the model has about 2.8T total parameters but activates only about 104B parameters per token. It contains 896 routed experts; the routing network selects 16 experts per token, and 2 shared experts always participate. Sparse activation reduces the compute required for a single inference run, but all weights still need to be loaded into VRAM or stored in quickly accessible storage, because any token may be routed to any expert.
The model also discloses a 93-layer Transformer structure and a 100K-level context length. Together, layer count and context length determine the KV cache footprint, an overhead that is often underestimated during deployment.
2. 1.56 TB of Weights: Inferring Storage Precision from Size
The weight repository contains 112 files in total, of which 96 Safetensors shards total about 1.56 TB. Dividing file size by parameter count gives an estimate of storage precision:
1.56 TB ÷ 2.8T ≈ 0.56 bytes/parameter ≈ 4.5 bits/parameter
FP16 requires 16 bits, which at 2.8T parameters would be about 5.6 TB, so these weights are not in FP16 format. FP8 would require about 2.8 TB, and INT4 about 1.4 TB. An average of 4.5 bits suggests that the weights are likely in a low-bit quantized format or stored in a mix of precisions. The exact precision must be confirmed from the model configuration file and shard metadata; it cannot be determined from file size alone.
3. How to Calculate VRAM and GPU Count
The VRAM required to load the weights is approximately equal to the storage volume of the weights. At runtime, you also need to add KV cache, activations, and framework overhead. The formula for estimating the minimum GPU count is:
minimum GPU count = weight volume ÷ (per-GPU VRAM × usable ratio), rounded up
Use a usable ratio of around 0.9 to reserve space for activations and framework overhead. KV cache must be calculated separately. The bytes occupied per token can be estimated as:
per-token KV bytes ≈ 2 × layers × KV heads × head dimension × bytes per element
Then multiply by the context length and the number of concurrent requests. If the model uses a compressed attention structure, use the official formula instead.
Based on 1560 GB of weights, the results are as follows:
| Per-GPU VRAM | Minimum GPU count (usable ratio 0.9) | Recommended GPU count |
|---|---|---|
| 80 GB | 22 | Determine after separately calculating KV cache |
| 141 GB | 13 | 16 (2 × 8-GPU nodes) |
| 192 GB | 10 | 16 (2 × 8-GPU nodes) |
| 288 GB | 7 | 8 (1 × 8-GPU node) |
With only an 8-GPU configuration, usable VRAM per GPU must be about 217 GB or more. Eight 192 GB GPUs total 1536 GB, which cannot even hold the weights. Eight 80 GB GPUs total 640 GB and likewise cannot hold the weights at any precision. Therefore, “8 GPUs minimum” applies only to hardware with about 288 GB per GPU; common 80 GB cards do not qualify.
4. Download and Integrity Verification
- Download from the official repository or a mirror designated by the publisher. Do not use reuploads from unknown sources.
- Confirm disk space. The 1.56 TB of weights plus a 20% margin means you need to plan for substantially more than 1.56 TB of free disk space.
