On this page

Image: Cloudflare Workers AI
You have a card with 8, 12, 16 or 24 GB and you want to know which model to download without a weekend of trial and error. Here is the short version, all at 8,192 tokens of context with every layer on the GPU:
- 8 GB: Qwen3.5 9B or Llama 3.1 8B at Q4_K_M. 14B models only at Q3 and below. I run this tier myself, so it has measured speeds.
- 12 GB: the 14B class at Q4_K_M (Qwen3 14B, Phi-4 14B), or any 8B at Q8_0.
- 16 GB: gpt-oss 20B, Gemma 4 12B at Q8_0, the 14B class at Q6_K, Mistral Small 24B at Q3_K_M (Q4_K_M is tight).
- 24 GB: the 24B to 35B class at Q4_K_M, including the fast mixture-of-experts models (Qwen3 30B-A3B, Qwen3.6 35B-A3B). Still not a 70B.
The tables below are what I’d actually pick at each size and why. Every number comes from the formula behind our Will it run? checker (GGUF file size from Hugging Face + KV cache from the model’s attention layout + llama.cpp’s buffers), and the 8 GB tier has the real tokens per second and VRAM peaks from my RX 5700 XT. If you want the maths itself, it is in How much VRAM do you need for a local LLM?
A few rules I used throughout. “Fits” means the total is under 90% of the card, which leaves room for a desktop and a browser. “Tight” means it fits with less than 10% spare: it works on a headless box and probably not on your gaming PC with two monitors. The KV cache is the default f16; -ctk q8_0 -ctv q8_0 halves that line if you need 1 to 2 GiB back. And I only list the quants that each model’s repo actually ships.
8 GB: RTX 3070, 4060, 5060, RX 7600, RX 5700 XT, Arc A750
This is the tier I measured, so the speeds are real: llama.cpp b12445 on Vulkan, -ngl 99, flash attention on, llama-bench with a 512-token prompt and 128 generated tokens, three runs. tok/s is generation speed with 4,096 tokens already in the context, which is closer to a real chat than an empty context. The VRAM peak is the highest reading from the driver during that run.
| Model | Biggest quant that fits | Needs (8k ctx) | Measured tok/s (4k ctx) | Measured peak |
|---|---|---|---|---|
| Qwen3.5 4B | Q8_0 (5.15 GiB) | fits to 65k ctx | 82.4 at Q4_K_M | 3.3 GiB |
| Gemma 3 4B | Q8_0 (4.87 GiB) | fits to 65k ctx | 88.8 at Q4_K_M | 3.1 GiB |
| Phi-4 mini 3.8B | Q8_0 (5.44 GiB) | fits to 16k ctx | 90.9 at Q4_K_M | 3.3 GiB |
| Mistral 7B v0.3 | Q6_K (6.85 GiB) | Q4_K_M: 5.4 GiB | 60.8 at Q4_K_M | 4.7 GiB |
| DeepSeek-R1 Distill 7B | Q6_K (6.80 GiB) | Q4_K_M: 5.3 GiB | 63.0 at Q4_K_M | 4.7 GiB |
| Llama 3.1 8B | Q5_K_M (6.83 GiB) | Q4_K_M: 6.1 GiB | 57.2 at Q4_K_M | 5.2 GiB |
| Qwen3.5 9B | Q5_K_M (7.10 GiB); Q6_K ran headless | Q4_K_M: 6.3 GiB | 51.9 at Q4_K_M; 47.1 at Q5_K_M; 42.8 at Q6_K | 5.5 / 6.2 / 6.9 GiB |
| Ternary Bonsai 2 9B | Q2_0 (3.35 GiB), its only quant | fits to 131k ctx | 58.1 | 2.9 GiB |
| Gemma 4 12B | Q3_K_M (6.49 GiB) | Q4_K_M: 7.8 GiB, tight | to measure | to measure |
| Qwen3 14B | Q2_K (7.15 GiB) at 8k; Q3_K_S at 4k | Q3_K_S: 7.6 GiB at 4k | 28.5 at Q3_K_S | 6.9 GiB |
| Phi-4 14B | Q3_K_M, tight, 4k ctx only | to measure |
My pick is Qwen3.5 9B at Q4_K_M. It is the biggest model with real headroom on 8 GB, and if you want it closer to the original weights, Q5_K_M costs 5 tok/s and 0.7 GiB more and still leaves room (Q6_K also ran, at 42.8 tok/s and 7,056 MiB peak, but only because our VM has no display on the card). The reason it fits so well is its attention layout: only 8 of its layers keep a growing KV cache, so 4,096 tokens of context cost it 148 MiB on the card where Llama 3.1 8B paid 532 MiB. That is also why its max context at Q4_K_M is 32k on this card while Llama’s is 16k. If you want the Llama ecosystem (Hermes, Dolphin and the abliterated builds in our uncensored models guide), Llama 3.1 8B at Q4_K_M is 5 tok/s faster and uses less VRAM, as long as you keep the context under 16k.
The 14B question comes up a lot. Qwen3 14B at Q3_K_S ran at 28.5 tok/s with 6.9 GiB peak, which works and is readable speed, but you are at Q3 and at the edge of the card. On 8 GB I would rather run a 9B at Q4_K_M than a 14B at Q3. And skip Q2_K for anything you care about; the formula says it fits, the output quality is the problem.
Two models I haven’t measured on this card and want to: Gemma 4 12B at Q3_K_M (6.49 GiB, well inside) and the Q4_K_M at 7.8 GiB, which the checker calls tight. Our VM is headless with 11 MiB idle, so it may well run there and not on a desktop. To measure.
12 GB: RTX 3060 12 GB, 4070, 5070, RX 6700 XT, RX 7700 XT, Arc B580
12 GB is where the 14B class becomes a normal, full-quality run, and where every 8B gets to Q8_0. No measurements from me at this size, so these are the formula only, at 8,192 tokens:
| Model | Biggest quant that fits | Needs | Max context at that quant |
|---|---|---|---|
| Llama 3.1 8B | Q8_0 | 9.45 GiB | 16k |
| Qwen3 8B | Q8_0 | 9.78 GiB | 8k |
| Qwen3.5 9B | Q8_0 | 9.85 GiB | 32k |
| Gemma 4 12B | Q6_K | 10.30 GiB | 32k |
| Qwen3 14B | Q4_K_M | 10.17 GiB | 8k |
| Phi-4 14B | Q4_K_M | 10.28 GiB | 8k |
| gpt-oss 20B (MoE) | Q4_K_M, tight at 4k only | 11.6 GiB at 4k | 4k |
| Mistral Small 3.2 24B | Q2_K | 10.03 GiB | 8k |
| Qwen3 30B-A3B (MoE) | Q2_K, tight at 4k only | 4k |
The decision at 12 GB is Q8_0 of a 9B or Q4_K_M of a 14B, and the context column is the tiebreaker. Qwen3 14B at Q4_K_M needs 10.2 GiB at 8k and its cache costs 160 KiB per token, so 16k pushes it to 11.4 GiB and over the 90% line. Qwen3.5 9B at Q8_0 sits at 9.85 GiB with a cheap cache and runs to 32k. If your work is long documents, the 9B at Q8_0 is the better 12 GB model. If it is short chat and you want the extra parameters, the 14B at Q4_K_M.
gpt-oss 20B is the one that almost fits. OpenAI post-trained it with MXFP4 expert weights and the GGUFs keep them, so the file is 10.7 to 11.3 GiB whatever quant you pick, and with buffers it lands at 11.6 GiB: a tight fit at 4k on a headless machine and a no on a desktop. Buy the 16 GB card for it.
16 GB: RTX 4060 Ti 16 GB, 5060 Ti 16 GB, 4070 Ti Super, 5070 Ti, 5080, RX 7800 XT, RX 9070 XT, Arc A770
16 GB opens up the 20B class fully and the 24B class at reduced quant. The 27B+ models stay out.
| Model | Biggest quant that fits | Needs | Max context at that quant |
|---|---|---|---|
| Qwen3.5 9B | Q8_0 | 9.85 GiB | 131k |
| Gemma 4 12B | Q8_0 | 12.99 GiB | 65k |
| Qwen3 14B | Q6_K | 13.08 GiB | 16k |
| Phi-4 14B | Q6_K | 13.21 GiB | 8k |
| gpt-oss 20B (MoE) | Q8_0 (MXFP4 experts) | 12.10 GiB | 65k |
| Mistral Small 3.2 24B | Q3_K_M (Q4_K_M at 15.1 GiB is tight) | 12.44 GiB | 16k |
| Gemma 4 26B-A4B (MoE) | Q3_K_M | 12.96 GiB | 65k |
| Qwen3 30B-A3B (MoE) | Q3_K_S | 13.67 GiB | 8k |
| Qwen3.8 27B | does not fit (Q4_K_M is the smallest quant in the repo, 16.7 GiB) |
My pick here is gpt-oss 20B. It runs 3.6B active parameters per token, so it is fast for its size, its file is already 4-bit so there is no quant decision to make, and at 12.1 GiB it leaves 4 GB for a long context on a 16 GB card. I haven’t measured it; one r/LocalLLaMA owner reports 97 tok/s generation and 1,348 tok/s prompt processing on a 16 GB RTX 5060 Ti with a 128k context window, which is the kind of number the architecture predicts.
Mistral Small 3.2 24B at Q4_K_M is the model that makes 16 GB owners nervous: 15.1 GiB is 94% of the card. It will load on a headless box. On a desktop, go to Q3_K_M at 12.4 GiB or quantise the KV cache and keep the context short. The checker shows both options when you pick the card.
24 GB: RTX 3090, 4090, RX 7900 XTX
| Model | Biggest quant that fits | Needs | Max context at that quant |
|---|---|---|---|
| Qwen3 14B | Q8_0 | 16.41 GiB | 32k |
| Gemma 4 12B | Q8_0 | 12.99 GiB | 262k |
| gpt-oss 20B (MoE) | Q8_0 | 12.10 GiB | 131k |
| Mistral Small 3.2 24B | Q6_K | 19.77 GiB | 16k |
| Qwen3.8 27B | Q5_K_M | 19.73 GiB | 32k |
| Gemma 4 26B-A4B (MoE) | Q5_K_M | 20.80 GiB | 32k |
| Qwen3 30B-A3B (MoE) | Q5_K_M | 21.52 GiB | 8k |
| Qwen3.6 35B-A3B (MoE) | Q4_K_M | 21.49 GiB | 8k |
| Llama 3.3 70B | does not fit (Q2_K needs 27.6 GiB) |
24 GB is the first size where the choice is about what kind of model you want rather than what fits. The dense 27B (Qwen3.8 27B at Q5_K_M, 19.7 GiB) will give the best answers per token and the slowest generation, because every token reads 18.5 GiB of weights. The mixture-of-experts models read a fraction of that per token: Qwen3 30B-A3B activates 3.3B of its 30.5B parameters, so on a 24 GB card it should generate several times faster than the dense 27B while taking more VRAM to hold. I haven’t measured either, so “several times” comes from the architecture, and the real number on a 24 GB card is to measure.
The RTX 5090’s 32 GB adds one thing to this list: Llama 3.3 70B at Q2_K (27.6 GiB at 8k). I would not call that a 70B experience. For a real 70B run at Q4_K_M you need 42.6 GiB, which is two 24 GB cards or a Mac with 64 GB of unified memory.
Macs: the same tables, scaled down
Apple silicon shares memory between CPU and GPU, and macOS caps the GPU’s share. On our 8 GB M1 MacBook Air, llama.cpp reports 5,461 MiB available for the GPU, two thirds of the total. So read the tables above with these conversions: a 16 GB Mac is a 10.7 GiB card (between the 8 and 12 GB tiers), 24 GB is a 16 GiB card, 32 GB is 21.3 GiB, 36 GB is 24 GiB, and above that about three quarters, so 64 GB gives 48 GiB and runs a 70B at Q4_K_M. sudo sysctl iogpu.wired_limit_mb=<MB> raises the cap until the next restart at the cost of everything else on the machine (a 24 GB M3 Air owner in a llama.cpp discussion went from the default 16,384 to 20,480 to load a model that otherwise failed, and reports one hang from pushing it). The checker applies these shares for you when you pick a Mac.
What speed to expect at each size
Generation speed is mostly memory bandwidth: every token reads the whole model once, so a card with twice the bandwidth is roughly twice as fast on the same file. Our 8 GB numbers above are the only ones I measured. For the other tiers, the llama.cpp project keeps a community table of Vulkan results on one fixed test (Llama 2 7B at Q4_0, 128 generated tokens, flash attention on), which is the closest thing to a like-for-like comparison across cards. The generation figures from that table, grouped by the tiers on this page:
| Tier | Card | Llama 2 7B Q4_0, generation tok/s |
|---|---|---|
| 8 GB | RX 5700 XT | 70.7 to 74.4 (two submissions) |
| 8 GB | RTX 3060 Ti | 90.4 |
| 12 GB | Arc B580 | 72.0 |
| 12 GB | RTX 3060 | 80.6 |
| 12 GB | RX 6700 XT | 88.4 |
| 12 GB | RTX 4070 | 91.5 |
| 16 GB | RTX 5060 Ti | 97.0 |
| 16 GB | RX 7800 XT | 124.9 |
| 16 GB | RTX 4070 Ti Super | 135.8 |
| 16 GB | RX 9070 XT | 142.0 |
| 16 GB | RTX 5070 Ti | 176.2 |
| 24 GB | RTX 3090 | 171.6 |
| 24 GB | RX 7900 XTX | 190.9 |
| 24 GB | RTX 4090 | 190.1 |
| 32 GB | RTX 5090 | 273.7 |
| Mac | M4 Max | 71.8 |
The RX 5700 XT rows there (70.7 to 74.4 tok/s on a 3.8 GB file) line up with my 67.8 tok/s on Mistral 7B’s 4.4 GB file, so I trust the table as a scale. Read it as ratios: a 3090 is about 2.3 times our card, a 5090 about 3.7 times. Those ratios carry over to the bigger models each tier can hold, with one catch: a 27B dense model at Q5_K_M is 18.5 GiB, about five times the test file, so expect a 3090 to generate it at roughly a fifth of its 171 tok/s, call it 35 tok/s. The MoE models break that rule in your favour, because they only read their active experts per token.
The quant ladder, in one line each
Which quant to pick when more than one fits:
- Q8_0: closest to the original model, 8.5 bits per weight. Pick it when it fits with room for your context.
- Q6_K: 6.6 bits, hard to tell from Q8_0 in use. The best value when Q8_0 doesn’t fit. On our card it ran Qwen3.5 9B at 42.8 tok/s.
- Q5_K_M: 5.8 bits. 47.1 tok/s on the same model.
- Q4_K_M: 4.9 bits. The default everyone ships and benchmarks, and llama.cpp’s own default when you pull from Hugging Face by repo name. Where I run most things on 8 GB. 51.9 tok/s.
- Q3_K_M / Q3_K_S: 4.0 / 3.6 bits. Usable, with a visible drop. On our card Q3_K_M of Qwen3.5 9B was also slower than Q4_K_M (50.3 vs 51.9 tok/s at 4k context), so you save VRAM and nothing else.
- Q2_K: 3.2 bits. Fits the formula, rarely worth running.
The bits per weight are from the GGUF file sizes on Hugging Face divided by parameter count, and they match the figures llama.cpp publishes for Llama 3.1 8B in its quantize README (Q4_K_M 4.89, Q8_0 8.50). I have not measured answer quality across quants on our setup, so the quality words above are the usual community reading. Speed and VRAM are measured, and the full ladder is in the VRAM guide.
Next guides
- How much VRAM do you need for a local LLM?: the formula behind these tables, with the KV cache and quant maths.
- Will it run?: check any model, quant and context against 85 cards and Macs.
- Local LLM benchmarks: every run behind the 8 GB table, with the CSV.
- Uncensored AI models: which fits your VRAM: the same card, eight abliterated and fine-tuned models.
- Self-hosting LLMs in 2026: privacy, hardware and cost
- How to build a private AI server at home
Changes
- 27 Nov 2026: first version. Fit calculations from the Will it run? formula with Hugging Face file sizes fetched 18 Nov 2026; 8 GB speeds and peaks from our RX 5700 XT runs (llama.cpp b12445, Vulkan) on 18 Nov and 27 Nov 2026; other cards from the llama.cpp Vulkan community table as read on 27 Nov 2026.
Frequently asked questions
What is the best local LLM for 8 GB of VRAM?
Qwen3.5 9B at Q4_K_M. It needs 6.3 GiB with 8,192 tokens of context and ran at 52 tok/s on our RX 5700 XT with 5.5 GiB peak in use. Llama 3.1 8B at Q4_K_M (57 tok/s, 5.2 GiB peak) is the other safe pick. Anything 14B needs Q3 or smaller on 8 GB, and we measured Qwen3 14B at Q3_K_S at 28 tok/s.
What can I run on 12 GB of VRAM?
The 14B class at Q4_K_M: Qwen3 14B needs 10.2 GiB and Phi-4 14B needs 10.3 GiB with 8k context. Every 7B to 9B model fits at Q8_0 (about 9.5 to 9.9 GiB), and Gemma 4 12B fits at Q6_K. gpt-oss 20B is a tight fit at 11.7 GiB.
What can I run on 16 GB of VRAM?
gpt-oss 20B with room to spare (11.7 GiB at 8k), Gemma 4 12B at Q8_0 (13.0 GiB), the 14B class at Q6_K, and Mistral Small 3.2 24B as a tight fit at Q4_K_M (15.1 GiB) or comfortable at Q3_K_M (12.4 GiB). Qwen3.8 27B does not fit 16 GB at any quant we track.
What can I run on 24 GB of VRAM?
The 24B to 35B class at Q4_K_M: Mistral Small 3.2 24B (15.1 GiB), Qwen3.8 27B (16.7 GiB), Qwen3 30B-A3B (18.6 GiB) and Qwen3.6 35B-A3B (21.5 GiB). A 70B model does not fit at any usable quant; it needs 48 GB.
Is a 16 GB RTX 5060 Ti or RX 9060 XT enough for local LLMs?
For the 7B to 20B class, yes. 16 GB holds every model up to gpt-oss 20B at full quality and the 24B class at Q3 to Q4. What it does not give you is the 27B to 35B models, which start at 16.7 GiB at Q4_K_M. We have not measured these cards, so speed is to measure.
How much unified memory does a Mac need for the same models?
Add half again. macOS gives the GPU about two thirds of unified memory on Macs up to 36 GB (5,461 MiB on our 8 GB M1 Air, from llama-cli --list-devices) and about three quarters above that. So a 16 GB Mac behaves like a 10.7 GiB card, a 24 GB Mac like a 16 GiB card, and a 32 GB Mac like a 21 GiB card.





Comments
No comments yet.
Report