Comparisons 6 min read

How Much VRAM for a Local LLM in 2026: 7B, 13B, 30B, 70B and the Right GPUs

How much VRAM you need to run an LLM locally in 2026: 7B, 13B, 30B or 70B, in Q4 or Q8, context included. The cards that fit from 8 to 24 GB: RTX 3060 12 GB, 4070 Ti SUPER 16 GB, 3090 and 4090 24 GB, and the AMD options.

S By Selfhostr · no sponsored content
How Much VRAM for a Local LLM in 2026: 7B, 13B, 30B, 70B and the Right GPUs
This article may contain affiliate links (no extra cost to you, it funds the site). As an Amazon Associate, Selfhostr earns from qualifying purchases. See the disclosure.

👍 What we like

  • CUDA is supported by PyTorch, Ollama and LM Studio
  • Q4 quantization brings a 7B model down from 14 GB (FP16) to 4 or 5 GB
  • A 24 GB card runs a 30B in Q4 without offloading to system memory

👎 What to watch

  • No consumer card can load a 70B in Q4 on its own
  • The 24 GB cards draw 350 to 450 W
  • An 8 GB card is limited to quantized 7B models
📑 Contents ▾

A model with 7 to 8 billion parameters quantized to Q4 fits in 4 to 5 GB of VRAM, a 13B in Q4 in 7 to 8 GB, and a 30B or 34B in Q4 in a 24 GB card. A 70B in Q4 needs about 35 to 40 GB: no consumer card is enough on its own, so you need two 24 GB cards or partial offloading to system memory, which is much slower. In practice, 12 GB (RTX 3060) is enough to get started, 16 GB (RTX 4070 Ti SUPER) is comfortable up to 13B and 24 GB (RTX 3090, RTX 4090) opens up 30B models, always with some headroom for the context.

Selfhostr has not measured these cards: the VRAM requirements on this page are orders of magnitude, and the specifications come from manufacturer spec sheets. Our only inference measurements were made on an NVIDIA GB10 machine, in our benchmark of 13 local LLMs.

How to estimate a model’s VRAM

The weights. The VRAM you need depends on the number of parameters and on how much space each one takes. In FP16, a parameter takes two bytes: a 7B model weighs about 14 GB. In Q8, that drops to one byte per parameter, or about 8 GB for a 7B once the overhead is counted. In Q4, you need 4 to 5 GB. The quality loss from quantization is often hard to notice in use, which makes Q4 the usual starting point.

The context. The previous messages of the conversation are kept in VRAM, in the KV cache. The longer the context, the more room it takes: a model that only just fits leaves almost nothing for it.

Overflow. If the model does not fit in VRAM, the inference tool offloads part of it to system memory. Generation speed then drops by several orders of magnitude, to the point of making it painful to use.

Memory bandwidth. VRAM tells you how big a model you can load; bandwidth tells you how fast it generates tokens. A slower card with more memory is still preferable to a fast card that can only load small models.

Model sizeIn Q4In Q8VRAM that is enough
7B-8B (Llama 3 8B, Mistral 7B)4 to 5 GBabout 8 GB8 GB in Q4, 12 GB in Q8
13B (Llama 2 13B)7 to 8 GB14 to 15 GB12 GB in Q4 (reduced context), 16 GB is tight in Q8, 24 GB is comfortable
30B-34Bfits in 24 GBabout 1 byte per parameter24 GB in Q4
70B (Llama 3 70B)about 35 to 40 GBabout 1 byte per parameter, out of reach for a consumer cardtwo 24 GB cards, a 48 GB pro card, or offloading

The cards, from 8 to 24 GB of VRAM

8 GB: RTX 3070 and Radeon RX 590, for a 7B in Q4

With 8 GB, a 7B in Q4 fits and leaves room for the context; a 13B barely fits. The NVIDIA GeForce RTX 3070 (Ampere architecture) is fast on these small models and benefits from the whole CUDA ecosystem. The MSI Radeon RX 590 (Polaris architecture) has more limited software support: ROCm no longer officially supports Polaris, so you need a Vulkan-compatible engine. These cards let you try out a local LLM, not go much further.

12 GB: RTX 3060, the entry point

The RTX 3060 12 GB (Ampere, 3584 CUDA cores, 12 GB of GDDR6 on a 192-bit bus) remains the entry-level card that runs a 7B up to Q8 (about 8 GB) and a 13B in Q4 with a reduced context. Its bandwidth is modest (about 360 GB/s) and its power draw low (about 170 W). It is often found used. It is not suited to 70B models, even quantized.

16 GB: RTX 4070 Ti SUPER or Radeon VII

The RTX 4070 Ti SUPER 16 GB (Ada Lovelace architecture, 8448 CUDA cores, 16 GB of GDDR6X, about 672 GB/s) is the modern compromise: new, under warranty, with reasonable power draw (about 285 W). It runs 7B and 13B models in Q4 or Q5 with more context than the 3060, and models up to about 20B in Q4. For a 13B in Q8, its 16 GB is tight.

The AMD Radeon VII 16 GB offers the same amount of VRAM as HBM2 memory, whose bandwidth is high. It is an old card (Vega architecture). On Linux, check that the ROCm version you plan to use supports it; its power draw also weighs on the bill if the machine runs around the clock.

24 GB: a used RTX 3090 or an RTX 4090

The RTX 3090 24 GB (10496 CUDA cores, 24 GB of GDDR6X on a 384-bit bus, about 936 GB/s) is often the best VRAM per euro, provided you buy it used or refurbished (see RTX 3090 24 GB cards on Amazon). It loads a 13B at high precision, a 30B or 34B in Q4, and a 70B only with very aggressive quantization (2 or 3 bits) and a limited context. It draws about 350 W and runs hot: it needs a well-ventilated case. Our guide to used GPUs for local LLMs covers what to check before buying.

The RTX 4090 24 GB (16384 CUDA cores, 24 GB of GDDR6X on a 384-bit bus, about 450 W) generates faster than the 3090, but with the same amount of VRAM: it does not load larger models. It makes sense if speed matters as much as size, or for light fine-tuning. It has no NVLink.

Beyond 24 GB: 70B models

A 70B in Q4 takes about 35 to 40 GB. Three options:

  • Two 24 GB cards (two RTX 3090s or two RTX 4090s). Inference tools split the model across the cards directly: neither NVLink nor GPU virtualization is needed, the PCIe bus is enough.
  • A professional card such as the 48 GB RTX A6000, which costs far more.
  • Partial offloading to system memory, which works but sharply cuts generation speed.

To find out which 70B model is worth the effort, see our comparison of which 70B LLM to choose.

NVIDIA or AMD for inference

NVIDIA keeps the software edge: CUDA is supported by PyTorch, Ollama and LM Studio with no special setup. On the AMD side, ROCm has improved and works, but with fewer tools and a trickier setup on consumer cards; older cards dropped from ROCm have to go through Vulkan. If you want to save time, an NVIDIA card remains the simplest choice. The details are in our NVIDIA vs AMD for AI comparison.

Limits of these estimates

  • These are orders of magnitude: actual VRAM use depends on the exact quantization format, the context length and the inference engine. The most reliable guide is the size of the model file, plus the context.
  • We do not give tokens-per-second figures for these cards, since we have not measured them.
  • For a machine that runs around the clock, power draw (from 170 W for the 3060 to 450 W for the 4090) matters as much as the purchase price, power supply included.

Key facts

4 to 5 GB
VRAM for a 7B in Q4
About 35 to 40 GB
VRAM for a 70B in Q4
8 to 24 GB
VRAM of the cards covered

Our picks

Affiliate links · same price for you
24 GB, the fastest
📦

NVIDIA GeForce RTX 4090 24 GB

View on Amazon

Amazon · price and availability on the listing

16 GB, new and efficient
📦

NVIDIA GeForce RTX 4070 Ti SUPER 16 GB

View on Amazon

Amazon · price and availability on the listing

12 GB, to get started
📦

NVIDIA GeForce RTX 3060 12 GB

View on Amazon

Amazon · price and availability on the listing

8 GB, AMD Polaris
📦

MSI Radeon RX 590 8 GB

View on Amazon

Amazon · price and availability on the listing

8 GB, CUDA
📦

NVIDIA GeForce RTX 3070 8 GB

View on Amazon

Amazon · price and availability on the listing

16 GB HBM2, Vega
📦

AMD Radeon VII 16 GB HBM2

View on Amazon

Amazon · price and availability on the listing

See all our recommended gear in the shop.

Tags: gpuaivramllmrtx4090inference

Related

Comparisons

NVIDIA or AMD for local AI in 2026: CUDA or ROCm, VRAM, RTX 4090, RTX 3090, RX 7900 XTX and RX 9070 XT

CUDA or ROCm, amount of VRAM, memory bandwidth: what separates NVIDIA and AMD for running an LLM locally, which Radeon to pick from the RX 5700 XT to the RX 9070 XT, and what the A100, MI250X and RTX A6000 are for.

Read
Comparisons

Best GPU for local AI in 2026: RTX 3090, RTX 4090, RTX 4060 Ti 16 GB, RTX A4000 or RX 7900 XTX?

Which graphics card for a local LLM, Stable Diffusion or GPU passthrough on Proxmox? VRAM, power draw, size and software stack of the RTX 3090, 4090, 4060 Ti 16 GB, A4000 and RX 7900 XTX, from the manufacturers' spec sheets.

Read
Comparisons

Used GPUs 2026: Budget-friendly option for local LLMs?

Discrete GPUs like the RTX 3090 Ti/3090 provide more VRAM and compute power for local LLM inference, but require dedicated cooling and consume more energy.

Read