Running Ultra-Large MoE Models Locally: VRAM Requirements and License Review

    Downloadable weights do not guarantee that a model can run on ordinary hardware. This article covers how to estimate VRAM needs for mixture-of-experts (MoE) models from total and active parameters, the communication and load-balancing bottlenecks in multi-GPU deployments, download and storage planning, and the license terms to review before deployment.

    1. Open Weights Do Not Mean the Model Runs on Ordinary Hardware

    Over the past year or two, the parameter counts of open-weight models have kept rising. Public weights only mean that users can obtain the files. They do not show that the model can run inference on an ordinary workstation. Before deployment, three questions need answers: how large the weights are, how much data must stay resident in VRAM during inference, and what the license allows.

    Many teams make mistakes at this step because they treat “downloadable” as “runnable.” The download is a set of static files. At runtime, the system must also load the computation graph, cache intermediate results, and allocate communication buffers. Together, these often require noticeably more resources than the weight files alone.

    2. Separate Total Parameters, Active Parameters, and VRAM

    2.1 The Key Difference in MoE Architecture

    A mixture-of-experts (MoE) architecture splits the feed-forward part of the network into many sub-networks called “experts.” A router selects a few experts for each token, and the other experts stay idle. As a result, an MoE model typically has two parameter counts:

    • Total parameters: the sum of all experts and shared layers. This sets the size of the weight files and the amount of data that must be kept in VRAM.
    • Active parameters: the parameters that take part in computing a single token. These mainly determine the compute per step and the per-token latency.

    An MoE model can therefore be fast to compute and still too large to fit on the available hardware. Even unselected experts must stay resident on an accelerator. Otherwise, the model cannot compute them when the router sends a token their way.

    2.2 Basic VRAM Estimation Formula

    A rough estimate of the VRAM needed for weights:

    1. Weight VRAM (GB) ≈ total parameters (billions) × bytes per parameter

    The bytes per parameter depend on the numerical precision:

    Precision Bytes per parameter Notes
    FP16 / BF16 2 Common baseline precision for training and inference
    FP8 1 Requires hardware and framework support
    INT4 0.5 Smallest size after quantization. Accuracy loss needs evaluation.

    2.3 A General Example

    Suppose a model has 1 trillion (1T) total parameters, and each accelerator has 80 GB of VRAM:

    1. def estimate_min_cards(total_params_b, bytes_per_param, gpu_mem_gb, overhead_ratio=0.2):
    2. """
    3. Estimate the minimum number of accelerator cards needed to hold the weights plus extra overhead.
    4. total_params_b: total parameter count (in billions)
    5. bytes_per_param: bytes per parameter
    6. gpu_mem_gb: VRAM per card (GB)
    7. overhead_ratio: reserved fraction for KV cache, activations, and runtime
    8. """
    9. weight_gb = total_params_b * bytes_per_param
    10. required_gb = weight_gb * (1 + overhead_ratio)
    11. cards = -(-required_gb // gpu_mem_gb) # round up
    12. return weight_gb, required_gb, int(cards)
    13. for precision, bpp in [("FP16", 2), ("FP8", 1), ("INT4", 0.5)]:
    14. w, r, n = estimate_min_cards(1000, bpp, 80)
    15. print(f"{precision}: weights about {w:.0f} GB, about {r:.0f} GB with overhead, at least {n} cards")

    The output shows that at FP16 the weights take about 2000 GB. With overhead reserved, at least 30 cards are needed. FP8 needs at least 15 cards, and INT4 needs at least 8. These numbers are only lower bounds. Real deployments also depend on the parallelism strategy, batch size, and context length, and they usually need more cards.

    3. Three Bottlenecks in Multi-Card Deployment

    3.1 VRAM Capacity

    VRAM capacity determines whether the model fits at all. As the calculation above shows, the weights of very large models often need to be split across several cards. More cards mean fewer weights per card, but they also mean more data must move between cards.

    3.2 Communication Between Experts

    In multi-card setups, MoE models commonly use expert parallelism, where different experts sit on different cards. At each layer, tokens are first sent to the card that hosts the target expert. After computation, the results are sent back. The cost of this all-to-all communication depends on the number of cards, the interconnect bandwidth, and the routing distribution.

    In practice, interconnect bandwidth and topology matter a lot. With the same eight cards, a high-speed interconnect within one node and a slower cross-node network can perform very differently. When evaluating a setup, check what share of each step’s time goes to communication, not only the card count.

    3.3 Load Imbalance

    If the router favors a few experts, the cards hosting those experts become bottlenecks while the other cards sit idle. Common remedies include an auxiliary load-balancing loss, capacity factor limits, and expert replication. When choosing a model, look for documentation or metrics on load distribution from the model provider.

    4. Download and Storage Planning

    Weight files are split into shards, usually dozens to hundreds of files, with totals reaching the terabyte range. Download time can be estimated from bandwidth:

    1. Download time (s) ≈ file size (bits) ÷ actual bandwidth (bit/s)

    For a 1 TB file, 1 TB equals 8×10¹² bits. At an ideal bandwidth of 1 Gbps, the raw transfer takes about 8,000 seconds, or roughly 2.2 hours. In practice, network jitter, interrupted downloads, and checksum verification usually add more time.

    Prepare the following:

    1. Resumable downloads: The download tool should support resuming shards and verifying them.
    2. Integrity checks: Verify each shard against the checksums published by the provider.
    3. Storage capacity: Beyond the weights, reserve space for decompression, format conversion, and caching.
    4. Shared storage: For multi-node deployments, store the weights on shared storage so each machine does not download its own copy.

    5. License Review Checklist

    “Open” means very different things across licenses. Before committing resources, check each of the following:

    • Commercial use: Whether commercial use is allowed, and whether there are revenue or user-scale thresholds.
    • Redistribution: Whether the weights can be passed on, and whether modified versions can be published.
    • Derivative models: Whether fine-tuned models remain bound by the original license, and whether attribution is required.
    • Usage restrictions: Whether certain fields or uses are prohibited, such as scenarios involving sensitive information.
    • Output ownership: Who owns generated content and how responsibility is divided.
    • Updates and termination: Whether the provider can change the license unilaterally, and whether the license lapses if conditions are not met.

    Legal or compliance staff should take part in this review. The development team’s understanding cannot replace a formal legal judgment.

    6. Assessing Whether Local Deployment Is Feasible

    Assess feasibility in this order:

    1. Confirm hardware: Use the formula in Section 2 to get the precision lower bound and card count, then add parallelism and context overhead.
    2. Estimate cost: Compare the per-unit inference cost of a self-built cluster with elastic cloud GPU instances, and account for idle utilization.
    3. Test throughput: Run a realistic workload in a small environment, measuring time to first token, per-card throughput, and communication share.
    4. Evaluate quality: Test with your own business data to confirm that quantized output is still acceptable.
    5. Check the license: Confirm that the use case and distribution method comply with the terms.

    Only when all five items pass does a deployment plan merit production. In many cases, a smaller model combined with retrieval-augmented generation or fine-tuning gives better value. Very large models suit teams that have a clear need for maximum capability and stable compute investment.

    Conclusion

    Open weights give more teams access to very large models. However, the barrier to running them locally is set by VRAM, communication, storage, and licensing together. Calculate the hardware requirements first, then decide whether to invest. This avoids most wasted spending.