Local Deployment of Ultra-Large Open-Weight MoE Models: Start With the Hardware Math

    This article explains how to plan local deployment for ultra-large open-weight MoE models whose total parameters reach the trillions and whose weight files often exceed 1.5TB. It separates compute budgeting from capacity budgeting, then covers storage planning, download and checksum verification, disk capacity and hot/cold tiering, cold-start measurement, and VRAM/RAM estimation formulas. The numerical examples are illustrative assumptions; actual specifications should be taken from the publisher’s model card.

    1. Downloading the Weights Is Only the First Step

    Some leading vendors follow this release pattern: the model first becomes available through a cloud API, and the full weights are published weeks later. The total parameter count of such models is approaching 3 trillion, and weight files often exceed 1.5TB, making them among the largest open-weight models available today.

    Being able to download the weights does not mean being able to run them. Teams need to answer three questions: where the weights will be stored, how much hardware is required to load them, and whether inference speed can meet business requirements. This article focuses on these ultra-large MoE models and outlines the key steps and estimation methods for local deployment. The numbers used here are assumptions set for demonstrating the calculation process; refer to the publisher’s model card for actual specifications.

    2. Two Separate Budgets: Compute and Capacity

    2.1 Total Parameters and Activated Parameters

    A MoE (Mixture-of-Experts) model consists of a large number of expert subnetworks. When each token enters the model, the router selects only a small subset of experts to participate in computation, while the remaining experts stay idle. The typical configuration used for estimation in this article is as follows, all as illustrative assumptions:

    • Total parameters: about 2.8 trillion (2.8T)
    • Activated parameters per pass: about 100 billion (100B)
    • Routed experts: hundreds to nearly a thousand, plus a small number of shared experts that every token passes through
    • Routing method: each token dynamically selects more than ten routed experts
    • Layers: more than 90
    • Context: supports an ultra-long context window

    Under this configuration, activated parameters account for about 3.5% of total parameters. Per-token compute is close to that of a 100B dense model, but the model’s knowledge capacity is far larger than a dense model with the same amount of compute.

    2.2 Compute by Activated Parameters, Storage by Total Parameters

    Compute cost is determined by activated parameters, while VRAM and memory footprint are determined by total parameters. When a token is routed to an expert, the system must immediately read that expert’s weights, so all 2.8T parameters must reside on quickly accessible media, including VRAM, host memory, or NVMe SSD. This is the main reason such models are “not especially compute-heavy, but impossible to fit.”

    When estimating hardware, use the following order: first calculate weight capacity, then VRAM and memory, then the number of parallel accelerator cards, and finally run a small-scale validation. If the order is reversed, teams can easily buy hardware first and discover later that the model does not fit.

    3. Storage Planning

    3.1 Download and Verification

    Weights are usually split into dozens to hundreds of shard files. Follow these steps:

    1. Choose a tool that supports multithreaded chunked downloads and resumable transfers, such as aria2, with parameters like aria2c -x 16 -s 16 -c <download URL>. A single-threaded download of a 1.5TB file may take days, and it is difficult to recover after a network interruption.
    2. After download, verify each shard’s hash against the publisher-provided checksum file, for example by running sha256sum -c SHA256SUMS. A single corrupted shard can cause loading to fail, and the error often only appears halfway through loading.
    3. Before downloading and extracting, confirm that sufficient disk space is available.

    3.2 Capacity Planning

    Total disk capacity should include at least three parts:

    • Total capacity of weight shards: 1.5TB in this example
    • Temporary space for checksum verification and decompression: reserve about 20% of the weight capacity as a recommendation; this is an assumption and depends on the tools used
    • Hot-cache space: if some experts will be placed on SSD and loaded on demand, reserve cache for frequently accessed experts

    Based on this calculation, a 1.5TB weight set should be planned with at least 1.8TB of disk capacity, with additional margin for logs and other files.

    3.3 Hot/Cold Tiering and Cold-Start Measurement

    NVMe SSD sequential read speed is usually higher than that of hard disk drives, but cold-start time also depends on the filesystem, the number of concurrent reads, the OS page cache, and the model loader implementation. Making decisions based only on nominal bandwidth can easily underestimate load time.

    Measure as follows:

    1. After restarting the service or clearing the page cache, record the time from process start until the model can accept requests.
    2. Start it twice in succession and compare startup time under warm cache.
    3. Record the time to first token for the first request, as well as average throughput after steady-state operation.

    Record these three data sets in a table and use them as the basis for future scaling and procurement.

    4. VRAM and Memory Estimation

    4.1 Weight Footprint Formula

    The basic formula for weight footprint is:

    Weight footprint = total parameters × bits per parameter ÷ 8

    Using 2.8T parameters as an example:

    • 8-bit (such as FP8 or INT8): about 2.8TB
    • 4-bit (INT4-like quantization): about 1.4TB

    The quantized file size is in the same order of magnitude as the 1.5TB figure used in this article. The quantization format and whether any layers remain unquantized both affect the final size. Actual values should be taken from the model card and file manifest.