GPU Selection Guide for Local LLM Deployment: Why VRAM Capacity and Bandwidth Matter Most
This guide explains how to choose compute hardware for deploying large language models locally. It covers why VRAM capacity and bandwidth outweigh raw compute for sparse MoE models, a four-dimension evaluation framework, memory estimation and quantization strategies, and practical recommendations for high-concurrency serving, low-latency interaction, and cost-sensitive pilots. It also outlines the observability metrics and capacity headroom needed for reliable deployment.
1. Background: Parameter Count Is Not the Deployment Barrier, VRAM Is
With the arrival of ultra-large Mixture-of-Experts (MoE) models in the open-source ecosystem, the number of parameters actually activated per token is often only around one-tenth of the total. This leads to a common misjudgment: if only tens of billions of parameters are activated per token, compute requirements can be scaled down linearly. The real bottleneck lies elsewhere. Sparse activation reduces computation, but the full set of weights must still reside in VRAM, and routing introduces additional random memory access. In private deployments, the first factor that determines feasibility is VRAM capacity, the second is VRAM bandwidth, and peak compute often ranks third.
Three typical workloads amplify these differences:
- Long-context inference (16K to 128K): the KV Cache grows linearly with sequence length, and attention computation is sensitive to bandwidth.
- Multi-user concurrent serving: batching stacks the KV Cache of multiple requests, making VRAM a hard constraint.
- MoE routing and expert swapping: when cache hit rates are low, memory access amplification is significant, and bandwidth determines tail latency.
2. A Four-Dimension Selection Model
Build a scorecard across four dimensions rather than comparing a single benchmark:
- Capacity: whether it can hold weights + activation buffers + peak KV Cache.
- Bandwidth: determines per-token latency and the throughput ceiling during the decode phase.
- Scalability: multi-GPU interconnect topology within a node, cross-node communication efficiency, and support for tensor and expert parallelism.
- Engineering stability: maturity of driver and framework support, long-running stability, fault recovery, and observability.
In terms of throughput, high-bandwidth VRAM solutions typically deliver 1.8x to 2.1x the throughput of same-generation general-purpose VRAM solutions under long-context and high-concurrency workloads (varying with batch size and service configuration). Professional cards with ample VRAM headroom are more stable in medium-to-high concurrency, long-context scenarios, with throughput around 1.3x to 1.7x that of consumer flagship cards. Consumer flagship cards can offer 5% to 15% lower first-token latency when the model is fully resident and concurrency is low. These ranges are order-of-magnitude references only; your own load tests are the source of truth.
3. VRAM Gaps and Quantization Strategies
Take a model with around 671B total parameters and FP8 weights as an example: the weights alone occupy hundreds of GB, and total demand keeps rising once the KV Cache is added. The typical engineering trade-off order is:
Total VRAM ≈ weights (parameters × bytes per parameter) + activation buffers + KV Cache (layers × 2 × heads × head dim × sequence length × batch size × bytes)
- FP8: minimal accuracy loss, but requires multi-GPU high-bandwidth VRAM.
- 4-bit weight quantization: roughly half the VRAM footprint of FP8, suitable for capacity-constrained, low-concurrency scenarios.
- KV Cache quantization and paged management: trade minimal quality impact for longer context and higher concurrency.
4. Recommendations for Three Scenarios
- High-concurrency online serving: prioritize capacity and bandwidth, use a hybrid of tensor parallelism and expert parallelism, and enable continuous batching and KV Cache paging.
- Low-latency interaction (coding assistants, personal agents): prioritize single-stream latency, keep the model fully resident, and avoid paging jitter.
- Cost-sensitive pilots: start with quantization and lower concurrency, then use monitoring metrics to decide whether to scale out.
5. Observability and Capacity Planning
Establish a baseline before launch: collect first-token latency, per-output-token latency, throughput, VRAM usage, and batch wait time simultaneously, and close the loop with logging and monitoring alerts. Keep more than 20% VRAM headroom in capacity planning to avoid paging triggered by sudden long-context requests.
If evaluating and operating a self-built cluster is too costly or time-consuming, you can first build a validation environment using general capabilities such as cloud container platforms, object storage, and monitoring alerts. General product categories from Baidu AI Cloud can be one candidate for such a foundation. Run load tests before deciding between self-hosted or hybrid deployment. The core takeaway: do not chase peak parameters; align VRAM capacity, bandwidth, and workload characteristics.
