Can I run models without a GPU?
Yes. Every major runtimeRuntimeThe software that loads a model file and runs it.Read more runs models on the CPU alone. Small models are usable for chat. Anything bigger is slow, and long prompts are slower still.
What CPU-only feels like
A small model writes at roughly reading speed or a little below it. On a typical Windows laptop with no usable GPU, a 7B model manages single-digit tok/s. That is fine for a quick question and tiring for a long answer.
The wait before the first word is the bigger problem. Reading the prompt is compute-heavy, and a CPU has a small share of a GPU's compute.
A short question starts in a second or two. Pasting a long document can mean a wait of a minute or more.
The reason is bandwidth. A desktop with dual-channel DDR5 moves about 90 GB/s, roughly a tenth of a 24 GB graphics card. Each tokenTokenA chunk of text, usually part of a word. Models read and write in tokens.Read more reads the whole model, so the CPU writes about ten times more slowly. How do I judge a machine for local AI? has the sums.
Which models to pick
Pick small models and MoEMixture of expertsA model split into experts, where only a few run for each token.Read more models with few active parametersActive parametersThe parameters an MoE model actually uses per token. They decide its speed.Read more.
- Dense modelsDense modelA model where every parameter runs for every token.Read more up to about 4B for the best speed, such as Qwen3 4B or Phi-4-mini.
- Dense 7 to 8B if you can wait, such as Qwen3 8B.
- gpt-oss-20b if you have 32 GB of RAM. It reads only about 3.6B parametersParameterOne learned number inside a model. An 8B model has about eight billion of them.Read more per token, so it writes faster than a dense 8B while knowing more.
On a CPU, choose by active parameters, not total. A mixture of experts model with a few billion active parameters is the best deal on a machine with lots of RAM and no GPU.
ollama run qwen3:4bOllama uses the CPU when it finds no supported GPU. Run your first model on Windows without a graphics card walks through the setup on Windows.
CPU-only rules out agents and coding assistants for most people. They send long prompts and need fast replies, and a CPU does neither well. Stick to chat, summaries and short rewrites.
NPUs
An NPU is a small, power-efficient AI chip built into most recent laptop processors. Intel Core Ultra, AMD Ryzen AI, Qualcomm Snapdragon X and Apple's Neural Engine all have one. Microsoft's Copilot+ PC label requires an NPU of at least 40 TOPS.
The catch is software. The mainstream local AI runtimes, llama.cpp, Ollama, LM Studio and MLXMLXApple's machine learning framework for Apple silicon.Read more, run models on the GPU or CPU, not the NPU. So for running a chat model with the tools in this guide, the NPU sits idle.
What does use them:
- Operating system features such as background blur, live captions and on-device assistants.
- Vendor toolkits: Intel's OpenVINO, AMD's Ryzen AI software, Qualcomm's AI Hub and Apple's Core ML.
- Some apps built on those toolkits, often with a short list of supported models.
NPUs are built for low power, not peak speed. Even where they work, a laptop's integrated GPU often writes tokens as fast, because both read the same memory at the same bandwidth. We would not pay extra for an NPU for local AI today.
When a cheap GPU beats more RAM
If you have a desktop, a used 12 GB graphics card is usually a better upgrade than doubling your RAM.
More RAM
Lets bigger models load. They run at the same slow CPU bandwidth, so a model twice the size writes half as fast. Cheap, and helps most for MoE models.
A cheap GPU
An RTX 3060 12 GB reads memory at 360 GB/s, about four times dual-channel DDR5. Models that fit run several times faster, and prompts are read many times faster.
More RAM wins in one case: you want to run a large MoE such as gpt-oss-120b and can accept slow answers. With 128 GB of RAM it loads, and the few active parameters keep it at a tolerable speed. Add even a modest GPU for the shared layers and it gets much better. Which NVIDIA card should I get? covers that split.
Laptops cannot take a GPU, and most cannot take more RAM. If yours is CPU-only, the upgrade is a new machine or a desktop you reach over the network. See Which laptop is good for local AI? and How do I share one model with my household or office?.
Go deeperThat's enough
Threads and memory channels
CPU inference is limited by memory, not cores. Past a point, adding threads does not help, because the cores are already waiting on memory.
Runtimes usually pick a sensible thread count. Setting it to the number of performance cores, not all logical cores, is a common fix if speed looks low.
Filling every memory channel matters more than the CPU model. One stick of RAM in a dual-channel board halves bandwidth. Workstation and server CPUs with eight or twelve channels run models far faster than a desktop chip for this reason.
Integrated GPUs
Most laptop processors have an integrated GPU that shares system memory. Vulkan-based runtimes can use it, which helps prefillPrefillThe phase where the model reads your prompt. Limited by compute.Read more more than decodeDecodeThe phase where the model writes its answer one token at a time. Limited by memory bandwidth.Read more, because both read the same memory. Apple silicon is the exception, with a wide memory bus that gives its integrated GPU real bandwidth, as Is a Mac good for local AI? explains.
Instruction sets
llama.cpp uses AVX2 and AVX-512 on x86 and NEON on ARM. Most CPUs from the last several years have what it needs. Very old processors without AVX2 run much more slowly.