The Real Cost of Self-Hosting Large-Scale MoE Models

    A practical cost breakdown of deploying large-scale open-source MoE models on-premises, covering VRAM requirements, KV Cache growth, two budget tiers, and the hidden costs that affect total ownership cost.

    1. Why “Open Source” Does Not Mean “Zero Entry Cost”

    When a large-scale Mixture-of-Experts (MoE) model is open-sourced, many teams assume that free weights mean cheap deployment. In enterprise private deployments, however, weights are only the starting point of the cost chain. Three factors actually drive the budget: whether VRAM capacity can hold the model, whether compute bandwidth can keep it fed, and whether redundant nodes are still needed once long context and high concurrency are combined.

    Take the class of model discussed here as an example. It has roughly 743B total parameters, uses an MoE architecture, activates about 39B parameters per generated token, and natively supports a 1M context. Each of these numbers maps to a different kind of resource pressure: total parameters set the VRAM floor, activated parameters determine per-token compute consumption, and context length determines how fast the KV Cache expands. Treating them as the same thing is the most common reason budgets spiral out of control.

    2. The Full Picture of VRAM Usage: Weights Are Only the First Item

    In a local deployment, VRAM is consumed not only by model weights but also by the runtime framework, operator libraries, communication buffers, and KV Cache. A reusable estimation framework looks like this:

    1. Total VRAM ≈ weights + framework and runtime overhead + communication buffers + KV Cache + safety margin
    • Weights: Determined by total parameters and quantization precision. Lower precision means smaller weights, but introduces accuracy loss and extra dequantization overhead.
    • Framework and runtime overhead: The inference engine, operator libraries, and VRAM allocator each reserve fixed space. This portion is generally not compressible.
    • Communication buffers: With multi-GPU tensor parallelism or expert parallelism, inter-GPU communication requires dedicated buffers. The more GPUs involved, the more noticeable the cumulative overhead.
    • KV Cache: Roughly proportional to context length and the number of concurrent requests. It is the item most likely to blow up in long-context serving.
    • Safety margin: Defragmentation, traffic spikes, and version upgrades all require headroom, so reserving a certain percentage of redundancy is generally recommended.

    A common mistake is sizing hardware by dividing weights by VRAM alone. In practice, the KV Cache and runtime overhead are often the last straw that overwhelms a single node.

    3. Two Budget Tiers: Just Running vs. Stable Serving

    Tier 1: Minimum Viable (Around the CNY 3.5 Million Level)

    At a lower precision version, the theoretical minimum is roughly one 8-GPU high-VRAM accelerator node, with an overall budget of around CNY 3.5 million. The purpose of this tier is to “validate feasibility”: the model can load, run inference, and support an end-to-end business flow, but it typically cannot sustain high-concurrency 1M-context serving. The reason is straightforward: as the context grows, the KV Cache expands rapidly, remaining VRAM is insufficient to maintain multiple concurrent streams, and throughput drops off a cliff.

    Tier 2: Stable Support for the Full 1M Context (Around the CNY 7.3–8 Million Level)

    To serve stably under a full 1M context, preparing two nodes is the safer approach, with a budget of roughly CNY 7.3–8 million. The value of a second node is more than just “twice the VRAM”:

    1. Capacity redundancy: Service stays uninterrupted during a single-node failure or rolling upgrade.
    2. Concurrency isolation: Long-context and short requests can be scheduled into separate pools, avoiding contention with each other.
    3. KV Cache elasticity: Space can be reserved for peak concurrency instead of letting the cache squeeze out weight space.

    4. Underestimated Hidden Costs

    Beyond hardware procurement, a complete budget should also include data center and power retrofits (for high-power-density racks), networking and storage, the engineering effort to adapt and tune the inference framework, and ongoing investment in monitoring, alerting, and logging. These rarely appear in discussions about open-sourcing a model, yet they genuinely affect total cost of ownership.

    5. Conclusion: Treat the Budget as an Engineering Problem, Not a Procurement Problem

    Although this class of large-scale MoE model is open source, 3.5 million only buys a ticket to the game if you truly want to self-host the original model privately. When scoping a project, enterprises should first define three things: the target context length, the target concurrency, and the acceptable degradation strategy. Set the service level first, then work backward to the precision version and node count, and finally fold runtime overhead and redundancy margins into the total. If a team lacks the capability to build and tune on its own, it can also evaluate a combination of general-purpose cloud capabilities such as container platforms, object storage, and monitoring and alerting, using elasticity in place of a one-time heavy capital investment.