Skip to content

Local LLMs for 12GB VRAM

Reference hardware: RTX 5070

At 4K context, the largest catalog model estimated to fit with headroom at Q4_K_M is DeepSeek-Coder-V2-Lite Instruct (16B-A2.4B). Compare the recommended quants and the headroom they leave below.

Short answer: DeepSeek-V2-Lite Chat at Q4_K_M for general use — 10.1 GB of 12GB, leaving 1.9 GB. Also: Ministral 3 14B Instruct (Images).

“Best” here means the largest model in its category that clears the card with headroom left, at the highest-quality quant that still fits. This index measures memory and published perplexity, not task quality — it cannot tell you which model answers better, and does not pretend to.

The picks

ForModelQuantEst. VRAMHeadroomLossWhy
General · CodingDeepSeek-V2-Lite Chat16B-A2.4BQ4_K_M10.1 GB1.9 GB3.0%The largest in its category that still leaves headroom. At Q4_K_M it gives up 3.0% perplexity against FP16. Past 16K context the KV cache pushes it over.
ImagesMinistral 3 14B Instruct14BQ4_K_M9.3 GB2.7 GB—The largest in its category that still leaves headroom. Its quantizer published no perplexity figure, so none is quoted. Only at 4K context — a longer window does not fit.Download: mistralai/Ministral-3-14B-Instruct-2512-GGUF · Ministral-3-14B-Instruct-2512-Q4_K_M.gguf · 8.24 GB · + vision projector 0.88 GB, separate · listing read 2026-11-14

Sized at 4K context with a 10% activation buffer; 92 of 177 models in the index clear this budget comfortably. Loss is the quantizer’s published perplexity figure against FP16, or a dash where none was published.

Check your hardware

Choose your card for its supported formats, usable memory and model list.

Compare an upgrade

What does not fit

The nearest miss is Codestral 22B. Its smallest build in this index, AWQ INT4, needs about 12.6 GB — 0.6 GB over 12GB, before any context beyond 4K. Offloading to system RAM will load it at a speed set by your RAM, which is a different machine rather than a smaller quant.

Pushing context

At 4K context 92 models clear this budget. At 16K it is 80, and at 32K it is 68. The weights do not change — the KV cache is what grows.

Check your exact context length

Common questions

How big a model can 12 GB of VRAM run?

At Q4_K_M and 4K context, comfortably up to about 16B-A2.4B: DeepSeek-Coder-V2-Lite Instruct needs about 10.1 GB of 12 GB. "Comfortably" leaves headroom for the display and the runtime; larger models can still load tightly with nothing else running. A longer context grows the KV cache, so the ceiling drops as the window grows.

What is the best local LLM for 12 GB of VRAM in 2026?

DeepSeek-V2-Lite Chat at Q4_K_M for general use — 10.1 GB of 12 GB, leaving 1.9 GB. Ministral 3 14B Instruct if you want images. "Best" here means the largest model in its category that clears the card with headroom — this index measures memory and published perplexity, not task quality, so it cannot rank models on how well they answer.

How many models fit the reference RTX 5070?

92 of the 177 models in this index clear it comfortably at 4K context — comfortably meaning the estimate uses at most 88% of the memory, so there is margin for the display and the runtime. At 16K that falls to 80, and at 32K to 68: the KV cache is what moves, not the weights.

What will not run on 12 GB?

The nearest miss is Codestral 22B: its smallest build here, AWQ INT4, needs about 12.6 GB — 0.6 GB over, before any context beyond 4K. Offloading part of it to system RAM will load it, at a speed set by your RAM rather than your card; that is a different machine, not a smaller quant.

Do all 12 GB cards run the same models?

Not necessarily. These estimates use the RTX 5070. Quantization format support and usable memory vary by hardware. Open your card's page for its fit list and bandwidth.