What changes when weights move to RAM
When the model exceeds available VRAM, the runtime may keep some weights and computations on the CPU side. System memory bandwidth, CPU execution, PCIe transfers and scheduling can all matter. Adding VRAM and adding RAM change different parts of this arrangement.
The table below compares memory placement under one explicit model and context. It is not a speed benchmark. In particular, desktop GPU memory bandwidth cannot by itself predict an offloaded model’s generation rate.
Measure a useful comparison
Keep the same model file, quantization, context settings, runtime version, prompt and generation length for each run. Close unrelated GPU-heavy applications and record whether the model stays on the GPU or uses RAM.
Record prompt processing separately from token generation. Use repeated runs after warm-up, report their variation and include the GPU model, free VRAM, CPU, RAM speed and channel count. A single best run is a weak basis for a purchase decision.
Use the result for a decision
For an interactive assistant, time to the first useful answer and sustained generation both affect the experience. For a batch workload, a slower larger model may be acceptable if it improves the result you need.
No local speed measurements have been submitted for this guide. The comparison uses the site’s memory estimator; the commands below are a reproducible starting point for collecting real results.
A repeatable starting point for your own measurements
Install a compatible llama.cpp build and supply your own GGUF file. Run the same benchmark with different GPU-layer settings. The examples request CPU-only, partial offload and full offload. Check the runtime output for actual placement; the full-GPU test needs a model that fits.
llama-bench -m model.gguf -p 512 -n 128 -ngl 0 -r 5
llama-bench -m model.gguf -p 512 -n 128 -ngl 16 -r 5
llama-bench -m model.gguf -p 512 -n 128 -ngl 99 -r 5Report prompt-processing and generation results separately, with the model file, llama.cpp version, GPU, CPU, RAM channels, context configuration and the requested GPU layers. The commands are a measurement procedure; this page has no submitted device benchmark results.
Common questions
Is RAM offload the same as using the SSD?
No. Physical RAM, VRAM and disk-backed virtual memory have different performance characteristics. If a run starts paging to disk, measure it as a separate configuration rather than calling it ordinary RAM offload.
Do more GPU layers always mean a faster run?
Layer placement changes memory and compute distribution, but the result depends on the model, backend and transfers. Measure several supported settings instead of assuming that the largest offload setting is optimal.
Sources and calculation notes
- Qwen2.5 Coder 32B publisher model card
- llama.cpp project and supported inference tools
- llama-bench documentation
Model metadata snapshot: . Hardware snapshot: . Editorial review: .