HardwareCPU

Run an LLM on CPU Only: What Speed to Expect and How

Run local language models without a GPU: why memory bandwidth sets speed, model sizes that work, MoE models on CPU, threads, and llama.cpp settings.

By the Uncensored AI Model Hub editorial team· Updated · 3 min read

No GPU? You can still run useful local models. The trick is picking sizes that suit CPU memory bandwidth.

How speed works

Each generated token reads the active weights from RAM. So:

speed ≈ memory bandwidth ÷ active model size

Dual-channel DDR5 gives roughly 60-90 GB/s in practice. A 5 GB model therefore manages around 12-18 tokens per second at best; real numbers are lower.

Sizes that work

Model Q4 size CPU experience
Gemma 3 4B ~3 GB Fast
Qwen3 8B ~5 GB Usable
Qwen3 30B-A3B ~18 GB Usable, needs 32 GB RAM
24B-32B dense 14-20 GB Slow

Settings

  • Use llama.cpp, Ollama or LM Studio; all run on CPU.
  • Set threads to your physical core count.
  • Prompt processing is slower on CPU, so long prompts take time.
  • Keep context moderate; see the context length calculator.

Hybrid

Even a small GPU helps: offload some layers or the KV cache. For MoE models, keep experts on CPU and attention layers on GPU. See the llama.cpp guide.

Find a model

Use the AI model finder and which GGUF quant to download.

Common questions

How fast is an LLM on CPU?

On a typical dual-channel DDR5 desktop, an 8B model at Q4 generates several to around 15 tokens per second. Larger dense models are much slower.

Does more RAM make it faster?

More RAM lets you load bigger models. Faster RAM and more memory channels make generation faster.

Why are MoE models good on CPU?

Only a fraction of their parameters are read per token, so a model like Qwen3 30B-A3B runs close to the speed of a 3B dense model.

Related reading

Browse more: all guides · comparisons · glossary · free tools

Find your model in minutes.

Search the directory, check the licence and hardware, and start running uncensored AI models today.