How-to
Running a Local LLM on a 12GB GPU: A Practical Starter Guide
What fits, what doesn't, and how to do the VRAM maths before you download 40GB of weights.
Cloud AI is convenient, but there are good reasons to run a model on your own machine: privacy for sensitive documents, zero per-token cost for heavy experimentation, offline access, and the simple satisfaction of understanding the stack you depend on.
A 12GB graphics card — a common mid-range size for the last few GPU generations — is a sweet spot for getting started. It won't run the largest frontier-class open models, but it comfortably runs models that are good at summarising, drafting, coding help and chat.
This guide focuses on the decisions that matter rather than any single model, because the model landscape changes every month while the underlying maths does not.
The one formula you need
A model's memory footprint is roughly:
parameters × bits per parameter ÷ 8 = bytes for the weights
A 7-billion-parameter model stored at 16-bit precision needs about 7 × 16 ÷ 8 = 14 GB just for weights. That already exceeds a 12GB card.
The same model quantized to 4 bits needs about 7 × 4 ÷ 8 = 3.5 GB. Suddenly it fits with plenty of room to spare.
On top of the weights you need memory for:
The KV cache, which grows with context length (how much text the model is holding in mind). Long contexts can consume several gigabytes on their own.
Runtime overhead from the inference engine and your desktop, usually 0.5–1.5 GB.
A practical rule: keep the weights at or below about 70–75% of your VRAM, and leave the rest for context and overhead.
Quantization in plain words
Quantization stores each weight with fewer bits. You lose a little precision in exchange for a large drop in memory and a speed boost.
Rough guidance that holds up well in practice:
8-bit: nearly indistinguishable from full precision, but large.
5–6 bit: excellent quality, a good default when it fits.
4-bit: the popular sweet spot. Small quality loss, big savings.
3-bit and below: noticeable degradation, especially for reasoning and code. Use only when the alternative is not running the model at all.
A useful heuristic: a larger model at 4-bit usually beats a smaller model at 8-bit of the same memory size. Parameter count tends to matter more than precision, down to about four bits.
What fits on 12GB
Using the formula above, here's what is realistic:
Model size | 4-bit weights | Fits on 12GB? |
|---|---|---|
3–4B | ~2 GB | Easily, with long context |
7–9B | ~4–5 GB | Comfortably; the best everyday class |
12–14B | ~7–8 GB | Yes, with moderate context |
20–24B | ~11–13 GB | Tight; may need partial CPU offload |
30B+ | 15 GB+ | Only with heavy CPU offload, and slowly |
The 7–14B range is where a 12GB card shines. These models handle drafting, summarisation, everyday coding questions and structured extraction well. They are weaker than frontier cloud models at long multi-step reasoning and niche knowledge, so set expectations accordingly.
Partial offload: the escape hatch
Most local inference engines can split a model between GPU and system RAM. Layers that don't fit in VRAM run on the CPU.
It works, but every layer on the CPU slows generation, often dramatically. A model that runs at a comfortable reading speed fully on the GPU might crawl when half of it is offloaded. Offload is fine for occasional use of a bigger model; it's frustrating as a daily driver. If you offload, more and faster system RAM helps — 32GB is a sensible minimum for this approach.
Choosing your tools
You don't need to write any code to get started. The common options:
llama.cpp — the engine underneath much of the local ecosystem. Runs quantized models in the GGUF format, supports GPU acceleration and offload, and exposes a local API server. Maximum control, command-line first.
Ollama — a friendly wrapper: pull a model with one command, run it, and get a local API that many apps can talk to.
LM Studio and similar desktop apps — graphical model browsers with built-in chat, good for exploring what you like before committing.
Whichever you choose, look for models published in a quantized format with clear notes on the quantization level, and check the model's licence before using it commercially.
Context length: the hidden VRAM cost
Advertised context windows are maximums, not requirements. Running a model at its full context length can multiply the KV cache size and push you out of VRAM.
Start with a moderate context — 8,000 tokens is plenty for chat and most documents — and raise it only when a task genuinely needs it. Some engines can also quantize the KV cache itself, which saves memory at a small quality cost.
Realistic expectations
A well-chosen local model on a 12GB card is genuinely useful for:
Summarising and querying your own documents privately
Drafting emails, posts and documentation
Code explanation and small refactors
Classification and data extraction pipelines that would be expensive via API
It is not a drop-in replacement for the strongest cloud models on complex reasoning, very long documents, or tasks needing up-to-date world knowledge. Many people end up with a hybrid setup: local models for private, high-volume or experimental work, and a cloud model for the hardest problems.
A sensible first session
Install one tool (Ollama or LM Studio is the gentlest start).
Download a 7–9B instruction-tuned model at 4-bit or 5-bit.
Set context to around 8K tokens.
Watch VRAM usage with your GPU's monitoring tool while you chat.
If you have headroom, try a 12–14B model at 4-bit and compare quality on your own real tasks.
Judge models on the work you actually do, not on leaderboard scores. The best local model is the one that handles your documents, your code and your writing style well — and on a 12GB card, there are plenty of good candidates.
Related reading: Why RAM costs so much in 2026 · Seven prompting habits for better AI output
Frequently asked questions
Can a 12GB GPU run a local LLM?
Yes. A 12GB card comfortably runs 7–9B models and can run 12–14B models at 4-bit quantization, which is enough for drafting, summarising, coding help and private document chat.
How much VRAM does a 7B model need?
About 14 GB at 16-bit precision, around 7 GB at 8-bit and roughly 3.5–4.5 GB at 4-bit, plus extra memory for context and runtime overhead.
Does 4-bit quantization reduce quality?
Slightly. For most everyday tasks the loss is small, and a larger model at 4-bit usually beats a smaller model at 8-bit using similar memory. Quality drops more noticeably below 4 bits.
Is a local LLM as good as ChatGPT or Claude?
Not for the hardest tasks. Local models on consumer GPUs are strong for private, high-volume and everyday work, while frontier cloud models still lead on complex reasoning and up-to-date knowledge.
Related
How-to
How to Check Your PF Balance on WhatsApp: EPFO's New Service, Step by Step
EPFO's WhatsApp service lets you check your PF balance, see your last five transactions and download your passbook from your UAN-linked number. Here's...
AI
Seven Prompting Habits That Separate Useful AI Output From Mush
Most disappointing AI answers come from vague briefs, not weak models. Here are seven habits that consistently turn generic output into work you can a...
How-to
SPF, DKIM and DMARC Explained Without the Jargon
If your password-reset emails keep landing in spam, the problem probably isn't the content. It's missing authentication. Here's what SPF, DKIM and DMA...
The stream
All storiesUpcoming Phones in India: December 2026 Launches to Wait For
Xiaomi 18 Pro, iQOO 16 and OnePlus 16R are the big flagships expected in India around December 2026, with Vivo X500 and Motorola Signature 27 already out. Here's what's confirmed so far.
Windows 10 ESU Now Runs to October 2027: How to Check Your PC Is Enrolled
Windows 10 Extended Security Updates for home users now last until 12 October 2027. But only enrolled PCs get them. Here's how to check, how to enroll for free, and when to plan your move.
GTA 6 PC Release Date: Everything Rockstar and Take-Two Have Actually Said
There is no official GTA 6 PC release date. Take-Two says any PC news will come from Rockstar. Based on GTA 5 and Red Dead Redemption 2, the realistic window is late 2027 to 2028.
ChatGPT Advanced Voice Is Being Retired on 11 December: What GPT-Live Changes
On 11 December 2026, ChatGPT retires Advanced and Standard voice and moves everyone to GPT-Live. Here's what GPT-Live does differently, what happens to custom GPTs and video, and your old chats.
ChatGPT Go Free Year Ending in India: Will You Be Charged ₹399, and How to Cancel
If you claimed free ChatGPT Go in India last year, your 12 months are ending. Here's when the ₹399 charge kicks in, how to cancel on web, Android and iPhone, and whether staying on Go is worth it.