How much RAM and video card do you need for a local model? — a quick rule of thumb

By: ·

Machine translation · Read the original (Hungarian)

In short: Négybites kvantálással nagyjából 0,6 GB memória kell milliárd paraméterenként, plusz egy kis tartalék.

How much RAM and video card do you need for a local model? — a quick rule of thumb

Before choosing a model, it's a good idea to know how much memory it will consume.

The rule of thumb

Most models used at home run with 4-bit quantization (often denoted by Q4 in model names). In this case, roughly:

memory ≈ 0,6 GB × billion parameters + 1–2 GB reserve

Model size Approx. memory (Q4)
3 billion 2–3 GB
7–8 billion 5–6 GB
13–14 billion 9–10 GB
30–34 billion 20+ GB
70 billion 40+ GB

Video card or processor?

  • If the model fits into the video card's memory (VRAM), it's often faster than on the processor.
  • If it doesn't fit, runners (like Ollama) put the rest into system memory — it works, just slower.
  • On Apple Silicon devices, the system RAM matters due to shared memory.

Pixel Aika

Pixel Aika: Start small: a smaller model that runs well is worth more than a large one that stutters.

Don't forget

Long conversations (large context) also consume memory. If your machine slows down, try a smaller model or shorter context.

What hardware do you run your model on? Write it down below — it helps others decide too.