Local Deployment of Ultra-Large Models: Tiered Options and Cost Estimation
Deploying an ultra-large sparse multimodal agent model locally is not simply downloading weights and starting inference. A usable local inference system must fit weights into VRAM or acceptable offload, support the target context and concurrency with KV cache, provide stable throughput, and keep storage, power, and operations costs manageable. Using a model class with 2.8 trillion total parameters and 104 billion active parameters as an example, this article explains three deployment tiers—minimum runnable, single-user 25 tokens per second, and 10 concurrent users at 25 tps—and covers quantization trade-offs, VRAM and storage sizing, cost formulas, engineering requirements, and a practical selection path.
Why Local Deployment Is More Than Loading Weights
Local deployment of ultra-large models is often misunderstood as two steps: download weights and start inference. In practice, a usable local inference system must satisfy four conditions at the same time: weights can fit in VRAM or be offloaded acceptably; KV cache can support the target context length and concurrency; the inference engine can deliver stable throughput; and storage, power, and operations costs stay under control.
For a class of ultra-large sparse multimodal agent model with 2.8 trillion total parameters and 104 billion active parameters, full-precision weights already place VRAM requirements in multi-node, multi-GPU territory. Individual developers should therefore define the target deployment tier first, then work backward to determine hardware and budget.
Three Deployment Tiers: Define “Usable” Before Estimating Cost
Tier 1: It only needs to run; speed does not matter
The goal here is functional validation, API integration, or behavior observation, not interactive experience. A very lightweight dynamic quantization version can still have a weight footprint close to 600 GB. Even if it is “loaded” on a 128 GB RAM workstation using memory-mapped I/O and disk offloading, frequent swapping causes very low throughput, so it is suitable only for offline batch processing or short validation. The costs are mainly a high-memory workstation, several terabytes of fast local SSD, electricity, and debugging time. The hardware barrier is lowest, but “it runs” is not the same as “usable.”
Tier 2: Single user at 25 output tokens per second
25 tps means roughly 25 output tokens per second for a single request, which is close to an interactive experience. This tier requires more than successful weight loading. Weights and KV cache should be resident in high-bandwidth VRAM as much as possible. The inference engine should support continuous batching, paged KV cache management, quantized kernels, and operator fusion. For ultra-large sparse models, expert parallelism and load balancing are also necessary.
Hardware is usually a single machine with multiple high-bandwidth GPUs, and storage should include at least 2 TB of fast SSD for weights, quantized copies, and cache workspace. Cost moves from workstation level to multi-GPU server level.
Tier 3: 10 concurrent requests, each still above 25 tps
Total throughput is about 10 × 25 = 250 tps. The system must simultaneously hold ten request states, KV caches, activations, and scheduling overhead. VRAM demand is no longer just the weight size; it is weights + KV cache + activations + fragmentation + reserved headroom. The longer the context and the higher the concurrency, the faster KV cache grows.
A production-grade approach usually needs multiple GPUs or multiple nodes, high-speed node interconnect, paged KV management, request queuing and rate limiting, monitoring and alerting, and failure recovery. This tier is an institution-level investment and should not be forced onto a single workstation.
Quantization Is Not a Free Lunch: Validate Low-Bit Dynamic Quantization on Business Metrics
Publicly available information indicates that this model class already uses quantization-aware training, with weights and activations represented in low-bit-width floating-point formats. Additional dynamic quantization assigns different precision to different layers: important layers remain 8-bit, while less important layers are compressed to 1-bit or 2-bit. The critical point is not the “1-bit” label, but the layer-wise precision allocation strategy. At the same total size, a uniform low-bit approach may cause more severe accuracy degradation, with perplexity differences ranging from several times to tens of times.
The following published examples are useful only for illustrating the volume-quality trade-off. Actual decisions should use your own weights and business evaluation sets:
| Quantization type | Example size | top-1 accuracy (reference) | perplexity (reference) |
|---|---|---|---|
| 1-bit small | 594 GB | 78.9% | 2.5789 |
| 1-bit medium | 649 GB | 81.2% | 2.3639 |
| 2-bit small | 711 GB | 84.1% | 2.1266 |
| 2-bit larger | 861 GB | 90.4% | 1.7359 |
| 4-bit dynamic quantization | 1,510 GB | — | 1.4579 |
| 8-bit dynamic quantization | 1,560 GB | — | 1.4581 |
Lower perplexity is generally better, but low perplexity does not automatically mean strong business results. If the team has a minimum acceptable quantization precision, determine that minimum first, then work backward to VRAM and GPU count. Do not default to the lightest version. Evaluate with real tasks: question-answering accuracy, long-context recall, multimodal understanding, and tool-call stability. Record time to first token, output tokens per second, peak VRAM, and error rate.
VRAM and Storage Sizing: A Few Terabytes Is the Starting Point, Not the Endpoint
VRAM requirements can be approximated as:
VRAM ≈ weight size + KV cache + activations and temporary buffers + fragmentation + safety reserve
Weight size depends on quantization level. KV cache grows roughly linearly with model layers, attention heads, context length, and concurrency. At 10 concurrent requests with long contexts, KV cache can consume hundreds of gigabytes or more. Therefore, do not check only whether a 594 GB weight file can fit into 1 TB of VRAM. Also include target context length and concurrency in total occupancy. Reserve 20–30% VRAM headroom to avoid out-of-memory errors caused by fragmentation and peak usage.
For storage, weights, quantized copies, KV cache spill, logs, and evaluation data mean that 2 TB of fast local SSD is only a safe starting point. If you keep multiple quantization versions and multiple evaluation sets, 4 TB or more is more comfortable. Storage cost is not just the SSD purchase price; backup, snapshots, network storage, and data migration time also matter.
Cost Breakdown: Use TCO for Self-Hosting, Start with Cloud for Validation
There is no single answer to “how much will it cost,” but the components can be broken down. For a self-hosted system:
TCO = hardware procurement and depreciation + storage and network + power + cooling + racks and UPS + operations labor + software adaptation + trial-and-error and downtime cost
Power cost can be estimated as power draw in kW × operating hours × electricity rate. Multi-GPU servers also require redundant power supplies, cooling, floor-load-bearing capacity, and noise planning.
For cloud rental:
Cloud cost = instance price × hours × quantity + storage fees + snapshots and backups + traffic + operations tooling
For short-term validation, cloud on-demand usage avoids a one-time purchase. For long-term high utilization, data-sensitive workloads, or deep customization, self-hosting may be worth considering. In terms of the three tiers: the minimum “runnable” tier is mostly a one-time workstation and multi-TB SSD investment; the single-user 25 tps tier requires a high-bandwidth multi-GPU server and a significant cost increase; the 10-concurrent 25 tps production tier needs multi-node high-speed interconnect, monitoring and alerting, and an operations system, so it is closer to an institutional budget. Before purchasing, run small-scale load tests on public benchmarks and your own tasks, then fill in actual quotes. Do not make decisions from a spec sheet alone.
Engineering Essentials for 10 Concurrent Users at 25 tps
To reach 10 concurrent requests with 25 tps per request, the inference engine must support continuous batching, paged KV cache, prefix caching, request queuing and rate limiting, quantized kernel optimization, and multi-GPU parallelism. Sparse expert models also need expert parallelism, which introduces communication overhead and load imbalance. If inter-node interconnect bandwidth is insufficient, it becomes the bottleneck, so production clusters should prioritize high-speed inter-GPU and inter-node interconnects.
Monitoring should cover at least VRAM usage, KV cache hit rate, queue length, time to first token, output tps, error rate, temperature, and power consumption. Capacity planning should be based on load-test results rather than theoretical peak numbers.
Selection Path and Cost Control Advice
A practical sequence is: evaluate first, validate on cloud, then decide whether to self-host or use a hybrid setup.
- Define the minimum acceptable quantization level and target context length for your business use case.
- Rent cloud resources for a short period and run single-request and 10-concurrency load tests.
- Calculate TCO using expected 7×24 utilization, data compliance requirements, electricity cost, and operations capability.
If the workload is periodic, cloud on-demand is usually more cost-effective. If it is long-term high load and the team has operations capability, self-hosting is more controllable. For a quick evaluation environment, Baidu AI Cloud’s general-purpose containers, object storage, and monitoring/alerting capabilities can help isolate environments, distribute weights, and observe metrics. Whether to self-host long term should still be based on actual utilization and total cost.
Conclusion
Overall, the barrier to local deployment of ultra-large models is not “can the weights be loaded?” but “can the system stably sustain 25 tps at the target concurrency and context length?” The lightest quantization lowers the entry threshold, but production usability depends on dynamic quantization quality, VRAM capacity and bandwidth, KV cache management, storage speed, and operations. Define the target tier clearly, then use the formulas and load-test data to calculate the budget. That is how teams avoid paying production-level costs for a system that only runs.
