Running large models without a GPU: CPU, quantization and offload

Compare smaller checkpoints, quantization, CPU execution and partial offload using full memory requirements, supported runtimes and measured task acceptance.

By benchr Editorial Team · · · Changelog

You can run some supported open-weight models on a CPU or split work across CPU and GPU resources. Whether that is useful depends on the full memory footprint and the time your task can tolerate. Choose the deployment after measuring a representative job, not after finding a way to load the largest parameter count.

The weight-size calculation is only a starting point

The ideal packed weight storage is parameters × bits per weight ÷ 8 bytes. That excludes quantization scales, tensors retained at higher precision, metadata, caches, runtime buffers and other allocations. A format name such as Q4 does not mean that the entire running process occupies exactly four bits per parameter.

Distinguish decimal gigabytes from binary gibibytes when comparing a file with device memory. For a mixture-of-experts model, a small active-parameter figure describes conditional computation; it does not establish that only those weights need storage. Check the actual architecture and the runtime's supported placement strategy. Do not derive a required GPU count from an active-parameter headline.

Choose which constraint you can change

Smaller checkpoint

What it changes: Reduces the model being deployed.

What still needs checking: Task acceptance, required modalities, license and runtime support.

Supported quantization

What it changes: Changes weight representation and possibly computation kernels.

What still needs checking: Artifact provenance, runtime compatibility and changes in output quality.

CPU execution

What it changes: Uses system memory and supported CPU kernels.

What still needs checking: RAM headroom, prompt processing time, generation speed and concurrent load.

Partial offload

What it changes: Places supported parts of the deployment on different devices.

What still needs checking: Memory on each device, transfers and the slowest stage of the workload.

Rented or hosted inference

What it changes: Moves capacity requirements to another system.

What still needs checking: Complete bill, access, data handling and whether the served deployment matches the weights you evaluated.

The llama.cpp quantization guide explains conversion and quantization as artifact transformations. Quality can change, so evaluate the exact resulting file. Do not assume that a quantization with a smaller download is equivalent to the original checkpoint on extraction, reasoning or tool use.

Keep context and concurrency bounded

A model that loads can still fail or slow down on the actual prompt. Set a context budget, output cap and simultaneous-request limit appropriate to the task. Test the longest input you intend to admit and the traffic pattern you need to support. Swapping memory to disk may let a process survive while making response time unusable; successful allocation is not an acceptance criterion.

The llama.cpp server documentation provides explicit context and layer-placement controls. Their supported behavior depends on the build and model. Start from the local setup guide, record the effective settings printed by the runtime and change one constraint at a time.

Measure the workload you will keep

Record time to first token, full completion time, peak memory and accepted output for your real inputs. A short prompt with a short answer can hide a slow prompt-processing stage; a single user can hide concurrency limits. Compare quantization and offload alternatives under the same acceptance criteria, and keep failures in the result set.

If a smaller model completes the task reliably, the larger model's ability to load adds little value. If only a larger model meets the task, compare a controlled remote deployment with the operational cost of local capacity. The hosting-cost investigation shows how to account for idle resources and rejected work.

benchr has not measured hardware fit, latency or throughput for this guide. No fixed RAM allowance, GPU count or tokens-per-second promise is implied by its deployment options. Use the runtime's current compatibility documentation and a retained run record for your exact artifact.

Changelog

  • 2026-10-16 — Replaced fixed RAM and speed assertions with explicit storage-versus-runtime distinctions, architecture-aware deployment choices and a reproducible measurement protocol.
  • September 11, 2026 — Named DeepSeek-V4-Pro (1.6T total parameters) and V4-Flash (284B total) as today's too-big DeepSeek models in the table note, the closing advice, and the DeepSeek FAQ, with V4-Pro's hosted API price. The VRAM table and all hardware math are unchanged; DeepSeek-V3 and R1 stay as the worked example.
  • June 19, 2026 — Originally published.

Sources and documentation review

Documentation review dates are recorded per source. No provider inference or independent benchmark replication was performed for this revision.

  1. llama.cpp quantization contract — read
  2. llama.cpp placement and context controls — read