Local LLM GPU Selection: Balancing VRAM Capacity, Bandwidth, and the Price-Performance Sweet Spot

    A practical guide to choosing a GPU for running large language models locally. It explains why VRAM capacity is a hard gate for whether a model runs at all, why memory bandwidth matters more than raw compute for token generation speed, and how precision support (BF16/FP16) and architecture generation determine whether you can use modern inference optimizations. The article also covers the price-performance sweet spot, power and cooling considerations, the trade-offs of upgraded-VRAM cards, and when cloud GPUs make more sense than local hardware.

    Why the GPU Is Almost Always the Core Bottleneck for Local LLMs

    LLM inference is fundamentally massive matrix multiplication and addition, especially during autoregressive decoding, where every generated token requires traversing all of the model’s weights. This “highly parallel, high-throughput” workload is exactly where GPUs outperform CPUs: CPUs have few cores and excel at serial logic and low-latency tasks, while GPUs have hundreds to thousands of parallel compute units that can break huge matrix operations into many subtasks running at once. As a result, the performance ceiling of local inference usually depends not on the CPU or system RAM, but on three GPU capabilities: VRAM capacity, memory bandwidth, and supported compute precision.

    It’s worth stressing that whether a model can run at all is a hard “0 or 1” constraint — if it doesn’t fit in VRAM, even the most powerful compute is useless. Only once it fits do bandwidth and architectural features determine speed and experience. Let’s break this down layer by layer.

    The First Gate: VRAM Capacity Decides “Can It Run?”

    During inference, VRAM must hold at least three things: model weights, the KV cache (the key-value cache of past context), and runtime activations. Weight size can be estimated quickly with a general rule of thumb:

    1. VRAM usage ≈ model parameters × bytes per parameter + KV cache + activations and framework overhead

    Bytes per parameter differ by numeric precision:

    • FP16 / BF16: 2 bytes per parameter
    • INT8 quantization: ~1 byte per parameter
    • INT4 quantization: ~0.5 bytes per parameter

    Take a ~7 billion parameter (7B) model: weights alone need about 7×10⁹ × 2 ≈ 14 GB in FP16, ~7 GB in INT8, and ~3.5 GB in INT4. Scale parameters up 10x and VRAM demand grows roughly proportionally — which is exactly why many 10B+ models struggle to fit on smaller VRAM cards.

    On top of that, the KV cache grows with context length; in long conversations or document-QA scenarios it can consume more VRAM than the weights themselves. The framework’s own VRAM reservations and fragmentation take up some as well. So when selecting hardware, don’t just check whether the “nominal VRAM fits the weights” — leave 10–20% headroom for cache and runtime overhead, or you’ll easily hit the awkward case of “weights just fit, but it runs out of memory the moment generation starts.”

    What Decides “How Fast”: Memory Bandwidth

    Many people assume that enough VRAM plus enough compute is all that matters, overlooking that decoding is memory-bound, not compute-bound. For each token, the GPU must read all weights from VRAM into the compute units, so “how much data can be read per second” directly limits token generation speed.

    This makes memory bandwidth (GB/s) the most easily underestimated metric in local inference. Bandwidth is determined by bus width × frequency; cards with a wider bus and higher bandwidth can significantly cut per-token latency in long-sequence, large-model scenarios. By contrast, raw compute (e.g., FP32 TFLOPS figures) may look impressive but helps little with actual per-token decoding speed — it shows up more in the prefill stage (processing a long input in a single pass). When choosing a card, prioritize VRAM capacity and memory bandwidth over peak compute.

    What Decides “How Well”: Precision Support and Architecture Generation

    Beyond capacity and bandwidth, a GPU’s support for specific numeric precisions and optimization features affects whether you can use mainstream inference optimization techniques:

    1. BF16 / FP16 support: BF16 has a wide dynamic range and is numerically more stable, making it a common precision for training and inference. Newer GPU architectures natively support BF16, while older ones may only support FP16 or none at all, forcing a fallback to FP32 that wastes half the VRAM and slows things down.
    2. Efficient attention computation: Attention optimizations for long contexts (which improve efficiency by chunking and reducing intermediate VRAM reads/writes) usually require a GPU with certain architectural compute and shared memory capabilities. Older architectures often can’t enable them, widening the long-text performance gap further.
    3. Architecture generation differences: New-generation architectures are generally better across energy efficiency, the proportion of dedicated matrix compute units, and the memory subsystem. Even a custom card that “packs a lot of VRAM” can end up unable to run new optimizations and slow per-token if its underlying architecture is old.

    In short: being able to enable modern inference optimizations often matters more for real-world experience than the peak-compute number on paper.

    The Logic of the Sweet Spot: Balancing Marginal Cost and Marginal Performance

    The observation that “beyond a point, marginal cost rises sharply while marginal performance gains diminish” is the core wisdom of selection. VRAM capacity and overall specs have a clear price-performance inflection point: at a certain capacity tier, the price-to-capability ratio is most reasonable; one tier higher, the price may double while the runnable model size or speed gain isn’t proportional.

    If your goal is to run mainstream mid-size models (like 7B–14B, with quantization) at an acceptable cost, there’s usually a sweet-spot tier: a GPU with about 16–20 GB of VRAM, high bandwidth, and support for modern precisions and optimization features, which often covers most local Q&A, writing, coding assistance, and AI image generation needs. As budget and VRAM climb to higher tiers, marginal returns drop fast, and the more rational move is to define your real workload rather than blindly chasing the top.

    Don’t Overlook Power, Cooling, and Full-System Fit

    A GPU isn’t an isolated component; evaluate it together with the whole system:

    • Power and delivery: High-end cards often have a TDP in the 250–350W range, requiring a PSU with enough wattage and sufficient power connectors, plus headroom for transient spikes.
    • Cooling and noise: Sustained full-load inference keeps the GPU hot, so case airflow, fan speed, and cooling capacity directly affect stability and noise. Passively cooled data-center compute cards often need airflow modifications to work in a normal case.
    • Physical size and compatibility: Custom or professional cards may deviate from consumer standards in length, thickness, and power form factor, so confirm compatibility with the motherboard, case, and PSU before building.

    A Rational Take on “Upgraded-VRAM” Cards

    The market has a class of products that expand VRAM on top of an existing design (e.g., extending a 12 GB spec to 20 GB or more). They offer more VRAM at a lower price and look highly attractive, but come with trade-offs to weigh: stability and long-term reliability, driver and software-ecosystem compatibility, and uncertain after-sales support. Before choosing such a solution, thoroughly test its behavior under sustained load and assess how much your workload demands stability, avoiding sacrificing reliability just to save cost.

    Local vs. Cloud: An Often-Overlooked Option

    On-prem deployment offers data sovereignty, no ongoing per-call fees, and controllable latency — but you take on the hardware investment, operations, and cooling/noise yourself. Cloud becomes more cost-effective when the model size exceeds a single machine’s VRAM limit, multi-GPU parallelism is needed, peak loads fluctuate widely, or you lack local ops capacity.

    In the cloud, you can obtain GPU compute on-demand or pay-as-you-go, manage models and data with object storage, spin up inference services quickly with container platforms, and keep things stable with logging, monitoring, and alerting. Cloud platforms such as Baidu AI Cloud offer general-purpose GPU compute and model services; you don’t need a large upfront hardware investment and can get compute elastically, scaling up fast at peaks and releasing cost in troughs. For most individuals and SMBs, a hybrid model — a local sweet-spot card running lightweight models plus elastic cloud compute for heavy loads — is often more cost-effective than betting on a single piece of hardware.

    Selection Summary

    Overall, GPU selection for local LLMs comes down to a clear decision chain:

    1. Define model size and quantization precision first → derive the VRAM capacity floor, and leave 10–20% headroom;
    2. Then compare memory bandwidth → it determines per-token generation speed;
    3. Confirm precision and optimization support (BF16, efficient attention, etc.) → ensure you can use modern inference optimizations;
    4. Budget for system-wide power, cooling, and power delivery → ensure stable long-run operation;
    5. Check against the marginal-cost inflection point → stop at the sweet-spot tier and avoid diminishing returns;
    6. Evaluate local vs. cloud → offload heavy or elastic workloads to cloud compute.

    As long as you hold onto four main threads — VRAM capacity is a hard gate, memory bandwidth is the key to experience, architectural features decide whether you can use optimizations, and the sweet-spot tier controls cost — you can pick a true price-performance winner for local LLMs and workloads like AI image generation on a limited budget, one you can genuinely push to its limits and enjoy.