Language models run without a GPU. The useful question is which workloads tolerate the memory bandwidth a CPU has, and that line falls in a more generous place than most people assume. Embeddings, reranking, classification and batch summarisation all sit comfortably on the cheap side of it, which means a lot of AI infrastructure spending is aimed at the wrong tier.
The reason that line is generous comes down to what actually limits inference, and it is not the thing most people assume. Once you know why a CPU sits roughly an order of magnitude behind a data centre GPU rather than a hundred times behind, the sensible workload split becomes obvious and the hardware budget drops sharply.
MassiveGRID Cloud VPS and Dedicated VPS: per-resource pricing at $2.87 per core, $0.80 per GB RAM and $0.01 per GB SSD · Proxmox HA clustering with automatic failover · Ceph 3x replicated NVMe · placement in any of 85+ metros across 30+ countries
Cloud VPS from $3.99/mo · Dedicated VPS for guaranteed cores · GPU instances when CPU is not enough
Why CPUs Are Slow at This
Not for the reason people assume. Token generation is not compute-bound, it is memory-bound: producing each token requires reading every active parameter out of memory, so the ceiling is bandwidth divided by model size.
That reframes the comparison usefully. A modern multi-channel server platform delivers somewhere in the region of 200 to 400 GB/s of memory bandwidth. An A100 delivers around 1.9 TB/s and an H100 around 3.4 TB/s. So a CPU is not hundreds of times slower for generation, it is roughly five to fifteen times slower, and it costs a small fraction as much.
Two practical consequences follow. Memory channels matter more than core count, so a many-core CPU on a narrow memory bus underperforms a modest one on a wide bus. And past a certain point adding cores stops helping at all, because they are all waiting on the same memory.
What Runs Well on CPU
This is the part worth internalising, because several of these are quietly the majority of real AI work.
| Workload | CPU suitability |
|---|---|
| Text embeddings | Excellent. Small models, batchable, and the usual bottleneck is I/O |
| Reranking retrieved results | Very good. Cross-encoders on a handful of candidates |
| Classification and extraction | Very good. Short outputs, so generation length is small |
| Speech to text | Good with a quantised build. A queue workload anyway |
| Batch summarisation overnight | Good. Nobody is waiting |
| Interactive chat, small model | Marginal. Usable at 8B and 4-bit, and it feels slow |
| Interactive chat, large model | No. A 70B model generates at reading-pause speed |
| Image generation | No. Compute-bound, which is the case CPUs lose badly |
| Training or fine-tuning | No |
Embeddings deserve emphasis. In a retrieval system the embedding model is small, the work batches perfectly, and it runs once per document rather than once per user request. Buying GPU capacity for an embedding tier is a common and expensive misallocation, and our RAG stack guide keeps that tier on CPU deliberately.
What to Actually Run
llama.cpp is the mature path, and the GGUF format it uses is built for quantised CPU inference:
apt install -y build-essential cmake libcurl4-openssl-dev
git clone https://github.com/ggml-org/llama.cpp /opt/llama.cpp
cd /opt/llama.cpp
cmake -B build -DLLAMA_CURL=ON
cmake --build build --config Release -j$(nproc)
It ships an OpenAI-compatible server, so application code does not need to know it is talking to a CPU:
./build/bin/llama-server \
--model /models/llama-3.1-8b-instruct-Q4_K_M.gguf \
--host 127.0.0.1 --port 8080 \
--threads $(nproc) \
--ctx-size 8192 \
--batch-size 512
Set --threads to physical cores rather than logical ones. Hyper-threaded siblings contend for the same memory path, and on a memory-bound workload they frequently make things slower rather than faster. Test both on your own host, because the answer varies by platform.
Quantisation Matters More Here
On a GPU, quantisation is mostly about fitting in VRAM. On a CPU it directly buys speed, because a smaller model means fewer bytes read per token.
| Quantisation | 8B model size | Relative speed |
|---|---|---|
| FP16 | ~16 GB | Baseline, and the slowest |
| Q8_0 | ~8.5 GB | Roughly twice as fast |
| Q5_K_M | ~5.7 GB | Faster again, quality very close |
| Q4_K_M | ~4.9 GB | The usual sweet spot on CPU |
| Q3_K_M | ~4.0 GB | Faster, and quality degrades visibly |
Q4_K_M is the practical default. Below 4-bit, quality falls off faster than size does, so when a model does not fit the better move is almost always a smaller model at 4-bit rather than the same model at 3-bit.
Sizing a CPU Inference Host
Memory is the constraint, and the arithmetic is simple: enough RAM to hold the model plus the KV cache plus the operating system, with headroom so the page cache can keep the weights resident.
| Purpose | Configuration | Monthly |
|---|---|---|
| Embeddings and reranking | 4 vCPU / 8 GB / 64 GB | $18.52 |
| 8B model, batch work | 8 vCPU / 16 GB / 128 GB | $37.04 |
| 8B model, light interactive use | 16 vCPU / 32 GB / 128 GB | $72.80 |
| Larger model, overnight batches | 24 vCPU / 64 GB / 256 GB | $122.64 |
Use a Dedicated VPS rather than a shared-core plan for anything with a latency expectation. Inference saturates the cores it is given, so on shared vCPU it is both a noisy neighbour and a victim of one, and generation speed becomes unpredictable in a way that is hard to explain to users.
Measuring Rather Than Guessing
Benchmark on the actual host, because platform differences here are large:
./build/bin/llama-bench \
-m /models/llama-3.1-8b-instruct-Q4_K_M.gguf \
-p 512 -n 128 -t 8,16,24
That reports prompt processing and generation separately, and the distinction matters. Prompt processing is compute-bound and parallelises across cores. Generation is memory-bound and does not. A host that ingests a long document quickly may still produce tokens slowly, which is exactly the profile that suits summarisation and does not suit chat.
Sweeping the thread count is worth the minutes. The best value is frequently below the total core count, and finding it is free performance.
The Honest Comparison With a GPU
Take an 8B model at 4-bit. On a well-provisioned CPU host expect roughly 10 to 20 tokens a second. On a mid-range GPU expect 50 to 150.
Reading speed is around 5 to 8 tokens a second, so both are faster than a person reads. The difference is felt in time to first token and in what happens under concurrency: a CPU serving a second simultaneous request roughly halves throughput per user, where a GPU with continuous batching absorbs it.
So the decision rule is about shape rather than speed. One user at a time, or a queue, and CPU is fine at a twentieth of the cost. Several concurrent users expecting immediacy, and it is not.
A Sensible Architecture
Split the workload by what it actually needs, rather than putting everything on the most expensive tier.
Embeddings, reranking, classification and batch summarisation go on a Dedicated VPS at tens of dollars a month. Interactive generation, if a human genuinely waits for it, goes on a GPU instance, hourly at $2.26 for an A100 40 GB if demand is intermittent or monthly at $1,649 if it is steady.
That split routinely cuts the bill by most of its value, because the GPU ends up sized for the one stage that needs it rather than for the whole pipeline. Both tiers sit on the same Proxmox high-availability clusters with Ceph triple-replicated NVMe storage, and CPU, RAM and storage scale independently, so adding the memory a larger quantised model needs does not mean buying cores you will not use.
Where the interactive tier is busy around the clock, a fixed monthly price is the other way to buy it. MassiveGRID also sells bare-metal GPU servers at a flat monthly price: an RTX PRO 4000 Blackwell with 24 GB of GDDR7 is $449.99 a month, which is about $0.62 an hour over a 730-hour month, and an RTX PRO 6000 Blackwell with 96 GB is $1,656.15, about $2.27 an hour. Those are single dedicated machines billed by the month, delivered with a clean operating system and root access, so the drivers, the serving stack, RAID and off-server backups are yours to set up. For intermittent demand the hourly instance above is the better fit.
If you conclude you do need a GPU, size it with our VRAM requirements guide and serve it with vLLM. Our comparison of GPUs for LLM inference in 2026 covers which card suits which model size, and the LLM hosting page maps open models to the servers that hold them. If you are still exploring, Ollama on a VPS runs on either.
Frequently Asked Questions
Can you run an LLM without a GPU?
Yes. llama.cpp and Ollama run quantised GGUF models entirely on CPU and system RAM. A 4-bit build of Llama 3.1 8B is a 4.9 GB download in the Ollama library (checked on 16 November 2026), so it fits on a 16 GB host with room for context. Embeddings, reranking, classification and overnight batch summarisation work well this way. Interactive chat on a large model does not, because generation speed is capped by memory bandwidth.
How much RAM do I need to run an LLM on a CPU?
Enough to hold the quantised model file, the KV cache for your context length and the operating system, with headroom so the weights stay in the page cache. As a guide to the first term, the Ollama library lists these default 4-bit downloads (checked on 16 November 2026): Llama 3.1 8B 4.9 GB, Qwen3 14B 9.3 GB, Qwen3 32B 20 GB and Llama 3.3 70B 43 GB. Memory channels matter as much as the amount, since tokens per second follow bandwidth divided by model size.
When is a GPU worth it over a CPU for LLM inference?
When several people wait on the answer at the same time, or when the model is too large to generate at a usable speed from system memory. A CPU serving a second simultaneous request roughly halves throughput per user, while a GPU with continuous batching absorbs it. NVIDIA lists 1,792 GB/s of memory bandwidth for the RTX PRO 6000 Blackwell Max-Q against the 200 to 400 GB/s of a multi-channel server CPU platform. For one user at a time, or a queue, a CPU is enough.
When CPU inference is no longer enough
MassiveGRID GPU dedicated servers run NVIDIA RTX PRO Blackwell cards on bare metal that is yours alone: 24 GB for $449.99 a month, 96 GB from $1,656.15, or four cards with 384 GB for $5,966.44. Each has a 1 Gbps port with unlimited traffic, a dedicated IPv4 address and root access, and can be ordered online.
See LLM Hosting