The best GPU for Ollama has enough VRAM for your chosen model and context window, plus enough memory bandwidth to generate replies at the pace you need. For Q4 models on a single card, start your shortlist at 16 GB for a 14B model or 24 GB for a 32B model.
Capacity for your model and context
Start with the exact model tag and its listed download size. The model also needs memory for the key-value (KV) cache. A longer context increases memory use, so budget for the context you intend to use. NVIDIA’s inference guide and Ollama’s context documentation explain those costs.
For a rough weight estimate, multiply parameters by bits per weight and divide by eight. If every weight in a 14B model took exactly 4 bits, the raw weights would take 7 GB. Ollama lists the actual Qwen2.5 14B Q4_K_M download at 9 GB, before allocating a KV cache. Qwen2.5 model tags
| VRAM to shortlist | Example model tag | Listed download | What to check |
|---|---|---|---|
| 8–12 GB | llama3.1:8b-instruct-q4_K_M | 4.9 GB | Start with a short context at 8 GB. At 12 GB you have more room to extend it. |
| 16 GB | qwen2.5:14b-instruct-q4_K_M | 9.0 GB | Price the 12 GB tier too if you only need a short context and can verify the fit. |
| 24 GB | qwen2.5:32b-instruct-q4_K_M | 20 GB | Check available VRAM with your intended context and other apps open. |
| 32 GB | llama3.1:70b-instruct-q2_K | 26 GB | Consider this more compressed tag if you need 70B on a single 32 GB card. |
| 48 GB across two cards | llama3.1:70b-instruct-q4_K_M | 43 GB | Verify the combined free VRAM and the split at your intended context. |
Model sizes are listed in the Llama 3.1 tags and Qwen2.5 tags. A 32 GB card can give the 20 GB Qwen tag more room for context. The 43 GB Llama tag already exceeds that card’s capacity.
Ollama checks free VRAM when loading a model. It uses one GPU if the model fits there and can split it across available GPUs if it needs more room. Ollama’s multi-GPU guidance
Use the VRAM calculator to estimate the memory needed at your context length. For more detail, see how much VRAM you need to run local LLMs with Ollama and best Ollama models for 8GB VRAM.
Memory bandwidth and generation speed
Memory bandwidth is a useful comparison for the same model, quantisation and context when generating one reply at a time. As the model generates each token, it reads weights and cached attention data from memory. Higher bandwidth can shorten that part of generation. NVIDIA’s explanation of LLM decoding
To sketch a bandwidth-only ceiling for a single dense model, divide peak bandwidth by the bytes read per token. For example, assume 936 GB/s of peak bandwidth and 20 GB read per token. Dividing gives about 47 tokens per second. Workloads can achieve different effective bandwidths. NVIDIA’s bandwidth guide
For more on measuring generation speed, see Ollama tokens per second.
GPU memory comparison
| GPU or chip | Memory | Bus width | Peak bandwidth | Manufacturer specs |
|---|---|---|---|---|
| RTX 3060 12GB | 12 GB GDDR6 | 192-bit | — | NVIDIA |
| RTX 4060 Ti 16GB | 16 GB GDDR6 | 128-bit | — | NVIDIA |
| RTX 5060 Ti 16GB | 16 GB GDDR7 | 128-bit | 448 GB/s | NVIDIA |
| RTX 4070 Ti SUPER | 16 GB GDDR6X | 256-bit | — | NVIDIA |
| RTX 3090 | 24 GB GDDR6X | 384-bit | — | NVIDIA |
| RTX 4090 | 24 GB GDDR6X | 384-bit | — | NVIDIA |
| RX 7900 XTX | 24 GB GDDR6 | — | Up to 960 GB/s | AMD |
| RTX 5090 | 32 GB GDDR7 | 512-bit | 1,792 GB/s | NVIDIA |
| Apple M4 Max | Up to 128 GB unified at launch | — | 410 or 546 GB/s | Apple specs, launch configurations |
| Apple M3 Ultra | Up to 512 GB unified at launch | — | 819 GB/s | Apple specs, launch configurations |
The RTX 4060 Ti, RTX 5060 Ti and RTX 4070 Ti SUPER configurations shown each have 16 GB. The RTX 4060 Ti and RTX 5060 Ti both have 128-bit buses. NVIDIA’s GeForce comparison
The RTX 3090 and RTX 4090 both have 24 GB of GDDR6X. NVIDIA’s GeForce comparison If you’re shopping used, compare local offers and check each board’s power and size requirements before buying.
NVIDIA, AMD and Apple support
For NVIDIA, Ollama lists compute capability 5.0 or higher and driver 550 or newer. GPUs with compute capability 5.0 through 6.2 need driver 570 or newer. Ollama hardware support
The RX 7900 XTX appears on Ollama’s Linux and Windows ROCm lists. Vulkan adds support for other GPUs. Check your operating system’s card list and driver requirements before buying. Ollama hardware support
Ollama uses Metal for GPU acceleration on Apple devices. Compare the exact Mac configuration because M4 Max bandwidth varies by GPU configuration. Ollama hardware support and Apple Mac Studio specs
The CPU and GPU share unified memory, so leave room for macOS and other apps when estimating model fit. Apple’s unified memory explanation
See Ollama on Apple Silicon for more guidance on sizing a Mac.
A buying checklist
- Pick the largest model tag you plan to run and note its listed size.
- Choose the model, quantisation and target context length in the VRAM calculator. Compare its memory estimate with available memory and leave space for the desktop and other apps.
- Filter for GPUs supported on your operating system. Compare peak memory bandwidth and price among cards with enough memory.
- After loading the model at your intended context, run
ollama ps. CheckCONTEXTand look for100% GPUinPROCESSORto confirm full GPU placement. Ollama’s placement check
If the model is partly on the CPU, try a shorter context or a smaller model tag, then check the split again. See Ollama not using GPU for troubleshooting.
Evidence and limits. The comparisons are based on manufacturer specifications, including Apple’s 2025 Mac Studio configurations, and on Ollama documentation and model tags checked on November 28, 2026. No hands-on testing was performed for this guide. The bandwidth example is theoretical.
For running this workload inside a virtual machine rather than on bare metal, proxmoxguide.com covers GPU passthrough tradeoffs. For serving models to more than one user, where batching changes the bandwidth arithmetic entirely, llmops.report covers deployment patterns.