How Many GPUs Do You Need to Run 2.8T MoE Open Weights Locally?

    This guide walks through deploying K3.1 Pro, a 2.8-trillion-parameter Mixture-of-Experts (MoE) model with roughly 1.56TB of open weights, on your own hardware. It explains how the MoE architecture splits the bill between memory and compute, why the file size points to low-bit quantization, and how weight sharding and download verification work. It then does the GPU math—weight footprint, KV cache, runtime overhead, memory bandwidth, and TP/EP/PP/CP parallelism—to show why 8×192GB is tight and why 16×192GB or 8×256GB+ is a safer starting point. It also clarifies the difference between open weights and open source, the licensing terms to check, and a stage-by-stage path from download to an observable inference service.

    1. Recap: Downloadable Weights ≠ Production-Ready

    On November 4, 2026, a model team released the open weights of K3.1 Pro, a trillion-parameter-class model, on schedule. (The dates, parameter counts, sizes, shard counts, and licensing below are estimated from public information and example conventions; defer to the official model card, weight repository, and license text for authoritative details.) The model has roughly 2.8 trillion parameters, with weight files totaling about 1.56TB. After release, the discussion centered not just on quality but on two engineering questions: what license governs these weights, and how many accelerators you need to run them locally at minimum.

    Common reader questions include: How do you download the weight shards? How do you estimate VRAM? Can 8 GPUs run it? Is 16 more stable? Is quantization offloading reliable? None of these can be answered by “the model is big” or “activation is sparse” alone—you have to work through weight size, KV cache, memory bandwidth, interconnect topology, and license terms together.

    Just 11 days from release to open weights reflects a common strategy among leading model teams: the API drives commercialization, while open weights expand technical influence. Once released, the community can reproduce evaluations, fine-tune for domains, and deploy in private environments, while the team boosts adoption through ecosystem diffusion. For developers, this turns a capability previously reachable only through an API into a resource you can inspect, prune, deploy, and operate. But between “weights are downloadable” and “the model is serviceable” sit several gates: license review, storage planning, hardware accounting, inference adaptation, performance testing, and operational monitoring.

    Capacity conventions used in this article: 1.56TB is understood in decimal terms, i.e., about 1.56×10^12 bytes, roughly 1453GiB; if the official source or a tool shows TiB, convert using the 1024 base. VRAM capacities like 192GB and 256GB are treated as vendor-stated decimal capacities. GiB in the code is used only for calculation display and is not exactly equal to decimal GB. The VRAM budget table estimates only weight distribution and theoretical headroom—it excludes dynamic usage such as activation buffers and multimodal vision encoders, as well as framework reservations.

    2. What Makes Up 2.8 Trillion Parameters: Reading the MoE Model Card

    According to the model card, K3.1 Pro is an MoE model continued from training on the previous generation. It splits the network into multiple parallel “expert” subnetworks, and each token is routed to only a few experts for computation. The key metrics:

    Metric Value Engineering implication
    Total parameters 2.8 trillion Determines on-disk and VRAM footprint
    Activated parameters per token 104 billion Determines compute per forward pass
    Number of experts 896 Finer knowledge partitioning; each token touches only a small subset
    Experts selected per token 16 routed + 2 shared Low sparsity activation ratio
    Layers 93 Routing happens independently at each layer
    Context length ~100K tokens KV cache grows with sequence length

    Three points stand out.

    First, VRAM is determined by total parameters, compute by activated parameters. 104B activated parameters roughly equal the per-forward compute of a dense model in the tens-to-hundreds-of-billions range, but the weights must still hold all 2.8 trillion parameters. This corrects a common claim: MoE reduces compute per pass but does not reduce weight VRAM footprint. The general FLOPs approximation:

    1. # MoE forward FLOPs estimate (unit: TFLOPs)
    2. def moe_forward_flops(activated_params: int, tokens: int) -> float:
    3. return 2 * activated_params * tokens / 1e12
    4. prefill_2k = moe_forward_flops(104e9, 2048) # ~426 TFLOPs
    5. decode_100 = moe_forward_flops(104e9, 100) # ~21 TFLOPs

    If all 2.8 trillion parameters participated, the same 2K input would cost:

    1. full_dense_2k = 2 * 2.8e12 * 2048 / 1e12 # ~11469 TFLOPs

    So a full-parameter 2K forward pass is about 26× the activated-parameter approach (roughly two orders of magnitude). The sparse structure sharply reduces per-forward compute but cannot bring down the weight VRAM requirement along with it.

    Second, shared experts are the “always-on basics.” Routed experts carry differentiated knowledge, while shared experts are open to every token and carry general language ability. This “shared + routed experts” combination is common in the industry, aiming to reduce the impact of routing variance on foundational capability.

    Third, routing is data-dependent, so load is naturally uneven. The router is typically a small matrix the width of the hidden dimension, and each token picks Top-k experts by score. Token distributions across batches and domains are not uniform, so popular experts concentrate more tokens. MoE serving therefore requires expert parallelism and load-balance monitoring.

    Continuing from the previous generation means the team did not rewrite the architecture but expanded data and optimized post-training on the existing model. For adopters, inference frameworks and toolchains familiar with the previous structure have noticeably lower migration cost.

    3. What’s Inside the 1.56TB Weight Package: Precision, Sharding, Distribution

    1. Reverse-Engineering from Size: This Is Almost Certainly Low-Precision Storage

    1.56TB ÷ 2.8 trillion parameters ≈ 0.56 bytes/parameter. At BF16, the weights would need at least ~5.6TB. The actual size is under a third of standard half precision, close to a mixed average storage precision around 4-bit. This matches the prevailing practice for large-scale MoE models: routed-expert weights—the vast majority of parameters—are stored at low bit-width, while a small number of parameters like attention, embeddings, and normalization keep higher precision.

    By the model card, the model has 896 routed experts and 2 shared experts. Low-bit quantization compresses size significantly but also means the inference framework must natively support the corresponding dequantization operators, or it cannot load.

    1. # Rough weight size estimate (unit: GiB)
    2. def weight_size_gib(params: int, bytes_per_param: float) -> float:
    3. return params * bytes_per_param / 1024**3
    4. print(weight_size_gib(2.8e12, 2.0)) # BF16: ~5215 GiB
    5. print(weight_size_gib(2.8e12, 0.5)) # avg 4-bit: ~1304 GiB

    This result is in the same ballpark as the public 1.56TB size, indicating the weight package very likely uses mixed precision and low-bit quantization.

    2. Sharding: The “Split Archive” of Large Models

    1.56TB won’t fit in a single file and must be split into multiple shards. This article uses 96 weight shards per the release convention. Each shard is typically about 5GB to 20GB, accompanied by an index file recording which shard and offset each tensor lands in, plus a config manifest describing structural hyperparameters.

    This organization brings three benefits:

    • Resumable download: A 1.56TB download will hit interruptions; the shard structure makes file-level recovery easy.
    • Parallel loading: Multiple processes can read different shards at once, shortening startup time.
    • Incremental updates: Later patches only replace some shards; users need not re-download the full weights.

    If different mirrors or third-party tools show different shard counts, defer to the shard index in the official repository.

    3. Mirrors and Downloads: Making a Huge Model “Downloadable”

    Downloading directly from an upstream model repository can be slow or unstable depending on your network and region, so mirrors or authorized distribution channels are sometimes used. When using a mirror, watch three things: whether the license permits redistribution, whether the mirror stays in sync, and whether the mirror’s source complies with usage norms in your region. Mirrors may lag in sync, so the official repository remains the version baseline.

    A typical production acquisition flow: first pull the index and config and confirm the structure; then pull all shards; finally run an integrity check. The commands below are illustrative—defer to the official repository for actual parameters. Before running, confirm huggingface-cli is installed, you have write permission, and you’ve reserved 1.5–2× the model size in disk space; HF_HUB_ENABLE_HF_TRANSFER depends on the hf_transfer acceleration component, so install it first if missing.

    1. # 0) Tool and dependency check
    2. python -m pip show huggingface_hub
    3. # For acceleration: python -m pip install -U huggingface_hub[hf_transfer]
    4. # 1) Lightweight files first: config, tokenizer, shard index
    5. export HF_ENDPOINT=<official or authorized mirror endpoint>
    6. huggingface-cli download <org>/<repo> --include "*.json" --local-dir ./k31pro
    7. # 2) Full shard download: prefer an authorized mirror, enable resumable download
    8. HF_HUB_ENABLE_HF_TRANSFER=1 huggingface-cli download <org>/<repo> --include "*.safetensors" --local-dir ./k31pro
    9. # 3) Integrity check: compare each shard against SHA-256
    10. sha256sum -c checksums.txt

    If the weights are hosted on object storage, you can also use an object storage CLI or sync tool:

    1. # Object storage sync example
    2. aws s3 sync s3://<bucket>/<model-prefix>/ ./k31pro --exclude "*" --include "*.json"
    3. aws s3 sync s3://<bucket>/<model-prefix>/ ./k31pro --include "*.safetensors"
    4. sha256sum -c checksums.txt

    Three easily overlooked details in download and storage:

    • Reserve space: Plan capacity separately for the model body, conversion artifacts, and checksum files; reserve 1.5–2× the model size.
    • Media performance: When a multi-GPU node reads 1.56TB of weights, cold start can take a while. Store weights on local NVMe or a high-speed parallel filesystem.
    • Version locking: Sync the shard hashes and config version. Mixing shards from different versions is a common cause of “load failures” in the community.

    4. “Open Weights” or “Open Source”: How to Read the Two Conditions

    The title uses “open weights,” not “open source.” By the industry-standard definition, the two are not equivalent.

    Open-source models typically require source code, training code, data mixtures, and even training recipes to be freely usable, modifiable, and redistributable. Open weights only publish the final trained parameters; training data and the full training process are not necessarily public. An analogy: open source hands you the recipe, ingredient sources, and cooking steps; open weights hand you the finished dish—you can adjust the seasoning and plating, but you can’t fully reproduce the cooking process.

    Although K3.1 Pro’s weights are directly downloadable, licenses for such models often carry additional terms to check line by line:

    Clause type Common terms What adopters must confirm
    Attribution & naming Keep notices on redistribution or derivative release; derivatives must not reuse the original name How to attribute in product docs during private deployment
    Usage scope Commercial use allowed, but certain uses excluded Whether your use case falls on the prohibited list
    Scale trigger Extra obligations for commercial deployments above a certain MAU or revenue threshold Whether a threshold-trigger clause applies
    Derivative distribution Open-sourcing a derivative requires publishing the corresponding notice Whether you will publicly release internally fine-tuned models
    Retraining & distillation Restrictions on training competing models with its outputs Whether you will use the model to generate synthetic data at scale

    Licensing terms follow the license text published by the release party. Before integration, treat “license review” as a prerequisite on par with hardware selection, and be clear on two points: whether commercial use carries conditions, and whether an internally fine-tuned model can be offered as a service. A usable mirror does not mean the license is cleared, and a completed download does not mean you can release commercially.

    5. How Many GPUs to Run Locally: VRAM, Bandwidth, and Parallelism

    “How many GPUs to run locally” can’t be answered simply as “8 GPUs to start.” A more accurate conclusion: 1.56TB of weights on 8×192GB leaves insufficient headroom and usually suits 16×192GB, 8×256GB or higher, or a validated setup that explicitly uses quantization and offloading.

    1. The VRAM Ledger: Weights Are Only the First Item

    Actual VRAM usage has at least four parts:

    Total VRAM ≈ weights + KV cache + runtime overhead + activation buffer

    • Weights: ~1.56TB, the incompressible base.
    • KV cache: the main increment in long-context inference; grows with sequence length, concurrency, layer count, and KV head count.
    • Runtime overhead: framework temporary buffers, communication buffers, CUDA graph or compiled artifact reservations, etc.
    • Activation buffer: related to batch size and sequence length.

    For a 100K-token context, if each layer keeps only 1 KV head, head dim 128, stored in FP16:

    1. # Single-sequence KV cache estimate (GiB)
    2. def kv_cache_gib(layers: int, kv_heads: int, head_dim: int,
    3. seq_len: int, batch: int, bytes_per_elem: int = 2) -> float:
    4. return 2 * layers * kv_heads * head_dim * seq_len * batch * bytes_per_elem / 1024**3
    5. # bytes_per_elem=2, i.e. FP16
    6. single_fp16 = kv_cache_gib(93, 1, 128, 131072, 1, bytes_per_elem=2) # ~5.8 GiB/seq
    7. batch8_fp16 = kv_cache_gib(93, 1, 128, 131072, 8, bytes_per_elem=2) # ~46 GiB
    8. # bytes_per_elem=1, i.e. fp8
    9. single_fp8 = kv_cache_gib(93, 1, 128, 131072, 1, bytes_per_elem=1) # ~2.9 GiB/seq
    10. batch8_fp8 = kv_cache_gib(93, 1, 128, 131072, 8, bytes_per_elem=1) # ~23 GiB

    The convention here: at 93 layers, 131072 length, 1 KV head, head_dim=128, bytes_per_elem=2 gives ~5.8 GiB/sequence, and 8 concurrent sequences ~46 GiB; only with fp8 (bytes_per_elem=1) is it ~2.9 GiB/sequence and 8 concurrent ~23 GiB. With more KV heads in practice, the cache multiplies. So “can load” and “can serve efficiently” are two different things.

    A rough VRAM budget table:

    Configuration Per-GPU weight share Per-GPU theoretical headroom Suitability
    8 × 192GB ~195GB ~ -3GB (excluding framework reserve) Not recommended for production; only for validation with shorter context, lower concurrency, and low-bit quantization after passing stress tests
    8 × 256GB ~195GB ~61GB Short-context, low-concurrency validation or fine-tuning
    16 × 192GB ~98GB ~94GB 100K context, modest concurrency, production validation

    This table uses decimal GB; per-GPU weight share is 1.56TB divided by GPU count; theoretical headroom excludes framework reserve, activation buffer, and dynamic usage like multimodal vision encoders. Real deployments should reserve additional runtime overhead. The table shows 8×192GB is not strictly unusable, but the headroom is tiny—once you enable long context, high concurrency, multimodality, or agent tool calls, OOM is easy.

    2. 8 vs 16 GPUs: Compute Headroom and Communication Risk

    With 8 GPUs, weights nearly fill all VRAM, leaving little room for KV cache, framework overhead, and activation buffer. 8 GPUs suit feature validation, structural analysis, and domain fine-tuning rather than long-term high-concurrency production traffic.

    If you only have 8 GPUs, a common approach is intra-node tensor parallelism plus expert parallelism, without stacking pipeline parallelism:

    1. # 8-GPU sketch: intra-node TP + EP only, no PP
    2. engine_args_8 = {
    3. "tensor_parallel_size": 8,
    4. "pipeline_parallel_size": 1,
    5. "enable_expert_parallel": True,
    6. "max_model_len": 131072,
    7. "gpu_memory_utilization": 0.85,
    8. "quantization": "int4",
    9. "kv_cache_dtype": "fp8",
    10. }

    Scaling to 16 GPUs, you can use a hybrid of intra-node TP/EP and inter-node PP:

    1. # 16-GPU hybrid parallelism sketch: intra-node TP/EP across 8 GPUs, 2 nodes in PP
    2. engine_args_16 = {
    3. "tensor_parallel_size": 8,
    4. "pipeline_parallel_size": 2,
    5. "enable_expert_parallel": True,
    6. "max_model_len": 131072,
    7. "gpu_memory_utilization": 0.90,
    8. "quantization": "int4",
    9. "kv_cache_dtype": "fp8",
    10. }

    Note: the 8-GPU setup demands very high intra-node interconnect. Every MoE layer has routing dispatch; across GPUs, tokens must be sent to the device hosting their expert, generating all-to-all communication. If you stitch GPUs across machines over ordinary Ethernet, communication becomes the main bottleneck. So for 8 GPUs, prefer cards in the same node, fully connected via a high-bandwidth bus.

    3. Bandwidth and Interconnect: The Real Bottleneck of MoE Inference

    The two phases of LLM inference stress hardware differently:

    • Prefill: processes the whole input in parallel; compute-intensive and relies more on raw compute.
    • Decode: for each generated token, moves the weights relevant to the activation path from VRAM into the compute units.

    Each MoE layer reads 16 routed + 2 shared experts per token. Per-token read is about 104B × 0.5–0.56 bytes, roughly 52GB–58GB. At an estimated 8TB/s per-GPU memory bandwidth, that’s theoretically ~150 tokens/s max; because decoding is layer-serial, real throughput is discounted further. With multi-GPU parallelism, per-token reads should be estimated against the node’s total bandwidth and expert distribution, not naively extrapolated from a single GPU’s 8TB/s; cross-node communication, all-to-all routing, and load skew all reduce effective bandwidth.

    Parallelism What it splits Per-token communication Typical scenario
    Tensor parallelism (TP) Individual weight matrices AllReduce / ReduceScatter Intra-node multi-GPU; needs high-bandwidth interconnect
    Expert parallelism (EP) Entire experts All-to-All Natural fit for MoE; best if expert count splits cleanly across GPUs, though not a hard requirement—depends on framework partitioning and communication implementation
    Pipeline parallelism (PP) Layer groups P2P Cross-node; sacrifices some throughput
    Context parallelism (CP) Sequence dimension Attention-related ring communication Very long context, very high concurrency

    Compressing precision further is not risk-free. 2-bit quantization, expert offloading, and KV cache quantization can all affect accuracy and throughput. Whether inactive experts can be offloaded dynamically depends on the inference framework, VRAM/bandwidth headroom, and throughput goals; don’t assume expert offloading is lossless by default. These must be paired with accuracy regression, latency testing, and stress testing—never assume “still equivalent after compression.”

    4. Extra Overhead from Multimodal and Agent Capabilities

    The model card stresses that K3.1 Pro is a natively multimodal agent model. This changes the hardware picture.

    • Multimodal: Images must be chunked and encoded by a vision encoder before input; once long context fills up, they enter the KV cache too. Video or high-resolution images can produce far more tokens than text, so the VRAM budget must be re-estimated for mixed image-text sequences.
    • Agent: Multi-turn tool calls repeatedly rewrite the context, and outputs often contain structured content like code, JSON, and tool arguments, raising the bar for structured-output constraints and long-context stability.

    Also, MoE routing is sensitive to token content; tokens from different domains and languages hit different experts. Before launch, run accuracy regressions per business scenario distribution, not just general leaderboards.

    6. From Weights to Service: A Practical Implementation Path

    Stage Key actions Acceptance criteria
    0 License review Read the license in full; confirm commercial and derivative clauses Legal issues a written conclusion
    1 Hardware accounting Cross-check against VRAM, bandwidth, and interconnect checklists Load succeeds in a real test; zero OOM
    2 Download & verify Resumable shard download; SHA-256 comparison All shards pass verification
    3 Inference adaptation Confirm framework supports MoE routing, low-bit dequantization, multimodal, long context Small-sample results match reference outputs
    4 Eval & stress test Accuracy regression on business sets; stress-test latency and throughput Meet targets, then canary release
    5 Service & ops Containerization, VRAM monitoring, expert-load dashboard Full observability metrics; rollback capability

    Step 3 is the easiest to stumble on. The open weights’ structural config (config.json) records layers, expert count, Top-k, quantization method, etc., but different inference framework versions may interpret the structure inconsistently. Before a formal load, do a strict structural parse check; missing key fields should error out directly:

    1. import json
    2. def validate_config(path: str) -> None:
    3. cfg = json.load(open(path))
    4. expected = {
    5. "num_hidden_layers": 93,
    6. "n_routed_experts": 896,
    7. "num_experts_per_tok": 16,
    8. "n_shared_experts": 2,
    9. "max_position_embeddings": 131072,
    10. }
    11. missing = [k for k in expected if k not in cfg]
    12. if missing:
    13. raise ValueError(f"Missing required structural fields: {missing}")
    14. for key, want in expected.items():
    15. got = cfg[key]
    16. if got != want:
    17. raise ValueError(f"{key}: expected {want}, got {got}")
    18. if "quantization_config" in cfg:
    19. print("Low-bit weights; confirm the framework supports the corresponding dequantization operator:", cfg["quantization_config"])

    Step 5’s operational focus is observability. At minimum, monitor and alert on:

    • VRAM level
    • KV cache usage rate
    • Gini coefficient of expert routing distribution, to detect load skew
    • Time-to-first-token and per-token generation latency
    • Request failure rate

    For cold starts, you can archive weights on object storage and pull by version to the compute node’s local high-speed disk. Training and inference jobs can be orchestrated on a unified container platform, using node-affinity scheduling to ensure one inference instance’s 8 GPUs land on the same machine within the same high-speed interconnect domain.

    7. Conclusion: Who Should Run Locally, Who Should Go With a Service

    Back to the core question: how many GPUs to deploy locally?

    A more accurate conditional conclusion: 8×192GB is not comfortable and may not even suffice for a 100K context with concurrent requests. A safer starting point is 16×192GB, or 8×256GB or higher. If you insist on 8 GPUs, you need extra low-bit quantization, expert offloading, and KV cache compression, plus a full accuracy and performance regression.

    Match yourself to one of three needs:

    • Just want the model’s capability: use an online service directly—pay as you go, scale elastically, and skip the license and ops burden.
    • Have data-compliance or deep-customization needs: private deployment, domain fine-tuning, offline environments—local deployment is worthwhile, but complete license review and hardware accounting first, then move to download and adaptation.
    • Want to balance cost and quality on limited hardware: adopt a hybrid model of “local validation/fine-tuning + elastic cloud service.” Validate quality on a few GPUs day-to-day, then switch to elastic resources at traffic peaks.

    The arrival of trillion-parameter open weights pushes LLM competition from “who scores higher” to “who can be used more widely.” Read the structural parameters in the model card, work out the VRAM and bandwidth ledger, and verify the license terms—only then can a 1.56TB weight file become a runnable, maintainable, scalable source of productivity.