2.8T Open-Source MoE Model: Architecture Analysis and GPU Memory Planning
A technical guide to a 2.8T-parameter open-source MoE model with 104B active parameters per token. This article covers how to verify the weight precision from the 1.56TB file size, the architectural trade-offs of fine-grained experts and 93 layers, formulas for estimating weight and KV Cache memory, a vLLM-based deployment walkthrough with OOM troubleshooting, and a comparison of on-premises versus cloud GPU deployment options.
1. Verify the Parameter Numbers First
The publicly available information about this model includes: 2.8T total parameters, 104B activated per inference pass, 100K-level context support, and approximately 1.56TB of weight files. These figures come from the original materials; before publishing or deploying, cross-check them against the official model card and technical report.
Placing 2.8T and 1.56TB side by side lets you infer the storage precision of the weights. The weight file size is roughly the parameter count multiplied by the bytes per parameter:
- BF16 (2 bytes per parameter): 2.8T × 2 bytes ≈ 5.6TB
- FP8 (1 byte per parameter): ≈ 2.8TB
- INT4 (0.5 bytes per parameter): ≈ 1.4TB
1.56TB is close to the theoretical INT4 value. The difference mainly comes from quantization scaling factors, plus the embedding layer and certain weights left unquantized. So this release is very likely a 4-bit quantized version. If your downloaded files are in BF16, they should total close to 5.6TB. If the numbers don’t line up, first check whether the download is complete and whether the precision stated in the model card is accurate.
2. Architecture Highlights and Their Costs
2.1 Sparse Activation: Large Capacity, Small Per-Token Compute
104B divided by 2.8T is about 3.7%, meaning each token passes through only ~3.7% of the parameters. The forward compute is roughly 2 × 104B ≈ 0.2 TFLOPs per token. Compute is determined by active parameters, but memory footprint is determined by total parameters. When deploying a MoE model, estimate these two numbers separately.
2.2 Fine-Grained Experts and Routing
According to the original materials, the model has 896 experts. The gating network selects the Top-16 routed experts for each token, while 2 shared experts always participate in the computation. Shared experts handle general features; routed experts carry domain-specific knowledge.
This design comes with clear costs:
- When experts are spread across multiple GPUs, every layer requires all-to-all communication, and interconnect bandwidth easily becomes the bottleneck.
- Routing may concentrate on a few “hot” experts, overloading some GPUs. You should collect per-expert token counts during deployment.
- At small batch sizes, each GPU runs very little expert computation, resulting in low GPU utilization.
2.3 93 Layers and 100K Context
93 layers means each token sequentially passes through 93 layers of attention and expert computation. The pipeline is deep, so per-token latency is affected by the layer count. The 100K context has a bigger impact on memory, because the KV Cache grows linearly with sequence length. Section 3 gives the estimation method.
2.4 Native Multimodality and Agent Capabilities
The original materials state that the model fuses text, image, and other modalities during pretraining rather than attaching adapters afterward. To verify this, check the training data mix and the vision encoder architecture in the technical report.
Agent capabilities—tool calling, task decomposition, and correcting based on feedback—mainly depend on post-training data and the chat template. Whether the model can reliably call tools must be validated with your own test set, not taken from marketing claims.
3. Memory and VRAM Estimation
3.1 How Much Weight Can Fit
With 1.56TB of weights and 80GB GPUs:
- Storing weights alone requires at least 1560 ÷ 80 ≈ 20 GPUs.
- Eight 80GB GPUs provide 640GB total, which holds only about 41% of the weights.
Therefore, an 8-GPU setup must be paired with host memory or NVMe offloading, with roughly 920GB placed in host RAM or on disk.
For a configuration at this scale, plan for:
- Host memory: 1TB or more, with headroom reserved for the OS and the inference framework.
- NVMe: 2TB or more, with high sequential read bandwidth.
- Interconnect: prefer NVLink or equivalent bandwidth. Over PCIe, the all-to-all overhead increases noticeably.
3.2 KV Cache Estimation
The KV Cache formula is:
KV Cache bytes = 2 × layers × KV heads × head dim × sequence length × batch size × bytes per element
Read these parameters from the model’s config.json. The example below assumes: 93 layers, 8 KV heads, head dimension 128, 100K sequence length, batch size 1, and BF16 (2 bytes).
2 × 93 × 8 × 128 × 100000 × 1 × 2 ≈ 38GB
A single 100K request needs about 38GB of VRAM. Serving 4 such requests concurrently requires roughly 152GB of KV Cache. If the model uses a compressed attention mechanism such as MLA, the meaning of KV head count and head dimension changes, and the result will differ significantly—always use the actual configuration.
3.3 VRAM Budget
Per-GPU memory usage breaks down into four parts: the shard of weights assigned to the GPU, the shard of KV Cache, activations and temporary buffers, and communication buffers. Activations and communication buffers must be reserved separately, and the reservation ratio should be determined through measurement. The framework parameter gpu-memory-utilization controls the fraction of GPU memory available to the framework; setting it too high makes long-context requests prone to OOM.
4. Deployment Steps
4.1 Download and Verify
- Check that the total file size matches the official manifest, and verify the sha256 of each file.
- Confirm the directory contains config.json, the tokenizer files, and the sharding index files.
- Place the weights on a local NVMe drive before starting the service. Loading from a network share will be very slow.
4.2 Pin Software Versions
Record the version numbers of the GPU driver, CUDA, NCCL, the inference framework, and model dependencies. MoE models are sensitive to framework versions; new model architectures typically require specific versions to work properly.
4.3 Example Launch Command
The following uses vLLM-style parameters. Whether the framework supports this model’s architecture must be confirmed in the documentation of the version you are using.
vllm serve /models/moe-2.8t-int4 \--tensor-parallel-size 8 \--enable-expert-parallel \--cpu-offload-gb 120 \--max-model-len 32768 \--gpu-memory-utilization 0.85
What each parameter means:
--tensor-parallel-size: shards each layer’s tensors across 8 GPUs; the model’s attention head count must be divisible by 8.--enable-expert-parallel: shards by expert, so each GPU holds a subset of experts.--cpu-offload-gb: the amount of weights per GPU offloaded to host memory, in GiB. With ~920GB to offload across 8 GPUs, the average is ~115GB per GPU; 120GB leaves some margin.--max-model-len: maximum context length. Validate at 32K first, then raise toward 100K once stable.--gpu-memory-utilization: the fraction of GPU memory available to the framework; the remainder is left for temporary buffers.
If the model requires custom code, review the code in the repository before deciding whether to enable the corresponding options.
4.4 Verify the Service
- Query
/v1/modelsto confirm the model has loaded. - Send a short prompt and check that the output content is reasonable—don’t rely only on the HTTP status code.
- Watch peak VRAM with nvidia-smi. Measure time-to-first-token and output tokens per second with a fixed input.
4.5 OOM Troubleshooting Order
- Lower
--max-model-len. - Reduce concurrency or the maximum batch size.
- Increase
--cpu-offload-gb, while confirming host memory is sufficient. - Check whether other processes are occupying GPU memory.
Change only one parameter at a time and record the result.
4.6 Quantization Quality Check
INT4 quantization can degrade accuracy on long reasoning, code generation, and fine-grained factual QA. Before going live, compare the full-precision and quantized versions on your own business evaluation set, and set an acceptable metric floor.
5. On-Premises vs. Cloud
| Dimension | On-Prem Multi-GPU | Elastic Cloud GPUs |
|---|---|---|
| Upfront cost | High: purchase GPUs, servers, and NVMe | Low: hourly billing |
| Cold start | Weights are local, fast startup | Must pull 1.56TB of weights |
| Elastic scaling | Weak: scaling requires hardware purchases | Strong: adjust with load |
| Data compliance | Data stays in your facility | Must evaluate the cloud platform’s compliance requirements |
| Ops burden | High: maintain drivers, interconnects, and handle failures | Medium: rely on platform images and monitoring |
The time to pull the weights depends on bandwidth. At 1GB/s, 1.56TB takes about 26 minutes; at 100MB/s, about 4.3 hours.
Selection advice:
- With steady, consistently high request volume, buying hardware or committing to long-term rentals costs less.
- With volatile traffic or a need for rapid experimentation, start with on-demand cloud instances to measure throughput before deciding on a purchase.
- When comparing cloud platforms, look at per-GPU-hour pricing, interconnect type, bandwidth between object storage and compute nodes, and image warm-up methods—rather than headline compute figures alone.
6. FAQ
6.1 How Much VRAM Does Local Deployment of a 2.8T MoE Need?
With ~1.56TB of weights, the weights alone require about 20 80GB GPUs. The GPUs must also hold the KV Cache and temporary buffers, so leave headroom in real planning. Eight 80GB GPUs cannot hold the full weights; the remainder must be carried by host memory or NVMe, and throughput drops accordingly.
6.2 How Are the 1.56TB Weights Loaded?
Complete the download and verification first, then place the files on NVMe. The inference framework reads the weights by shard and distributes them across GPUs and host memory. The first load is slow, so record the loading time. Before serving production traffic, send a warm-up request so caches and offload mechanisms reach a steady state.
6.3 Common MoE Expert-Parallel Errors
- Load imbalance: a few experts receive most of the tokens, and their GPUs become bottlenecks. Collect per-layer, per-expert hit counts and check whether the distribution is concentrated.
- all-to-all timeouts: usually caused by insufficient interconnect bandwidth or mismatched NCCL versions. Check the topology with
nvidia-smi topo -mand align versions. - Inconsistent expert-to-GPU mapping: the weight sharding doesn’t match the launch parameters, producing shape errors at load time. Re-check parallelism parameters against the sharding scheme.
- Abnormal accuracy after quantization: verify that the quantization config matches the weights; don’t apply a BF16 config to INT4 weights.
7. Conclusion
This model’s parameter scale and MoE design make it well suited for research on large sparse models, but the hardware bar for running it locally is high. Before deploying, confirm the weight precision and file size, then estimate the memory required for weights, KV Cache, and buffers using the formulas above, and finally decide between on-premises and cloud. All parameter figures and performance claims in this article should be validated against the official model card and independent test results.
