Deploying a 2.8T MoE Model: How to Calculate VRAM and GPU Requirements
A practical guide to deploying a 2.8T-parameter open-weight MoE model with a 1.56TB download size. This article explains how to estimate VRAM from weight size, why sparse activation separates capacity from compute, how to plan parallelism and offloading across multiple nodes, and what to check before going live — including a downloadable deployment checklist.
Parameter counts for large models have reached the trillion scale. Recently, an open-weight MoE model with 2.8T total parameters released its full weights, with a download size of 1.56TB. Teams planning to deploy it on their own machines or in the cloud first need to answer three questions: where to store the weight files, whether VRAM is sufficient, and how many GPUs are required. This article starts with weight size and VRAM budgeting, then covers parallelism and offloading strategies, and ends with a checklist you can verify against.
1. Do the Math First: Weight Size and VRAM
Start with precision. Storing 2.8T parameters in FP16 or BF16 takes 2 bytes per parameter, roughly 5.6TB in total. The actual download is only 1.56TB, which tells us the released weights are not stored in full precision. Dividing 1.56TB by 2.8T parameters gives about 0.56 bytes per parameter, or roughly 4.5 bits. This means the weights have been quantized or stored in mixed precision; the exact format should be confirmed against the official model card. Before deployment, read the config files in the weight directory to verify the dtype of each tensor — do not estimate based on parameter count alone.
Now look at VRAM. With 80GB per card, 8 cards provide 640GB in total. Even in compressed form, 1.56TB of weights exceeds the combined VRAM of these 8 cards by roughly 920GB. Hosting just the weights requires at least 20 80GB GPUs, not counting KV Cache or activations. Therefore, an “8-card setup” only works when some weights are offloaded to CPU memory or NVMe, and throughput will drop noticeably. If your goal is inference entirely in VRAM, plan for a multi-node setup — commonly 3 to 4 8-GPU nodes.
2. Sparse Activation: Capacity and Compute Are Separate
In an MoE model, each feed-forward layer consists of many experts, and a routing network selects only a few experts per token for computation. According to the original materials, this model has 2.8T total parameters, activates about 104B parameters per token, and contains 896 experts in total. Each token is routed to 16 experts, plus 2 shared experts that are always active. This allows model capacity to be very large while per-token compute is only proportional to the activated parameters.
Sparse activation saves compute, not storage. Inactive experts still occupy space, so storage and VRAM planning must be based on total parameters. Many teams get this wrong: inference latency depends on activated parameters, but hardware scale depends on total parameters.
The model is also described as natively multimodal, meaning text, images, and other inputs are processed in a shared representation rather than through separate encoders concatenated together. Multimodal inputs increase preprocessing overhead and VRAM usage, so test with real samples instead of relying on text-only throughput. When the context window exceeds 100K, KV Cache grows linearly with length, so the VRAM budget for long-context scenarios must be calculated separately.
3. Download and Storage
The 1.56TB of weights consists of 112 files, including 96 safetensors shards. Three things to prepare before downloading:
- Reserve at least 1.6TB of free space for the model directory, plus headroom for extraction, format conversion, and temporary files.
- Use a download tool that supports resumable transfers, and verify the hash of each shard after download completes.
- Store the weights in object storage as the source of truth, and have compute nodes pull them to local NVMe cache at startup.
Loading speed depends on storage throughput. At 2GB/s, reading 1.56TB takes about 13 minutes; at 200MB/s, it takes over 2 hours. These are theoretical minimums — actual loading is also affected by concurrent reads, shard size, and the file system.
4. Parallelism and Offloading: Three Common Approaches
Option 1: Multi-node expert parallelism. Non-expert layers such as attention are split across 8 GPUs within a node using tensor parallelism; expert layers use expert parallelism, distributing the 896 experts across multiple nodes. When a token is routed to a given expert, it is sent to that expert’s GPU via All-to-All communication. This approach depends on high-bandwidth inter-node networking such as InfiniBand or RoCE. With insufficient network bandwidth, All-to-All becomes the bottleneck.
Option 2: CPU or NVMe offloading. Currently inactive experts are kept in CPU memory or on NVMe and transferred to GPU when needed. This lets a small number of GPUs get started, but every expert switch goes through PCIe, hurting latency and throughput. It suits low-concurrency or offline batch workloads.
Option 3: Quantization. Quantization can also be applied to the KV Cache and some activations, for example using FP8, to reduce VRAM usage. If the weights are already in a compressed format, quantizing them further may degrade accuracy — compare output quality on a fixed evaluation set first.
Below is a sample configuration showing how the parallel topology might be written. Field names vary by inference framework, so consult your framework’s documentation before use.
# Sample config; field names vary by frameworkmodel_path: "/data/models/moe_2p8t"nodes: 4 # 4 8-GPU nodes, 32 GPUs totalgpus_per_node: 8tensor_parallel_size: 8 # tensor parallelism for attention layers within a nodeexpert_parallel_size: 32 # 896 experts spread across 32 GPUs, ~28 per GPUmax_model_len: 100000 # KV Cache grows with context lengthkv_cache_dtype: "fp8"
5. Deployment Workflow
- Read the official model card to confirm weight precision, expert count, layer count, context length, and license.
- Estimate VRAM: sum weights, KV Cache, and activations, then add headroom; adjust the margin ratio based on measurements.
- Determine the number of nodes from the VRAM requirement and confirm inter-node network bandwidth.
- Download the weights, verify hashes, and write them to object storage.
- Pull weights to local NVMe at node startup and record cold-start time.
- Run correctness and latency baseline tests on a fixed test set before going live.
6. Container Platforms and Monitoring
On Kubernetes, a set of 8-GPU nodes can serve as a single inference service unit, with the Device Plugin letting containers exclusively own GPUs. Scaling requires caution. Cold-starting an MoE service means loading hundreds of gigabytes of weights, potentially taking tens of minutes, so autoscaling cannot respond to traffic on a per-second basis. Scaling down during low-traffic periods saves cost, but you should keep a minimum number of replicas.
Four metrics are worth monitoring: the load distribution across experts, to detect overloaded hot experts; VRAM usage and fragmentation; inter-node All-to-All communication latency; and the proportion of tokens dropped due to expert capacity limits, provided your framework supports this statistic. When expert load is clearly skewed, check the routing strategy or add replicas for hot experts.
7. Checklist
- VRAM budget: the sum of weights, KV Cache, and activations must be below available VRAM, with headroom reserved.
- Parallel configuration: the product of GPU counts across parallel groups must match the actual total GPU count; the expert count must be divisible by the expert parallel size.
- Startup time: record cold-start loading time and factor it into your scaling strategy.
