How much slower is a local LLM with CPU offload?
Short answer. Much slower than the share you offload suggests. Generating a token reads every weight once, and dual-channel DDR5 system memory (89.6 GB/s at most) is about eleven times slower than an RTX 4090's VRAM (1,008 GB/s). For a 20 GB model, moving just 10% of it to system RAM halves the speed ceiling, from about 50 to 25 tokens per second. Half on the CPU leaves about 8; all of it, about 4.5.
When the VRAM calculator says a model does not fit, it also tells you what share of the weights would fit on the card, the starting point for a partial offload. This page turns that share into a speed estimate you can work out before downloading anything.
Why speed follows memory bandwidth
For one person chatting with a model, each new token needs a pass through all the layers, and each layer's weights have to be read from memory. The arithmetic itself is light; the reading is what takes the time. So the ceiling is roughly:
tokens per second ≈ memory bandwidth ÷ size of the weights
When the weights are split, the two parts are read one after the other, by the GPU from VRAM and by the CPU from system RAM, and the times add up:
seconds per token ≈ GB on the card ÷ VRAM bandwidth + GB in RAM ÷ RAM bandwidth
In llama.cpp's usual layer split, the layers in system RAM are computed by the CPU where they sit; they are not copied to the card for every token, so the PCIe link is not the bottleneck here. The slow part is the CPU reading its share from system memory.
The bandwidth figures
For graphics cards, use the manufacturer's figure. NVIDIA's Ada architecture paper gives 1,008 GB/s for the RTX 4090 and 716.8 GB/s for the RTX 4080 16 GB.
For system memory, multiply the transfer rate in the module's name by 8 bytes per transfer (a 64-bit channel) and by the number of channels. Most desktops and laptops have two:
| Memory | Theoretical bandwidth |
|---|---|
| DDR4-3200, 2 channels | 51.2 GB/s |
| DDR5-5600, 2 channels | 89.6 GB/s |
| DDR5-6000, 2 channels | 96.0 GB/s |
Four DIMMs on a desktop board usually still means two channels. Workstation platforms with four or eight channels change the picture considerably, which is one reason they turn up in large-model builds.
The cliff, in numbers
Take a 20 GB set of weights on an RTX 4090 with DDR5-5600 and move a growing share to system RAM:
The first 10% costs half the speed. At 10%, the 2 GB in system RAM take 22.3 ms to read, more than the 17.9 ms the card needs for the other 18 GB. From there each extra gigabyte in RAM costs about as much as eleven on the card. That is why people describe partial offload as a cliff rather than a slope, and why a smaller quantization that fits completely often beats a better one that nearly fits.
Worked example: Qwen2.5 32B on a 16 GB card
Qwen2.5 32B has 32.5 billion parameters according to its model card. At Q4_K_M (about 4.85 bits per weight) the weights take 32.5 × 4.85 ÷ 8 = 19.70 GB. On an RTX 4080 16 GB, keep 0.5 GB free, allow 1 GB for the runtime and 2.15 GB for an 8,192-token cache, and 12.35 GB remains for weights.
| On the card: 12.35 GB ÷ 716.8 GB/s | 17.2 ms |
|---|---|
| In RAM: 7.35 GB ÷ 89.6 GB/s | 82.0 ms |
| Per token, best case | 99.3 ms, 10.1 tokens/s |
Compare the alternatives on the same machine:
- The same file entirely in system RAM: 19.70 ÷ 89.6 = 220 ms per token, a ceiling of 4.5 tokens per second.
- Q3_K_M (about 3.9 bits per weight, 15.84 GB): 78% now sits on the card and the ceiling rises to about 17.8 tokens per second, nearly 1.8 times as fast, for a file only a fifth smaller.
- The Q4_K_M file on a card with room for all of it, such as a 24 GB RTX 4090: 1,008 ÷ 19.70, about 51 tokens per second.
- With DDR4-3200 instead of DDR5, the Q4_K_M split drops to about 6.2 tokens per second.
Try it in the calculator: choose "Qwen2.5 32B" from the model list, Q4_K_M, 8,192 tokens, "Graphics card VRAM" and 16 GB. The result says it does not fit and that about 62% of the weights would. Take that share of the weights for the card and the rest for RAM, then divide each by its bandwidth as above.
What the estimate leaves out
It is a ceiling, and real runs come in below it, because no system reads memory at its full theoretical rate and the CPU part also competes with everything else on the machine. Treat the figure as a way to compare options, not a promise. A few things move the real number further:
- Reading the prompt is different. Processing a long prompt is limited more by computation than by reading weights, so the GPU's share helps there in a different proportion. A partly offloaded model can feel fine on a short question and slow on a long document.
- The cache is read too. Every token also reads the key/value cache, which at long contexts adds gigabytes per token on large models. The cost of the cache is covered in how much VRAM a 128K context uses.
- Mixture-of-experts models read less per token. gpt-oss-120b, for example, has 117 billion parameters but uses 5.1 billion per token, according to its model card. The bandwidth ceiling then follows the active weights, not the total, which is why such models can run acceptably with most of their experts in system RAM. llama.cpp's
--cpu-moeand--n-cpu-moeoptions keep the expert weights on the CPU and everything else on the card for exactly this case. The memory still has to hold the total. - CPU settings. The thread count and other programs using memory at the same time change how much of the RAM bandwidth the model gets. Try a few thread counts and keep the fastest.
Deciding what to do
If more than about a tenth of the model would sit in system RAM, run the numbers above before downloading. Often the better move is a smaller quantization or a smaller model that fits completely, a shorter context to free room on the card, or for the very large models, a Mac, where the GPU reads from one large shared memory pool at hundreds of GB/s. How much of a Mac's unified memory a local LLM can use covers that route; running Llama 70B on a 24 GB GPU applies the offload maths to a specific case.
Once you have run a model, measure its real speed with a fixed prompt and record it in the calculator's benchmark log, next to the configuration you used. Comparing your measured figure with the ceiling tells you how much headroom your settings leave, and the calculator gives you the share on the card to start from.