Explainer5 min readLocal AI

How much RAM do you need to run a local LLM?

A researched guide to local-LLM memory needs: weights, context cache and runtime by model size and quantisation, and which mini PC tier fits each model.

In short

A 7B model at four-bit quantisation needs about 16–32GB of system memory, a 32B model needs 32–64GB, and a 70B model needs 64–128GB. Budget for weights, context cache and runtime, not just the model download: a four-bit 70B payload is about 35GB before overhead, and the real requirement is higher. 32GB is a useful smaller-model starting point; larger dense models can require 64GB or 128GB depending on quantisation and context.

  • Four-bit storage is roughly half a byte per parameter before overhead: a 7B model is about 4–5GB of weights, a 70B model about 40–48GB.
  • The download size is not the memory requirement: add context cache, runtime and the operating system before you buy.
  • 32GB of RAM comfortably runs 7B and 14B models; 32B wants 64GB; 70B wants 128GB at four-bit.
  • On a mini PC, check how much memory the integrated GPU can actually see — fitting weights in system RAM is not the same as running at useful speed.

How much RAM for 7B, 14B, 32B and 70B models?

Plan on 16–32GB of system memory for a 7B model, 24–32GB for a 14B model, 32–64GB for a 32B model and 64–128GB for a 70B model, all at typical four-bit quantisation with moderate context. These are planning ranges, not guaranteed minimums. Architecture, cache precision, context length and the runtime you choose all move the requirement.

Dense modelApproximate Q4 weightsSystem-memory planning range
7B4–5GB16–32GB
14B8–10GB18–22GB
32B18–22GB32–64GB
70B40–48GB64–128GB

These are editorial estimates for typical four-bit formats and moderate context, not measured figures from a Testbench Lab test bench. The weights column is the model payload; the planning range adds the context cache, the inference runtime and the operating system.

Use the table as a planning range, not a guaranteed minimum. Four-bit storage is roughly half a byte per parameter before overhead, which is where the weights column comes from. Longer context, multimodal inputs and running more than one model session at a time can exceed these suggested ranges.

The gap between the two columns is the part buyers miss. A 7B model downloads as a 4–5GB file, but the process that serves it also holds the key-value cache for your conversation, which grows with context length, plus the runtime itself, plus Windows or Linux. Ollama's hardware documentation recommends having at least 8GB of RAM to run 7B models, and more for larger ones — a floor, not a target. If you want to keep working in a browser while the model runs, add headroom on top of the table.

Memory type matters as much as memory size on a mini PC. On a machine with unified memory, such as the Ryzen AI Max+ 395 machines in our strix halo mini pc group, the GPU and CPU share one pool, so the whole planning range is available to the model. On a conventional desktop with a discrete GPU, the model must fit in the card's own VRAM to run at speed. That distinction is explained in what is unified memory.

What quantisation does to memory?

Quantisation reduces the precision of each model weight, and with it the file size and the memory the weights occupy. A weight stored at sixteen bits uses two bytes; the same weight stored at four bits uses half a byte. Halving precision roughly halves the payload, with possible quality and speed trade-offs.

The maths is simple enough to check yourself. A theoretical four-bit 70B payload is about 35GB: 70 billion parameters at half a byte each. Actual four-bit files for a 70B model land closer to 40–48GB, because real formats also store scales, metadata and some higher-precision tensors, and the runtime and context require more capacity on top.

QuantisationBytes per parameter70B weights (approx.)Typical use
Q8 / eight-bit170GBClosest to full precision; needs 96GB+ of headroom
Q60.7553GBQuality-focused compromise
Q4 / four-bit0.540–48GBThe common default for local use
Q2 / two-bit0.2520–25GBFits smaller machines; quality loss is real

Lower quantisation is not free. A two-bit 70B model can fit where a four-bit one cannot, but the quality and speed trade-offs grow as precision falls. Our planning table in the section above assumes four-bit, the common default in tools such as llama.cpp and Ollama. If you run eight-bit weights, roughly double the weights column and move up a planning tier.

Context length is the other multiplier. The key-value cache that holds your conversation grows with the number of tokens of context you allow, and at long context it can add many gigabytes on its own. A 32B model at four-bit with a short context fits in 32GB; the same model with a very long context is happier in 64GB. If you feed long documents into the model, budget for the cache, not just the weights.

Which mini PC tier fits which model?

Match the mini PC tier to the largest model you actually want to run, not the largest model that exists. A 32GB machine runs 7B and 14B models well; a 64GB machine adds 32B models; a 128GB machine is the tier that makes four-bit 70B models practical.

Mini PC tierMemoryComfortable models (Q4)Example
Entry16–32GB7B, 14BMany mainstream mini PCs
Mid32–64GB14B, 32B (short context)Ryzen AI 9 HX 370 class, e.g. Geekom A9 Max (from $1,499)
Strix Halo64–128GB32B, 70BRyzen AI Max+ 395 machines, e.g. Geekom A9 Mega ($3,799)

Prices checked 2 October 2026 on manufacturer pages. We prefer the Geekom A9 Max for smaller-model desktop work and the A9 Mega for larger shared-memory workloads. The A9 Mega's Ryzen AI Max+ 395 offers up to 128GB of unified memory, which is the pool a four-bit 70B model needs. The full field is in our best mini pc for ai roundup and the ai mini pc category.

Verify accelerator-visible capacity before you buy. Fitting weights in system RAM is different from keeping the intended workload on the GPU at useful speed. On a unified-memory machine, check in the BIOS or vendor software how much of the pool the integrated GPU can address — some machines cap GPU-visible memory below the installed total. On a machine with a discrete card, the card's VRAM is the number that matters for speed; llama.cpp's build documentation describes the backends (CUDA, Vulkan and others) that decide where the model actually runs.

A practical buying rule: take the weights column for the model you want, double it, and buy the memory tier at or above that number. That covers the context cache, the runtime and the operating system, and it leaves room for the next model size down to run alongside your normal work. If the doubled number exceeds what any single machine you are willing to buy offers, run a smaller model or a lower quantisation instead of buying hardware you cannot fill.

Frequently asked questions

Can 32GB of RAM run a 70B model?

No — a conventional four-bit dense 70B workload exceeds 32GB after weights and working memory are included. Four-bit 70B weights alone are about 40–48GB, before the context cache and runtime. More aggressive formats change the trade-offs: a two-bit 70B payload can fit near 20–25GB, but with real quality loss. For four-bit 70B, plan on 64–128GB of system memory.

Is 64GB enough for local AI?

Yes, 64GB is enough for many quantised workloads, but not every model or context. It comfortably runs 7B, 14B and 32B models at four-bit, and it is the floor for a 70B model at aggressive quantisation with short context. Leave room for system work and check GPU-visible memory: on a unified-memory mini PC, the amount the integrated GPU can address is the number that decides speed.

Written by

David Wilson writes and edits Testbench Lab's coverage of AI voice recorders, mini PCs and local AI. His focus is the practical difference between a feature on a product page and a tool you would want to use regularly. He is the byline on every Testbench Lab page, including the notta memo vs plaud note pro comparison, and he owns the recommendations those pages make.

Sources

  1. [1]llama.cpp build documentation — Inference backends (CUDA, Vulkan and others) that decide where a model runs. Checked 2 October 2026.
  2. [2]Ollama hardware support — GPU and memory guidance for running local models, including the 8GB RAM recommendation for 7B models. Checked 2 October 2026.
  3. [3]Geekom A9 Max specifications — Ryzen AI 9 HX 370 class mini PC, from $1,499. Checked 2 October 2026.
  4. [4]Geekom A9 Mega specifications — Ryzen AI Max+ 395 mini PC with up to 128GB unified memory, $3,799. Checked 2 October 2026.