Start a short new chat, check whether the model is using the CPU or GPU, and watch memory pressure while it answers. Then separate slow loading, a long wait for the first token, slow generation and a slowdown that develops during use. Those symptoms need different checks.
A model or context that exceeds the fastest available memory pool can cause slowdowns. Compare a smaller model or shorter context under the same conditions before changing drivers or buying hardware. Use the GPU checks when the expected acceleration is missing, or the memory diagnostic when the machine starts swapping.
| What feels slow | What it usually points to | First check |
|---|---|---|
| Model startup | Storage speed, loading, conversion, or memory pressure | Time a second load after a clean restart |
| Delay before the first token | Prompt processing, long context, model size, or cold start | Test a new short chat |
| Low tokens per second | CPU-only execution, poor GPU offload, oversized model, or backend limits | Confirm the active backend and GPU use |
| Speed degrades during a long chat | Context growth, swapping, or thermal pressure | Start a fresh chat and compare |
| The whole machine becomes slow | Memory exhaustion and operating-system swapping | Watch memory pressure while generating |
| Speed drops after several minutes | Thermal throttling or sustained power limits | Compare a cold run with a later run |
- Run one short prompt in a new chat. This separates context growth from base-model speed.
- Confirm the model is running on the GPU. Use the checks in the next section.
- Try a smaller model. Move down a model class and compare before adjusting sampling controls.
- Reduce context length. Long system prompts, chat history, and retrieved passages increase prompt-processing work and memory demand.
- Close competing applications. Games, browsers, virtual machines, video tools, and other AI processes can consume memory and compute.
- Restart and compare a cold run with a sustained run. A large difference can point to thermal or retained-process problems.
The installed backend, driver, runtime build, model format, and offload settings all matter.
Ollama. While a prompt is generating, run ollama ps in a second window. The PROCESSOR column shows 100% GPU, 100% CPU or a split such as 48%/52% CPU/GPU, and the CONTEXT column shows how much context Ollama allocated. Anything other than 100% GPU on a computer with a supported GPU means part of the model is running from system memory. The GPU not detected guide explains what to do next.
LM Studio. Read the load log and the GPU offload setting in the model's load settings. To see a memory estimate without loading the model, run lms load "MODEL_KEY" --context-length 4096 --estimate-only in a terminal, replacing MODEL_KEY with the key shown by lms ls.
Any app. On Windows, open Task Manager, choose Performance, select the GPU the app uses, and watch Dedicated GPU memory while the model generates. On a Mac, open Activity Monitor, choose Memory, and watch Memory Pressure. If the GPU stays idle and the CPU is fully busy, fix the GPU setup before blaming the model.
On Apple Silicon, confirm that the native Apple acceleration path is active and that the process is not under sustained memory pressure. Unified memory still has a bandwidth and capacity limit.
Larger dense models generally require more work per generated token. Mixture-of-experts models can have a large total parameter count with a smaller active set, but memory and runtime behavior still depend on the exact architecture and implementation.
Compare exact artifacts, not family names. Quantization, format, active parameters, and runtime support can change both speed and memory use.
A long conversation requires the model to process more tokens before producing the next response. Document retrieval can insert large passages into the prompt. Agent tools can add schemas, logs, and repeated history.
Test a blank chat with a short prompt. If it is fast, then gradually add the system prompt, context target, documents, and tools until the slowdown returns. That identifies the layer creating the cost.
A model can run while constantly moving data between GPU memory and system RAM or between RAM and disk. This often produces an experience that is far worse than the successful launch suggests.
Watch for:
- high system-memory pressure;
- dedicated GPU memory at or near its limit;
- growing shared-GPU-memory use;
- heavy disk activity during generation;
- pauses that get worse as the chat grows.
The fix is a smaller model, shorter context, or more suitable hardware—not a cosmetic interface change.
CPU inference is useful for small models, learning, offline experiments, and machines without a supported GPU. It can also be too slow for the intended daily workflow even when the model fits in RAM.
Use a small model first. If that remains too slow, adding RAM alone will not solve the compute bottleneck. A supported GPU or higher-bandwidth Apple Silicon machine changes the experience more materially.
Laptops and compact systems can reduce sustained performance as they heat up. Battery mode, quiet mode, power limits, blocked cooling, and background work can all matter.
Compare a short cold run with a later run under the same prompt and model. If speed degrades over time while memory use is stable, check thermals and power settings before changing the model configuration.
The model starts within a tolerable time, produces the first token without an unexplained delay, generates at a pace suitable for the task, and does not make the rest of the machine unusable. Long chats and document workflows should remain stable at the context size you actually need.
Time two requests after recording the model, context and placement. If only the first is slow, isolate load time. If a long prompt delays the first token, measure prompt processing. If successive tokens remain slow on both prompts, inspect offload, swapping and power mode. Compare the same input on a smaller file only after identifying which part is slow.
Recheck what model class the machine can run, then use the model directory to choose a smaller task-appropriate model rather than changing five runtime settings at once.
