Deploying a 2.8T-Parameter MoE Model: GPU Memory and GPU Count Estimation
A 2.8T-parameter open-weight model with a ~1.56TB weight file raises an immediate question: how many GPUs do you actually need? This article walks through the relationship between parameter count, weight file size, and runtime memory, explains how to estimate KV Cache for long-context serving, and shows why an 8-GPU setup falls short in most cases—using formulas you can recompute yourself once official config values are available.
Introduction: Calculate Memory First, Then Plan Deployment
A leading AI company recently released the full weights of its latest-generation large model. With 2.8T total parameters and a weight file of roughly 1.56TB, it is one of the largest open-weight models currently available for download. The vendor first launched the service via API and a web interface, gathered feedback, and then opened the weights.
Many teams see “2.8T” and immediately extrapolate hardware requirements—often with wildly inaccurate results. Parameter count, weight file size, and runtime GPU memory usage are three distinct concepts. This article breaks down all three in order, provides an estimation method you can recompute, and flags which conclusions depend on assumptions. All figures are based on publicly available information; actual requirements should be verified against the official configuration files and real-world benchmarks.
1. The Relationship Between Parameter Count, Weight File Size, and Precision
Weight file size is determined by “number of parameters × bits per parameter.” Consider the theoretical sizes under two common precisions:
- FP16 or BF16 (2 bytes per parameter): 2.8T × 2 bytes ≈ 5.6TB
- FP8 (1 byte per parameter): 2.8T × 1 byte ≈ 2.8TB
The actual file is only 1.56TB, which works out to roughly 1.56TB ÷ 2.8T ≈ 0.56 bytes per parameter—about 4.5 bits. This is below FP8, suggesting the weights have most likely undergone ~4-bit quantization or use mixed precision (with some layers kept at higher precision). Public sources do not specify the quantization scheme, so this conclusion is inferred from file size alone and should be confirmed against the official release notes.
This directly affects hardware estimation. If the inference framework dequantizes the 4-bit weights back to FP16 at load time, memory usage returns to roughly 5.6TB. Whether the loaded format preserves quantization depends on whether your framework supports inference kernels for that quantized format, so this must be validated separately before going live.
2. Estimating KV Cache
KV Cache is the dominant source of GPU memory consumption for long contexts. The formula is:
KV Cache bytes per sequence = 2 × number of layers × number of KV heads × head dimension × bytes per element × context length
The factor of 2 accounts for storing both K and V. Public information provides the layer count (93) and context length (100k), but not the KV head count or head dimension. The numbers below use example assumptions: 8 KV heads, head dimension 128, and KV Cache in BF16 (2 bytes).
- KV Cache per token: 2 × 93 × 8 × 128 × 2 ≈ 0.38 MB
- Single 100k-context sequence: ~38 GB
- 4 concurrent sequences: ~152 GB
- 8 concurrent sequences: ~305 GB
If KV Cache uses FP8 instead, these values are halved. If the model uses a different attention architecture (e.g., grouped-query attention with fewer heads, or a KV-compressing attention scheme), the results will differ substantially. Read the parameters directly from the official config file and plug them into the formula.
The formula illustrates one key point: the product of context length and concurrency determines KV Cache usage. At 100k context, even if the weights already fit, a modest increase in concurrency quickly exhausts memory. In production, you need to cap maximum concurrency or bucket-schedule requests by context length.
3. GPU Count Estimation: The 8-GPU Assumption Fails in Most Cases
The following estimates the minimum GPU count based on the 1.56TB (~1560GB) weight file, counting weights only—excluding KV Cache, activations, and framework overhead.
| GPU Memory per Card | Total Memory (8 GPUs) | Min GPUs for 1.56TB Weights | Min GPUs for 5.6TB (FP16) |
|---|---|---|---|
| 80GB | 640GB | 20 | 70 |
| 192GB | 1536GB | 9 | 30 |
Key takeaways:
- Eight 80GB GPUs provide only 640GB total—not enough even for the quantized weights.
- Eight 192GB GPUs provide 1536GB total, slightly below the ~1560GB weight file, so they cannot hold the full weights either.
- After adding KV Cache and activations, the actual GPU count grows further. When planning with 192GB GPUs, reserve at least 16 to allow tensor-parallel sharding with headroom.
The original claim of “starting with 8 GPUs” does not hold up under this calculation.
