# How do I judge a machine for local AI?

> Look at three numbers: memory capacity, memory bandwidth and compute. Capacity decides what fits and the other two decide how long you wait.

Three numbers decide everything: how much memory the model can use, how fast that memory moves, and how much compute sits behind it. Memory decides what fits. The other two decide how long you wait.

## Capacity, bandwidth, compute

Think of the machine as a workbench.

Capacity is the size of the bench. Bandwidth is how fast you can move parts across it. Compute is the power of the tool in your hand.

| Number | What it decides | Where you feel it | Unit |
| --- | --- | --- | --- |
| Capacity | Which models fit at all | Whether the model loads | GB |
| Bandwidth | How fast each token is written | Streaming speed after the answer starts | GB/s |
| Compute | How fast the prompt is read | The wait before the first word | TFLOPS or TOPS |

**Capacity** is the memory the model can live in. On a PC with a graphics card, that is the card's VRAM, not the system RAM. On a Mac or a unified-memory box, it is most of the total memory.

A model that does not fit either fails to load or spills into slower memory and crawls. [Will the model fit in my memory?](https://localagi.co/memory) covers how to count it.

**Bandwidth** sets the writing speed. Every new token means reading the whole active model out of memory once. So a machine with twice the bandwidth writes about twice as fast on the same model. [What makes a model fast?](https://localagi.co/what-makes-it-fast) explains the mechanism.

**Compute** sets the reading speed. Before the first token, the machine processes your whole prompt in one go, called [prefill](https://localagi.co/life-of-a-prompt). That work is compute-bound.

It barely matters for a short chat and dominates for a coding agent that sends 30,000 tokens of code every turn.

**Rule of thumb.** 
Buy capacity for the model class you want, then bandwidth for the speed you need. Only look at compute if your prompts are long.

## Example machines

These are published specs for common hardware. Capacity and bandwidth on a given chip do not change after launch, so they are typed here. Prices and measured speeds do change, and they live in the tier cards below.

| Machine | Capacity for the model | Memory bandwidth | Notes |
| --- | --- | --- | --- |
| Desktop CPU, dual-channel DDR5-5600 | All system RAM | about 90 GB/s | Fits a lot, writes slowly. See [Can I run models without a GPU?](https://localagi.co/cpu-and-npu) |
| RTX 3060 12 GB | 12 GB VRAM | 360 GB/s | Cheap entry to GPU speed |
| RTX 4060 Ti 16 GB | 16 GB VRAM | 288 GB/s | More room, less bandwidth than a 3060 |
| RTX 3090 | 24 GB VRAM | 936 GB/s | The used favourite. See [Which NVIDIA card should I get?](https://localagi.co/nvidia-gpus) |
| RTX 4090 | 24 GB VRAM | about 1,000 GB/s | Same capacity as a 3090, much more compute |
| RTX 5090 | 32 GB VRAM | about 1,790 GB/s | Fastest consumer card |
| Ryzen AI Max+ 395 (Strix Halo) | up to 128 GB unified | 256 GB/s | See [Do AMD and Intel work for local AI?](https://localagi.co/amd-and-intel) |
| NVIDIA DGX Spark | 128 GB unified | 273 GB/s | See [Are the big unified-memory boxes worth it?](https://localagi.co/unified-memory-boxes) |
| RTX Pro 6000 Blackwell | 96 GB VRAM | about 1,790 GB/s | Workstation card |
| H100 SXM | 80 GB HBM | about 3,350 GB/s | Datacenter, for scale |

The pattern is plain.

Discrete GPUs have high bandwidth and little capacity. Unified-memory machines have lots of capacity and moderate bandwidth. Apple's larger chips sit between the two, and their current figures are in the tier cards.

| Tier | Price | Runs well | Speed |
| --- | --- | --- | --- |
| 1. Entry laptop | $1,100 to $2,200 | 1 to 8B at Q4. gpt-oss-20b and Gemma 4 E4B fit in 16 GB. | 8B: about 20 to 40 tok/s on M-series. CPU-only Windows: single digits on 7B. |
| 2. Strong laptop or Mac | $2,000 to $7,000+ | 27 to 31B dense with headroom on 48 GB. 70B Q4 or gpt-oss-120b on 64 to 128 GB. | M5 Max (measured, Mac Studio): 70B Q4 about 13 tok/s, gpt-oss-120b about 76, Qwen3 30B-A3B about 130. RTX Spark (measured): gpt-oss-120b about 65, dense 27B 13 to 15. |
| 3. Desktop consumer GPU | $900 to $9,000+ (GPU, street) | 8 to 14B on 12 to 16 GB. 27 to 32B at Q4 on 24 to 32 GB. 70B does not fit at Q4. | RTX 5090: 8B about 142 to 213 tok/s, 32B-class about 48, prefill 10,000+ tok/s. |
| 4. Unified-memory workstation | $3,400 to $22,300+ | gpt-oss-120b or Qwen3.8-Flash-Next on 128 GB. DeepSeek V4-Flash, GLM-5.3-Flash and MiMo-V2.6-Flash on 192 to 256 GB. MiniMax M3.1 Flash, Beam and quantized GLM-5.3 on 512 GB. | gpt-oss-120b: 31 to 59 tok/s (Strix Halo, DGX Spark). M5 Ultra 256 GB: DeepSeek V4-Flash about 39 to 45, GLM-5.3-Flash about 41. Dense 70B: 3 to 5. |
| 5. Pro GPU workstation | $9,000 to $40,000+ | 70B in VRAM on one 96 GB card. About 150B at Q4. V4-Flash native on two Pro 6000s (192 GB). | Pro 6000: 70B about 34 tok/s single-stream, about 8,400 tok/s aggregate on a 30B (vLLM). |
| 6. On-prem server | $150,000 to $500,000+ | GLM-5.3, DeepSeek V4-Pro and MiMo-V2.6-Pro at FP8 on 8x H200 or B200. The Kimi models need more than one 8x B200 node. | 70B single-stream: 25 to 40 tok/s. Aggregate: 8x H200 about 33,000 tok/s, 8x B200 about 103,000 tok/s (MLPerf, Llama 2 70B). |

**The catch.** 
Bandwidth is a ceiling, not a speed. Real decode lands well below it, and the gap varies by runtime and model. Use bandwidth to compare machines, then check measured speeds before you buy.

## Finding the numbers for any machine

Capacity is on every spec sheet. Bandwidth is often missing, but you can work it out from two figures the vendor always lists: memory bus width and memory data rate.

```text
bandwidth (GB/s) = bus width (bits) / 8 × data rate (MT/s) / 1000

RTX 3090:     384-bit × 19,500 MT/s / 8 / 1000 = 936 GB/s
Strix Halo:   256-bit ×  8,000 MT/s / 8 / 1000 = 256 GB/s
DDR5 desktop: 128-bit ×  5,600 MT/s / 8 / 1000 = about 90 GB/s
```

A dual-channel desktop has a 128-bit bus, two 64-bit channels. Laptops with soldered LPDDR5X often have a wider bus than desktops, which is why some thin machines outrun a tower on CPU inference.

To see what your own machine has, run one of these.

**macOS**

```bash
system_profiler SPHardwareDataType | grep -E "Chip|Memory"
```

**Windows**

```powershell
Get-CimInstance Win32_PhysicalMemory | Select-Object Capacity, Speed
nvidia-smi --query-gpu=name,memory.total --format=csv
```

**Linux**

```bash
free -h
nvidia-smi --query-gpu=name,memory.total --format=csv
```

The first command gives capacity and memory speed. The `nvidia-smi` line gives your card's name and VRAM, if you have an NVIDIA card. Look up the card's bandwidth on the vendor page, or compute it with the formula.

For compute, vendors publish TFLOPS at several precisions. Compare like with like, FP16 against FP16, and ignore sparse figures, which assume a trick most inference does not use.

**Try it.** 
Divide your bandwidth in GB/s by the size of a model file in GB. The result is the most tokens per second that machine can ever write on that model. If it is below about 7 to 15 tok/s, the model will feel slow.

## Go deeper

### Why bandwidth sets decode speed

To write one token, the runtime multiplies your input through every weight in the model. Each weight is used once and then not needed again until the next token. The chip spends most of its time waiting for weights to arrive, not doing the maths.

So the time per token is roughly the bytes read divided by the bandwidth. A 16 GB file on a 936 GB/s card has a ceiling of about 58 passes a second. Overheads take a share of that.

### Why MoE changes the sum

A [mixture of experts](https://localagi.co/dense-vs-moe) model only reads its active parameters for each token. Capacity must hold the whole model, but bandwidth only has to move the active slice. That is why a 128 GB box with moderate bandwidth runs a 100B+ MoE at a usable speed and a dense 70B slowly.

### When compute wins

Prefill processes thousands of tokens at once, so each weight read from memory is reused many times. That flips the bottleneck to compute. A GPU with strong tensor cores reads a long prompt many times faster than a chip with the same bandwidth and less compute. [How fast is fast?](https://localagi.co/how-fast-is-fast) shows which jobs care about which.

### Capacity you can actually use

The usable figure is always less than the label. The operating system, your other apps and the context window all need room. Plan on a model file that leaves a few GB free on a GPU, and more on a laptop that also runs your browser. [Will it fit?](https://localagi.co/will-it-fit) does the sum for you.
