Sizing Up a 2.8T-Parameter Open-Source MoE Model: Architecture and Deployment Math
This article breaks down the deployment requirements for a large open-source Mixture-of-Experts (MoE) language model with approximately 2.8 trillion total parameters. It analyzes the model from three angles—architecture, storage, and VRAM—using formulas to estimate the hardware threshold. The analysis covers sparse activation, storage planning for the ~1.56TB weight files, precise GPU memory calculations beyond just weights, and practical deployment considerations, concluding that claims of an 8-GPU minimum likely involve hidden trade-offs like quantization or offloading.
Model Positioning and Verification Methods
The source material describes this model as a natively multimodal Agent model, reportedly trained further from a previous generation base model. While such descriptions are easily circulated, the materials lack precise details like the model name, release date, and license. Before relying on any specific numbers, readers should verify the following directly from the official model card or technical report:
- Total parameter count
- Activated parameters per inference
- Number of layers
- Number of experts
- Supported context length
- License terms
Only figures originating from official documentation should be used as a basis for procurement or capacity planning.
Sparse Activation: Total Parameters vs. Active Parameters
Mixture-of-Experts (MoE) models consist of multiple feed-forward sub-networks, where each input token only passes through a subset of the experts. A routing network selects experts based on token features, leaving the rest inactive. This allows the model to have a large knowledge capacity while keeping the compute cost per inference tied only to the activated components.
According to the source material, the model has 2.8T total parameters, with approximately 104B activated per token, across 93 layers, 896 routed experts (with 16 activated per token), and 2 shared experts that are always active. Based on these figures, activated parameters represent roughly 3.7% of the total. However, the 104B activation count includes attention layers, embedding layers, and shared experts, not just the routed experts. Therefore, this number alone cannot be used to deduce the per-layer expert configuration. These details require cross-checking against the model’s configuration file (e.g., config.json).
The MoE architecture carries two clear costs:
- Storage residency: All expert weights must remain resident in accessible storage, even if a single inference only uses a few, because routing decisions are made dynamically at runtime.
- Communication overhead: In multi-GPU setups, tokens must be distributed and gathered across devices via All-to-All communication. Network bandwidth and latency directly impact throughput.
Storage and Download for 1.56TB of Weights
Using the file size to reverse-engineer the average precision reveals the distribution files are not in BF16 format. The calculation is: 1.56 TB × 8 ÷ 2.8T parameters ≈ 4.5 bits per parameter. This indicates the distributed weights are likely quantized or use mixed precision. The exact bit-width distribution requires examining the model card.
Pre-download checklist:
- Available disk space: The weights themselves take up 1.56TB. Additional space is needed for temporary download files, decompression, and format conversion. It is recommended to have at least 2TB of free space.
- Shard count and index: Safetensors weights are typically split into multiple shards. The repository usually includes an index file (e.g.,
model.safetensors.index.json) mapping each tensor to its shard. After downloading, verify the shard count matches the index. - Checksums: If the repository provides a hash file like
SHA256SUMS, verify each file after download. - Mirror sources: Prioritize the official repository or confirmed mirrors. Compare the mirror content against the official hashes; only use it if they match.
- Resume support: Use tools that support resumable downloads, e.g.,
aria2cwith the continue flag. Example command:
After downloading, verify with:aria2c -c -x 8 -s 8 "download-url"
sha256sum -c SHA256SUMS
Storage medium significantly impacts cold-start time. For 1.56TB (~1560GB), at a theoretical read speed of 7GB/s, an NVMe drive takes about 223 seconds (~3.7 minutes). A mechanical hard drive at 200MB/s takes roughly 7800 seconds (~2.2 hours). These are theoretical values, excluding overhead from network, filesystem, and concurrent multi-process reads. Actual load times must be measured in the target environment.
VRAM Budget and GPU Count
During loading, weights must reside in VRAM or fast host memory. The table below shows the weight volume for 2.8T parameters at different precisions:
| Precision | Bytes per Parameter | Total Volume |
|---|---|---|
| BF16 | 2 | ~5.6 TB |
| FP8 or INT8 | 1 | ~2.8 TB |
| INT4 | 0.5 | ~1.4 TB |
| Original distribution | — | ~1.56 TB |
With 8 GPUs of 80GB (640GB total), none of these weight volumes fit entirely in VRAM, including the INT4 version. Considering only the weight footprint, you would need approximately 20 GPUs at 80GB, 12 GPUs at 141GB, or 9 GPUs at 192GB. Note that 8 GPUs of 192GB total 1536GB, which is still slightly less than 1.56TB.
Therefore, the source claim of an 8-GPU minimum contradicts this calculation. Possible explanations include: the actual deployment used a lower bit-width, CPU or SSD offloading was enabled, or conditions were not fully disclosed. Offloading significantly reduces inference speed and is not a default choice for production environments.
Beyond weights, VRAM is required for the KV Cache, activations, and the inference framework itself. The KV Cache size can be estimated with the following formula:
KV Cache bytes = 2 × num_layers × num_kv_heads × head_dim × sequence_length × bytes_per_element
Here, num_layers, num_kv_heads, and head_dim come from the model configuration. If the model uses grouped-query attention (GQA) or latent attention to reduce KV heads, the memory footprint decreases accordingly. The KV Cache grows linearly with context length. When planning concurrency, you should calculate based on the maximum expected sequence length.
Quantization reduces weight volume. Weight-only quantization methods (e.g., AWQ, GPTQ) are common for INT4 deployment, but accuracy loss varies by task; code, math, and long-context tasks are generally more sensitive. Whether a quantization format is supported by a specific inference engine depends on the framework version. Always test loading and inference in the target framework with your own evaluation set to compare results before and after quantization.
Deployment Options
Common inference frameworks include vLLM, SGLang, and TGI, among others. They support tensor parallelism, and some also support expert parallelism—check each framework’s version-specific documentation. Key deployment considerations:
- Parallelism configuration: The combination of tensor and expert parallelism impacts communication volume and VRAM distribution. Test on your target hardware.
- Interconnect: Within a node, NVLink bandwidth typically exceeds PCIe. Across nodes, network bandwidth (like InfiniBand or RoCE) becomes the bottleneck for All-to-All communication.
- Monitoring: At minimum, monitor GPU utilization, VRAM usage, inter-GPU and inter-node network traffic, request queue time, and time-to-first-token.
- Cold start time: Loading 1.56TB of weights takes several minutes, limiting the responsiveness of elastic scaling. For services with stable traffic, keep a number of resident replicas.
Common deployment models include: on-premises hardware, rented cloud GPU instances, and managed inference services. On-premises requires high upfront investment but keeps data within the internal network, with the heaviest operational burden. Cloud GPU instances can be provisioned and released on demand, suiting fluctuating traffic, but require managing weights, frameworks, and monitoring. Managed services minimize operational overhead but offer less control over model versions, custom quantization, and data residency. Compare upfront costs, elasticity, compliance requirements, and per-token cost, using measured throughput as the decision basis.
Conclusion
First, calculate VRAM requirements based on weight volume and target precision before deployment. The original distribution file is approximately 1.56TB, which is too large for eight 80GB GPUs (640GB total) at any standard precision. The claim of “8 GPUs to start” likely assumes quantization or offloading. Use the formulas in this article to estimate weight memory and KV Cache footprint. Always verify all parameters against the official model card and test the actual workload on your own hardware.
