Skip to content
,

Best GPU for Running LLMs Locally (2026 Guide)

VRAM decides which models you can run and bandwidth decides speed. GPUs and Macs compared for Llama, Qwen, DeepSeek and gpt-oss, with VRAM needs per model.

5 min read

Best GPU for Running LLMs Locally (2026 Guide)

Short answer

For running large language models at home, VRAM decides which models you can run and memory bandwidth decides how fast they run. A 12–16 GB card handles 7B–14B models in 4-bit; 24–32 GB (a used RTX 3090, an RTX 4090 or an RTX 5090) runs models up to about 32B; 70B models need about 48 GB or more, such as two 24 GB cards, a 96 GB workstation card or a Mac with 64 GB or more of unified memory. Check any model and GPU in our LLM VRAM calculator.

What matters for local LLMs

Gaming benchmarks and TFLOPS figures are the wrong guide here. For running a chatbot on your own machine, four things matter, roughly in this order:

  1. VRAM capacity. The whole model, plus its KV cache, must fit in GPU memory. If it spills into system RAM, speed collapses.
  2. Memory bandwidth. Every generated token reads every weight once, so tokens per second scale with bandwidth, not with Tensor Core throughput.
  3. Software support. NVIDIA CUDA works with everything (llama.cpp, Ollama, LM Studio, vLLM). Apple Silicon is excellent with llama.cpp and MLX. AMD works well with llama.cpp through ROCm or Vulkan, with fewer options elsewhere.
  4. Power, noise and price. A 575 W RTX 5090 and a near-silent Mac Studio are very different things to live with.

How much VRAM each model needs

Most people run local models in 4-bit quantization (GGUF Q4_K_M, about 4.85 bits per weight), which keeps quality close to the original at about a third of the FP16 size. Here is what popular models need with an 8K-token context and about 10% runtime overhead:

ModelSize in Q4_K_M + 8K contextSmallest comfortable GPU
Llama 3.1 8B, Qwen3 8Babout 6.5 GB8–12 GB card
Qwen2.5 14B, Phi-4 14Babout 11.6 GB16 GB card
Mistral Small 3 24Babout 17 GB24 GB card
Qwen3 32B, DeepSeek-R1-Distill 32Babout 24 GB24 GB card with a shorter context, or 32 GB
Llama 3.3 70Babout 50 GB2 × 32 GB (2 × 24 GB with a shorter context), a 96 GB card or a 64 GB+ Mac
gpt-oss-120b (native MXFP4)about 69 GBa 96 GB card or a 96 GB+ Mac
Estimates from the TensorCore.si LLM VRAM calculator. Longer contexts add more KV cache.

GPUs compared

GPU or systemMemoryBandwidthBest for
NVIDIA RTX 306012 GB360 GB/s7–8B models on a budget
NVIDIA RTX 4060 Ti / 5060 Ti 16GB16 GB288 / 448 GB/sUp to 14B; slower generation
NVIDIA RTX 4070 Ti Super / 5070 Ti16 GB672 / 896 GB/sFast 7–14B models
NVIDIA RTX 3090 (used)24 GB936 GB/sThe value pick for 24–32B models
NVIDIA RTX 409024 GB1,008 GB/sFast 24–32B models
NVIDIA RTX 509032 GB1,792 GB/sThe fastest consumer card; 32B with long context
NVIDIA RTX PRO 6000 Blackwell96 GB1,792 GB/s70B and gpt-oss-120b on one card
AMD Radeon RX 7900 XTX24 GB960 GB/s24 GB for less, with llama.cpp
Apple Mac with M4 Maxup to 128 GB546 GB/sBig models, quietly
Apple Mac Studio M3 Ultraup to 512 GB819 GB/sEven the largest open models
NVIDIA DGX Spark / AMD Ryzen AI Max+ 395128 GB273 / 256 GB/sLarge models in a mini PC, slowly
Memory bandwidth from NVIDIA, AMD and Apple specifications. Macs can give the GPU roughly 75% of unified memory by default.

Which GPU should you buy?

  • Just starting: a 12 GB RTX 3060 or a 16 GB RTX 5060 Ti runs every 7–8B model and most 14B models in 4-bit. Avoid 8 GB cards; they leave almost no room for context.
  • Best value: a used RTX 3090. Its 24 GB and 936 GB/s still beat most new cards for local AI.
  • Fastest single consumer GPU: the RTX 5090. 32 GB fits 32B models with long context, and 1.8 TB/s makes generation very fast.
  • 70B models: two 32 GB cards, or two 24 GB cards with a shorter context (layer split works well over PCIe), a 96 GB RTX PRO 6000, or a Mac with 64 GB or more.
  • The biggest open models: a Mac Studio with 256–512 GB of unified memory runs models that would otherwise need a data-center server, at modest speed.

How fast will it be?

A useful estimate for a single user is:

tokens per second ≈ 0.7 × memory bandwidth ÷ model size in bytes

For Llama 3.1 8B in Q4_K_M (about 4.9 GB), that gives roughly 145 tokens per second on an RTX 4090, 78 on an M4 Max and 41 on an RTX 4060 Ti. Anything above about 10 tokens per second reads comfortably. Mixture-of-experts models such as Qwen3 30B-A3B and gpt-oss read only their active experts per token, so they run much faster than their total size suggests. The reason bandwidth rules is explained in what is HBM and how a GPU works.

Using two or more GPUs

llama.cpp, Ollama and LM Studio can split a model's layers across several GPUs, so memory adds up: two 24 GB cards behave like 48 GB. Each token passes through the GPUs one after another, so speed is set by the slower card, and the data exchanged between them is small enough that PCIe is fine. Inference servers such as vLLM can use tensor parallelism for more speed, where a fast link helps; see NVLink and NVSwitch explained.

Common mistakes

  • Buying for TFLOPS. A faster chip with less memory runs fewer models.
  • Forgetting the KV cache. Long contexts can add many gigabytes; a 70B model at 128K tokens needs about 43 GB of cache in FP16.
  • Offloading to system RAM. It works, but generation often drops to a few tokens per second.

Frequently asked questions

Is 8 GB of VRAM enough for a local LLM?

For 7–8B models in 4-bit with a short context, yes. Anything larger, or longer contexts, needs 12 GB or more.

Is a Mac good for running LLMs?

Yes, especially for large models. Unified memory lets a Mac load models no consumer GPU can hold. It generates tokens more slowly than a high-end NVIDIA card with the same model, and prompt processing is notably slower.

Can I use an AMD GPU?

Yes. llama.cpp, Ollama and LM Studio support AMD through ROCm or Vulkan, and a 24 GB RX 7900 XTX is a good value. NVIDIA still has the widest software support, especially for training and for tools such as vLLM.

Ready to check a specific setup? Use the LLM VRAM calculator, learn what the quantization labels mean in LLM quantization explained, or see why context costs memory in KV cache explained.

Sources and further reading

Think you understand it now? Prove it.

Solve real Tensor Core math in the TensorCore.si Challenge and earn a certificate with your name.

Take the challenge

Leave a Reply

Your email address will not be published. Required fields are marked *