Trillion-Parameter MoE Open Weights: How Much VRAM Do You Need to Run It Locally?

    When a large model team publishes the full weights of a trillion-parameter Mixture-of-Experts (MoE) model on a mainstream open-weight hosting platform, the question that actually matters to enterprises and developers is a simple one: can it run locally? This article breaks down why 2.8T total parameters and 104B activated parameters are not the same thing, why "open weights" is not the same as open source, and how to estimate VRAM from download size all the way to peak memory footprint. It covers hardware thresholds, parallelism strategies (TP, EP, PP, DP), the frequently underestimated KV Cache, context-length costs, a pre-launch benchmark and load-testing checklist, and deployment recommendations for different teams. The core takeaway: estimate the VRAM floor with a formula first, validate it with real workloads, then choose your quantization, parallelism, and caching strategy.

    Trillion-Parameter MoE Open Weights: How Much VRAM Do You Need to Run It Locally?

    Introduction: Once the Weights Are Open, the Real Question Is “Can It Run?”

    Recently, a large model team released the complete weights of a trillion-parameter Mixture-of-Experts (MoE) model on a mainstream open-weight hosting platform. The total weight size is roughly 1.56TB, split across 112 files and 96 shards, and developers can download it without any application process. Open-weight models like this naturally attract a lot of discussion: Is it one of the largest open-weight models available today? Where are its capability boundaries? But for enterprises and individual developers, there is really only one practical question: can it run locally?

    There is a common claim that you need “at least 8 high-end accelerator cards” to run a model like this. That figure needs correcting. Counting 141GB of VRAM per card, 8 cards give you:

    1. 141GB × 8 = 1128GB

    But the weight download size is about 1.56TB, which already exceeds 1128GB. With full BF16 or FP8 weights, a single 8-card server has an even harder time holding everything. So 8 cards cannot be treated as a reliable production starting point—only as a constrained experimentation starting point; real deployment requires at least multiple 8-card servers, or approaches such as quantization, offloading, and expert parallelism.

    This article gives a practical decision framework across several dimensions: model composition, licensing boundaries, VRAM estimation, parallelism strategies, KV Cache, and a load-testing checklist.

    1. Model Composition: 2.8T Total Parameters vs. 104B Activated Parameters

    According to the model’s public model card, it is positioned as a native multimodal Agent model, continued from the previous generation. The key parameters are:

    Item Value Meaning
    Total parameters ~2.8T Total parameter count including all expert parameters
    Activated per token ~104B The portion that actually participates in computation per token
    Routed experts 896 Selected dynamically per token
    Shared experts 2 Every token passes through them
    Experts selected per token 16 The top-k chosen by the routing network
    Layers 93 Transformer decoder layers
    Context length 100K+ Supports very long context input
    Modality & positioning Native multimodal, Agent Aimed at text, images, tool calls, and multi-step tasks

    The single most important point here is:

    Total parameters determine VRAM usage; activated parameters determine compute cost.

    For each token processed, only about 104B parameters take part in computation—roughly 4% of the total. This is exactly the value of the MoE architecture: it pushes model capacity into the trillions without significantly increasing the per-token compute.

    The simplified logic of an MoE layer can be expressed as:

    1. def moe_layer(x, router, experts, shared_experts, top_k=16):
    2. # Shared experts: every token passes through them, carrying general capability
    3. shared_out = sum(e(x) for e in shared_experts)
    4. # Routing scores, selecting top-k experts for each token
    5. logits = router(x)
    6. weights, indices = topk_softmax(logits, top_k)
    7. # Routed experts: only compute the selected experts
    8. routed_out = zeros_like(x)
    9. for i in range(top_k):
    10. idx = indices[:, :, i]
    11. w = weights[:, :, i].unsqueeze(-1)
    12. routed_out += w * dispatch_and_compute(x, experts[idx])
    13. return routed_out + shared_out

    This pseudocode illustrates three engineering facts:

    1. Routing is a discrete selection, so compute cost scales with the number of selected experts, not the total number of experts.
    2. Shared experts carry general capability; routed experts carry specialized capability.
    3. Expert load is inherently imbalanced. During training, a load-balancing loss mitigates routing collapse; during inference, this can show up as some devices sitting idle while others are overloaded.

    So when evaluating local deployment, you cannot conflate “2.8T total parameters, 104B activated parameters.” Low activated parameters does not mean low VRAM usage; the memory budget must be based on all the weights.

    2. Open Weights Is Not the Same as Fully Open Source

    The “open weights” of a trillion-parameter model is not the same as strictly open-source software. Open-source software typically emphasizes source code, data, training recipes, and redistribution rights. Open weights usually only release the parameter files after training is complete, and often exclude:

    • The original training data, data mixtures, and cleaning and deduplication pipelines;
    • The full training code, training-stage schedules, and data ordering;
    • Post-training details, including instruction-tuning data, preference-optimization strategies, and safety-alignment methods.

    So once you have the weights, you can run inference and fine-tune, but it is hard to reproduce the original model from scratch, and hard to fully audit the training data for compliance. A more accurate term is “open weights” or “openly usable,” rather than open source in the strict sense.

    2.1 Open Weights Usually Come With Two Types of Restrictions

    Common license restrictions for this kind of model include:

    Capability restrictions: Prohibited in high-risk scenarios such as mass surveillance, weapons development, generating disinformation, or illegal use.

    Scale restrictions: Once monthly active users reach a certain threshold, or once the business model is clearly centered on providing the model as a service, a separate license may be required. This kind of arrangement has precedent in the industry for years. The goal is to let small teams and individual developers use the model freely while reserving room for negotiation on very large-scale commercial use.

    In addition, redistribution usually requires retaining the license text and attribution; if you modify and publish the model, you may also need to keep the original model identifier in the name.

    2.2 A Pre-Launch License Checklist

    Before deploying, it is worth confirming at least these questions:

    1. Does the license permit commercial use?
    2. Is redistribution or offering it as an external service allowed?
    3. Is distilling or fine-tuning and then re-releasing allowed?
    4. Do monthly-active-user or revenue thresholds trigger additional licensing?
    5. Do you need to retain attribution, the license text, or the original model identifier?

    If the model will power an external API, a SaaS product, or a scaled industry application, it is advisable to involve legal and business teams in the evaluation.

    3. How to Read 1.56TB? From Download Size to VRAM Requirements

    3.1 Precision Determines Size

    Weight size is determined jointly by parameter count and storage precision. This article uses GiB/TiB throughout, where 1TiB = 1024GiB:

    Storage precision Bytes per parameter Weight size Notes
    FP32 4 ≈10428GiB, ~10.2TiB Main training precision; rarely used for inference
    BF16/FP16 2 ≈5215GiB, ~5.1TiB Full-precision inference baseline
    FP8 1 ≈2607GiB, ~2.55TiB Requires native hardware support
    INT4 0.5 ≈1303GiB, ~1.27TiB Requires dequantization; accuracy may degrade

    The FP8 weight size can be understood as follows:

    1. 2.8e12 × 1 byte / 1024³ ≈ 2607GiB

    Calculated at BF16, it is about twice 2607GiB, or roughly 5215GiB. The actually released weights are 1.56TB, which sits between FP8 and INT4. A reasonable explanation is mixed-precision storage: sensitive parts such as the routing layers, shared experts, and attention projections keep BF16, while the routed experts—which make up the largest share of parameters—use FP8 or lower bits. The final figure should be based on the weight configuration in the repository.

    3.2 The Full Composition of VRAM Usage

    At runtime, VRAM is not just weights. Each card’s VRAM is typically consumed by the following:

    • Weights: Distributed across cards according to sharding methods like TP and EP;
    • KV Cache: Grows with context length and batch size;
    • Activations and temporary buffers: Related to prefill-stage length, batch size, and scheduling policy;
    • Runtime overhead: CUDA context, communication buffers, memory fragmentation, etc.—typically requiring an additional 10%–20% reserved.

    The estimation formula can be written as:

    1. Per-GPU weight VRAM ≈ total weight size ÷ TP degree
    2. Total KV Cache ≈ 2 × layers × KV heads × head dim × KV precision bytes × context length × batch size
    3. Per-GPU KV Cache ≈ total KV Cache ÷ TP degree (if KV is sharded along TP)
    4. Peak VRAM ≈ (per-GPU weight VRAM + per-GPU KV Cache) × 1.15

    Here you must distinguish “total KV Cache” from “per-GPU KV Cache.” If the KV Cache is sharded along tensor parallelism, each card holds only a portion of the KV heads; if it is not sharded by card count, a single card must carry the entire KV, and VRAM will be significantly higher.

    3.3 A 128K Context Example: Total KV vs. Per-GPU KV Must Be Calculated Separately

    Assume the model uses BF16 weights and the KV Cache uses GQA, compressing the KV heads to 8. The illustrative parameters are:

    • Layers: 93
    • KV heads: 8
    • Head dimension: 128
    • Context length: 128K
    • Batch size: 4
    • TP: 8

    Take the weight size as the engineering approximation of 5208.3GiB. The KV Cache per token is about:

    1. 2 × 93 × 8 × 128 × 2 = 380928 bytes/token

    With a context of 128K and batch size 4, the total KV Cache is about:

    1. 380928 × 131072 × 4 / 1024³ ≈ 186GiB

    In engineering estimation this can be approximated as ~190GiB. With TP=8, the per-GPU KV Cache is about:

    1. 190GiB ÷ 8 ≈ 23.75GiB

    So the per-GPU peak VRAM can be estimated as:

    1. (5208.3GiB ÷ 8 + 190GiB ÷ 8) × 1.15
    2. ≈ 776.0GiB

    The total VRAM requirement across 8 cards is about:

    1. 776.0GiB × 8 ≈ 6208.0GiB

    Example code can be written as:

    1. def estimate_vram_gib(total_params, dtype_bytes, n_layers, n_kv_heads,
    2. head_dim, ctx_len, batch=1, n_gpus=8, overhead=1.15):
    3. # Total weight size in GiB
    4. weights_gib = total_params * dtype_bytes / (1024 ** 3)
    5. # KV Cache per token: one copy for K and one for V
    6. kv_per_token = 2 * n_layers * n_kv_heads * head_dim * dtype_bytes
    7. kv_gib = kv_per_token * ctx_len * batch / (1024 ** 3)
    8. # Key point: if both KV Cache and weights are sharded by TP=n_gpus,
    9. # each GPU only carries 1/n_gpus
    10. per_gpu = (weights_gib / n_gpus + kv_gib / n_gpus) * overhead
    11. total_vram = per_gpu * n_gpus
    12. return {
    13. "weights_gib": round(weights_gib, 1),
    14. "kv_cache_gib": round(kv_gib, 1),
    15. "per_gpu_gib": round(per_gpu, 1),
    16. "total_vram_gib": round(total_vram, 1),
    17. }
    18. # Engineering example: 2.8T params, BF16, 93 layers, 8 KV heads,
    19. # 128 dims, 128K context, batch=4, TP=8
    20. # For readability, weights and KV use common approximations: 5208.3GiB, 190.0GiB
    21. # Example output:
    22. # {'weights_gib': 5208.3, 'kv_cache_gib': 190.0,
    23. # 'per_gpu_gib': 776.0, 'total_vram_gib': 6208.0}

    A crucial note: if the workload is not sharded along TP, a single card must carry the full weights and the entire KV Cache, and peak VRAM will reach the 6208GiB scale, far exceeding single-card capacity. The VRAM requirement of a trillion-parameter MoE model is not tens of GB—it is on the order of several TB.

    4. Can 8 Cards Run It? Hardware Thresholds and Parallelism Strategies

    4.1 141GB × 8 = 1128GB, Which Usually Cannot Hold 1.56TB

    Taking 141GB of VRAM per card as an example, one 8-card server totals 1128GB. The weight requirements at different precisions are:

    Weight form Weight size Fits in one 8-card server? Min. number of nodes (weights only)
    1.56TB mixed precision ≈1.56TB No At least 2 eight-card servers
    Full FP8 weights ≈2.6TB No At least 3 eight-card servers
    Full INT4 weights ≈1.3TB Still slightly over 1128GB At least 2 eight-card servers
    Full BF16 weights ≈5.2TB No At least 5 eight-card servers

    The table above counts only weights, excluding KV Cache, activation buffers, and runtime overhead. With longer contexts and higher concurrency, the number of nodes will keep rising.

    Therefore, “8 cards” is at most a constrained experimentation starting point, for example:

    • Small-scale offline testing;
    • Low-precision or truncated-context validation;
    • Low-frequency inference combined with expert offloading, disk caching, and similar approaches;
    • Engineering validation using an inference engine’s sparse-expert scheduling capability.

    But it should not be presented as the default configuration for “local production use.”

    4.2 How to Choose Among the Four Parallelism Methods

    Parallelism What it shards Main communication pattern Advantages Costs
    Tensor Parallel (TP) Weight matrices within a single layer AllReduce per layer Lowest per-GPU VRAM pressure, low latency Frequent communication; depends on high-bandwidth interconnect
    Expert Parallel (EP) Routed experts All-to-All Fits the MoE structure; scales well Imbalanced expert load; high cross-node communication cost
    Pipeline Parallel (PP) Layers grouped into stages Point-to-point between adjacent stages Low communication volume; suits cross-node Pipeline bubbles; fluctuating tail latency
    Data Parallel (DP) Request replicas No synchronization during inference Linear throughput scaling VRAM doubles; more weight replicas

    Real deployments usually combine these modes:

    • Inside a single machine: The 8 cards connect directly via a high-bandwidth interconnect bus, suited to a TP-heavy approach.
    • Cross-machine deployment: Network bandwidth is lower than in-machine interconnect, so EP- and PP-heavy approaches are preferred to reduce the number of cross-machine synchronizations.
    • Multi-replica throughput: Cross-machine data parallelism hosts multiple replicas, then continuous batching improves utilization.

    A common starting point is TP=8 within a single machine, combined with EP/PP or data parallelism across machines. But the final choice must be validated by measurement with the inference framework—you cannot settle it by formula alone.

    4.3 Quantization and Offloading: Two Levers to Lower the Threshold

    Quantization is the most direct way to compress VRAM. FP8 offers excellent cost-performance on hardware that natively supports it, typically balancing accuracy and speed. A more aggressive INT4 approach can compress expert weight size to about a quarter, but it tends to lose accuracy on tasks such as long text, code, math, and Agent tool calls—so a business regression test is mandatory before launch.

    Offloading temporarily stores some expert layers in host memory or even SSD, swapping them in and out on demand. It lets a lower-spec machine “run” the model, but at the cost that PCIe bandwidth is far below VRAM bandwidth, so throughput drops noticeably. Offloading suits offline batch processing, low-frequency interactions, or research experiments—not high-concurrency online serving.

    4.4 Cloud Deployment or On-Premises

    The total cost of building your own 8-card or multi-node setup is not just the price of the cards. It also includes:

    • Data center, power, and cooling;
    • Version maintenance for drivers, the inference framework, and the CUDA ecosystem;
    • High availability, failure replacement, and monitoring/alerting;
    • Weight storage, log archiving, and security auditing.

    Unless you have a stable, high-frequency call volume, or the data absolutely cannot leave your internal network, it is often more economical to use large-VRAM GPU instances from major cloud providers, scaling elastically on demand, and managing the cluster with capabilities like object storage, logging services, and monitoring/alerting. This article does not commit to specific hardware models or inference frameworks; the final approach should be based on real load testing.

    5. Context Length: An Easily Underestimated Cost Variable

    5.1 Why KV Cache Is a Hidden Giant

    The attention mechanism needs to cache the Key/Value vectors of historical tokens. Taking the BF16 example from Section 3.3, with a single 8-card machine, TP=8, batch size 1, and 128K context, the total KV Cache is about 46.5GiB and about 5.8GiB per GPU; if the batch size rises to 16, the total KV Cache approaches 750GiB and per GPU approaches 94GiB. If it is not sharded along TP, a single card must carry the entire KV, and VRAM will be significantly higher.

    Every time the context length and concurrency double, the KV Cache roughly doubles too. This is the most common cause of OOM in long text, multi-turn dialogue, and Agent tasks.

    There are four main mitigation approaches:

    1. Attention structure optimization: Techniques such as MQA, GQA, and MLA can compress the KV dimensions.
    2. KV Cache quantization: Storing KV in INT8 or FP8 roughly halves the VRAM.
    3. Paged management: Slicing the KV Cache into fixed blocks allocated on demand, reducing fragmentation and reserved waste.
    4. Prefix caching: Computing common prefixes—system prompts, long documents, tool definitions—only once and reusing them across requests.

    5.2 The Value of Prefix Caching for Agent Scenarios

    Agent applications typically carry system prompts, tool definitions, and long documents repeatedly. If every request re-runs the full prefix prefill, time-to-first-token grows with context length and the compute cost rises quickly.

    Whether prefix caching takes effect depends on whether the request prefix is stable and byte-for-byte identical. Recommendations:

    • Put timestamps, random request IDs, and rotating examples after the prefix;
    • The earlier dynamic content appears in a template, the lower the reuse rate;
    • Stable content such as long documents and code repositories can be cached separately.

    Messages can be organized as follows:

    1. {
    2. "messages": [
    3. {"role": "system", "content": "<stable system prompt and tool definitions, reusable across requests>"},
    4. {"role": "system", "content": "<long document / code repository, cached on demand>"},
    5. {"role": "user", "content": "<the specific question for this task, changes each time>"}
    6. ]
    7. }

    5.3 Additional Overhead in Multimodal and Agent Scenarios

    Multimodal and Agent scenarios further amplify context cost:

    • Images are encoded into large numbers of visual tokens; a high-resolution image can easily consume thousands of tokens;
    • Video input costs even more and puts greater pressure on prefill and KV Cache;
    • Multi-step tool calls repeatedly carry historical context, requiring prefix reuse and context compression;
    • Structured output can be constrained through mechanisms such as a JSON Schema, reducing parse failures and retries.

    6. Pre-Launch Validation: A Benchmark and Load-Testing Checklist

    6.1 From Model Evaluation to Service Load Testing

    The value of open weights is the freedom to evaluate. It is worth covering at least these dimensions:

    • General capability: knowledge Q&A, reasoning, code, and math;
    • Long context: 32K/128K retrieval, summarization, and multi-document Q&A;
    • Agent capability: multi-step tool calls, planning, and error correction;
    • Multimodal: OCR, chart understanding, and video understanding.

    A special note: the gap between a quantized model and the original often looks small on general leaderboards but gets amplified on long-context, Agent, and code-generation tasks. You must run a regression test on real business data before launch.

    6.2 Metrics to Watch During Server-Side Load Testing

    Metric Meaning Focus
    TTFT Time to first token Affects user perception
    TPOT Per-token generation latency Affects reading smoothness
    Throughput tokens/s Determines unit cost
    VRAM usage Weights, KV, activations, fragmentation Gauges capacity headroom
    OOM/preemption count Whether capacity has enough margin Affects stability

    Load-testing sketch:

    1. # Fix context length, increase concurrency step by step,
    2. # and observe the TTFT and throughput inflection point
    3. # load-test --model <local deployment endpoint> \
    4. # --input-len 8192 --output-len 1024 \
    5. # --concurrency 1,2,4,8,16 --duration 10m \
    6. # --metrics ttft,tpot,throughput,vram_usage

    Testing should cover two types of workloads:

    • Long input, short output: e.g., document understanding and code-repository Q&A—the bottleneck is usually prefill;
    • Short input, long output: e.g., code generation and long-form writing—the bottleneck is usually decoding and KV growth.

    6.3 A Checklist of Common Mistakes

    1. Counting only weights, not the KV Cache;
    2. Ignoring the 10%–20% runtime margin;
    3. Skipping long-context concurrency load tests;
    4. Failing to check whether prefix caching is actually working;
    5. Ignoring the impact of quantization on Agent and long-text tasks;
    6. Overlooking commercial-use, redistribution, and distillation restrictions in the license terms;
    7. Treating a single 8-card machine as a production configuration instead of a constrained experimentation starting point.

    7. Practical Recommendations for Different Teams

    Team type Recommended path Focus
    Research / individual developer Quantized weights, multi-card server, or a large-VRAM cloud instance License terms, evaluation reproducibility
    Small and mid-sized enterprise On-demand cloud GPU instances, TP-first with prefix caching as support Elastic scaling, cost per token
    Large enterprise Self-hosted or hybrid deployment, EP+TP+PP combination High availability, data compliance, cost amortization

    Regardless of the path, the same principle applies to everyone:

    First use a formula to calculate the VRAM floor, then validate with real workloads, and finally choose a quantization, parallelism, and caching strategy based on the business scenario.

    Conclusion

    The value of opening these weights is not that “you can download them,” but that developers can more completely evaluate the capability boundaries of a trillion-parameter MoE model. But whether it can run locally depends on three things: whether the license permits your use case, whether the VRAM math adds up, and whether the context length and concurrency scale match the hardware capacity.

    For most teams, rather than chasing “fitting everything locally,” it is better to treat open weights as an opportunity for a capability upgrade: control cost with quantization and parallelism under compliance, improve effective throughput with prefix caching and context governance, and safeguard service quality with a complete evaluation and monitoring system.

    Calculate first, deploy second, optimize last. For trillion-parameter MoE models, that is the more reliable order of operations.