Local Deployment Cost of Ultra-Large-Scale MoE Models: VRAM, Compute, Communication, and TCO Breakdown

    Most teams evaluating an on-premises deployment of a very large language model ask the same three questions: does it fit, will output be smooth enough, and will it fall over with ten concurrent users. None of these are answered by total parameter count alone. The real answer depends on model architecture, quantization scheme, context length, concurrency target, routing communication, and the overall system interconnect. This article walks through a cost model built around a sparse MoE model with roughly 2.8 trillion total parameters, 896 experts, and 16 activated experts per token, and splits the deployment cost into four ledgers: memory, compute, communication, and operations. It then maps three deployment goals to concrete hardware ranges and provides formulas plus an acceptance checklist so you can turn "it runs" into measurable capacity planning.

    1. The VRAM Ledger: You Cannot Estimate by Activation Ratio

    The most common mistake with sparse expert models is seeing “only 16 experts are activated per token” and assuming VRAM requirements scale with the activation ratio. During inference, the system cannot predict which experts the next token will route to, so all expert weights must already be resident in VRAM or high-speed storage. The activation ratio only affects how many parameters actually participate in matrix multiplication per step; it does not reduce the weight residency requirement.

    With about 2.8 trillion total parameters at 4-bit quantization, the raw weight footprint alone is roughly:

    1. Weight (raw) = 2.8T params × 4 bit ÷ 8
    2. ≈ 1400 GB

    If the quantization scheme shares one high-precision scale factor across every 32 weights, each parameter carries additional scale overhead. With an 8-bit scale factor shared by a group of 32 parameters, that works out to 0.25 extra bits per parameter:

    1. Effective bit width = 4 bit + 8 bit ÷ 32
    2. = 4.25 bit
    3. Weight size = 2.8T params × 4.25 bit ÷ 8
    4. ≈ 1487.5 GB

    This still excludes:

    1. Tensors that are not 4-bit, such as token embeddings, the output layer, normalization parameters, and routing parameters;
    2. Metadata, tensor alignment, and memory fragmentation;
    3. Runtime caches owned by the inference framework itself;
    4. The KV cache;
    5. Intermediate buffers during expert routing;
    6. Send/receive buffers needed for collective communication;
    7. Overhead from sampling, batching, logging, and monitoring.

    So in engineering terms, neither 1.4 TB nor 1.5 TB should be treated as a “just enough” boundary. A more conservative estimate adds 20% to 40% of runtime headroom on top of the weights. In other words, weights plus a baseline inference environment realistically call for at least around 1.8 TB of VRAM, and that number keeps climbing under heavier concurrency.

    2. The KV Cache: A Multiplier on Context Length and Concurrency

    Beyond weights, the second routinely underestimated VRAM consumer is the KV cache. Its size depends on context length, number of concurrent requests, number of layers, number of attention heads, key/value dimension, and quantization precision. The general formula is:

    1. KV cache ≈ 2 × layers × kv_heads × head_dim × seq_len × concurrency × bytes_per_element

    The factor of 2 accounts for keys and values. If the model uses grouped-query attention, the number of KV heads is smaller than the number of query heads and the KV cache shrinks noticeably; with standard multi-head attention, the memory pressure is greater.

    For a single user in a short conversation, the KV cache may not matter much. But with ten concurrent requests, long context, multi-turn conversations, or document Q&A, it can grow from tens of gigabytes to several hundred gigabytes. Especially at 32K, 64K, or longer contexts, every doubling of concurrency roughly doubles KV cache memory.

    Deployment planning therefore cannot stop at “do the weights fit?” You also need to answer:

    1. What is the target context length?
    2. What is the maximum output length per user?
    3. Is multi-turn session state cached?
    4. Do concurrent requests share context or remain fully independent?
    5. Does the KV cache support lower-precision storage?
    6. Can low-priority requests be queued or served in a degraded mode?

    Going from a 4K to a 32K context can push KV cache pressure close to eightfold; going from 1 to 10 concurrent requests amplifies it substantially as well. This is a large part of why the cost gap between “it runs” and “it serves external traffic reliably” is so wide.

    3. The Compute Ledger: Activation Ratio Sets FLOPs, Communication Sets Experience

    The compute cost of a sparse expert model is usually estimated from activated parameters. With 16 of 896 experts activated per token, the activation ratio is about:

    1. 16 ÷ 896 ≈ 1.79%

    At 2.8 trillion total parameters, activated parameters per token come to roughly:

    1. 2.8T params × 1.79% ≈ 50B params

    Assuming about two floating-point operations per parameter per forward pass, the approximate compute per token is:

    1. 50B × 2 ≈ 100 GFLOP

    That is only a theoretical lower bound. Real inference also includes attention computation, routing, normalization, sampling, dequantization, and communication synchronization. For latency-sensitive workloads, the bottleneck is rarely peak FLOPS. It is usually one of these three:

    1. VRAM bandwidth: weights and activations are moved constantly across a large number of experts;
    2. Interconnect bandwidth: once experts are spread across multiple accelerators or nodes, routing results must travel between devices;
    3. Scheduling latency: batch composition, routing imbalance, and uneven sequence lengths all create tail latency.

    In a sparse expert model, every token can be routed to several experts. If those experts live on different accelerators, the activation has to be sent to the compute unit holding the target expert and the result aggregated back afterward. When routing is unbalanced, a few nodes hosting hot experts become hotspots while others idle, and aggregate throughput drops noticeably.

    4. The Communication Ledger: Why High-Speed Interconnect Is Non-Negotiable

    Large sparse expert models are highly sensitive to collective communication. Common parallelism strategies include expert parallelism, tensor parallelism, pipeline parallelism, and data parallelism, and each produces a different communication pattern.

    The core challenge of expert parallelism is that once experts are split across compute units, routing becomes dynamic per token. Tokens in the same batch may go to different experts, which means frequent cross-device data exchange. If interconnect bandwidth is insufficient, communication latency cancels out whatever gains came from compute optimization.

    The path can be abstracted as:

    1. token → router selects target experts
    2. → activations sent to the compute unit hosting each expert
    3. → experts perform matrix computation
    4. → results sent back to the originating position
    5. → outputs from multiple experts are aggregated
    6. → proceed to the next layer

    If this path crosses multiple nodes and inter-node bandwidth is limited, per-token latency is amplified. For a single-user target of 25 tokens/s, per-token latency must stay under roughly 40 ms; under concurrency, batch scheduling also has to avoid requests blocking each other.

    So local deployment is not only a question of “how many accelerators” but of how those accelerators are connected. Common engineering principles:

    1. Keep frequently communicating experts or layers inside the same high-speed communication domain;
    2. Avoid crossing multiple layers of low-speed network;
    3. Prefer low-latency, high-bandwidth datacenter-grade interconnect;
    4. Use topology-aware scheduling for expert and tensor parallelism;
    5. Monitor collective communication time, not just average inference latency.

    5. Three Deployment Tiers and Their Hardware Footprints

    Local deployments can be split into three tiers based on business goals, and each has a different hardware scale and cost logic.

    Tier 1: It Just Has to Run

    The goal here is to verify that the model loads, that inference completes, and that basic tasks work. The binding constraint is VRAM capacity, not output speed. For a model with about 2.8 trillion parameters and roughly 1.5 TB of 4-bit weights, the full weight set typically has to be spread across several high-memory accelerators.

    With 80 GB of usable VRAM per card, the theoretical minimum is:

    1. 1500 GB ÷ 80 GB ≈ 19 cards

    Again, that is a theoretical floor. Real deployments reserve room for runtime, KV cache, communication buffers, fragmentation, and redundancy, so you generally cannot procure to the theoretical minimum. For this class of model, a more practical starting point is a compute pool of around 64 high-memory accelerators.

    If per-card memory is lower, say 48 GB or 64 GB, more accelerators are required. Cost then comes not only from the number of accelerators but also from servers, switching equipment, racks, power, and cooling.

    The key metrics for this tier are not tokens per second but:

    1. Whether the full weight set loads successfully;
    2. Whether VRAM overflow occurs;
    3. Whether single or a handful of requests can be served;
    4. Whether long context immediately exhausts resources;
    5. Whether the setup is ready for further benchmarking.

    Cost can be expressed with a simplified formula:

    1. Minimum hardware cost ≈ (cards × cost per card) + node cost + network cost + storage cost

    If we call the fully loaded cost of one high-end accelerator P, a common budget for Tier 1 starts at 64P, with servers, networking, datacenter space, power, and operations added on top.

    Tier 2: 25 tokens/s for a Single User

    If the target is a stable 25 tokens/s for one user, the focus shifts from “does it fit” to “low-latency, stable inference.” That requires lower communication latency, higher VRAM bandwidth, better parallel partitioning, and more stable scheduling.

    Hardware usually grows from the Tier 1 baseline. A common pattern is to start around 64 cards and expand to 96 to 128 accelerators, because:

    1. Wider parallel partitioning reduces per-card compute pressure;
    2. More VRAM allows longer contexts;
    3. Higher-bandwidth interconnect reduces cross-device waiting;
    4. Spare capacity absorbs uneven expert load;
    5. Single hotspots no longer cause jitter in output speed.

    The cost increase in this tier is not just more accelerators. It also includes higher-spec networking gear, a more complex scheduling system, stronger monitoring and alerting, and higher power draw. If Tier 1 costs C1, Tier 2 typically lands at 1.5 to 2.5 times C1, depending on the interconnect design and context length.

    Tier 3: 10 Concurrent Users at 25+ tokens/s Each

    This is the production scenario. The goal is not a single inference but parallel processing of many requests, each with its own context, KV cache, and output progress. As concurrency rises, pressure concentrates in three places:

    1. VRAM capacity: multiple KV caches coexist;
    2. VRAM bandwidth: many requests read weights and activations at the same time;
    3. Scheduling throughput: batch formation, request queuing, tail latency, and load balancing.

    For a 10-concurrency target, hardware generally needs to expand beyond 128 accelerators. With long contexts, higher output requirements, or a need for generous headroom, 192, 256, or more may be warranted.

    Tier 3 cost cannot be described by a simple linear multiple, because production deployment also involves:

    1. Load balancing across multiple instances;
    2. Request prioritization and rate limiting;
    3. Logging, metrics, and tracing;
    4. Failure recovery and node isolation;
    5. Model version management;
    6. Capacity load testing and regression testing;
    7. Datacenter redundancy and power assurance.

    As a result, Tier 3 budgets typically sit well above Tier 2. If Tier 2 costs C2, Tier 3 may reach 1.5 to 3 times C2.

    6. Cost Formulas: From Card Price to Total Cost of Ownership

    The total cost of local deployment is not the price of the accelerators. It is total cost of ownership, which can be framed as:

    1. TCO = hardware procurement + datacenter and network + power + operations staffing + software and monitoring

    Hardware procurement breaks down further:

    1. Hardware cost = cards × cost per card
    2. + compute nodes × cost per node
    3. + high-speed network equipment
    4. + storage and object storage
    5. + racks, power distribution, cooling upgrades

    Annual power cost can be estimated as:

    1. Annual power cost = total power (kW) × annual runtime hours × datacenter energy efficiency × unit electricity price

    Here, datacenter energy efficiency is expressed as PUE. With a PUE of 1.3, 8760 annual runtime hours, and a total power draw of 100 kW:

    1. Annual power cost = 100 × 8760 × 1.3 × unit electricity price ÷ 1000

    The point is not to produce a fixed number, but to make the decision clear: accelerators are the visible cost, while datacenter space, power, cooling, networking, operations, and monitoring all materially affect the budget.

    If you lease or colocate instead, capital expenditure turns into operating expenditure. In that case, focus on:

    1. Whether high-speed interconnect resources are reliably available;
    2. Whether billing is hourly or monthly;
    3. Whether idle time is still billed;
    4. Whether elastic scaling is supported;
    5. Whether monitoring, alerting, and logging services are included;
    6. Whether network congestion or resource contention occurs;
    7. Whether data must be orchestrated through object storage, message queues, or a container platform.

    7. Quantization, Precision, and the Cost of Quality

    Low-precision quantization is the main lever for cutting weight cost, but it is not free. Before deployment, evaluate:

    1. Is post-quantization output quality acceptable?
    2. Does long-text comprehension degrade noticeably?
    3. Are code, math, or structured outputs more error-prone?
    4. Does routing become unstable?
    5. Does low-precision activation introduce numerical anomalies?
    6. Is it necessary to fall back to higher-precision compute for part of the inference?

    If quantization-aware training was already applied, precision loss is usually easier to control at deployment time. If you rely only on post-training quantization, more thorough evaluation is needed. For enterprise use, it is worth building a fixed evaluation set covering Q&A, summarization, translation, code, tables, long documents, and multi-turn dialogue.

    Cost is not only hardware. It also includes quality risk. A seemingly cheap option that produces a high volume of invalid outputs, redundant computation, or user complaints can end up costing more overall.

    8. Engineering Optimization Paths

    Given fixed deployment goals, cost can be reduced from several angles:

    1. Set sensible context length limits. Excessively long context sharply increases KV cache pressure. Where the business allows, cap input and output length by tier.
    2. Use continuous batching and dynamic scheduling. Batch short requests together to raise accelerator utilization, while preventing long requests from monopolizing resources.
    3. Tune the expert parallelism strategy. Adjust routing and replication based on observed expert load to reduce queuing caused by hot experts.
    4. Use tiered storage. Keep cold weights in large-capacity storage and hot weights in high-speed VRAM or nearby storage, while accounting for load latency and inference jitter.
    5. Build a capacity model. Do not procure by intuition; model based on concurrency, context length, output length, and target tokens per second.
    6. Benchmark before scaling. Before committing to a purchase, verify model loading, single-stream latency, batched throughput, long-context stability, and failure recovery.

    9. Deployment Acceptance Checklist

    When assessing whether a local deployment plan is viable, work through these items:

    1. Did the full weight set load successfully?
    2. Is there any VRAM overflow?
    3. Is single-request time to first token acceptable?
    4. Does single-request sustained output speed hit the target?
    5. Do requests block each other under concurrency?
    6. Is expert load severely imbalanced?
    7. Has collective communication become the bottleneck?
    8. Does the KV cache grow linearly with context length?
    9. Does the system remain stable at long context?
    10. Are monitoring, alerting, and logging in place?
    11. Is there a degradation path after node failure?
    12. Can day-to-day operations run on general-purpose cloud capabilities such as object storage, log services, and monitoring/alerting?
    13. Can replica management and elastic scaling be handled by a container platform?
    14. Can request smoothing and decoupling be handled by a message queue?

    10. Conclusion: Cost Follows the Target, Not the Parameter Count

    The cost of running an ultra-large sparse expert model locally is not “parameters ÷ VRAM per card.” The real question is what you actually want: a load-and-verify environment, stable single-user output, or multi-concurrency production service. Each target implies a different hardware footprint, network architecture, and budget order of magnitude.

    Using the model in this article as an example, the cost structure looks roughly like this:

    1. Load only: around 64 high-memory accelerators to start, focused on weight residency and basic inference;
    2. Single user at 25 tokens/s: around 96 to 128 accelerators, focused on low latency, communication, and context stability;
    3. 10 concurrent users at 25+ tokens/s each: 128+ accelerators to start, possibly 192 to 256 in production, focused on throughput, KV cache, load balancing, and operational assurance.

    With P as the fully loaded cost of one accelerator, the three tiers land approximately at:

    1. Tier 1: about 64P to start;
    2. Tier 2: about 96P to 128P;
    3. Tier 3: 128P and above, with complex production environments reaching 192P to 256P.

    Add compute nodes, network equipment, storage, datacenter space, power, operations, and monitoring systems, and the real total budget usually rises further. The most reliable approach is therefore not to quote an absolute number up front, but to build a capacity model first and then validate VRAM usage, throughput, latency, and concurrency through benchmarking. Only when “it runs” is converted into measurable metrics does a cost estimate mean anything, and only then does a deployment plan become reproducible and scalable.