Deploying Ultra-Large Open-Weight MoE Models: Licensing, VRAM, and GPU Count

    A practical engineering guide to deploying ultra-large open-weight Mixture-of-Experts (MoE) models. Using a case model with roughly 2.8T total parameters, ~104B activated parameters per token, and ~1.56TB of weights (referred to throughout as O-MoE-2.8T), this article explains how to separate compute cost from memory cost, estimate VRAM, and calculate the minimum GPU count across 80GB, 141GB, and 180GB+ card tiers. It also shows how to size KV Cache, weigh parallelism strategies, download and verify massive weight files, review licenses for commercial use and redistribution, run load tests, decide between self-hosting and the cloud, and work through a pre-launch checklist.

    1. From Open APIs to Open Weights: The Bar Has Moved

    Over the past year, the way open-weight models are evaluated has shifted from “can you download it” to “can you actually run it in production after downloading.” For clarity and searchability, this article refers to the case model—about 2.8T total parameters, ~104B activated parameters per token, and ~1.56TB of weight files—as O-MoE-2.8T (a unified label used here, not an official vendor name). Engineering teams usually need to answer three questions first: How many GPUs does an ultra-large MoE model require? How do you actually estimate VRAM? Do the license terms permit commercial use, redistribution, or fine-tuning?

    Models like this typically appear first as a cloud API or web service, and only later release the full weights. The release usually includes hundreds of shard files along with config files, index files, and checksum files. For anyone using it, the real difficulty is not “does it exist,” but “once I have it, can I run it legally, reliably, and cheaply?”

    Here is the bottom line up front. For weights fully resident in memory only, using a rough decimal TB/GB estimate: cards in the 141GB class need at least 12 units, with 16 recommended as a starting point; cards of 180GB and above need at least 9 units, with 10 to 12 recommended; cards in the 80GB class need at least 20 units, with 24 recommended. If you also need to support long context, high concurrency, multimodal input, or a strict SLA, the GPU count should rise further on top of these numbers.

    2. 2.8T Total Parameters vs. 104B Activated: Compute and Memory Are Different Problems

    O-MoE-2.8T uses an MoE architecture: about 2.8T total parameters, but each token activates only about 104B parameters. To reason about this correctly, separate three cost categories:

    • Compute cost tracks activated parameters. The per-token forward pass depends mainly on activated parameters, not the total. So although the model is enormous, inference does not execute all 2.8T parameters.
    • Memory cost tracks all weights. Expert layers may be only partially routed at runtime, but every weight must still reside in VRAM, host memory, or distributed nodes. They do not disappear just because they were “not activated.” Note also that whether “activated parameters” includes attention, shared experts, and token embeddings depends on the model card’s definition; different definitions significantly change VRAM and bandwidth estimates.
    • Communication cost comes from routing and parallelism. MoE must dispatch tokens to different experts, and multi-GPU or multi-node deployment introduces all-to-all style communication. Hot experts can also cause load imbalance.

    Multimodal input further changes the cost structure. Images, documents, and video produce extra tokens once encoded, and long-context scenarios make KV Cache and the VRAM budget balloon quickly. So when deploying an MoE model, the question is not only “can it load,” but “can it reliably produce output under constraints on serving latency, concurrency, and context length.”

    3. Breaking Down the 1.56TB of Weights into VRAM Accounting

    3.1 Back-Calculating Average Bit Width from File Size

    With about 2.8T total parameters and roughly 1.56TB of weight files, you can roughly back-calculate the average storage bit width:

    1.56TB ÷ 2.8T ≈ 0.557 bytes/parameter, or about 4.46 bit/parameter. This suggests the model is very likely not stored entirely in BF16, but rather in mixed precision or quantized storage. Emphasize that this is only a rough estimate based on “total weight-file size, decimal TB, excluding index and metadata.” It should not be read as the actual bit width of any specific module, nor treated as a precise precision claim in the model configuration.

    Here is an illustrative estimate:

    1. TOTAL_PARAMS = 2.8e12 # Total parameters
    2. ACTIVE_PARAMS = 104e9 # Activated parameters per token; note this is 104B, not 104T
    3. BITS_PER_PARAM = 4.46 # Average bit width derived from size, for illustration only
    4. weights_bytes = TOTAL_PARAMS * BITS_PER_PARAM / 8
    5. active_bytes = ACTIVE_PARAMS * BITS_PER_PARAM / 8
    6. print(f"Weights size: {weights_bytes/1e12:.2f} TB") # ~1.56 TB
    7. print(f"Activated expert weights read per token (illustrative): {active_bytes/1e9:.1f} GB") # ~58.1 GB

    If you want to get closer to 1.56TB, adjust the average bit width to about 4.46. The point is not the decimal difference, but the clarity of the basis: file size only helps infer the storage strategy; actual precision must come from the model card, config files, and what the inference framework supports.

    3.2 Minimum GPU Count: Being Able to Load Is Not the Same as Being Able to Serve

    To keep all weights resident in VRAM, you must cover four parts: the weights themselves, KV Cache, activation buffers, and framework/communication overhead. Mainstream accelerators commonly offer 80GB to 141GB of VRAM per card, and there are already publicly listed products at 180GB, 192GB, and above. Vendor, model, driver, and framework reservation policies all affect “usable VRAM per card.”

    The general formulas are:

    1. Minimum for weights-only residency = ceil(weight size ÷ usable VRAM per card)
    2. Recommended GPUs for external serving = ceil((weights + KV Cache × concurrency + activation buffers + framework/communication overhead) ÷ usable VRAM per card)
    Card tier Calculated by nominal VRAM Minimum for weights-only residency Engineering starting point Notes
    141GB class 1.56TB ÷ 141GB ≈ 11.1 At least 12 Start from 16 Must reserve for KV Cache, framework overhead, and fragmentation
    180GB and above 1.56TB ÷ 180GB ≈ 8.7 At least 9 Start from 10–12 Recompute (round up) if usable VRAM is below 180GB
    80GB class 1.56TB ÷ 80GB ≈ 19.5 At least 20 Start from 24 Usually needs quantization, offloading, or multi-node deployment

    So “8 GPUs for full residency” is not feasible for O-MoE-2.8T: 8 × 141GB = 1128GB and 8 × 180GB = 1440GB are both smaller than the 1.56TB of weights—it does not even fit the weights alone. An 8-GPU setup is only suitable for validation under further quantization, host-memory offloading, or short-context experiments; it cannot serve as a full-residency production plan.

    If the goal is to serve externally, you must also account for concurrency, context length, time-to-first-token, and decode throughput. For example, if KV Cache is about 48.7GB for a single request at 128K context, 4 concurrent requests need about 194.8GB; added to the 1.56TB of weights, cards in the 141GB class must be recalculated against a higher budget. Enough capacity only guarantees “loading succeeds”—it does not guarantee “the service is usable.”

    3.3 KV Cache Is Often the Hidden Bottleneck

    During decoding, generating each token typically requires reading the current request’s activated weights and KV Cache. KV Cache grows with the number of layers, KV heads, head_dim, context length, and concurrency. The following formula applies to standard MHA/GQA/KV-quantization scenarios; if the model uses latent KV compression such as MLA, the per-token KV cost may be an order of magnitude smaller, so substitute the formula given on the model card.

    1. def kv_cache_gb(layers, kv_heads, head_dim, ctx_len, batch=1, dtype_bytes=2):
    2. # K and V each take one copy
    3. per_token = 2 * layers * kv_heads * head_dim * dtype_bytes
    4. return per_token * ctx_len * batch / 1e9
    5. # Illustrative parameters; actual values follow the model config
    6. print(kv_cache_gb(93, 8, 128, 128_000))
    7. # ~48.7 GB / request

    Under the assumptions of 93 layers, 8 KV heads, head_dim of 128, and 128K context, a single request’s KV Cache is about 48.7GB. As concurrency rises, memory pressure scales linearly. Common engineering mitigations include grouped-query attention to reduce KV heads, KV Cache quantization, paged memory management, and context/prefix reuse.

    layers kv_heads head_dim ctx_len KV Cache
    93 8 128 128K ~48.7GB
    93 8 128 100K ~38.1GB
    93 4 128 128K ~24.4GB
    93 8 64 128K ~24.4GB

    This table is not meant to give fixed answers, but to prompt teams to recompute with their actual configuration. Different models, attention implementations, and KV-quantization strategies all change the result.

    3.4 Trade-offs Among Parallelism Strategies

    Strategy Pressure it relieves Main cost
    Tensor parallelism (TP) A single layer’s weights do not fit on one card High-frequency communication; depends on high-bandwidth intra-node interconnect; TP must divide the number of KV heads evenly
    Pipeline parallelism (PP) Insufficient capacity across nodes Pipeline bubbles; needs enough micro-batches
    Expert parallelism (EP) Large number of experts All-to-all communication and load skew; EP must divide the number of experts evenly
    Host-memory offloading Insufficient VRAM High swap-in/swap-out latency; noticeably lower throughput

    A common combination is TP and EP inside a node, with PP carrying capacity across nodes. But the prerequisites must be met: TP must divide the KV heads evenly, EP must divide the experts evenly, and PP needs enough micro-batches; otherwise you get wasted resources or throughput jitter. Offline batch processing can tolerate higher latency, whereas online serving should instead control context length, concurrency, and the KV Cache budget rather than blindly piling on GPUs. When serving externally, you also need authentication, rate limiting, gateway isolation, and audit logging to avoid exposing the inference service directly to the public internet.

    4. Downloading and Verifying: 1.56TB Is an Engineering Problem Too

    Downloading a large weight set cannot rely on an ordinary command-line download alone. Before starting, check disk space, path permissions, temp-file location, and the final mount method; if you use object storage or a shared filesystem, also confirm the read-only mount and multi-instance sharing strategy. Reserve at least 2× the weight size in temporary disk to avoid running out of space during sharding, verification, and extraction.

    The recommended workflow:

    1. Download config and index first: Model repositories usually include small files such as config, index, and checksums. Confirm the shard count, mapping relationships, and version first.
    2. Parallel download by shard: Pull shards concurrently at shard granularity so that a single failed shard is re-fetched individually rather than restarting the whole download. Download to a temp directory, and only after verification passes, atomically rename or move files into the final directory.
    3. Resume support and temp-file management: Whether resume is supported depends on the publisher’s implementation; after downloading, clean up leftover temp files so old shards don’t consume disk space.
    4. Full verification: The verification baseline must come from official release channels, official mirrors, or a trusted internal artifact repository. Compare checksums such as SHA256 one by one—file size alone is not enough. If any checksum fails, do not mount or start inference.
    5. Read-only mount and sharing: Inference instances use the same weights via a read-only mount, reducing duplicate storage and version drift.

    5. License Review: Open Weights Does Not Mean Unconditional Use

    Disclaimer: This article does not constitute legal advice. Commercial use, redistribution, naming obligations, and ownership of outputs should be determined by the license text, the model card, and legal review.

    Being able to download the weights only solves “getting hold of them”—it does not solve “how you may use them.” Complete a license review and keep records before launch. Start by checking off this list:

    • □ Commercial use
    • □ Redistribution/bundling
    • □ Modification and naming
    • □ API/SaaS
    • □ Ownership of outputs
    • □ Training-data constraints
    • □ Sign-off and record-keeping

    Beyond that, focus on:

    • License type and commercial boundaries: Is it a permissive license like Apache-2.0 or MIT-style, or a custom community license with additional terms?
    • Redistribution and derivatives: Can you bundle the weights into a product; does a fine-tuned model count as a derivative work; is the same license required?
    • Naming and attribution obligations: Do you need to rename, retain the model card, or note your modifications?
    • Ownership of outputs: Who owns the rights to generated content, and what usage limits apply?
    • API/SaaS boundaries: Is offering an online service allowed, and are there user-scale or fee restrictions?
    • Indirect training-data constraints: Some data statements may impose regional, use-case, or industry limits.
    • Compliance records: Save the license version, download date, checksums, and internal approval records.

    License review should be confirmed jointly by legal and engineering, and should not default to the person deploying the inference stack.

    6. Startup and Load Testing: An Illustrative Flow

    Inference frameworks differ significantly in their support for MoE, TP/EP/PP, quantization, and KV Cache. Choose a version whose official release notes explicitly state support for the target MoE architecture and parallelism strategy, and before launch run a single-node smoke test, a multi-node soak test, and load tests. The commands below are illustrative of the flow only and do not imply official support for a specific model or framework version:

    1. # Illustrative: 16-GPU deployment = TP 8 + PP 2
    2. # Actual parameters must be adjusted for the framework, model card, GPU count, number of experts, KV heads, and context length
    3. vllm serve /models/o-moe-2.8t \
    4. --tensor-parallel-size 8 \
    5. --pipeline-parallel-size 2 \
    6. --max-model-len 32768 \
    7. --gpu-memory-utilization 0.90 \
    8. --host 0.0.0.0 \
    9. --port 8000

    If you use SGLang, TensorRT-LLM, or another serving framework, the launcher and parameters will differ, but the core constraints are the same: parallelism degrees must satisfy the model’s sharding requirements, the VRAM budget must cover weights, KV Cache, and framework overhead, and the service must sit behind a gateway with authentication and rate limiting.

    Load testing should cover at least: time-to-first-token, single-request decode speed, concurrent throughput, long-context stability, VRAM watermark, OOM events, expert load skew, and failure recovery. Test goals should not just say “it runs,” but should be written as verifiable metrics—for example: at a given concurrency, context length, and latency threshold, throughput must be no lower than the target QPS, and peak VRAM must stay under 90% of available VRAM.

    7. Self-Hosting vs. the Cloud: When You Should Not Run It Yourself

    The hidden costs of private inference include GPU depreciation, peak scaling, failure recovery, version upgrades, monitoring and alerting, and capacity planning. Decide with these principles:

    Lean toward self-hosting: data cannot leave its domain, traffic is stable over the long term, the team already has distributed inference and operations experience, and there is a hard SLA on latency tail. A rough rule of thumb: if sustained GPU utilization is consistently above about 60% and the load is stable, self-hosting more easily amortizes cost.

    Lean toward the cloud: load fluctuates significantly, you need to experiment quickly across multiple models, or you want the platform to handle elastic scaling and failure replacement. If utilization is below about 30% or varies widely, cloud elasticity is usually a better fit. The break-even point can be simplified as: self-hosted monthly cost ÷ cloud unit cost.

    A hybrid strategy is usually more robust: keep baseline capacity for core sensitive workloads in a private cluster, and put elastic peaks and experimental models in the cloud; use the same weights and the same evaluation set on both sides to keep results comparable. A cloud approach can use object storage to hold TB-scale weights, elastic GPU compute and container platforms to host the inference service, and logs, monitoring, and alerting to observe capacity and quality.

    8. Pre-Launch Checklist

    1. □ License conclusion is signed off and archived; commercial use, redistribution, modification, naming, and API/SaaS boundaries are clear. Deliverable: license review record; Owner: Legal and Product leads.
    2. □ All weight checksums pass, and config, index, and shards are consistent. The verification baseline comes from official release channels; if it fails, mounting is prohibited. Owner: Platform Engineering.
    3. □ The VRAM budget covers weights, KV Cache, activation buffers, and framework/communication overhead, and the minimum GPU count is computed as “weight size ÷ usable VRAM per card.” Deliverable: VRAM budget sheet; Owner: Inference Engineering.
    4. □ The quantization scheme is validated on the business evaluation set, comparing PPL, task accuracy, and long-context recall. Owner: Algorithm and Evaluation team.
    5. □ KV Cache optimization and prefix reuse are enabled for long-context scenarios, and the context-length ceiling is recorded. Owner: Inference Engineering.
    6. □ Load testing covers time-to-first-token, single-request decode speed, concurrent throughput, long-running stability, and failure recovery. Deliverable: load-test report; Owner: SRE.
    7. □ The online service has authentication, rate limiting, gateway isolation, access auditing, and alerting configured to avoid exposing the inference port directly to the public internet. Owner: Security and SRE.
    8. □ Monitoring covers VRAM watermark, queue wait, routing load skew, all-to-all communication latency, and OOM events. Owner: SRE.
    9. □ A rollback path is available, keeping the previous version’s weights and config for a fast switch-back. Owner: Platform Engineering.
    10. □ The self-host/cloud cost model has been reviewed, including depreciation, scaling, operations, monitoring, and failure-recovery costs. Owner: Architecture lead.

    9. Conclusion

    The real barrier to ultra-large open-weight MoE models is not just parameter scale, but four separate ledgers: license, VRAM, throughput, and operations. Numbers like 2.8T total parameters, 104B activated, 1.56TB of weights, and the minimum GPU count all ultimately come down to a specific configuration, context length, concurrency target, and cost boundary. Working these questions out in advance and then deciding whether to self-host or use the cloud delivers more engineering value than simply comparing model rankings.