Start by identifying whether the delay is model loading, the first response, or token generation, then check where the model actually runs and what the logs report. For Ollama and LocalAI, the remedies differ by cause: reducing context can lower memory use, while an SSD may help model loading but will not generally speed up token generation. Record your setup and change one setting at a time.
What to record before changing settings
Write down these details so you can connect a symptom to a cause instead of making several changes at once:
| # | Preview | Product | Price | |
|---|---|---|---|---|
| 1 |
|
MINISFORUM MS-02 Ultra Workstation Mini PC, Intel Core Ultra 9 285HX (24C/24T, up to 5.5GHz), PCIe... | $1,659.00 | Buy on Amazon |
| 2 |
|
GMKtec EVO-X2 AI Mini PC Ryzen Al Max+ 395 Superchip 128GB LPDDR5X 2TB SSD | $3,649.99 | Buy on Amazon |
As an Amazon Associate I earn from qualifying purchases.
- Operating system and local AI runtime, including its version.
- Model name and quantization, if known.
- Configured context length.
- Available system RAM and GPU memory.
- Whether the problem is slow model loading, a slow first response, slow token generation, or memory that grows during a session.
- The exact error message and relevant log output.
Commands, defaults, and configuration options vary by runtime and release. The Ollama-specific checks below apply to Ollama; LocalAI flags and log guidance apply to LocalAI. Confirm the current official instructions for your own runtime and version rather than assuming these settings transfer to LM Studio, llama.cpp, or another tool.
Check where the model actually loaded
A configured GPU or an installed GPU does not prove that inference is using it. Confirm placement before changing model settings or drivers.
#1 Best Overall
- High-Performance AI Processor:The MS-02 Ultra features an Intel Core Ultra 9 285HX (24C/24T, up to 5.5 GHz, 13 TOPS NPU), delivering fast and efficient performance for AI inference, algorithm development, and media workloads. A PCIe x16 expansion slot supports desktop-class GPU upgrades for advanced model training and accelerated computing tasks. It's ideal for creators, engineers, and teams handling intensive parallel workloads.
- 4 × M.2 PCIe 4.0 + 4 × DDR5 SODIMM slots:Four DDR5 SODIMM slots support up to 256 GB of memory, while ECC helps maintain data integrity in mission-critical environments. Four PCIe 4.0 M.2 slots support up to 24 TB of storage, supporting RAID 0/1/5/10, combining high-speed performance with data protection. It allows for the creation of independent scratch disks, media libraries, and project drives, providing high-throughput for production workflows.
- PCIe & USB 4.0 v2: Up to three PCIe slots can be equipped, including a dual-slot x16 GPU. The main slot supports PCIe 5.0, meeting the needs of high-bandwidth creative and computing workloads. USB 4.0 v2 (80Gbps) supports high-bandwidth external storage and displays.
- Ultra-fast Networking: Wi-Fi 7 further enhances wireless performance with next-generation speeds and low-latency stability. Intelligent bandwidth switching optimizes throughput in different network environments, ensuring optimal performance for enterprise or local networks. Dual 25GbE ports (providing up to approximately 3.125 GB/s bandwidth, about 25 times faster than traditional 1GbE), enabling seamless large-scale file transfers and parallel computing. 10GbE and 2.5GbE ports, with support for Intel vPro technology, ensure enterprise-grade remote management and deployment flexibility.
- Server-grade thermal architecture: Utilizing a dedicated CPU/GPU airflow design, equipped with a 6-pipe dual-fan cooler, it maintains stable performance even under sustained loads, delivering up to 140W Turbo power while maintaining a 100W TDP, and operating with noise levels as low as 36 dB. An integrated 350W power supply ensures stable and reliable output for demanding computing tasks and fully loaded extended configurations.
Ollama: inspect the processor split
Run ollama ps and check the PROCESSOR column. Ollama documents output such as 100% GPU, 100% CPU, or a split between CPU and GPU; the output also reports context allocation. A CPU or split result can explain why performance differs from what you expected. See Ollama’s FAQ for the documented placement check.
LocalAI: verify offload in backend logs
Check LocalAI’s server and backend logs to confirm whether layers were offloaded to the GPU. Its troubleshooting guide recommends debug output when diagnosing performance; logs can expose backend output, load parameters, and per-token timing. A generic HTTP 500 alone does not identify the cause. See LocalAI’s troubleshooting and performance guidance.
Could context length be driving memory use?
Context length is the maximum number of tokens a model can access in memory. Ollama notes that increasing it also increases memory requirements. If memory pressure is the problem, test a smaller context setting and check whether the workload still has enough room for the conversation or prompt you need. Ollama’s context-length documentation explains its behavior.
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchOllama’s live documentation lists context defaults by VRAM tier, while its FAQ separately describes a 4096-token default and ways to change it. Those pages do not establish one timeless default for every Ollama version and configuration. Check the documentation for your installed release and the method you use to set context; do not treat a documented default as a universal hardware requirement or ideal setting.
What to do when GPU memory is full
If LocalAI logs identify a GPU out-of-memory failure, its troubleshooting guide attributes it to the model plus its KV cache not fitting in GPU memory. Try one relevant adjustment at a time, then retry and inspect the logs:
Rank #2
- EVOLUTION RYZEN AI MAX+ 395 MINI PC - GMKtec EVO-X2 is the next evolution in AI mini PC Ryzen Strix Halo series. Thanks to AMD Simultaneous Multithreading (SMT) the core-count is effectively doubled, to 32 threads. Ryzen AI Max+ 395 has 64 MB of L3 cache and can boost up to 5.1 GHz, depending on the workload. The Ryzen AI Max+ 395 is currently rated as the "most powerful x86 APU" on the market for AI computing.
- AI NPU with XDNA 2 ARCHITECTURE - Powered by 16 “Zen 5” CPU cores, 50+ peak AI TOPS XDNA 2 NPU and a truly massive integrated GPU driven by 40 AMD RDNA 3.5 CUs, the Ryzen AI MAX+ 395 is a transformative upgrade and delivers a significant performance boost over the competition. The Ryzen AI Max+ 395 excels in consumer AI workloads like the llama.cpp-powered application: LM Studio. Shaping up to be the must-have app for client LLM workloads, LM Studio allows users to locally run the latest language model without any technical knowledge required and unleash their creativity and productivity.
- AMD RADEON 8090S iGPU GAMING PC - The AMD Radeon RX 8060S offers all 40 CUs with up to 2.9 GHz graphics clock and uses the new RDNA 3.5 architecture. The powerful iGPU is positioned between an RTX 4060 and 4070 laptop GPU and therefore enables gaming in FHD at maximum details in most demanding games. The 8060S can also utilize the full 128GB pool, which is perfect for running LLMs such as Deepseek 70B Q8, which runs comfortably on this machine.
- EIGHT CHANNEL LPDDR5X - LPDDR5X is a new ground breaking memory small form factor installed on-board. With blazing speeds up to to 8000MT/s, it runs 1.5x faster than the DDR5 SODIMMs; 90% better performance over DDR5 SODIMMs in video conferencing and photo editing; 30% better performance in productivity apps; 12% better performance in digital content workloads.
- QUAD SCREEN 8K DISPLAY SUPPORT - EVO-X2 AI Mini PC support 4-screen 4K/8K output via HDMI 2.1 (8K@60Hz), DisplayPort 1.4 (4K@60Hz), and dual USB 4 40Gbps Transfer speed (supporting PD3.0/DP1.4/DATA). Ideal for gaming, video editing, and multitasking, it provides expansive and crisp multi-display support.
- Use a smaller quantization. This can reduce memory demand, but changes model representation and may affect precision.
- Lower
context_size. This reduces the context available to the model, so prompts or conversations may need to be shorter. - Reduce
gpu_layers. This can make more of the model fit in GPU memory, but changes how much work is offloaded to the GPU. - Free GPU memory. Close or stop other processes using VRAM, then check whether the model loads.
These are LocalAI configuration examples, not universal flags. Consult the guide for the relevant backend and version: LocalAI advanced troubleshooting.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.If a GPU should be in use but is not
First establish that the runtime can see the device. Ollama’s GPU troubleshooting instructions are platform-specific: for Linux with NVIDIA, they include checking container GPU access, the UVM driver, and installed NVIDIA drivers; for AMD, they discuss access permissions for /dev/kfd and driver compatibility. Use the instructions for your operating system and hardware rather than blindly reinstalling drivers. See Ollama’s GPU troubleshooting documentation.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →For LocalAI, verify GPU offload in the backend logs and confirm that the selected backend supports the configuration you are using. Its performance guidance also warns against overbooking CPU threads and says to match --threads to physical cores ideally. Treat that as a LocalAI-specific starting point, not a universal setting; confirm how your backend and version handle threads before changing the flag.
Is the problem model loading or token generation?
Separate time spent reading model files from time spent generating output. LocalAI advises against storing models on an HDD and recommends an SSD. That can help when storage or model loading is the bottleneck; it is not evidence that an SSD will fix high inference memory use or make token generation generally faster. LocalAI’s debug timing can help distinguish these stages.
A controlled troubleshooting sequence
- Record the setup and symptom. Note the runtime and version, model and quantization, context setting, RAM and GPU memory, delay type, and exact error.
- Inspect placement and logs. In Ollama, run
ollama ps; in LocalAI, inspect server and backend logs for offload, load parameters, errors, and timing. - Test context if memory is tight. Reduce the context setting cautiously, using the setting appropriate to your runtime, and retry the same workload.
- Address confirmed GPU memory failures. For LocalAI, test smaller quantization, lower
context_size, fewergpu_layers, or freed VRAM individually. - Check device visibility and workload configuration. Follow platform-specific GPU diagnostics; for LocalAI, also examine backend offload and CPU thread use.
- Investigate storage only for loading delays. If model files are on an HDD and loading is slow, moving them to an SSD may help. Recheck logs and timing after each change.
No single setting is established as optimal for every computer, model, runtime, or workload. Keep the change that resolves the identified bottleneck without making your needed context or output quality unacceptable.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.




