Best LLMs for 12 GB VRAM (2026): RTX 3060, 4070 & 5070

CanItRun10 min readVRAM Guides

The 12 GB Tier: Where Local LLMs Get Interesting

A 12 GB card is where local LLMs stop being a toy. This site holds back 5% of the spec-sheet VRAM for the driver and runtime, so a 12 GB GPU offers a model 11.4 GB, and that budget has to cover three things: the weights (the model file), the KV cache (working memory that grows with every token of context) and roughly 12% overhead. Quantization shrinks the weights: Q4_K_M, the common default, stores them in roughly 4.9 bits each, while Q8_0 is near-lossless at about 8.5. Every figure on this page is that full total at an 8K-token context with a 16-bit KV cache, unless a section says otherwise. The short version: 9B to 12B dense models fit with room to spare, 14B models sit right at the wall, and 30B-class mixture-of-experts (MoE) models run only with part of the model pushed out to system RAM.

Which cards are in this tier

The calculator tracks seven 12 GB cards: the RTX 3060 12GB, the RTX 4070, 4070 SUPER and 4070 Ti (all 504 GB/s), the RTX 5070, Intel's Arc B580 and the workstation Arc Pro A60. Capacity decides what fits, so the same models fit on all of them at standard GGUF quantizations; bandwidth only decides how fast they run. It tracks no AMD card at 12 GB, but the fit math depends only on capacity, so it applies unchanged to cards such as the Radeon RX 6700 XT and RX 7700 XT (only the speed estimates would differ).
  • Qwen 3.5 9B6.44 GB (fits, 4.96 GB spare)
  • Gemma 4 12B (Unified)8.71 GB (fits, 2.69 GB spare)
  • Bonsai 27B (ternary)8.67 GB (fits, 2.73 GB spare)
  • Phi-4 14B Instruct11.43 GB (0.03 GB over)
  • Qwen3 14B11.60 GB (0.20 GB over)
  • GPT-OSS 20B14.55 GB (3.15 GB over)
  • Gemma 4 26B-A4B (MoE)17.61 GB (6.21 GB over)
  • Qwen 3.6 27B19.02 GB (7.62 GB over)
  • Qwen 3.5 35B-A3B (MoE)24.06 GB (12.66 GB over)
Total VRAM (weights, KV cache and overhead) at an 8K context on a 12 GB card, Q4_K_M unless noted. Bars that end left of the line fit entirely in VRAM; bars that cross it need CPU offload.

Best Dense Models for 12 GB: Qwen 3.5 9B, Gemma 4 12B and Ornith 1.5 9B

A dense model uses all of its parameters for every token, so its whole file has to sit in VRAM to run at full speed. Ranked the way this site's calculator orders models (verdict first, then headline benchmark score), the current dense models that fit a 12 GB card in full at Q4_K_M or better lead with Ornith 1.5 9B and Qwen 3.5 9B, then Gemma 4 12B; the ternary Bonsai 27B build also ranks high and gets its own treatment at the end of this page. The two 9B models share one architecture, a hybrid stack in which only 8 of 32 layers keep a KV cache, so they stay cheap at long context; Alibaba's model card reports 82.5 on MMLU-Pro for Qwen 3.5 9B, with thinking mode on by default. Gemma 4 12B, from Google under Apache 2.0, reports 77.2 on MMLU-Pro, takes text, image and audio input, and keeps its cache small a different way: 40 of its 48 layers look back only 1,024 tokens. It tops out at Q5_K_M here, because its Q6_K build totals 11.56 GB, 0.16 GB over the line. The table gives each model's highest quant that fits at 8K next to its Q4_K_M total, with the older 14B class for contrast.

ModelQ4_K_M totalHighest quant that fitstok/s, RTX 3060 / RTX 5070
Qwen 3.5 9B, Ornith 1.5 9B6.44 GBQ8_0 (11.02 GB)30.3 / 53.9
Gemma 4 12B8.71 GBQ5_K_M (10.1 GB)31.9 / 55.2
Phi-4 14B11.43 GBNone at 8K (Q4_K_M is 0.03 GB over)n/a
Qwen3 14B11.6 GBNone at 8K (Q4_K_M is 0.2 GB over)n/a
Dense models on a 12 GB card at 8K context. Speeds are calculator estimates at the same quant on each card.

How Much Context Fits: The KV Cache Ceiling

Weights are a fixed cost; the KV cache is the part that grows. At 16-bit precision every token of context adds a fixed number of bytes per caching layer, so a model that caches every layer runs out of room fast, while hybrid and sliding-window designs barely notice. The chart shows how many tokens of context each model keeps at Q4_K_M before a 12 GB card hits its 11.4 GB ceiling, using the calculator's own KV math. Qwen 3.5 9B (and Ornith 1.5 9B, which shares its architecture) reaches 143K tokens and Gemma 4 12B reaches 155K, while the older full-attention models stop far sooner: Mistral Nemo 12B at 17K, Phi-4 at 8K (half of its 16K native window) and Qwen3 14B at 7K.

Qwen 3.5 9B
143K
Gemma 4 12B
155K
Mistral Nemo 12B
17K
Phi-4 14B
8K
Qwen3 14B
7K

Reading the chart

Each bar is the longest context at which Q4_K_M still reaches a fits verdict on a 12 GB card. It assumes a 16-bit KV cache and that the runtime allocates sliding-window layers at their capped size, which llama.cpp does by default (its swa-full option turns that saving off). Setting the K and V cache types to q8_0 (the ctk and ctv options, with flash attention on) roughly halves the cache and stretches every bar; none of this page's figures include that.

The 14B Question: Phi-4, Qwen3 14B and the 11.4 GB Wall

Older advice says a 12 GB card 'unlocks' 14B models at Q4. By this calculator's math they sit right at the wall instead. Phi-4's Q4_K_M weights are 8.53 GB; add its 1.68 GB KV cache at 8K context (10 KV heads make it heavier than most 14B models) and the total is 11.43 GB, 0.03 GB over the 11.4 GB budget. Qwen3 14B totals 11.6 GB. Both run fine at a shorter context, but neither holds a full 8K conversation without spilling. Real files drift from the generic ladder too: the bartowski Phi-4 Q4_K_M GGUF is 9.05 GB on Hugging Face, about 0.5 GB larger than the calculator's 8.53 GB, so treat Phi-4 as a short-context model on this tier. Microsoft's model card also describes it as aimed at English, which narrows its appeal further. Gemma 4 12B or a 9B model is the safer pick; if you still want a 14B, you have three levers.

  • Cut the context to 4K: Phi-4 at Q4_K_M then totals 10.49 GB and fits.
  • Quantize the KV cache to q8_0, which roughly halves it. The totals above assume a 16-bit cache.
  • On an RTX 5070 only, use NVFP4, the 4-bit format native to Blackwell cards: Phi-4 then totals 9.72 GB at an estimated 58.6 tok/s, provided your runtime and model file support it.

The Q8 7-9B Option: Quality Over Quantity

With 12 GB you can run a 9B model at Q8_0, close to unquantized quality, instead of the usual Q4_K_M. Qwen 3.5 9B at Q8_0 totals 11.02 GB at 8K context, a real fit with only 0.38 GB to spare, and the table shows the price: the context ceiling falls from 143K tokens at Q4_K_M to 19K at Q8_0. Q6_K is the balance point for most people: 8.58 GB total, room for about 85K tokens, and about 26% faster than Q8_0 on the same card, because decode speed scales with the bytes read per token. Q8_0 earns its cost on work where small precision losses show up, such as code generation, structured extraction and math; for ordinary chat the gap between Q6_K and Q8_0 is small. Ornith 1.5 9B has the identical shape, so the same numbers apply to it.

QuantWeightsTotal at 8KContext ceilingtok/s
Q8_09.57 GB11.02 GB19K30.3
Q6_K7.39 GB8.58 GB85K38.3
Q5_K_M6.41 GB7.48 GB115K43.5
Q4_K_M5.48 GB6.44 GB143K49.8
Qwen 3.5 9B across the quant ladder on a 12 GB card, 8K context. Speed is the calculator's estimate for an RTX 3060.

MoE Models on 12 GB: Big Capability, but Only With Partial Offload

Mixture-of-experts models hold many specialist sub-networks but use only a few per token, so they decode fast for their size, yet the whole file still has to live somewhere. On a 12 GB card the honest verdict for every 20B-plus MoE model at Q4_K_M is offload, not fit: none gets under the 11.4 GB line, and the table below shows how far past it each one reaches, in the calculator's ranking order. What makes them usable anyway is llama.cpp's expert offload, the n-cpu-moe setting (ncmoe for short), which keeps the expert tensors of the first N layers in system RAM while attention and the shared weights stay on the GPU. The command shows its shape.

# Experts of the first 24 layers stay in system RAM
llama-server -m model.gguf -ngl 99 -ncmoe 24 -c 8192 -fa on
# Out of memory: raise -ncmoe. VRAM to spare: lower it.
ModelQ4_K_M totalPast the 11.4 GB line
Qwen 3.5 35B-A3B24.06 GB12.66 GB
Gemma 4 26B-A4B17.61 GB6.21 GB
Nemotron 3.5 Lightning 30B-A3B28.59 GB17.19 GB
Nemotron 3 Nano 30B21.88 GB10.48 GB
GPT-OSS 20B14.55 GB3.15 GB
MoE models at Q4_K_M on a 12 GB card, 8K context. None fits; the last column is how far the total reaches past the 11.4 GB budget.

A measurement against the calculator's estimate

For a MoE model the calculator keeps the shared attention weights and the KV cache on the GPU and reads only the experts that do not fit from system RAM, at a conservative 25 GB/s. For Qwen 3.5 35B-A3B at Q4_K_M on an RTX 3060 12GB that gives an estimated 35.4 tok/s. The one independent measurement we could verify is InsiderLLM's July 2026 test of Qwen3.6-35B-A3B (UD-Q4_K_M, a 22.1 GB file) on a headless RTX 3060 12GB with 32 GB of DDR4-2133: about 38 tok/s with ncmoe 24, and 28 tok/s with every expert in RAM, so the estimate lands about 7% under the measured figure. Qwen3.6-35B-A3B has the same layer layout as the Qwen 3.5 35B-A3B in the table (identical text settings in both config.json files), so the VRAM math carries over. It is one run: results depend on RAM speed, context length and whether the card also drives a display, which costs roughly 0.5 to 1 GB and can force a higher N.
  • System RAM sets the speed once experts spill, and the spilled part has to fit: plan for 32 GB (this calculator's baseline) rather than 16 GB.
  • Tune N by trial: raise ncmoe until the model loads with a little VRAM to spare, then lower it one or two steps at a time. Each step moves one layer's experts onto the GPU.
  • GPT-OSS 20B is the gentlest case at 3.15 GB past the line. OpenAI's model card says it runs within 16 GB of memory, so a 12 GB card needs a little offload.

GPU Comparison: RTX 3060 vs Arc B580 vs RTX 4070 vs RTX 5070

Capacity is identical across these cards, so the choice is speed, software and price. Decode speed follows memory bandwidth: the chart is the calculator's estimate, in tokens per second, for Qwen 3.5 9B at Q4_K_M, from 49.8 on an RTX 3060 to 85.9 on an RTX 5070. Independent llama.cpp results point the same way for NVIDIA, with one caveat for Intel.

RTX 3060
49.8
Arc Pro A60
52.8
Arc B580
61.5
RTX 4070 family
67.2
RTX 5070
85.9
CardVRAMBandwidthLaunch MSRP
RTX 3060 12GB12 GB360 GB/s$329
Intel Arc B58012 GB456 GB/s$249
Intel Arc Pro A60 (workstation)12 GB384 GB/sWorkstation pricing
RTX 4070, 4070 SUPER, 4070 Ti12 GB504 GB/s$599, $599, $799
RTX 507012 GB672 GB/s$549
12 GB cards in the calculator, with US launch MSRP.
  • On the CUDA scoreboard (llama.cpp discussion 15013), Llama 2 7B Q4_0 token generation runs at about 77 tok/s on an RTX 3060 and 128 on an RTX 5070.
  • On the Vulkan scoreboard (discussion 10879) the same test gives about 92 for an RTX 4070, 81 for an RTX 3060 and 72 for an Arc B580. The B580 has 27% more bandwidth than the 3060 on paper but trails it by roughly 8 to 11% there, so the calculator's bandwidth-driven estimate (61.5 against 49.8 tok/s for Qwen 3.5 9B at Q4_K_M) flatters Arc.
  • Arc runs llama.cpp through its Vulkan backend, which reports generally find easier than SYCL. CUDA-only tools such as ExLlamaV2 and TensorRT-LLM are off the table.
  • The RTX 3060 12GB remains the VRAM-per-dollar floor, and the 4070 family adds speed at the same capacity. Price trackers have shown some of these cards above MSRP this year, so check current listings, and price a used 24 GB card before paying new-card money for 12 GB.

Stretching to 27-32B Models

Dense 27B to 32B models are the stretch. Qwen 3.6 27B at Q4_K_M totals 19.02 GB at 8K, 7.62 GB past the line, and the calculator estimates 3.8 tok/s on an RTX 3060 (4.1 on an RTX 5070), too slow to chat with. Lower quants do not rescue it: Q3_K_M still totals 15.15 GB, and even Q2_K totals 12.12 GB, still over the line at a quality cost not worth paying. Gemma 4 31B is heavier at 22.63 GB at Q4_K_M. Two routes do work.

  • The MoE route above: a 35B-A3B model trades speed for strong benchmark scores.
  • A ternary build such as PrismML's Bonsai 27B, derived from Qwen3.6-27B with three-valued weights: 7.2 GB of weights, 8.67 GB total at 8K and an estimated 35.4 tok/s on an RTX 3060. PrismML reports that it keeps 94.6% of the base model's score across its own 15 benchmarks, a vendor figure not yet independently verified.

The catch with Bonsai

The files need PrismML's fork of llama.cpp, so Ollama and LM Studio users cannot simply pull them. Its newer Bonsai 2 27B carries the same restriction. If you regularly want a 27B at a usable speed with ordinary tools, 16 GB is the realistic floor.

Frequently asked questions

What is the best model for 12 GB VRAM?
For most people, Qwen 3.5 9B at Q6_K: 8.58 GB total at an 8K context, with room for about 85K tokens. Gemma 4 12B at Q5_K_M (10.1 GB) is the pick if you want image and audio input, and Ornith 1.5 9B suits coding agents. All three fit entirely in VRAM. For the most capable model, a 35B-A3B MoE such as Qwen 3.5 35B-A3B runs with partial CPU offload (12.66 GB past the 11.4 GB budget), slower but stronger.
Can a 12 GB GPU run a 14B model?
Only at a short context. Phi-4 at Q4_K_M totals 11.43 GB at 8K, 0.03 GB over the 11.4 GB budget, and Qwen3 14B totals 11.6 GB. At a 4K context Phi-4 fits at 10.49 GB. For 8K and beyond, Gemma 4 12B or a 9B model is the safer choice.
Can I run a 32B model on 12 GB?
Not as a normal fit. Qwen 3.6 27B totals 19.02 GB at Q4_K_M and 15.15 GB even at Q3_K_M, so it needs CPU offload at an estimated 3.8 tok/s on an RTX 3060. A 35B-A3B MoE with expert offload is the better stretch, and the ternary Bonsai 27B fits in 8.67 GB but needs PrismML's fork of llama.cpp.
How much context can I use on a 12 GB card?
It depends on the architecture. At Q4_K_M, Qwen 3.5 9B keeps about 143K tokens and Gemma 4 12B about 155K before the card runs out, while Mistral Nemo 12B stops near 17K, Phi-4 near 8K and Qwen3 14B near 7K. Quantizing the KV cache to q8_0 stretches all of them.
RTX 3060 12GB vs RTX 4060 Ti 16GB for LLMs?
For models that fit in 12 GB, the 3060 is faster: it has 360 GB/s of bandwidth against the 4060 Ti's 288 GB/s, and on llama.cpp's CUDA scoreboard community results show about 77 tok/s against 64 on Llama 2 7B Q4_0. The 4060 Ti wins only when you need the extra 4 GB for larger models or longer context.
Is Intel Arc viable for local LLMs in 2026?
Yes, with caveats. The Arc B580 12GB launched at $249 and runs llama.cpp through its Vulkan backend. On the Vulkan scoreboard it lands within about 10% of an RTX 3060 despite more rated bandwidth. The trade-off is software: CUDA-only tools such as ExLlamaV2 and TensorRT-LLM are unavailable, and setup takes more care than on NVIDIA.
Is the RTX 5070 much faster than the RTX 4070 for LLMs?
For decode speed, about 28%. The RTX 5070's 672 GB/s of GDDR7 is 33% more than the RTX 4070's 504 GB/s, and the calculator estimates Qwen 3.5 9B at Q4_K_M at 85.9 against 67.2 tok/s, a little less than the bandwidth gap because every layer also carries a fixed cost that faster memory does not shrink. Both have 12 GB, so exactly the same models fit; the 5070 just runs them faster.