Run Local AI Without a GPU: CPU-Only Guide

You do not need a powerful graphics card to try local AI. Small models run on a normal CPU, as long as you have enough RAM and realistic expectations about speed. This guide explains what to expect, how to set it up and what to do when it is too slow or runs out of memory. Not sure your PC is up to it? Start with our checklist for whether your PC can run local AI models.
How CPU-only AI works
Without a GPU, the model sits in system RAM instead of video memory, and the CPU does the calculations. This works, but it is slower than a GPU, because a GPU processes far more data in parallel and has very fast memory. Some newer PCs also have a neural processing unit (NPU); to check whether yours has one, see how to check whether a PC has an NPU.
What you need
- RAM: the model must fit in memory, with room left for Windows and other programs. As a rough guide, allow the model file size plus a few gigabytes.
- A modern CPU with several cores. More cores and faster memory help.
- Dual-channel RAM, which doubles memory bandwidth and speeds up the model. See how to upgrade RAM.
- Free disk space for the model files, which are often several gigabytes each.
What size model can you run?
These are rough guides for 4-bit (Q4) models and will vary by tool and model:
- 8 GB RAM: very small models only, with little room for anything else
- 16 GB RAM: small models of around 7B to 8B parameters
- 32 GB RAM: models up to roughly 13B to 20B parameters
See AI model quantization explained for what Q4 means and how file sizes change.
What speed to expect
CPU speed varies a lot between PCs. A small model on a modern CPU can produce text at a readable speed, while a larger model may produce only a few words per second. Expect a longer wait for the first words of an answer, and for long replies. These are general expectations: no speed figure here has been measured on your PC.
Step-by-step: set it up
Step 1: Check your RAM and CPU
Open Task Manager > Performance and note your total memory (Memory), the amount in use and the number of cores (CPU > Cores). See how to check your PC specs. If more than half your RAM is already in use before you start, close programs or restart first.
Step 2: Choose a tool
Tools such as LM Studio and Ollama can run on a CPU. Install one from its official website. To check whether running a model locally keeps your data private, see is local AI private and safe on Windows. See how to run an AI model locally on Windows for the full setup, and Ollama vs LM Studio to choose. If you want to chat with your own PDFs and notes rather than general questions, see how to chat with your own documents using local AI.
Step 3: Choose a small, quantized model
Pick a small model in a Q4 version. Check the file size on its page, and make sure it is well below your free RAM. You should see: the model load without Windows becoming unresponsive. If loading fails with an out-of-memory error, choose a smaller model or a more compressed (lower-bit) version.
Step 4: Tune the settings
- Set the number of CPU threads close to the number of physical cores, not the number of logical threads.
- Use a shorter context length, which saves memory and time (see context length and VRAM explained).
- Close browsers and other programs that use a lot of RAM.
Step 5: Watch memory and temperature
Open Task Manager while the model answers. If memory use hits 100 percent and the PC slows down or the disk is busy, Windows is swapping memory to disk: choose a smaller model. In Ollama, ollama ps in a terminal shows whether the model is running on the CPU. Heavy CPU use for long periods warms the PC, so keep the vents clear and check temperatures (see how to check CPU and GPU temperature).
Step 6: Know when to add a GPU
If you want larger models or faster answers, a graphics card with enough VRAM makes the biggest difference. See how much VRAM you need.
Tips
- Keep prompts short and clear.
- Some tools can use integrated graphics to help. Check the tool's settings.
- Do not expect a CPU-only PC to run large models comfortably.
More help
For general PC problems, see the PC repair guides home page. If the PC freezes while a model runs, see how to fix a PC that keeps freezing or hanging.
FAQ
Can a laptop without a GPU run AI? Yes, small models, with patience.
Does more RAM make it faster? Not directly. More RAM lets you run larger models. Faster, dual-channel RAM helps speed.
Is an NPU enough? Not for large local models. See what is an AI PC.