Technical sizing

How Much VRAM Do You Need for a Local LLM?

Size GPU memory for a local LLM using model weights, quantisation, context, KV cache, concurrency and the difference between per-GPU and aggregate VRAM.

11 minute read Reviewed 25 July 2026 Next review by 25 October 2026

Memory topology

Aggregate memory is not one larger GPU

Four cards may support a divided model, independent workers or a mixture of services. The runtime and execution pattern decide whether aggregate memory is useful.

  1. 32 GB One accelerator memory boundary
  2. 32 GB Separate memory, linked by the system topology
  3. 32 GB Can serve another model or part of a divided model
  4. 32 GB 128 GB aggregate, never assumed as one 128 GB pool

Per-GPU VRAM determines the simplest fit. Treat multi-GPU use as an explicit software design that must be tested.

Worked memory budget

Leave space for the live service

A model file fitting in VRAM does not prove that the serving workload fits. Build the budget from all active consumers.

  1. Weights Exact model version and tested quantisation
  2. KV cache Context, active sequences and response length
  3. Runtime Kernels, graphs, buffers and serving framework
  4. Headroom Operational margin and any adjacent services

Increase context or concurrency and the cache can grow even when the model weights stay unchanged.

The useful answer is not “X billion parameters need Y gigabytes”. Model weights are only one part of GPU memory use, and a server with several cards does not necessarily expose one combined memory space.

Use this page as a sizing framework, then test the exact model, quantisation, runtime, context and concurrency on the proposed build.

Per-GPU VRAM versus aggregate VRAM

Per-GPU VRAM is the memory available on one accelerator. Aggregate VRAM is the arithmetic total across all accelerators.

A pair of 24GB GPUs provides 48GB aggregate. A model larger than 24GB only works if the runtime and model can be divided across the cards, or if some data is offloaded elsewhere. Inter-GPU transfer, topology and software support can affect the result.

Four GPUs can also be more useful as four independent endpoints than as one sharded service. This is often true for mixed models, rendering, transcription or separate departmental workloads.

What consumes memory?

Model weights

The model’s parameters occupy memory according to their representation. Lower-bit quantisation can reduce the weight footprint, but quality and runtime support need testing. File size alone is not a safe prediction of loaded memory.

KV cache

The key-value cache stores attention state for active sequences. It grows with context, batch and concurrent requests. A model that fits comfortably for one short prompt can run out of memory when several users submit long documents.

Runtime overhead

CUDA context, kernels, graphs, buffers and the serving framework need headroom. Different runtimes make different trade-offs.

Embeddings, rerankers and other services

A retrieval service may also run embedding and reranking models. They can share a GPU, use another GPU or run on CPU depending on volume and latency.

A practical sequence

  1. Choose the smallest model likely to pass the quality test.
  2. Select a supported quantisation and runtime.
  3. Set the real context and expected response length.
  4. Estimate simultaneous active requests - not the total staff directory.
  5. Add memory headroom for cache and runtime.
  6. Decide whether the service should be single-GPU, sharded or replicated.
  7. Test the exact configuration.

Useful memory bands

These are conversation starters, not performance promises:

Per-GPU VRAM Typical evaluation territory
16–24GB Smaller quantised language and specialist models; single-user or low-concurrency proofs
32GB More headroom for context, larger quantised models or busier independent workers
48GB Useful single-GPU step for larger models and context where available
80–96GB Large-model inference, longer context or greater cache headroom on one endpoint

Model architecture, quantisation and runtime can move the boundary substantially. Consult the exact model card and benchmark the intended service.

Context is a business choice

Very long context is not free and is not always the best retrieval design. Passing an entire document library into every request wastes memory and can reduce answer quality.

For retrieval-augmented generation, improve document structure, chunking, permissions and reranking before buying enough GPU memory to carry an avoidably large prompt.

Size concurrency honestly

One hundred named users rarely means one hundred simultaneous generations. Measure:

  • active sessions at the busiest period;
  • prompt and response length;
  • time between requests;
  • latency users will accept;
  • which workloads can queue;
  • whether different teams can use separate models.

Report latency percentiles and throughput at the tested concurrency. A single best-case tokens-per-second number does not describe a shared service.

CPU offload and system RAM

Some runtimes can place part of a model or cache in system memory. This can enable a workload that does not fit fully in VRAM, but typically changes speed and latency. PCIe bandwidth and CPU capability matter.

System RAM should also cover the operating system, file cache, vector store, ingestion work and operational headroom. More system RAM does not turn slow offload into GPU memory.

What to ask a seller

Ask for a benchmark row containing:

  • exact GPU and count;
  • model repository and version;
  • quantisation;
  • runtime and version;
  • context length;
  • input and output lengths;
  • batch and concurrency;
  • time to first token;
  • generation throughput;
  • peak VRAM;
  • measured wall power and maximum temperature.

If those conditions are absent, the number is not comparable.

Bottom line

Buy for an accepted workload, not a parameter badge. Per-GPU memory determines the simplest fit. Aggregate memory becomes useful only with an explicit execution pattern. Leave room for cache and operations, then verify on the exact machine.

Technical context

See the physical and operating boundary

Use these views to connect the guide to the machine, its airflow and its operating environment. Captions state the limits of what each image shows.

Three-quarter supplier render of a 4U OEM multi-GPU rack server
Three-quarter supplier render of a 4U OEM multi-GPU rack server
OEM platform reference render. It is not evidence of a completed customer build or final specification. OEM supplier reference image. Written reuse permission pending.
OEM platform reference render. It is not evidence of a completed customer build or final specification.
Open 4U OEM GPU server chassis showing passive GPUs, cooling fans, processors and memory slots
Open 4U OEM GPU server chassis showing passive GPUs, cooling fans, processors and memory slots
OEM supplier render showing one possible internal layout. Components vary with the ordered build. OEM supplier reference image. Written reuse permission pending.
OEM supplier render showing one possible internal layout. Components vary with the ordered build.
Diagram combining model weights, context, cache and active requests into a memory headroom check
Diagram combining model weights, context, cache and active requests into a memory headroom check
Memory fit depends on the workload, context, cache and simultaneous demand, then needs a representative test. Original explanatory plate. It sets out a decision method, not a measured result.
Memory fit depends on the workload, context, cache and simultaneous demand, then needs a representative test.
Exploded supplier render of passive GPUs arranged above an open 4U rack chassis
Exploded supplier render of passive GPUs arranged above an open 4U rack chassis
Supplier layout render used to explain GPU density and airflow. It does not represent a confirmed package configuration. OEM supplier reference image. Written reuse permission pending.
Supplier layout render used to explain GPU density and airflow. It does not represent a confirmed package configuration.

Benchmark record

A comparable result needs its conditions

Record the complete test row. A single throughput number without workload conditions cannot support a buying decision.

  1. GPU and topology Exact count, per-GPU VRAM and system configuration
  2. Version and format Repository, revision, quantisation and runtime
  3. Prompt conditions Context, input, output, batch and concurrency
  4. Useful measures Latency, throughput, peak VRAM, power and temperature

Repeat the test on the proposed machine with representative, permission-safe material.

Primary sources

Sources are checked at the review date. Platform terms, prices and public guidance can change; verify them at the point of decision.

Use the guidance

Make the next conversation specific.

Describe the workload without uploading confidential material.