Why is it slow?
Most slow setups have one of five causes, and you can tell them apart in about a minute. Answer the questions below in order and stop at the first one that matches.
The decision tree
- 1GPU used?
- 2All in VRAM?
- 3First token or every token?
- 4Huge context?
- 5Reasoning model?
Before you start, get a number. In Ollama, run the model with --verbose and it prints the speed after each answer. In LM Studio, the speed shows under each reply.
ollama run qwen3:8b --verboseThe eval rate line is your writing speed in tokensTokenA chunk of text, usually part of a word. Models read and write in tokens.Read more per second. The prompt eval rate line is how fast it read your prompt. Keep both numbers, you need them for question 3.
- Is the GPU being used at all? Watch the GPU while the model answers.
- No, it sits near idle and the CPU is busy. The runtimeRuntimeThe software that loads a model file and runs it.Read more fell back to the CPU. Go to Why is my GPU not being used?.
- Yes, go to question 2.
- Is the model spilling out of VRAMVRAMMemory on a graphics card. On a PC with a GPU, it is your model budget.Read more? Run
ollama psand read thePROCESSORcolumn, or check how many layers your runtime put on the GPU.- Yes, it shows a CPU and GPU split, or your Mac's memory pressure is yellow or red. Part of the model runs from slow system memory. Use a smaller quantizationQuantizationStoring each weight with fewer bits so the model takes less memory.Read more or a smaller context, see Why won't it load? and Which quantization should I download?.
- No, it says 100% GPU. Go to question 3.
- Is the wait before the first token, or is every token slow?
- Only the first token is slow, then text streams quickly. That is prefillPrefillThe phase where the model reads your prompt. Limited by compute.Read more, reading the prompt. Go to question 4.
- Every token is slow, even on a short prompt. Your hardware is at its limit for this model size. Read What makes a model fast?, then pick a smaller model from Which size of model do I need? or a mixture of expertsMixture of expertsA model split into experts, where only a few run for each token.Read more model from What is a mixture of experts model?.
- Is the context huge? Think pasted documents, a long chat, or a coding agent that sends your whole repository.
- Yes. Long prompts take long to read, and a big KV cacheKV cacheSaved work from earlier tokens, so the model does not reread the whole conversation for every new token.Read more slows every token after it. Trim the prompt or start a new chat. Settings that help are in How do I make it faster?, and the trade is in How much can the model keep in mind?.
- No, go to question 5.
- Is it a reasoning model thinking? Look for a "thinking" block, or a long pause before a short answer.
- Yes. The model writes hundreds or thousands of hidden tokens first. Turn thinking off or down for simple tasks, see What are reasoning models, and why are they slow?.
- No. Measure properly with How do I benchmark my own setup? and compare against How fast is fast?. If you are below the numbers for your hardware, start again at question 1 with a smaller model to rule out memory.
If any part of the model sits in system memory on a PC with a separate GPU, expect it to be several times slower. Fit it fully in VRAM first, then tune.
What counts as slow
Slow depends on the job. Chat feels fine at reading speed, which is about 7 to 15 tok/s. Coding tools and agents need much more.
| Use case | Speed | Scale | Why |
|---|---|---|---|
| Batch or overnight | under 10 tok/s is fine | Throughput per dollar matters more than latency. | |
| Reading-speed chat | 10 to 30 tok/s | Human reading is about 7 to 15 tok/s. 15 and up feels comfortable. | |
| Coding assistant | 30+ tok/s | Plus fast prefill. Large prompts need a quick time to first token. | |
| Agent loops | 50+ tok/s | Multi-step tool calls multiply token counts. Reasoning models emit thousands of thinking tokens. |
As of 27 Nov 2026
If your speed already clears the bar for your use, the problem is probably the first-token wait, not the writing speed. That is question 3 and 4.
A smaller model is the most reliable fix, and it is also a different model. It knows less and makes more mistakes. Try a smaller quantization of the same model first, and drop a class only if that is not enough.
Quick fixes that usually work
These are the changes that fix most cases, roughly in order of how often they help.
- Close other apps that use the GPU or lots of memory, such as browsers, games and video editors.
- Plug the laptop in. Many laptops cut GPU power on battery.
- Drop from Q8 to Q4. The file roughly halves and the speed nearly doubles, see What is quantization?.
- Lower the context length setting to what you actually use. A 128K setting reserves memory even when the chat is short.
- Update the runtime. Speed improvements for new models often land weeks after the model.
ollama psRun this while a model is loaded. If the PROCESSOR column says anything other than 100% GPU, you have found your answer.
Go deeperThat's enough
Why spilling hurts so much
Writing each token means reading every active weight once. A GPU reads its own VRAM many times faster than it can pull data from system memory over PCIe. If a third of the model sits in system memory, that third sets the pace for every token. Will the model fit in my memory? explains the split.
On a Mac, the GPU uses the same memory as everything else, so there is no spill as such. The equivalent is swapping to disk, which shows as red memory pressure in Activity Monitor and is even slower.
Why prefill and decode differ
Prefill reads the whole prompt in parallel, so it is limited by compute. DecodeDecodeThe phase where the model writes its answer one token at a time. Limited by memory bandwidth.Read more writes one token at a time, so it is limited by memory bandwidthMemory bandwidthHow fast data moves out of memory, in GB per second. It sets decode speed.Read more. A machine can be fast at one and slow at the other.
Macs, for example, decode well for their price but read long prompts more slowly than a desktop GPU. What happens when I press enter? walks through both phases.
Thermal throttling
Thin laptops slow down after a few minutes of full load as the chip heats up. If the first answer is fast and later ones get slower with the same prompt, heat is the likely cause. A desk fan or a cooling stand helps more than any setting. Which laptop is good for local AI? covers which machines hold their speed.