selfhostlabmeasured on a real VPS, not copied from docs

Ollama on a VPS without GPU, measured

Ollama 0.40.17 · CPU only · 3 models x 2 CPU sizes x 3 runs · tested 22 Nov 2026

Short answer. On 4 vCPU and no GPU, Ollama wrote 28 tokens/s with Llama 3.2 1B, 21 tokens/s with Llama 3.2 3B and 9 tokens/s with Llama 3.1 8B. The 8B model needed 5.4 GB of RAM: buy 8 GB for 8B, 4 GB is enough for 3B. Doubling the vCPU helped far less than the RAM size.
See Contabo 4 vCPU / 8 GB VPS (closest to our test) →

Articles about Ollama on a VPS give ranges like "5 to 15 tokens per second" without saying on what machine. We downloaded the official Ollama binary, pinned it to 4 and then 8 CPU cores, ran the same prompt three times per model and read the speed Ollama reports and the memory of its processes. Every number below comes from that run.

Speed and memory per model

Model (quantization, size)4 vCPU: tok/s (3 runs)8 vCPU: tok/s (3 runs)RAM usedCold load
Llama 3.2 1B (Q8_0, 1.23 GB)27.7 (27.0 / 27.7 / 29.5)39.3 (37.0 / 39.3 / 39.4)1.5 GB3.1 to 3.2 s
Llama 3.2 3B (Q4_K_M, 1.88 GB)21.1 (17.7 / 21.1 / 21.8)20.8 (17.7 / 20.8 / 27.1)2.5 GB6.0 s
Llama 3.1 8B (Q4_K_M, 4.58 GB)9.0 (8.6 / 9.0 / 9.3)10.2 (8.2 / 10.2 / 12.5)5.3 to 5.4 GB11.9 to 12.4 s

Bold = median of 3 runs. Speed = generation tokens per second reported by Ollama (eval_count / eval_duration), about 190 tokens generated per run. RAM = resident memory (RSS) of the Ollama server and its runner with the model loaded. Cold load = first request after start, model already on disk.

10 tok/s 27.7 39.3 Llama 3.2 1B 21.1 20.8 Llama 3.2 3B 9.0 10.2 Llama 3.1 8B 4 vCPU 8 vCPU
Median generation speed of each model on 4 and 8 vCPU, drawn to scale. Our measurements, 22 Nov 2026.

What 4 more vCPU buy you

Doubling the cores raised the 1B model by 42 % and the 8B model by 13 %, and gave nothing on the 3B model. On a CPU, each generated token means reading the whole model from RAM, so memory bandwidth caps the speed long before the core count does. For a VPS budget, that means: pay for the RAM the model needs first, extra vCPU second.

Which VPS for which model

Add about 0.5 to 1 GB for the operating system, and the RAM of whatever else runs next to Ollama (Open WebUI, n8n, a database). From our numbers:

You want to runRAM to buyExpected speed (our 4 vCPU test)Example plan (price read on the provider site)
Llama 3.2 1B (classification, short replies)4 GBabout 28 tok/sHostinger KVM 1: 1 vCPU, 4 GB, $6.49/mo on 24 months, renews $11.99/mo (read 20 Nov 2026). Only 1 vCPU: expect less than our 4-core figure.
Llama 3.2 3B (chat, summaries)4 GB, 8 GB with Open WebUIabout 21 tok/sContabo Cloud VPS 4: 4 vCPU, 8 GB, 4.40 EUR/mo for 24 months (read 21 Nov 2026), same CPU family as our test.
Llama 3.1 8B (better answers, slower)8 GB minimumabout 9 tok/sContabo Cloud VPS 4 (8 GB) as above, or Hostinger KVM 2: 2 vCPU, 8 GB, $8.79/mo on 24 months, renews $14.99/mo (read 20 Nov 2026).

Contabo Cloud VPS plans → Hostinger KVM VPS prices →

Limits of this test

Reproduce it

curl -sL -o ollama.tar.zst https://ollama.com/download/ollama-linux-amd64.tar.zst
mkdir dist && tar --zstd -xf ollama.tar.zst -C dist
OLLAMA_HOST=127.0.0.1:11499 taskset -c 0-3 dist/bin/ollama serve &
OLLAMA_HOST=127.0.0.1:11499 dist/bin/ollama pull llama3.1:8b
curl -s 127.0.0.1:11499/api/generate -d '{"model":"llama3.1:8b","prompt":"...","stream":false,
  "options":{"num_predict":200,"temperature":0,"seed":42,"num_thread":4}}' | jq '.eval_count/.eval_duration*1e9'

Going further: if you plan to run n8n next to Ollama, add its 555 to 850 MB to the RAM above.

Some links on this page are affiliate links: we may earn a commission if you buy, at no extra cost to you. Measurements are never changed for a sponsor.