Deploying a 2.8T Open Model: How to Calculate VRAM and GPU Count
Before deploying a 2.8T-parameter open model locally, you need to calculate three things: weight size determines minimum VRAM, KV cache determines how much context and concurrency add, and parallel sharding determines whether the expert count divides evenly across GPUs. With 80GB accelerators, the publicly released 1.56TB weights have a theoretical floor of 20 GPUs and a practical requirement of 25 to 28 after reserving headroom. Eight 192GB GPUs cannot hold the full weights. This article walks through the math, parallelism planning, download and verification, license checks, and three deployment paths.
The Bottom Line First
Before local deployment, calculate three things: weight size determines the minimum VRAM required, KV cache determines how much additional VRAM context length and concurrency consume, and parallel sharding determines whether the GPU count divides the experts evenly. With 80GB accelerators, the publicly released 1.56TB weights have a theoretical floor of 20 GPUs; after reserving headroom, you need 25 to 28 GPUs. Eight 192GB GPUs cannot hold the full weights in memory.
1. Align Units and Precision First
This article uses 1TB = 10^12 bytes and 1GB = 10^9 bytes, so 1.56TB equals 1560GB. The 80GB accelerator figure is the nominal capacity; actual usable VRAM is reduced by driver and runtime overhead, so adjust your plan based on measured values.
The model has roughly 2.8T total parameters, and the publicly released weights total about 1.56TB. Converting to bits per parameter: 1.56×10^12 bytes × 8 ÷ 2.8×10^12 parameters ≈ 4.5 bits per parameter. This shows the public weights use mixed-precision storage, not uniform 8-bit.
If you assumed uniform FP8, 2.8T parameters would require about 2.8TB — roughly 80% more than the released weights. Figures under these two precision assumptions cannot be compared side by side. Confirm which precision a number refers to before using it.
2. MoE Architecture: Compute Scales with Active Parameters, VRAM Scales with Total Parameters
The model uses a Mixture-of-Experts (MoE) architecture. The estimated figures given in the source material: each token activates about 104B parameters, consisting of 16 routed experts selected by the gating network from 896 routed experts, plus 2 shared experts that always participate in computation. 104B is in the hundreds-of-billions range and is an estimate. Before deployment, verify it against the official configuration file and confirm whether the 104B figure includes the shared experts.
This architecture produces two metrics that must be considered separately:
- Compute scales with active parameters: a single forward pass is comparable to a dense model in the hundreds-of-billions range.
- VRAM scales with total parameters: any expert can be selected by the router, so all experts must reside on some GPU or in some memory segment at all times.
As a result, inference may be fast, but VRAM must still be provisioned for the full 2.8T parameters.
The model has about 93 layers. Layer count, KV head count, and head dimension together determine KV cache size. Under standard attention, the KV cache can be estimated as:
KV cache bytes ≈ 2 × layers × KV heads × head dimension × context length × concurrent requests × bytes per element
The “2” represents the K and V caches. Layer count, KV head count, and head dimension should be read from the model configuration file — do not rely on rules of thumb. If the model uses grouped-query attention (GQA) or multi-query attention (MQA), the KV head count should be the num_key_value_heads value in the configuration file. Bytes per element depend on the KV cache data type: 2 bytes for FP16, 1 byte for FP8.
A worked example: with 93 layers, 8 KV heads, head dimension 128, context length 131072, concurrency of 1, and 2 bytes per element, the result is about 25GB. These values are only for illustrating the calculation method; real values must come from the configuration file.
The model is primarily optimized for agent tasks. Real workloads often include multi-round tool calls and long reasoning chains, placing higher demands on concurrency and context management than typical chat scenarios. Long context and high concurrency cause the KV cache to grow rapidly, so it must be calculated and reserved separately.
3. VRAM and GPU Count Estimates
Total VRAM must cover at least three components: weights, KV cache, and activations plus runtime overhead. The table below uses 80GB accelerators and gives both the theoretical floor and the headroom-adjusted GPU count.
“Theoretical floor” means the GPU count when weights exclusively occupy VRAM, calculated as weight size divided by per-GPU capacity.
“With headroom” means weights occupy at most 70% to 80% of per-GPU capacity, leaving 20% to 30% for KV cache and runtime. This ratio is an empirical value and should be adjusted with measured results.
| Weight precision | Weight size | Theoretical floor (80GB GPUs) | With headroom (80GB GPUs) |
|---|---|---|---|
| Public release (~4.5bit, mixed precision) | 1.56TB | 20 | 25 to 28 |
| Uniform 4bit quantization | 1.4TB | 18 | 22 to 25 |
| FP8 | 2.8TB | 35 | 44 to 50 |
| Uniform 2bit quantization | 0.7TB | 9 | 11 to 13 |
The headroom-adjusted count equals weight size divided by (per-GPU capacity × 0.7 to 0.8), rounded up. For the public release on 80GB GPUs: 1560GB ÷ (80GB × 0.8) ≈ 24.4, rounded up to 25; 1560GB ÷ (80GB × 0.7) ≈ 27.9, rounded up to 28.
Several conclusions follow:
- Eight 80GB GPUs provide 640GB total, which cannot hold the 1.56TB public weights or even the ~700GB of 2bit-quantized weights.
- Eight 192GB GPUs provide a nominal 1536GB total — 24GB short of 1560GB. Nominal capacity does not account for driver and runtime overhead, so actual usable capacity is even lower. Even with zero headroom, full weight residency is impossible, let alone reserving space for KV cache.
- Uniform 4bit quantization is about 10% smaller than the public release (1.4TB vs 1.56TB). The public release is already mixed precision, so uniform 4bit requires re-quantization and may incur significant accuracy loss. The gain comes mainly from size reduction; evaluate the quantized version before deciding.
4. Parallel Sharding and Interconnect
Multi-GPU deployment typically combines parallelism strategies as follows: tensor parallelism within a single node, relying on high-speed interconnects for communication; pipeline parallelism or expert parallelism across nodes. Cross-node bandwidth is far lower than intra-node bandwidth, so minimize the frequency of cross-node communication.
With expert parallelism, the 896 routed experts should divide evenly by the GPU count. 896 is divisible by 8, 16, and 32, as well as by 7, 14, and 28. With 24 GPUs, experts cannot be distributed evenly, causing load imbalance. If 24 GPUs must be used, evaluate the impact of this imbalance on latency and throughput, or consider expert redundancy or expert replication. Whether these options are available depends on the inference framework — consult the framework documentation before deployment.
Inter-GPU communication volume is determined by the parallelism strategy and expert routing. The more scattered the routing, the more GPUs each token must access, and the greater the impact of interconnect bandwidth on latency and throughput. Whether NVLink-class interconnect is strictly required should be determined by measurement. The test method: run the same batch of requests under both interconnect configurations, record time-to-first-token and output tokens per second, and use tools such as Nsight Systems to measure the share of inter-GPU communication.
Quantization reduces VRAM requirements but causes accuracy loss. For accuracy-sensitive tasks such as mathematical reasoning and code generation, evaluate the quantized version before deciding whether to ship it. The quantization format must be supported by your chosen inference framework, and you should check the model notes for the quantized version.
5. Weight Download, Verification, and Loading
Download. At a sustained 1Gbps (about 125MB/s), 1.56TB takes roughly 3.5 hours. Throttling and retries will extend this in practice. Prepare at least 2.5TB of storage for weight files, temporary extraction files, and caches. If you download compressed archives, reserve additional space for the archives themselves.
Mirrors. Regional mirrors can improve download stability. Before using a mirror, verify that its files match the official release and that the license file is included in the package.
Verification. After downloading, check each file’s hash against the checksum file provided by the publisher:
sha256sum -c SHA256SUMS
Do not load any shard that fails verification. Delete that shard and re-download it; if failures repeat, switch sources.
Security. The weights use a safetensors-style format that does not execute arbitrary code during loading. This reduces risk but does not eliminate it. Configuration files and inference code in the model directory still need review. Do not enable remote code execution options unless you have confirmed the code is trustworthy.
Loading. The source estimates cold start may take tens of minutes; actual time depends on storage bandwidth and should be measured in your own environment. In production, place weights on local NVMe or shared storage and use parallel loading to avoid full reads on every restart.
6. License Compliance Checklist
“Open weights” usually come with usage conditions. Before downloading, review the license text line by line, focusing on the following:
| Clause | Questions to confirm |
|---|---|
| Commercial use threshold | Do user count, revenue, or call volume trigger additional licensing? |
| Redistribution | Can you provide the model or weight copies to third parties? |
| Derivative models | Can fine-tuned models be used commercially, and must they carry the same license? |
| Attribution | Must products or documentation credit the source and license? |
| Competing training | Can the model be used to train a competing model? |
| Usage restrictions | What prohibited uses and geographic restrictions apply? |
The license text itself is authoritative; this article does not constitute legal advice. Mirror copies are equally bound by the original license.
7. Three Deployment Paths
1. Small-scale validation. Even with 4bit quantization, the full model has a theoretical floor of about 18 80GB GPUs, which limited hardware cannot support. If the model family has smaller variants, or an official cloud API is available, use those resources first to validate API calls, prompt design, and the tool-calling pipeline before evaluating full deployment. Do not force-run a 2.8T model with CPU offloading — it is too slow, and the resulting performance data has no reference value.
2. Self-hosted inference cluster. 24 to 32 80GB GPUs typically requires multiple nodes
