Local LLM Hardware Selection: A Practical Guide to VRAM Capacity and Memory Bandwidth
This guide breaks down how to choose hardware for running large language models locally. It explains why VRAM capacity is the first hard constraint, why memory bandwidth matters more than peak compute for text generation, and how precision formats like FP16, bf16, INT8, and INT4 change the memory math. It also covers where compute does matter (prompt prefill and batch inference), compares consumer memory-modded cards, datacenter accelerators, and high-end consumer GPUs, weighs the risks of non-official memory mods, reviews power and cooling requirements, and ends with a step-by-step selection framework for local inference.
Local LLM Hardware Selection: A Practical Guide to VRAM Capacity and Memory Bandwidth
Why local deployment starts with hardware
More and more developers want to run large language models on their own machines, and the reasons are practical: data never leaves the internal network, inference costs stay predictable instead of accumulating per call, and workflows can run offline and be customized freely. But the first hurdle in local inference is usually not “which framework should I install” — it is “which hardware should I buy.”
Many people start by assuming that more compute is always better. That is a common misconception. For inference-first local setups, the experience is usually determined not by peak FLOPS but by two questions: does the model fit in VRAM, and can memory bandwidth keep the compute units fed? Once those two points are clear, the selection process becomes much simpler. This article walks through the key dimensions and offers a selection framework you can actually apply.
1. VRAM capacity: the first hard gate for local inference
Large model inference has one non-negotiable prerequisite: the model weights must reside fully in VRAM. If VRAM cannot hold them, the model will not load at all, and generation speed never even becomes a question. VRAM capacity is therefore the primary constraint in selection, not an optional nice-to-have.
VRAM usage can be roughly broken down into three parts:
- Model weights: parameter count multiplied by the number of bytes each parameter occupies.
- KV cache: grows linearly with context length and number of concurrent requests, and becomes especially tight in long-context or multi-turn conversation scenarios.
- Runtime overhead: activations, framework reservations, and VRAM fragmentation. Budget roughly another 10%–20% of headroom.
Converting bytes-per-parameter into actual weight sizes gives approximate figures like these:
| Numeric precision | Bytes per parameter | 7B model weights | 13B model weights |
|---|---|---|---|
| FP32 (full precision) | 4 bytes | ~28 GB | ~52 GB |
| FP16 / bf16 (half precision) | 2 bytes | ~14 GB | ~26 GB |
| INT8 (8-bit quantization) | 1 byte | ~7 GB | ~13 GB |
| INT4 (4-bit quantization) | 0.5 bytes | ~3.5 GB | ~6.5 GB |
One key takeaway follows directly from this table: VRAM capacity determines how large a model you can run, how long a context you can support, and how many concurrent requests you can serve. A 16 GB card can handle a 7B model in half precision, but add long context and concurrency and things get tight quickly. A card with 20–24 GB, by contrast, handles a 13B model in half precision more comfortably, or a 7B model with long context and multiple concurrent streams.
2. Memory bandwidth: what actually sets generation speed
If VRAM capacity determines whether a model runs at all, memory bandwidth largely determines how fast it runs.
Text generation (the decode stage) has one distinctive characteristic: each step produces a single token, so the arithmetic involved is small — but every step requires reading all of the model weights out of VRAM. That makes decode a classic memory-bound workload rather than a compute-bound one.
A useful approximation:
Single-stream generation speed (tokens/s) ≈ VRAM bandwidth / weight bytes read per step
As an example, a 7B model in half precision occupies about 14 GB of weights. With roughly 700 GB/s of VRAM bandwidth, the theoretical single-stream ceiling is about 700 / 14 ≈ 50 tokens/s. Real-world results come in lower once you account for the framework, batching, and context length.
This is why, for inference workloads, memory bandwidth usually deserves more attention than headline compute numbers. Between two cards with similar compute, the one with higher bandwidth typically delivers a better experience for pure text generation.
3. Compute and precision: prefill, batching, and output quality
Compute is not irrelevant — it simply shows up in two specific places:
- Prefill: the stage that processes the input prompt. It handles a large number of tokens at once, which makes it compute-intensive. Higher compute means a faster time to first token.
- Batch inference: as concurrent requests grow and you serve multiple users in batches, the compute units get utilized far more fully, and compute starts to matter again.
On numeric formats, the industry commonly uses FP32, FP16, bfloat16 (bf16), and the quantized formats INT8 and INT4. Half precision (FP16/bf16) balances VRAM usage against generation quality and is the mainstream choice for inference; bf16 in particular is usually friendlier on numerical stability thanks to its wider dynamic range. Quantization (INT8/INT4) substantially reduces VRAM pressure and lets large models run on smaller cards, at the cost of some accuracy. 4-bit quantization still holds usable quality on most conversational tasks, which is why it is a common technique on consumer-grade hardware.
It is also worth checking whether the hardware supports memory-efficient attention optimizations. These have a direct effect on both VRAM usage and speed in long-context scenarios.
4. General trade-offs across hardware categories
Setting specific models aside, hardware for local inference falls into roughly three categories, each with its own trade-offs:
- Consumer cards with expanded VRAM: larger VRAM capacity (around the 20 GB class), approachable pricing, moderate power draw. A good fit for individual developers and hobbyists. The cost is the stability and after-sales risk that comes with non-official modification.
- Datacenter-class compute cards: typically use high-bandwidth memory (HBM), delivering high bandwidth over wide buses, and are engineered for 24/7 stable operation. But they are expensive, usually ship without display outputs, and demand more of your cooling and chassis integration.
- High-end consumer GPUs: high VRAM capacity and bandwidth by consumer standards (around the 24 GB GDDR6X class), strong overall performance, and broad compatibility — at the price of higher power draw and higher cost.
A general comparison:
| Dimension | Consumer VRAM-modded card | Datacenter compute card | High-end consumer GPU |
|---|---|---|---|
| VRAM capacity | Large | Medium to large | Large |
| VRAM type | GDDR family | HBM family | Around GDDR6X class |
| VRAM bandwidth | Medium | High | Medium-high |
| Precision support | Depends on the specific hardware | Usually comprehensive | Usually supports bf16 and similar |
| Power draw | Moderate | On the higher side | On the higher side |
| Stability and support | Modification carries risk | Built for sustained operation | Covered by the original vendor |
| Best fit | Individuals and hobbyists | Commercial or long-running service | Those who want the best all-round experience |
5. Value and risk of consumer cards with expanded VRAM
When the budget is tight, non-official cards with modified VRAM often look like a sweet spot: near-mainstream pricing in exchange for more VRAM, enough to run models that would otherwise not fit. Before going down that road, weigh these risks carefully:
- Uncertain stability: after swapping memory chips and modifying the board, long-running heavy loads can produce artifacts, crashes, or data errors.
- No after-sales support: a non-original modification typically means giving up the official warranty and technical support.
- Drivers and compatibility: driver support and VRAM detection on modified cards may be incomplete and require extra debugging.
- Cooling pressure: more VRAM and higher power draw place heavier demands on the cooling solution.
For production scenarios that need stability and the ability to run for the long haul, original-vendor datacenter or high-end consumer cards are the safer choice. For individual experimentation on a budget-conscious setup, a VRAM-expanded card is a reasonable transitional option — provided you prepare for failures.
6. Power, cooling, and the rest of the system
A GPU is not an isolated component. Selection also has to account for whether the whole machine can support it:
- Power supply: a card’s peak draw (around the 320 W–350 W class) stacked on top of the CPU and other components requires a PSU with plenty of headroom.
- Cooling and chassis: cooling capacity directly determines whether a high-power card can run stably over long sessions, and the chassis airflow has to match.
- Motherboard and slots: PCIe lanes and physical space need to accommodate the size of your target card.
- Memory and storage: model loading and data throughput both benefit from ample system memory and fast solid-state storage.
7. Pairing quantization with inference frameworks
Hardware capability only translates into performance when the software side cooperates. Quantizing a model to INT8/INT4, enabling memory-efficient attention optimizations, and setting context length and batch size sensibly all squeeze more usable space out of limited VRAM. A practical approach is to validate the pipeline first with a small model or a smaller VRAM footprint, then scale up step by step.
8. Local deployment versus cloud inference
Local deployment is not the only answer. If you want to avoid operations overhead, need to switch between large models frequently, or simply lack the local VRAM to host your target model, calling a hosted model is the easier path. Mainstream cloud providers typically offer pay-as-you-go model inference services alongside general-purpose building blocks such as object storage, container platforms, and logging, monitoring, and alerting — enough to help a team stand up an inference application quickly. Baidu AI Cloud, for example, is the kind of platform that offers support in the form of general product categories (model services, object storage, container platforms, and so on), with specifics best confirmed against the official documentation for your own use case. In practice, a common pattern is a hybrid architecture: handle privacy-sensitive or high-frequency lightweight tasks locally, and route heavy or elastic demand to the cloud.
9. Putting the selection framework together
All told, local LLM hardware selection can follow this order of decisions:
- Fix the model size and context length first → derive the VRAM capacity you need from that.
- With capacity satisfied → prioritize VRAM bandwidth, since it sets generation speed.
- Then assess compute → raise its weight if long-prompt prefill or high-concurrency batching is in scope.
- Layer in precision and quantization strategy → use INT8/INT4 to balance VRAM against quality.
- Account for power, cooling, and system integration → make sure it can run stably over time.
- Weigh stability against budget → production environments should favor original-vendor support; experimentation can cautiously consider VRAM-modified options.
Hold on to the main thread — VRAM sets capacity, bandwidth sets speed, and compute covers prefill and concurrency — then add your budget and stability requirements. That is how you end up with hardware that genuinely suits local LLM work, rather than whichever card simply has the prettiest spec sheet.
