What Can I Run AI?

Ollama VRAM requirements: how much GPU memory each model needs

How much VRAM a model needs in Ollama, tag by tag. Each row uses the real model file size, quantization and context window from Ollama's registry for 39 popular tags, an estimate of total memory at 4k and 32k context, and the cheapest GPU and Mac we track that runs it fully on the GPU.

Tags
39 Ollama library defaults
Default quant
Q4_K_M for most tags
File sizes
2026-11-12 from registry.ollama.ai

Short answer: a Q4 Ollama model needs about its model file size plus 15% plus 1 GB. That means ~6.7 GB for an 8B tag, ~16.9 GB for gpt-oss:20b, ~24.2 GB for a 32B tag and ~49.9 GB for a 70B tag at Ollama's default 4k context. More context needs more memory.

How we estimate it

memory ≈ Ollama model file size × 1.15 + 1 GB (≈4k context) · 32k adds the KV cache from the model's published config (FP16 cache)

Same formula as the rest of the site (how we calculate), applied to the actual model file Ollama pulls instead of a bits-per-weight guess. These are estimates, not measured with ollama ps. "Smallest card" is the smallest common VRAM size where the model uses 90% or less. Cheapest GPU and Mac are the cheapest current devices we track that fit at 4k, at dated list prices. Mac memory is unified, and macOS keeps some of it, so we use the usable amount.

VRAM by Ollama tag

Ollama tag, download size and quantization, estimated memory at 4k and 32k context, smallest VRAM size, and cheapest GPU and Mac that fit
Ollama tagModel fileEst. memory, 4k ctxEst. memory, 32k ctxSmallest cardCheapest GPUCheapest Mac / mini PC
llama3.2:1bLlama-3.2-1B-Instruct1.3 GB
Q8_0
2.5 GB3.5 GB4 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
qwen3:1.7bQwen3-1.7B1.4 GB
Q4_K_M
2.6 GB5.9 GB4 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
llama3.2:3bLlama-3.2-3B-Instruct2.0 GB
Q4_K_M
3.3 GB6.6 GB4 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
phi4-mini:3.8bPhi-4-mini-instruct2.5 GB
Q4_K_M
3.9 GB7.6 GB6 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
qwen3:4bQwen3-4B2.5 GB
Q4_K_M
3.9 GB8.1 GB6 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
gemma3:4bgemma-3-4b-it2.5 GB
Q4_K_M
3.9 GB—6 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
gemma4:e2bGemma 4 E2B3.5 GB
Q4_K_M
5.0 GB—6 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
mistral:7bMistral-7B-Instruct-v0.34.4 GB
Q4_K_M
6.0 GB9.8 GB8 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
deepseek-r1:7bDeepSeek-R1-Distill-Qwen-7B4.7 GB
Q4_K_M
6.4 GB8.0 GB8 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
qwen2.5-coder:7bQwen2.5-Coder-7B-Instruct4.7 GB
Q4_K_M
6.4 GB8.0 GB8 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
llama3.1:8bLlama-3.1-8B-Instruct4.9 GB
Q4_K_M
6.7 GB10.4 GB8 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
granite3.3:8bgranite-3.3-8b-instruct4.9 GB
Q4_K_M
6.7 GB11.4 GB8 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
qwen3:8bQwen3-8B5.2 GB
Q4_K_M
7.0 GB11.2 GB8 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
deepseek-r1:8bDeepSeek-R1-0528-Qwen3-8B5.2 GB
Q4_K_M
7.0 GB11.2 GB8 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
gemma4:e4bGemma 4 E4B5.5 GB
Q4_K_M
7.3 GB—12 GBIntel Arc B570$219 listMac mini M6 16GB$899 list
mistral-nemo:12bMistral-Nemo-Instruct-24077.1 GB
Q4_0
9.1 GB13.8 GB12 GBIntel Arc B580$249 listMac mini M6 16GB$899 list
gemma3:12bgemma-3-12b-it7.3 GB
Q4_K_M
9.4 GB—12 GBIntel Arc B580$249 listMac mini M6 16GB$899 list
gemma4:12bGemma 4 12B7.4 GB
Q4_K_M
9.5 GB—12 GBIntel Arc B580$249 listMac mini M6 16GB$899 list
olmo2:13bOLMo-2-1124-13B-Instruct8.3 GB
Q4_K_M
10.6 GBmax 4k ctx12 GBIntel Arc B580$249 listMac mini M6 16GB$899 list
deepseek-r1:14bDeepSeek-R1-Distill-Qwen-14B9.0 GB
Q4_K_M
11.3 GB17.0 GB16 GBRadeon RX 7600 XT$329 listMac mini M6 24GB$1,299 list
qwen2.5-coder:14bQwen2.5-Coder-14B-Instruct9.0 GB
Q4_K_M
11.3 GB17.0 GB16 GBRadeon RX 7600 XT$329 listMac mini M6 24GB$1,299 list
phi4:14bphi-49.1 GB
Q4_K_M
11.4 GBmax 16k ctx16 GBRadeon RX 7600 XT$329 listMac mini M6 24GB$1,299 list
qwen3:14bQwen3-14B9.3 GB
Q4_K_M
11.7 GB16.4 GB16 GBRadeon RX 7600 XT$329 listMac mini M6 24GB$1,299 list
gpt-oss:20bgpt-oss-20b13.8 GB
MXFP4
16.9 GB17.6 GB24 GBRadeon RX 7900 XT$899 listMac mini M6 32GB$1,799 list
mistral-small3.2:24bMistral-Small-3.2-24B-Instruct-250615.2 GB
Q4_K_M
18.5 GB23.2 GB24 GBIntel Arc Pro B70 32GB$949 listMac mini M6 32GB$1,799 list
gemma3:27bgemma-3-27b-it16.6 GB
Q4_K_M
20.0 GB—24 GBIntel Arc Pro B70 32GB$949 listMac mini M6 32GB$1,799 list
gemma4:26bGemma 4 26B A4B17.1 GB
Q4_K_M
20.6 GB—24 GBIntel Arc Pro B70 32GB$949 listMac mini M6 32GB$1,799 list
qwen3:30bQwen3-30B-A3B18.6 GB
Q4_K_M
22.3 GB25.2 GB32 GBIntel Arc Pro B70 32GB$949 listMac mini M5 Pro 64GB$3,199 list
qwen3-coder:30bQwen3-Coder-30B-A3B-Instruct18.6 GB
Q4_K_M
22.3 GB25.2 GB32 GBIntel Arc Pro B70 32GB$949 listMac mini M5 Pro 64GB$3,199 list
gemma4:31bGemma 4 31B18.7 GB
Q4_K_M
22.5 GB—32 GBIntel Arc Pro B70 32GB$949 listMac mini M5 Pro 64GB$3,199 list
deepseek-r1:32bDeepSeek-R1-Distill-Qwen-32B19.9 GB
Q4_K_M
23.8 GB31.3 GB32 GBIntel Arc Pro B70 32GB$949 listMac mini M5 Pro 64GB$3,199 list
qwen2.5-coder:32bQwen2.5-Coder-32B-Instruct19.9 GB
Q4_K_M
23.8 GB31.3 GB32 GBIntel Arc Pro B70 32GB$949 listMac mini M5 Pro 64GB$3,199 list
qwen3:32bQwen3-32B20.2 GB
Q4_K_M
24.2 GB31.7 GB32 GBIntel Arc Pro B70 32GB$949 listMac mini M5 Pro 64GB$3,199 list
llama3.3:70bLlama-3.3-70B-Instruct42.5 GB
Q4_K_M
49.9 GB59.3 GB64 GBNVIDIA RTX Pro 6000 Blackwell 96GB$8,565 listFramework Desktop (Ryzen AI Max+ 395) 128GB$3,449 list
deepseek-r1:70bDeepSeek-R1-Distill-Llama-70B42.5 GB
Q4_K_M
49.9 GB59.3 GB64 GBNVIDIA RTX Pro 6000 Blackwell 96GB$8,565 listFramework Desktop (Ryzen AI Max+ 395) 128GB$3,449 list
qwen2.5:72bQwen2.5-72B-Instruct47.4 GB
Q4_K_M
55.5 GB64.9 GB64 GBNVIDIA RTX Pro 6000 Blackwell 96GB$8,565 listFramework Desktop (Ryzen AI Max+ 395) 128GB$3,449 list
gpt-oss:120bgpt-oss-120b65.4 GB
MXFP4
76.2 GB77.2 GB96 GBNVIDIA RTX Pro 6000 Blackwell 96GB$8,565 listFramework Desktop (Ryzen AI Max+ 395) 128GB$3,449 list
qwen3:235bQwen3-235B-A22B142.2 GB
Q4_K_M
164.5 GB170.0 GB192 GBNone we trackMac Studio M5 Ultra 256GB$9,499 list
deepseek-r1:671bDeepSeek-R1-0528404.4 GB
Q4_K_M
466.1 GB—512 GB+None we trackNone we track

Model file size and quantization from each tag's manifest on registry.ollama.ai, context window from the tag list on ollama.com, retrieved 2026-11-12 (for example ollama.com/library/qwen3/tags). "Model file" is the language-model weights; Gemma tags also pull a vision projector (about 0.2–1 GB) that adds memory when you send images. Most default tags are Q4_K_M. llama3.2:1b defaults to Q8_0, mistral-nemo to Q4_0, and gpt-oss ships as MXFP4. "—" in the 32k column means we don't have the model's attention config yet; "max Nk ctx" means the tag's context window (from Ollama's tags page) is shorter than 32k. Tags can be updated by Ollama, so sizes may change.

Which Ollama models fit your GPU

8 GB VRAM

14 of these 39 tags fit. Largest: qwen3:8b (~7.0 GB), deepseek-r1:8b (~7.0 GB), granite3.3:8b (~6.7 GB), llama3.1:8b (~6.7 GB), deepseek-r1:7b (~6.4 GB), qwen2.5-coder:7b (~6.4 GB).

12 GB VRAM

19 of these 39 tags fit. Largest: olmo2:13b (~10.6 GB), gemma4:12b (~9.5 GB), gemma3:12b (~9.4 GB), mistral-nemo:12b (~9.1 GB), gemma4:e4b (~7.3 GB), qwen3:8b (~7.0 GB).

16 GB VRAM

23 of these 39 tags fit. Largest: qwen3:14b (~11.7 GB), phi4:14b (~11.4 GB), deepseek-r1:14b (~11.3 GB), qwen2.5-coder:14b (~11.3 GB), olmo2:13b (~10.6 GB), gemma4:12b (~9.5 GB).

24 GB VRAM

27 of these 39 tags fit. Largest: gemma4:26b (~20.6 GB), gemma3:27b (~20.0 GB), mistral-small3.2:24b (~18.5 GB), gpt-oss:20b (~16.9 GB, ✓32k), qwen3:14b (~11.7 GB, ✓32k), phi4:14b (~11.4 GB). Ollama defaults to 32k context on 24–48 GB cards, so ✓32k marks tags that still fit there.

32 GB VRAM

33 of these 39 tags fit. Largest: qwen3:32b (~24.2 GB), deepseek-r1:32b (~23.8 GB), qwen2.5-coder:32b (~23.8 GB), gemma4:31b (~22.5 GB), qwen3:30b (~22.3 GB, ✓32k), qwen3-coder:30b (~22.3 GB, ✓32k). Ollama defaults to 32k context on 24–48 GB cards, so ✓32k marks tags that still fit there.

48 GB VRAM

33 of these 39 tags fit. Largest: qwen3:32b (~24.2 GB), deepseek-r1:32b (~23.8 GB), qwen2.5-coder:32b (~23.8 GB), gemma4:31b (~22.5 GB), qwen3:30b (~22.3 GB), qwen3-coder:30b (~22.3 GB). Ollama defaults to 256k context on 48 GB+ cards, which can need far more memory than the 4k numbers here; lower it if ollama ps shows CPU offload.

64 GB VRAM

36 of these 39 tags fit. Largest: qwen2.5:72b (~55.5 GB), llama3.3:70b (~49.9 GB), deepseek-r1:70b (~49.9 GB), qwen3:32b (~24.2 GB), deepseek-r1:32b (~23.8 GB), qwen2.5-coder:32b (~23.8 GB). Ollama defaults to 256k context on 48 GB+ cards, which can need far more memory than the 4k numbers here; lower it if ollama ps shows CPU offload.

128 GB VRAM

37 of these 39 tags fit. Largest: gpt-oss:120b (~76.2 GB), qwen2.5:72b (~55.5 GB), llama3.3:70b (~49.9 GB), deepseek-r1:70b (~49.9 GB), qwen3:32b (~24.2 GB), deepseek-r1:32b (~23.8 GB). Ollama defaults to 256k context on 48 GB+ cards, which can need far more memory than the 4k numbers here; lower it if ollama ps shows CPU offload.

Ollama default context and why it matters

Ollama picks a default context length from your VRAM (docs): 4k under 24 GiB, 32k on 24–48 GiB, and 256k at 48 GiB or more. The KV cache grows with context, so a model that fits at 4k can spill to the CPU at 32k. For example, qwen3:30b needs about 22.3 GB at 4k and 25.2 GB at 32k. See context length and VRAM for the math. To set it yourself: OLLAMA_CONTEXT_LENGTH=8192 ollama serve, or /set parameter num_ctx 8192 inside ollama run.

Check the result with ollama ps. The PROCESSOR column should read 100% GPU. A split like "48%/52% CPU/GPU" means part of the model is on the CPU and speed drops a lot.

Quick answers

How much VRAM do I need for Ollama?
It depends on the model. Ollama's default tags are mostly 4-bit (Q4_K_M), so plan on roughly the model file size plus 15% and about 1 GB at a 4k context: llama3.1:8b ~6.7 GB, gpt-oss:20b ~16.9 GB, qwen3:32b ~24.2 GB, llama3.3:70b ~49.9 GB. 8 GB runs 7B–8B models, 16 GB runs 14B models, 24 GB runs gpt-oss:20b and 24B–27B models, 32 GB runs 30B–32B models, and a 70B tag needs about 49.9 GB, so 64 GB or more.
How much VRAM does gpt-oss:20b need in Ollama?
About 16.9 GB at a 4k context by our conservative estimate and 17.6 GB at 32k. The 13.8 GB model file is OpenAI's native MXFP4 weights. OpenAI says it runs within 16 GB of memory, so a 16 GB GPU can work at short context, but a 24 GB card leaves comfortable room.
Can I run Ollama with 8 GB of VRAM?
Yes. llama3.1:8b needs about 6.7 GB and qwen3:8b needs about 7.0 GB at a 4k context, which fits an 8 GB card. 12B–14B tags (about 9–12 GB) don't fit fully, so Ollama splits them between GPU and CPU, which is much slower.
What happens if a model is bigger than my VRAM in Ollama?
Ollama offloads the layers that don't fit to system RAM and runs them on the CPU. It still works, but generation slows down a lot. Run ollama ps and check the PROCESSOR column: you want "100% GPU". If it shows a CPU/GPU split, use a smaller tag or shorter context.
What context length does Ollama use by default?
It depends on your VRAM, per the Ollama docs: 4k context under 24 GiB, 32k on 24–48 GiB, and 256k at 48 GiB or more. Longer context needs more memory for the KV cache. Set the OLLAMA_CONTEXT_LENGTH environment variable (for example OLLAMA_CONTEXT_LENGTH=8192) to change it.
How do I reduce Ollama's memory use?
Pick a smaller tag, lower the context length with OLLAMA_CONTEXT_LENGTH or num_ctx, and quantize the KV cache with OLLAMA_KV_CACHE_TYPE=q8_0 (about half the cache memory of the default f16, per the Ollama FAQ). That needs Flash Attention, which Ollama turns on automatically where supported.
Can I run Llama 3.3 70B in Ollama on a 24 GB GPU?
Not fully. llama3.3:70b is a 42.5 GB download and needs about 49.9 GB at a 4k context. On a 24 GB card Ollama offloads about half of it to the CPU, so it runs slowly. It needs 64 GB or more of GPU memory to run fully on the GPU, for example two 32 GB cards, a 96 GB card or a 128 GB unified-memory machine (see the table above for the cheapest fit).
How much memory does deepseek-r1:671b need in Ollama?
About 466 GB at a 4k context: the download alone is 404 GB. That is beyond any single GPU or Mac we track. The deepseek-r1:7b, 8b, 14b, 32b and 70b tags are smaller distilled models, not the full R1.

How much VRAM by model size · GGUF VRAM by quant (llama.cpp, LM Studio) · VRAM calculator · Q4 vs Q8 vs FP16 · Context length and VRAM · Tokens per second · Best GPU for local LLMs · Best LLMs by VRAM size

New models, and what they need to run

One short email a week: fresh open models with their VRAM numbers, plus hardware worth watching.