Which LLMs Fit in 12 GB of VRAM?

By TechCompare · Updated · How we check

32 of the 108 models in the calculator fit in 12 GB at Q4_K_M with 8K context. Gemma 4 12B ranks first at 8.6 GB, and Qwen3 14B is the largest that fits, at 11.4 GB.

12 GB is the memory on many midrange cards, like the RTX 5070 and the RTX 3060 12GB. This page runs every model in the LLM VRAM Calculator against it, at Q4_K_M and Q8_0 with 8K and 32K tokens of context. A model makes the table if it fits at one of those setups, and the near misses follow it.

Each total counts the weights, the KV cache and a 10% allowance for the runtime. Pick any number to open the calculator with that model, quant and context, then try other settings from there.

Models that fit in 12 GB of VRAM

Best pick first, by size and release date. Each cell is the total memory the model needs. Tight means under 10% of the memory is left. Pick a number to open it in the calculator.

ModelQ4_K_M8K contextQ4_K_M32K contextQ8_08K contextQ8_032K context
Gemma 4 12B12B, May 20268.6 GBFits9.1 GBFits14.6 GBShort 2.6 GB15.0 GBShort 3.0 GB
Granite Switch 4.1 8B8.78B, Oct 20267.4 GBFits11.9 GBTight11.8 GBTight16.2 GBShort 4.2 GB
Apertus v1.5 8B8.84B, Sep 20267.2 GBFits10.7 GBFits11.5 GBTight15.1 GBShort 3.1 GB
K2 Horizon 7B9B, Sep 20267.4 GBFits11.4 GBTight11.9 GBTight15.9 GBShort 3.9 GB
Granite 4.2 8B8.79B, Aug 20267.4 GBFits11.9 GBTight11.8 GBTight16.2 GBShort 4.2 GB
Qwen3.5 9B9.65B, Feb 20266.9 GBFits7.8 GBFits11.6 GBTight12.5 GBShort 0.5 GB
Qwen3 14B14.77B, Apr 202511.4 GBTight15.9 GBShort 3.9 GB18.7 GBShort 6.7 GB23.2 GBShort 11.2 GB
Gemma 4 E4B8B, Mar 20265.6 GBFits6.0 GBFits9.5 GBFits10.0 GBFits
WeVisOne-VL 4B4.83B, Oct 20264.6 GBFits8.6 GBFits7.0 GBFits11.0 GBTight
K2 Horizon 3.7B5.06B, Sep 20264.8 GBFits8.8 GBFits7.3 GBFits11.3 GBTight
Nemotron Labs Dory 1.0 4B3.98B, Oct 20263.4 GBFits5.0 GBFits5.4 GBFits7.0 GBFits
Phi-4 14B14B, Dec 202411.3 GBTight13.1 GBMax 16K18.2 GBShort 6.2 GB20.1 GBMax 16K
Qwen 2.5 14B14.77B, Sep 202411.7 GBTight17.0 GBShort 5.0 GB19.0 GBShort 7.0 GB24.4 GBShort 12.4 GB
Gemma 4 E2B5.1B, Mar 20263.5 GBFits3.7 GBFits6.1 GBFits6.2 GBFits
Tiny Aya 3.35B3.35B, Sep 20262.7 GBFits3.2 GBFits4.4 GBFits4.9 GBFits

Just too big at Q4_K_M with 8K context

Totals include the weights, the KV cache at FP16 with a batch size of 1, and a 10% allowance for the runtime.

What fits at Q4_K_M

12 GB is enough for the 12B to 14B class at Q4_K_M. Gemma 4 12B ranks first and needs 8.6 GB, which leaves room for a longer context. Qwen3 14B is the largest that fits, at 11.4 GB, and Phi-4 14B needs 11.3 GB. Both are tight, with little left for the desktop.

Below those, every 7B to 9B model in the calculator fits with room to spare. The order follows the model finder's best pick, which weighs size against age. Use it to pick a few to try, not as a final verdict.

What 32K context costs

At 32K, the 14B models drop out. Qwen3 14B grows from 11.4 GB to 15.9 GB, while Gemma 4 12B only goes from 8.6 GB to 9.1 GB. Gemma 4 uses sliding window attention on most of its layers, and those layers only cache the most recent tokens.

For long chats or big documents on 12 GB, start from the 32K columns.

Q8_0 on 12 GB

At Q8_0 with 8K, most 8B and 9B models fit. Llama 3.1 8B needs 10.6 GB, and Qwen3.5 9B is the largest at 11.6 GB, which is tight. At 32K they no longer fit, and the largest model left at Q8_0 is Gemma 4 E4B, at 10.0 GB.

So on 12 GB, the choice is often an 8B model at Q8_0 or a 12B to 14B model at Q4_K_M. The bigger model at Q4_K_M usually wins on quality. Q8_0 makes more sense when the smaller model already handles your task well.

Just out of reach

gpt-oss 20B needs 13.7 GB at Q4_K_M with 8K, 1.7 GB too much. It's a mixture of experts model, so only a few of its experts run for each token. That makes it a good fit for a split: runners like llama.cpp can keep some expert weights in system RAM and the rest on the card, and the speed loss is smaller than with a dense model.

The 24B to 26B MoE models are further out: LFM2.5 24B-A2B needs 16.3 GB and Gemma 4 26B (MoE A4B) 17.4 GB. The 24 GB list covers them.

Cards with 12 GB

Nvidia's RTX 5070, RTX 4070, RTX 4070 Super and RTX 3060 12GB all have 12 GB, and so do Intel's Arc B580 and AMD's RX 7700 XT. They run the same list. What changes is speed: the RTX 3060 has about half the memory bandwidth of an RTX 5070, so it writes tokens more slowly.

Nvidia also sold an 8 GB RTX 3060, which belongs on the 8 GB list. If the card drives your monitors, keep some memory free for the desktop.

Other memory sizes

Frequently asked questions

What's the best LLM for 12 GB of VRAM?
Gemma 4 12B ranks first at Q4_K_M with 8K context, at 8.6 GB. It also fits at 32K, which makes it a safe pick on this much memory. Try the top few on your own tasks.
Can a 12 GB GPU run a 14B model?
Yes, at Q4_K_M with a short context. Qwen3 14B needs 11.4 GB at 8K, but 15.9 GB at 32K, which doesn't fit. The fit is tight, so keep other apps off the GPU.
Can 12 GB of VRAM run gpt-oss 20B?
Not fully on the card. gpt-oss 20B needs 13.7 GB at Q4_K_M with 8K. Because it's a mixture of experts model, keeping some experts in system RAM works better than it does for a dense model of the same size.
Is the RTX 3060 12GB still good for LLMs?
For what fits, yes. It has the same 12 GB as an RTX 5070, so the list is the same. It's slower per token, but every model on this page runs on it.
Is 12 GB enough, or should I get 16 GB?
12 GB runs 12B to 14B models at Q4_K_M with a short context. 16 GB adds room for 32K context with those models, and it fits gpt-oss 20B. See the 16 GB list for the full picture.