Running AI models on your own computer

Everything here is jargon you'll hit in the first ten minutes of trying, explained once, in order. No prior knowledge assumed.

What "open source" actually means here

It means the weights are published — the trained numbers that make the model work. You can download them and run the model on your own machine, offline, for free.

It usually does not mean the training data or training code is public, which is what “open source” implies in ordinary software. “Open weights” is the more accurate term, and the industry uses the two interchangeably. Licences also vary — some allow commercial use, some don't — so check the licence on any model you plan to build on.

Quantization: why one model comes in ten sizes

A model is billions of numbers. Stored at full precision each takes 2 bytes, so a 9B model is about 19GB — too big for most laptops. Quantization stores each number in fewer bits: 4 bits instead of 16 cuts the file to roughly a quarter.

You lose a little accuracy. In practice the loss at Q4 is small enough that almost everyone uses it, which is why every figure on this site defaults to Q4_K_M.

The names decode simply:

  • Q4 — 4 bits per number. Q5, Q6, Q8 are progressively bigger and more accurate.
  • _K — a smarter mixed scheme that spends more bits where they matter.
  • _M — medium. _S is small, _L large, within the same bit width.

Rule of thumb: at Q4 a model needs roughly half its parameter count in gigabytes. Qwen3.5-9B is 9.7B and needs about 6.8 GB.

Why a "small" model can need 40GB

You'll see names like 35B-A3B. That means 35 billion parameters total, but only 3 billion active for any given word. These are mixture-of-experts models: they hold many specialist sub-networks and consult only a couple at a time.

The trap is assuming the small number is the one that matters. It governs speed — the model responds like a 3B model. But every parameter still has to be in memory, because any expert might be needed next. So it's as fast as a small model and as memory-hungry as a large one.

For example MiniMax-M2.7 looks approachable but needs 144 GB — server territory.

VRAM, unified memory and system RAM

Three different things people constantly conflate:

  • VRAM — memory on a graphics card. Fastest, and a hard ceiling: a 24GB card can't run a 30GB model even if the PC has 128GB of system RAM.
  • System RAM — ordinary memory. Slower, but there's usually more of it, and it works fine for smaller models.
  • Unified memory — Apple Silicon shares one fast pool between CPU and GPU. It's why a 64GB Mac runs models that would otherwise need a very expensive graphics card.

You don't need a graphics card to start. If you're buying specifically to run models, total memory is the number that decides what you can run; everything else decides how fast.

Having the RAM doesn't mean it'll be fast

This is the thing people get wrong most often. Fitting a model in memory and running it at a useful speed are two separate questions, and the second one has almost nothing to do with how much RAM you have.

To write a single word, the computer has to read the entire model out of memory. Then it does it again for the next word. So the limit isn't how fast your processor thinks — it's how fast memory can be read, which is called memory bandwidth. A faster CPU with slow memory barely helps.

The rough sum is simple: divide your memory bandwidth by the size of the model. A 5GB model on a machine reading 70GB per second gives you roughly fourteen words a second. The same model on a graphics card reading 1,000GB per second gives you nearer a hundred and thirty.

Which is why two computers with identical RAM are not remotely equivalent:

MachineBandwidthWhere the figure comes from
Desktop or older laptop — DDR4-320051 GB/s3,200 MT/s × 128-bit dual channel ÷ 8 = 51.2 GB/s
Desktop or laptop — DDR5-560090 GB/s5,600 MT/s × 128-bit dual channel ÷ 8 = 89.6 GB/s
Enthusiast desktop — DDR5-8000128 GB/s8,000 MT/s × 128-bit dual channel ÷ 8 = 128 GB/s
Thin laptop — LPDDR4X-426668 GB/s4,266 MT/s × 128-bit ÷ 8 = 68.3 GB/s (soldered, 2 channels)
Modern thin laptop — LPDDR5-6400102 GB/s6,400 MT/s × 128-bit ÷ 8 = 102.4 GB/s (soldered, 2 channels)
Current thin laptop — LPDDR5X-8533137 GB/s8,533 MT/s × 128-bit ÷ 8 = 136.5 GB/s (soldered, 2 channels)
MacBook Air or Mac mini — M4120 GB/sApple published specification for the M4: 120 GB/s
MacBook Pro or Mac mini — M4 Pro273 GB/sApple published specification for the M4 Pro: 273 GB/s
MacBook Pro or Mac Studio — M4 Max546 GB/sApple published specification for the M4 Max: 546 GB/s
Mac Studio — M3 Ultra819 GB/sApple published specification for the M3 Ultra: 819 GB/s
GeForce RTX 4060 (8GB)272 GB/sNVIDIA published specification: 272 GB/s GDDR6, 128-bit
Radeon RX 7600 (8GB)288 GB/sAMD published specification: 288 GB/s GDDR6, 128-bit
GeForce RTX 3070 or 3060 Ti (8GB)448 GB/sNVIDIA published specification: 448 GB/s GDDR6, 256-bit
GeForce RTX 3060 (12GB)360 GB/sNVIDIA published specification: 360 GB/s GDDR6, 192-bit
Radeon RX 7700 XT (12GB)432 GB/sAMD published specification: 432 GB/s GDDR6, 192-bit
GeForce RTX 4070 (12GB)504 GB/sNVIDIA published specification: 504.2 GB/s GDDR6X, 192-bit
GeForce RTX 5070 (12GB)672 GB/sNVIDIA published specification: 672 GB/s GDDR7, 192-bit
GeForce RTX 4060 Ti (16GB)288 GB/sNVIDIA published specification: 288 GB/s GDDR6, 128-bit
Intel Arc A770 (16GB)560 GB/sIntel published specification: 560 GB/s GDDR6, 256-bit
Radeon RX 7800 XT (16GB)624 GB/sAMD published specification: 624 GB/s GDDR6, 256-bit
GeForce RTX 4080 (16GB)717 GB/sNVIDIA published specification: 716.8 GB/s GDDR6X, 256-bit
GeForce RTX 5080 (16GB)960 GB/sNVIDIA published specification: 960 GB/s GDDR7, 256-bit
GeForce RTX 3090 (24GB)936 GB/sNVIDIA published specification: 936.2 GB/s GDDR6X, 384-bit
Radeon RX 7900 XTX (24GB)960 GB/sAMD published specification: 960 GB/s GDDR6, 384-bit
GeForce RTX 4090 (24GB)1008 GB/sNVIDIA published specification: 1,008 GB/s GDDR6X, 384-bit
GeForce RTX 5090 (32GB)1792 GB/sNVIDIA published specification: 1,792 GB/s GDDR7, 512-bit

A 64GB desktop and a 64GB MacBook Pro will load exactly the same models. The MacBook will answer roughly six times faster. That gap is bandwidth, not RAM, and it is the single biggest thing to understand before spending money.

For a sense of scale: most people read about 7–10 words a second. Below that a model feels like it's lagging behind you. Around 20 and it arrives as fast as you can take it in. Under 3 and it's technically working but not something you'd choose to sit through.

How we work the speeds out. They are calculated, not benchmarked — we don't own these machines and won't pretend otherwise. The sum is bandwidth × 0.65 ÷ the bytes read per token, where the model size is the real published file size, the bandwidth is the figure in the table above, and 0.65 is the share of theoretical peak a runtime like llama.cpp actually reaches once attention, sampling and framework overhead are paid for. It is deliberately conservative; measured results usually come in at or above these numbers. Your own will vary with the runtime, the quantization and what else is running.

One happy exception: mixture-of-experts models only read their active parameters per word, not the whole thing. That's why a 35B MoE with 3B active can outrun a dense 9B while still needing four times the memory — slow to load, quick to answer.

Context length quietly costs memory too

The model's memory of your conversation — its context — is stored separately and grows as the conversation does. That's why every model here shows two figures: one at 4K tokens (a short chat) and one at 32K (a long document).

For some architectures the difference is small. For others it's dramatic: certain models triple their memory use between 4K and 32K. If you plan to feed in long documents, budget for the larger number.

What to actually install

Two tools cover almost everyone, and both handle downloading for you:

  • LM Studio — a normal desktop app with a chat window. Easiest start if you don't live in a terminal.
  • Ollama — command line, one line to run a model, easy to plug into your own scripts.

Start small — ERNIE-4.5-0.3B-PT needs only 853 MB and runs on almost anything. Confirm it works, then move up.