1. Home
  2. AI PC & Hardware
  3. How much VRAM do you need to run AI models locally?
AI PC & Hardware

How much VRAM do you need to run AI models locally?

Published on November 1, 2026 · by Qubira 8 min read
How much VRAM do you need to run AI models locally?

Before you download a single model, you need one number: how much video memory your graphics card has. VRAM is the first gate for running AI locally, and it is the reason a model that works beautifully on one friend’s machine refuses to load on yours. This guide shows you how to estimate, in about a minute, which models fit your card, and what to buy if you are still shopping.

If you are brand new to the idea, start with our beginner’s guide to running AI locally on your PC. Here we go deeper on the one question that decides everything else.

16 GB
Our short answer8 GB gets you started with small models. 12 GB is a comfortable entry point. 16 GB is the sweet spot for most people. 24 GB or more is for those who want 30B-class models or longer contexts without compromise.

Why VRAM, and not “just RAM”

A language model is, physically, a huge pile of numbers called weights. To produce each word, the hardware has to read essentially all of them. A graphics card can do that very quickly because its memory is fast and sits right next to thousands of small calculation units. System RAM is slower, and the processor has far fewer cores for this kind of work.

That is why the whole game is “does the model fit in VRAM?”. If it does, you get fluid answers. If it does not, the tool pushes part of the model into system RAM and the speed falls off a cliff. We covered the system-memory side in our guide on how much RAM you need; think of RAM as the safety net and VRAM as the engine.

The rule of thumb that gets you 90% of the way

The size of a model on disk, and in memory, is roughly its parameter count multiplied by the number of bytes used for each parameter. At full 16-bit precision that is two bytes per parameter, so a 7-billion-parameter model is about 14 GB. Almost nobody runs it that way at home, because of quantization: the weights are stored with fewer bits, typically 4 or 5, which cuts the size to around a quarter with a modest, usually tolerable loss in quality.

So the quick estimate for a 4-bit model is about 0.6 GB per billion parameters, then add one to two gigabytes for the working memory the runtime needs. This is an approximation, not a measurement: different quantization formats, different model architectures and different tools shift the numbers a little, so always leave a margin.

Model sizeApprox. at 4-bitApprox. at 16-bitCard that fits it comfortably
3B (small assistants)2-3 GB~6 GB6-8 GB
7-8B (general chat, coding help)4.5-6 GB~15-16 GB8 GB
13-14B8-10 GB~28 GB12 GB
20B-class12-14 GB~40 GB16 GB
30-34B18-22 GB~65 GB24 GB
70B40-45 GB~140 GBTwo cards or unified memory

Read the table as an order of magnitude. If you are sitting right at the edge, say a 14B model on a 12 GB card with a long context, expect to flirt with out-of-memory errors and budget for a smaller quantization.

Context length: the hidden second bill

Here is the part that catches beginners. The model weights are a fixed cost, but the conversation itself also lives in VRAM. The runtime keeps a cache of everything it has processed so far, so each extra token in your prompt and in the reply takes a little more memory. For short chats it is negligible. For a long PDF, a big codebase or an hours-long conversation, it can add several gigabytes.

In practice, this is why “it loads fine but crashes when I paste the whole document” is such a common complaint. If you plan to work with long texts, subtract a few gigabytes from what you think you have, or pick the next model size down. Most tools let you cap the context length, which is a handy lever when you are tight on memory.

💡 Quick test: load the model you want with a short prompt and watch your VRAM usage in the task manager or your GPU utility. Then paste a long text and watch it climb. The difference is your context cost, and now you know your real headroom.

What each amount of VRAM really buys you

8 GB is where many people start, and we think it is fine for exploring. You can run the popular 7-8B models at 4-bit with room for a reasonable context, which is enough for everyday questions, drafting, summarising and basic coding help. You will not be running the bigger models, and you will notice the limit as soon as you try to feed in long documents.

12 GB is the first level where we stop apologising. A 13-14B model fits, and the jump in how well it follows instructions and keeps track of a conversation is real compared with the 7B class. It is also forgiving when you want a longer context.

16 GB is the one we would point most enthusiasts toward. It runs 13-14B models with ease and leaves room for the 20B class at reasonable quantization. It also handles image generation workloads without constant juggling, which matters if you want to dabble in both.

24 GB is where 30B-class models become practical, and where you can run the mid-size ones at higher quality settings with long contexts. It is also where prices stop being casual, and where a used card can be a smart buy if you are comfortable with the risks of the second-hand market.

Beyond that, you are in enthusiast territory: multi-card setups, workstation cards, or machines built around a large pool of unified memory. We would only go there with a specific model in mind that you cannot get by with anything smaller.

8 GB (value for starting out)
3.5
12 GB (balance)
4.1
16 GB (sweet spot)
4.6
24 GB+ (power, price)
3.8

These bars are our editorial opinion on value for a typical hobbyist, not benchmark results. A researcher who needs a 30B model every day would flip the last two bars, which is the whole point of knowing your use case first.

Tricks that stretch the VRAM you already have

You can often run a bigger model than the table suggests without buying anything. The cheapest lever is the quantization level: dropping from a 5-bit to a 4-bit file shaves a noticeable chunk off the size, and for casual use the quality difference is hard to spot. Going below 4 bits saves more but starts to cost you in coherence, so we treat that as a last resort.

The second lever is partial offloading. Most local tools let you decide how many layers live on the GPU and how many on the processor. You lose speed in proportion to what you push out, so a model that is only slightly too big can still be perfectly usable, while one that is mostly in system RAM will feel sluggish. The third is simply closing other things that eat VRAM: browsers with hardware acceleration, games, video editors. On a small card, an open browser can steal a surprising amount.

Buying advice, if you are shopping

If AI is the main reason you are upgrading, prioritise VRAM capacity over raw gaming speed. A card with more memory and slightly lower performance will run models a faster but smaller card cannot load at all, and that “cannot load at all” is the part that hurts. We have gone through the options in our review of NVIDIA RTX GPUs for AI, and our desktop picks for local AI cover complete machines.

You can browse current options on Amazon, and if your budget is tighter, 12 GB cards are a decent middle ground. Prices swing a lot, and the used market is tempting, so check warranty and condition carefully. We are not quoting numbers because they would be stale within weeks.

One more consideration: power and size. High-memory cards are often large and power-hungry, so check your case clearance and power supply before you order. It is a boring detail that has ruined more than one upgrade weekend.

The short version

  • Estimate a 4-bit model at roughly 0.6 GB per billion parameters, plus 1-2 GB of working memory.
  • Long contexts add memory on top of the model, so keep a few gigabytes spare.
  • 8 GB starts the journey, 12 GB is comfortable, 16 GB is the sweet spot, 24 GB opens 30B-class models.
  • If the model does not fit, offloading to RAM works but slows you down a lot.
  • When buying for AI, memory capacity matters more than raw frame rates.

Bottom line

We would not let the numbers intimidate you. Pick the model you actually want to use, do the quick multiplication, add a margin for context, and you will know in a minute whether your card is enough. If it is not, a smaller quantization or a smaller model is usually a better first move than a new graphics card. And if you do decide to upgrade, buy for the memory first, because that is the number that decides what you can run.

Want to put that VRAM to work on pictures? Here is how to generate AI images locally with ComfyUI.

Not sure what Q4 or Q8 means in those file names? Our guide to AI model quantization explains which level to pick.

Once your model is loaded, you can check it actually fits and runs on the card with our guide to monitoring GPU temperature and VRAM while running local AI.

FAQ

How much VRAM do I need for a 7B or 8B model?
With 4-bit quantization, a 7-8 billion parameter model takes roughly 4.5 to 6 GB including working memory, so an 8 GB card runs it comfortably with a moderate context length. Unquantized (16-bit) the same model wants around 15-16 GB.
Is 8 GB of VRAM enough for local AI?
It is enough to start, and genuinely useful for small models, summarising, coding help and chat. You will hit the ceiling when you want 13-14B models or long documents, and that is the point where 12 or 16 GB starts to feel like a different class of machine.
What is the best amount of VRAM for the money?
For most hobbyists we think 16 GB is the sweet spot: it fits 13-14B models with plenty of headroom and some 20B-class models, without the price of a 24 GB card. If you can find a used 24 GB card at a fair price, it opens up 30B-class models.
What happens if the model does not fit in VRAM?
Most tools can offload some layers to system RAM and let the processor handle them. It works, but generation can drop from a fluid stream of words to a slow trickle, because the CPU path and system memory are far slower than the GPU.
Does context length use VRAM too?
Yes. The model keeps a cache of the conversation so far, and it grows with every token. A long document or a very long chat can add a few gigabytes on top of the model itself, which is why a model that 'fits' can still run out of memory halfway through a big prompt.
Can two smaller graphics cards add up their VRAM?
Some tools can split a model across two cards, so the memory does effectively add up. It adds complexity, power draw and PCIe considerations, and for most people a single card with more memory is the simpler path.
Should I buy a GPU or a Mac with unified memory for big models?
If you want to run very large models cheaply, machines with a big unified memory pool can load models no consumer graphics card can hold, at the cost of lower speed. For small and mid-size models, a discrete GPU is faster per euro.