ResearchAudio

Local LLM hardware / decision guide

Local LLM GPU and VRAM requirements, without the one-number shortcut.

A model can clear its raw weight floor and still fail at the context window you need. Start with parameters and quantization, add the actual KV cache, concurrency, and runtime headroom, then compare the total with usable GPU memory.

Calculate your exact GPU plan →

Quick answer

How much VRAM does a local LLM need?

The honest answer is not a single lookup number. For GPU inference, memory planning begins with the model weights, then adds the key-value cache, runtime allocations, and a safety margin. The GPU must have enough usable capacity for the resulting plan—or the runtime must offload part of the work to slower system memory.

A transparent weight floor is parameters × bits per parameter ÷ 8. Seven billion parameters at exactly four bits are about 3.26 GiB. Thirteen billion are about 6.05 GiB. Thirty-two billion are about 14.90 GiB. Seventy billion are about 32.60 GiB. These figures are arithmetic floors, not promises that a packaged checkpoint or live server will fit.

Real checkpoints carry metadata and quantization overhead. Live inference needs workspace memory. Long context creates a KV cache whose size depends on layers, KV heads, head dimension, cache precision, tokens, and concurrent sequences. A runtime can also reserve memory before it serves the first request. That is why two models with the same parameter count can cross different hardware boundaries.

If you already know the model architecture, use the LLM GPU memory calculator. If you only know your available memory, use What LLM can I run? to find a starting tier, then refine it with the exact checkpoint.

Model-size floors

Parameters set the floor. Precision changes the first answer.

The table uses exact binary GiB arithmetic for dense weight equivalents. It excludes file-format overhead, KV cache, activations, runtime workspace, and headroom.

Swipe the matrix horizontally →

Model sizeINT4 floorINT8 floorFP16 / BF16 floorNext exact check
7B3.26 GiB6.52 GiB13.04 GiB7B cache scenarios
13B6.05 GiB12.11 GiB24.21 GiB13B cache scenarios
32B14.90 GiB29.80 GiB59.60 GiBQwen3 32B architecture
70B32.60 GiB65.19 GiB130.39 GiB70B serving targets

A model described as 20B, 30B, or 120B may be a mixture of experts. Active parameters affect compute, but the resident checkpoint still has to fit somewhere. Use the actual artifact and architecture rather than multiplying the active count.

Three boundaries

Fit is not speed.
Enough memory does not prove interactive tokens per second or useful latency.

Maximum context is not free.
Allocated KV cache can consume the margin left after the weights load.

Advertised VRAM is not usable VRAM.
The display stack, runtime, and allocator need space too.

Choose your starting point

Four questions, four working instruments.

Do not force every visitor through the same calculator. Start from the information you actually have.

Plan by VRAM tier

What changes at 8, 12, 16, 24, and 32 GB?

Each tier below is a planning boundary, not a model recommendation. The linked guide shows the exact assumptions and failure edge for a representative consumer GPU.

Swipe the matrix horizontally →

Advertised VRAM90% planning capacityWhat the weight floor suggestsWhat can break the fitHardware guide
8 GB7.2 GiB7B INT4 and some 8B quantsLong context, large GQA/MHA cache, runtime overheadRTX 4060 8GB
12 GB10.8 GiBMore room for 7B/8B; a generic 14B INT4 floor is possibleA 14B checkpoint plus cache can cross the lineRTX 3060 12GB
16 GB14.4 GiB13B/14B INT4 becomes practical on paper32K cache can turn a fit into a shortfallRTX 4060 Ti 16GB
24 GB21.6 GiB32B INT4 weights clear the raw floorArchitecture and context decide whether the full plan clears itRTX 4090 24GB
32 GB28.8 GiBMore 32B and MoE profiles become viable70B INT4 weights still exceed one card before cacheRTX 5090 32GB

The 90% capacity column is a conservative planning convention used by the Evidence Lab calculators, not a universal runtime rule. Change the usable-memory percentage when you have measured data from the target system.

GPU-specific decisions

VRAM ties cards together. Bandwidth and generation separate them.

Capacity answers whether the plan can fit. It does not answer whether a newer GPU is worth the price for your prompt-processing, decoding, batching, and power target.

What consumes memory

Five inputs decide whether the deployment fits.

1. The checkpoint, not just the parameter label. A model name is a routing clue. The actual files reveal the resident artifact, precision, tensors, and packaging overhead. For a dense model, parameter math is a useful cross-check. For a mixture-of-experts model, do not confuse the smaller active-parameter count with the larger resident weight set. Read the release artifact before choosing hardware.

2. Quantization. Moving from sixteen-bit to eight-bit or four-bit weights lowers the arithmetic floor. Real formats are not always exactly four or eight bits per parameter because scales, metadata, and mixed-precision tensors add overhead. Quantization can also change output quality and runtime compatibility. Treat precision as both a memory choice and a model-quality experiment.

3. KV-cache architecture and precision. Autoregressive inference stores keys and values for previous tokens. The cache grows with the number of layers, KV heads, head dimension, cached tokens, bytes per element, and concurrent sequences. Grouped-query attention can use fewer KV heads than multi-head attention, producing dramatically different cache totals for models with similar parameter counts. The KV-cache calculator exposes every term.

4. Runtime headroom and usable capacity. Model weights and KV cache do not own the whole GPU. Kernels, temporary buffers, graph captures, the display stack, and allocator fragmentation consume memory. Evidence Lab examples often reserve 10% of advertised VRAM and then apply 20% headroom to the weights-plus-cache target. Those are explicit planning defaults; replace them with measured values from the runtime and machine you will operate.

5. Concurrency and serving policy. A personal chat with one active sequence is not the same deployment as an API serving many users. A runtime may preallocate a cache pool or reserve enough blocks for a target concurrency. The cache can therefore become a service-capacity decision, not merely a context-length choice. Enter the simultaneous sequences you intend to support, not the traffic volume you hope never arrives.

Released-model evidence

A family name is still not a deployment plan.

These guides use first-party model configurations, checkpoint sizes, or vendor memory estimates, then keep context and runtime assumptions visible.

Beyond the GPU

CPU, system RAM, storage, and interconnect still shape the experience.

System RAM is the offload and loading boundary. When a checkpoint does not fit entirely in VRAM, runtimes such as llama.cpp can keep some layers or tensors in system memory. That can make an otherwise impossible model run, but the data path is now constrained by system-memory bandwidth and transfers between CPU and GPU. Reserve enough RAM for the model data, the operating system, the runtime, and the rest of the workload. A machine that barely holds the checkpoint can spend its time paging rather than generating.

The CPU matters differently for full-GPU and hybrid inference. When the whole model and active cache stay on the GPU, the processor is usually not the main token-generation engine. It still handles tokenization, request routing, sampling, networking, storage, and application code. With partial offload, CPU core performance, memory channels, and RAM bandwidth become much more visible. Plan around the actual runtime split instead of buying a processor from a generic “AI PC” label.

Storage changes startup and iteration, not the weight floor. Model repositories can contain several quantizations, shards, and revisions. Fast NVMe storage reduces download extraction, verification, and model-loading friction, but it does not turn disk capacity into GPU memory. Keep enough free space for the original artifacts, converted formats, temporary files, and a known-good rollback checkpoint. If a model reload is part of the production path, measure cold-start time rather than assuming the storage label is sufficient.

Multi-GPU capacity is not perfectly additive. Tensor or pipeline parallelism can split a model, and simple layer offload can distribute weights, but each runtime has communication costs and may replicate data. Consumer GPUs without a fast peer-to-peer path can spend meaningful time moving tensors through the host. Use the calculator's GPU-count result as a capacity floor, then confirm that the chosen runtime supports the topology and precision. Two 24 GB cards are not automatically one seamless 48 GB accelerator.

Apple unified memory needs a separate capacity rule. Apple Silicon exposes one memory pool to the CPU and GPU, so the relevant number is usable unified memory after macOS and applications—not a dedicated VRAM label. The same weight-plus-cache logic still applies, but the available fraction and runtime implementation differ from a discrete NVIDIA card. Enter the memory you can actually allocate and leave operating-system margin rather than treating the full installed RAM as model capacity.

Power and cooling are operating constraints. A GPU that can load a model may throttle, destabilize, or become uneconomic under sustained serving. Include the card, CPU, memory, fans, power supply losses, and idle periods when comparing a local machine with rented inference. For a personal workstation, noise and heat may matter as much as peak throughput. For a service, measure completed requests per watt and per dollar instead of quoting the GPU's board specification.

A repeatable hardware decision

Use this order before buying or renting GPUs.

Choose the workload. Define whether this is interactive single-user chat, coding, retrieval, batch processing, or multi-user serving. Record the latency and concurrency target.

Choose the exact checkpoint. Capture the artifact size, parameter count, precision, layer count, KV-head count, head dimension, and supported cache formats from primary sources.

Set realistic context. Do not allocate the model's advertised maximum simply because it exists. Use the context the workload needs, then test the edge separately.

Calculate total memory. Add weight memory, the cache for the chosen context and concurrency, runtime headroom, and any measured workspace. Compare against usable memory, not the number on the GPU box.

Test speed after fit. Measure prompt processing, token generation, time to first token, power, and stability on the exact runtime. Memory capacity determines what can load; bandwidth, compute, kernels, and software maturity determine whether it is useful.

Keep an escape path. If the model barely fits, decide in advance whether to shorten context, quantize cache, reduce concurrency, use CPU offload, split across GPUs, select a smaller checkpoint, or rent a larger accelerator.

Can an 8 GB GPU run a local LLM?

Yes, smaller quantized models can fit. The raw 7B INT4 floor is about 3.26 GiB, but the final answer depends on the packaged checkpoint, context cache, runtime, and usable capacity. The RTX 4060 guide demonstrates where a representative Qwen3 8B plan moves from a short-context fit to a longer-context shortfall.

Is 16 GB enough for a 13B or 14B model?

Four-bit weights can clear the raw floor, but a full 32K cache and runtime margin can consume the remaining space. Use the exact architecture. A 16 GB label is not proof that every 14B quant will serve the context and concurrency you need.

Can a 24 GB GPU run a 70B model?

Not fully in GPU memory at the exact four-bit arithmetic floor: 70B INT4 weights alone are about 32.60 GiB. A runtime can offload part of the model to system memory, use a lower-bit quant, or shard across devices, but those are different performance and quality plans.

Should I buy the newest GPU?

Not from the generation name alone. If two cards have the same VRAM, they may share a model-fit ceiling even when the newer card is much faster. Price the exact workload: memory capacity, memory bandwidth, prompt processing, decoding, supported data types, power, software support, and total system cost.

Method and primary references

Every shortcut stays visible.

ResearchAudio calculates dense weight floors directly, labels illustrative inputs, and routes model-specific claims to the exact release evidence used by each guide. This page is a map of the decision system; the linked calculators are where you replace defaults with your own architecture and workload.

For model-level inspection, begin with the configuration and weight artifacts published by the model author. The existing guides link directly to the relevant Hugging Face Transformers cache documentation, vLLM engine configuration, OpenAI gpt-oss release, Qwen3 release, and Google Gemma 4 model card. Runtime behavior changes; recheck the current documentation before purchasing hardware.

The guide deliberately avoids universal tokens-per-second promises. Speed depends on the exact checkpoint, quantization, prompt length, decode length, batch, runtime version, kernels, operating system, power limit, and hardware. A capacity worksheet should narrow the candidates, not replace a benchmark on the target stack.

The hardware changes. The decision method should not.

Get the next model and GPU boundary.

ResearchAudio turns model releases, hardware claims, and serving constraints into practical evidence for engineers and builders.