CodecPath

Guide

Best GPU for Ollama: Buy VRAM Before Raw Speed

The best GPU for Ollama has enough VRAM for the model, quantization, and context you will actually run, with NVIDIA offering the least troublesome default.

CodecPath editors7 min read
8GB to 12GBSmall 3B to 8B quantizedmodels16GB14B models with usefulheadroom24GB30B-class quantizedworkloads32GB and aboveLarge models orconcurrent inference
Choose the VRAM tier from the largest model and context you will actually keep on the GPU.

How much GPU memory does your Ollama workload need?

Start with the model file.

Buy enough VRAM to hold the quantized weights plus roughly 20 to 30 percent headroom for context, attention data, and runtime overhead, or accept slower CPU offloading.

A 7B or 8B model quantized to 4-bit typically fits comfortably on an 8GB card, although a long context window can consume the margin. Models around 13B or 14B make 12GB the practical floor and 16GB the saner purchase. A 24GB card opens the door to larger quantized models in the 30B class, while models around 70B generally require more memory, multiple cards, or substantial system RAM offload.

VRAM decides what fits. GPU processing performance decides how fast it runs only after the weights and working data have somewhere to live. A fast 12GB card can therefore lose to a slower 24GB card when the larger model spills into system memory.

Check the model blob size before buying hardware. It is a useful floor, not a complete VRAM estimate, because context length and Ollama's key-value cache add memory during inference.

Which VRAM tier should you buy?

Use the smallest safe tier.

For ordinary chat with 7B to 14B language models, buy 12GB to 16GB; choose 24GB or more for larger models, long context, parallel requests, or room to experiment.

  • 8GB: Good for 3B to 8B models at common 4-bit quantization levels. Capacity gets tight quickly with higher precision or large context windows.
  • 12GB: The value tier for 7B and 8B models, with enough headroom for less cramped configuration choices. Some 13B or 14B builds fit, but context can force partial offload.
  • 16GB: The sensible general-purpose target for developers running 14B-class models, embeddings, and occasional larger experiments.
  • 24GB: The useful enthusiast tier for 30B-class quantized weights, higher context, or concurrent generation.
  • 32GB and above: Buy this for known large-model work, not as insurance against an undefined future.

Do not confuse advertised parameter count with installed size. Quantization reduces the bytes per parameter, and two releases carrying the same model name can have very different memory requirements. The decision rule is simple: choose the models first, inspect their actual file sizes, add working headroom, then price the cards.

Should you choose NVIDIA, AMD, or Intel?

Nvidia is the safe default.

Choose AMD only after confirming your exact GPU and operating system in Ollama's support matrix, and treat Intel GPU acceleration as a compatibility project rather than the default purchase path.

Ollama supports Nvidia GPUs through CUDA and lists supported compute capabilities in its GPU documentation. That mature path matters more than a small difference in theoretical bandwidth when the alternative requires troubleshooting drivers, device discovery, or backend support.

AMD can be a strong value when a Radeon card supplies more memory for the money, particularly on a supported Linux configuration. Support depends on ROCm, however, and the precise GPU generation matters. Read the Ollama ROCm and AMD GPU support guide before treating an inexpensive 16GB Radeon as an automatic bargain.

Intel Arc is harder to recommend for a machine built specifically around Ollama. Cards such as the Intel Arc B570, 10 GB, 380 GB/s may look competitive on memory specifications, but bandwidth alone does not establish backend compatibility or dependable acceleration. Buy against the software stack you can run today.

When does memory bandwidth matter more than compute?

Bandwidth matters during generation.

Once the model fits entirely in VRAM, higher memory bandwidth often raises token generation speed because inference repeatedly reads weights, while compute capacity matters more for prompt processing and larger batches.

This distinction explains why specifications cannot be reduced to CUDA core counts or a single benchmark score. Interactive chat has at least two visible phases: processing the prompt, then generating tokens one by one. A card may ingest a long prompt quickly yet deliver unremarkable tokens per second during generation.

Capacity still comes first. Crossing the VRAM limit can move layers to CPU memory across PCIe, a far larger penalty than modest differences between two cards that keep the model entirely on the GPU. Do not pay heavily for higher compute while accepting less memory unless your fixed model already fits with comfortable headroom.

Is one large GPU better than two smaller cards?

Usually, buy one card.

A single GPU with enough VRAM is generally easier to configure, cool, power, and resell than dual RTX cards whose combined memory does not behave like one transparent shared pool.

Ollama can spread a model across available GPUs, but each card retains its own memory and communication between devices adds overhead. The motherboard also needs suitable PCIe slots and spacing, while the power supply must handle both sustained load and transient demand. Consumer cases make the physical problem worse because modern cards are thick.

Two GPUs make sense when you already own one, need more total capacity than a single affordable card supplies, or run separate models and workloads on separate devices. For a new machine, one 24GB or 32GB card is usually the cleaner decision than two smaller cards totaling the same nominal memory.

Which GPU tiers make sense for common workloads?

Match the workload, not hype.

An 8GB to 12GB GPU suits small quantized chat models, 16GB covers serious local development, and 24GB or more earns its cost only when larger weights or concurrency are already planned.

WorkloadPractical VRAM targetBuying rule
Coding assistant, 3B to 8B8GB to 12GBPrefer 12GB if the price gap is modest
General chat, 7B to 14B12GB to 16GBBuy 16GB for longer context and headroom
RAG with embeddings and chat16GBLeave memory for both model activity and context
30B-class quantized model24GBConfirm the exact quantization file before purchase
70B-class experiments48GB or offloadExpect multiple GPUs or slower system-memory use
Several simultaneous users24GB and aboveCapacity and memory bandwidth both matter

A flagship such as the Nvidia RTX 5090 (32GB) is defensible for large models and heavy concurrent inference, but it is wasted on a single small assistant that never approaches 12GB. Spend the difference on system RAM, storage, or a quieter power supply if your workload remains small.

For a broader machine plan, the local LLM hardware guide covers CPU, RAM, and storage choices that still matter after the GPU is installed.

How do you verify that Ollama is using the intended GPU?

Check the running model.

Run ollama ps while generation is active and inspect the processor column, because a model reported as partly on CPU is not achieving full GPU acceleration.

Ollama's FAQ explains CPU and GPU placement, including output such as 100% GPU or a split between CPU and GPU. If the model is partly offloaded, reduce context length, choose a smaller quantization, stop other GPU-heavy applications, or move to a card with more memory.

On Windows, also check Task Manager under Performance, GPU, and select a CUDA or compute graph rather than relying on the default 3D chart. Nvidia users can run nvidia-smi during generation to see memory allocation and the Ollama process.

If no GPU appears, this is a driver and support problem, not a shopping problem. Follow the Windows GPU troubleshooting checklist before replacing a card that Ollama may simply be failing to detect. The goal is to confirm Ollama is set to use the GPU you want and that the model remains entirely loaded there.

FAQ

Is 8GB of VRAM enough for Ollama?
Yes, for many 3B to 8B models using 4-bit quantization. It is restrictive for 13B or 14B models, long context windows, higher precision weights, and concurrent requests.
Does Ollama run faster with more VRAM?
Only when the extra VRAM prevents CPU offloading or permits a better workload configuration. Once the same model fits comfortably, memory bandwidth and GPU architecture have more influence on tokens per second.
How much system RAM should an Ollama computer have?
Install at least 16GB for small models and 32GB for a general local inference machine. Choose 64GB or more if large models will be loaded partly into system memory, though CPU offload is much slower than keeping weights in VRAM.
Can Ollama use two GPUs at once?
Yes, Ollama can distribute a model across multiple available GPUs. Combined capacity can make large models possible, but separate VRAM pools, inter-GPU transfers, PCIe layout, cooling, and power make one larger card preferable for most new builds.
Does a longer context window require more VRAM?
Yes. Longer context increases the memory used by the key-value cache, so a model that fits at the default context can begin offloading when the context limit is raised.

Official software

Related guides