Cost Estimation for Local Deployment of 743B MoE Models: From Running to Serving

    Deploying a 743B parameter MoE model with a 1M token context length is often misjudged based on its 39B active parameters. This article details the true infrastructure costs of local deployment, covering memory budgets for weights and KV Cache, inter-node communication overheads, and Total Cost of Ownership (TCO). It clarifies the gap between merely running the model and providing stable, high-concurrency production services.

    Cost Estimation for Local Deployment of 743B MoE Models: From “Running” to “Serving”

    When teams see an MoE model with “total parameters around 743B, active parameters per token around 39B, and support for 1M context,” their first reaction is often: since the active parameters are only 39B, is the inference cost close to that of a medium-sized model? The answer is no. The “active parameters” of an MoE mainly affect the computation per token, but the full expert weights must still reside in GPU memory (VRAM); meanwhile, the 1M context and high concurrency will rapidly amplify the KV Cache cost. This article does not target any specific product but discusses the general cost ledger for the private deployment of this class of ultra-large MoE models.

    I. Conclusion First: 3.5 Million RMB (Approx. $480K USD) is Just the Entry Ticket

    Estimated with FP8 quantization, 743B parameters of weights require about 743GB. Adding quantization scaling, alignment redundancy, runtime, and VRAM fragmentation, the actual footprint typically exceeds 800GB. If using high-memory accelerator nodes with about 140GB of VRAM per card and 8 cards per node (totaling about 1.1TB VRAM), only about 300GB remains for runtime, communication buffers, and KV Cache after deducting the weights. This margin can support low-concurrency validation, short contexts, or a few long-context requests, but it is difficult to stably support high-concurrency 1M context serving.

    Therefore, we can outline three budget tiers:

    Tier Typical Configuration Budget Range Applicable Scenarios Main Limitations
    Entry Validation Single node, 8 GPUs, FP8 3.5M–4.0M RMB (~$480K–$550K USD) Feature validation, low concurrency, short context Limited 1M context concurrency
    Stable Production Dual nodes, 16 GPUs, high-speed interconnect 7.3M–8.0M RMB (~$1.0M–$1.1M USD) Full 1M context, medium concurrency Requires stress testing and scheduling optimization
    High Concurrency Long Context 3–4 nodes or more >10.0M RMB (>~$1.4M USD) Multi-tenant, high concurrency, long context serving Significant increase in network, storage, and O&M costs

    The above budgets typically only include accelerator nodes, basic networking, and necessary storage. They do not include datacenter power capacity expansion, software adaptation labor, spare parts, and long-term operations and maintenance. 3.5 million RMB is the entry ticket to “get it running,” not the complete answer for “providing stable external services.”

    II. The VRAM Ledger: Weights Are Just the First Layer

    During local deployment, VRAM consumption includes at least four parts:

    1. Model Weights: 743B parameters require about 743GB in FP8; if retaining some high-precision layers or adding redundancy, the actual footprint is higher.
    2. Inference Runtime: Operator workspaces, communication buffers, temporary memory for graph execution, and VRAM allocator fragmentation.
    3. KV Cache: Grows linearly with concurrency × context length, which is the core cost of 1M context.
    4. Scheduling and Multi-tenancy Overhead: Paged management, prefix caching, request queuing, and batch processing buffers.

    The KV Cache can be estimated using a general formula:

    1. KV_bytes ≈ 2 × L × H_kv × D × S × B × bytes_per_element
    2. L: Number of layers
    3. H_kv: Number of KV heads
    4. D: Dimension per head
    5. S: Sequence length
    6. B: Concurrent requests
    7. bytes_per_element: ~1 byte for FP8, ~2 bytes for BF16

    To illustrate the order of magnitude: if L × H_kv × D is large in a certain configuration, the KV Cache for a single 1M token sequence could reach hundreds of GB or even TB levels. Even with FP8 KV, paged KV, and prefix caching, high-concurrency 1M contexts will quickly exhaust the remaining capacity of a single node. This is why “loading weights on 8 GPUs” does not equal “stably serving 1M contexts on 8 GPUs.”

    III. Why Dual Nodes Are Not Simple Addition

    While dual nodes with 16 GPUs seemingly double the VRAM, cross-node MoE deployment requires expert parallelism, tensor parallelism, or pipeline parallelism, which increases communication overhead. High-speed network interface cards, switches, cables, and topology design all enter the budget. More critically, the KV Cache distribution for long-context requests, batch scheduling, and expert routing can cause load imbalance, requiring the inference framework to possess strong scheduling capabilities.

    Production environments should also consider:

    • PD Separation: The prefill and decode phases have different resource characteristics. Separating them can improve throughput but increases deployment complexity.
    • Prefix Caching: Effective for repeated system prompts and long-document Q&A, but the cache itself consumes VRAM or storage.
    • Paged KV and Preemption: Prevents long requests from blocking short requests but adds scheduling overhead.
    • Stress Testing Baselines: Must test with real input lengths, output lengths, and concurrency distributions, rather than just looking at single-request latency.

    IV. Total Cost of Ownership: Hidden Bills Beyond Hardware

    TCO can be estimated based on a three-year depreciation:

    1. TCO ≈ Hardware Procurement / 3 + Power & Cooling + Network & Storage + O&M Labor + Software Adaptation + Spare Parts + Datacenter

    Regarding power, a single node’s power consumption is estimated at 10–12kW, and a dual node at 20–24kW. Factoring in the cooling PUE, annual electricity costs can reach the range of 100K to 200K RMB (approx. $14K–$28K USD). For storage, the weights are about 1TB; if retaining multiple versions, quantized copies, logs, and evaluation sets, shared storage and backups must also be accounted for. For O&M, you need at least personnel for model deployment, inference tuning, networking, and on-call shifts. For software adaptation, MoE operators, long-context scheduling, FP8 quantization, monitoring/alerting, and fault recovery all require investment.

    V. Decision Recommendations

    If you are only validating model capabilities, a single-node 8-GPU FP8 configuration can serve as a starting point, but its concurrency and context boundaries must be clear. If you plan to provide stable 1M context services externally, you should prepare a budget around 7.3M–8.0M RMB (~$1.0M–$1.1M USD) for a dual-node setup and reserve time for stress testing and optimization. If targeting multi-tenant high concurrency, it is recommended to plan directly with a budget of over 10.0M RMB (>~$1.4M USD) and conduct small-scale real-traffic stress testing first. Final reminder: any cost estimation must incorporate actual layer counts, KV head counts, concurrency distributions, and SLA targets; do not infer “low deployment cost” from “small active parameters.”