tonytautai home/local-ai/run-local-ai/hardware/pc/ram

free -h

Count the Model, Then Add Headroom.

Asking how much ram for local ai has one honest answer: enough to hold the model file, the document being read, and the operating system at the same time, with headroom.

Tony Tautai

how much ram for local ai

System memory is the cheapest upgrade that changes what a local model can do, and the one people most often skimp on because the graphics card has memory of its own. Both matter, for different reasons. The general rule, memory before speed, is in more on pc hardware for local ai. This page is the arithmetic.

The Arithmetic

how much ram for local ai

When the processor runs the model, the model file is loaded into system memory more or less at its size on disk. A quantised file is smaller and loads smaller. To that add the working memory for the context, which grows with how much of a document the model reads at once, so a model asked to hold a whole fourteen-page lease in view needs noticeably more than one reading a paragraph. Then add what the operating system and your other programs already use. Round up to the next size the board accepts.

Swapping to disk when memory runs out is not a fallback. It is a stop. The model will technically run and nobody will wait for it.

When The Card Has Its Own

If a graphics card does the work, the weights live in its memory and the system memory needs are modest. But the model still passes through system memory on loading, and anything that does not fit on the card spills back into it. The card-side estimate is in what we wrote about vram calculator llm, and the choice between the two chips in a closer look at cpu vs gpu for local ai.

Speed Is Bandwidth

how much ram for local ai

On the processor, generating text is bounded by how fast memory can be read, not by how fast cores can multiply. Two memory sticks in matched channels beat one bigger stick. Faster memory helps more than a faster chip. This is unintuitive to people who buy processors by core count, and it is the single most useful thing on this page.

What We Size For

Our appliance runs several small models in sequence, so we size memory for the largest one plus the pipeline around it, not for all of them at once. The small-box version of that reasoning is in what we wrote about best mini pc for local ai; the full tower version is in a closer look at pc for local ai.

Buy more than the sum. Models get swapped for bigger ones, contexts get longer, and memory is the one part you will regret having bought small.

how much ram for local ai

ssh [email protected]

Prove it on your documents.

Every engagement starts the same way: we run the system on a sample of your own files, under NDA/DPA, and hand you a written report with the scores, misses included. No commitment.

Test it on my documents Request a diagnostic