How Much Does It Cost to Self-Host a 700B-Class MoE Model? The Full Cost Breakdown
This article breaks down the real hardware cost of running a 700B-class Mixture-of-Experts (MoE) model on your own infrastructure. It explains why total parameters drive VRAM usage while activated parameters drive compute, how KV Cache becomes the hidden cost multiplier at long context, and what three budget tiers look like in practice. It also covers the non-hardware costs most teams underestimate and offers three questions to help you decide between self-hosting and managed inference.
1. Start With the Model: MoE Architecture Sets the Floor
The class of model discussed here uses a Mixture-of-Experts (MoE) architecture with roughly 743B total parameters. Thanks to sparse activation, only about 39B parameters actually participate in computation for each generated token. Two conclusions follow directly:
- VRAM usage tracks total parameters; inference compute tracks activated parameters. All weights must be loaded into VRAM, even though only a small fraction is active at any given step. In other words, MoE saves you compute and bandwidth, not VRAM.
- Inference speed is relatively reasonable. With 39B activated parameters, per-token latency can approach that of a 40B-class dense model, which is a major reason MoE has become popular at very large scales.
These models also natively support a 1M-token context window. Long context is a double-edged sword: it dramatically expands what is possible for document analysis, codebase comprehension, and similar workloads, but it also inflates KV Cache VRAM requirements significantly. More on that below.
2. The VRAM Ledger: Weights Are Only Part of the Picture
Many teams budget by multiplying parameter count by bytes per parameter. That is the most common mistake. Actual VRAM consumption includes at least four components:
| Component | Notes | Approximate Share |
|---|---|---|
| Model weights | 743B × 1 byte (FP8 quantization) ≈ ~750 GB | The bulk |
| KV Cache | Grows linearly with context length and concurrency | Can exceed half the weight footprint |
| Activations and intermediate buffers | Depends on batch size and network structure | Tens of GB |
| Framework and runtime overhead | CUDA context, inference engine, communication buffers | A few GB reserved per GPU |
With FP8 quantization, weights alone require about 750 GB of VRAM. A single high-end GPU offers just over 140 GB, so the weights alone need roughly six cards. Add KV Cache and runtime overhead, and a single 8-GPU node is essentially the theoretical minimum.
3. KV Cache: The Most Underestimated Cost Amplifier
Under long-context workloads, KV Cache is often the real budget killer. Its VRAM requirement can be approximated as:
KV Cache VRAM ≈ 2 × num_layers × num_kv_heads × head_dim × bytes_per_value × sequence_length × concurrency
The key takeaway: KV Cache grows linearly with context length × concurrency. Which means:
- A single request filling the full 1M-token context already consumes a substantial amount of VRAM;
- To serve external users, multiple concurrent long-context requests multiply that requirement several times over.
So “it runs” and “it serves reliably” are two different things. A single 8-GPU node may be enough for low-concurrency, short-context inference validation, but stably supporting high-concurrency 1M-token serving requires planning for a multi-node setup.
4. Budget Estimates: Three Tiers Compared
Based on the analysis above, here are three reference tiers. These are rough estimates of general-purpose hardware cost only, and exclude the ongoing investment in data center space, power, operations, and headcount.
Tier 1: Entry-level validation, around RMB 3.5 million
- Configuration: single node with 8 high-end high-VRAM GPUs (FP8 quantization)
- Capability: loads the full weights, supports standard context lengths and low-concurrency inference testing
- Limitation: cannot support high-concurrency 1M-token serving; “usable” rather than “good”
Tier 2: Production-ready, around RMB 7.3–8 million
- Configuration: two nodes, 16 high-end high-VRAM GPUs total
- Capability: stable support for the full 1M-token context under FP8 quantization, with some concurrency headroom
- Fit: mid-to-large enterprises with hard compliance requirements for on-premises deployment
Tier 3: Higher concurrency / higher precision, above RMB 8 million
- If concurrency increases further, or if you want BF16 half precision for better generation quality, the hardware budget needs to scale up accordingly
- Additional investment in high-speed inter-node networking must also be factored in
5. Hidden Costs: Three Mountains Beyond Hardware
- Operational complexity: a multi-node inference cluster involves job scheduling, failure recovery, and rolling upgrades, and requires a dedicated team.
- Performance tuning: inference engine settings (batching strategy, quantization scheme, speculative decoding configuration) have a large impact on throughput, and tuning cycles are often measured in weeks.
- Power and depreciation: full-load power draw is measured in tens of kilowatts, and after five-year depreciation the real per-GPU cost is far higher than the purchase price.
6. Decision Guidance: Build or Use Managed Inference?
Three questions can get you to an answer quickly:
- Must the data stay within your own perimeter? Without a hard compliance requirement, managed inference is usually cheaper and iterates faster.
- Is utilization consistently high? Hardware is bought for peak load but used at the average, and idle capacity is pure waste. Below 50% utilization, pay-as-you-go managed options are almost always more economical.
- Does your team have MLOps capability? If not, a managed platform combined with common cloud capabilities such as containerized deployment and monitoring/alerting can lower the barrier considerably.
Conclusion
Open source has genuinely lowered the barrier to using large models, but there is a real bill sitting between “open source” and “self-hosted.” For a 700B-class MoE model, RMB 3.5 million is only the entry ticket; running 1M-token context stably in production takes roughly RMB 7–8 million in hardware plus ongoing operational cost. Before committing to self-hosting, be clear about your compliance boundaries and your usage curve, and spend the money where it actually matters.
