Run AI Locally on a Potato PC
In this article
Yes, you can run AI locally even on a low-end PC. The trick is to use small, quantized models and the right software that offloads work to your CPU, not just your GPU. You won't be running ChatGPT-scale models, but you can get a useful chatbot, text generator, or image captioning tool running on 8GB of RAM and a basic dual-core CPU. This guide walks you through the fastest, most reliable path.
What You'll Need
- A PC with at least 8GB of RAM (16GB is better, but 8GB works with the smallest models).
- Windows 10/11, macOS, or Linux. Steps below are for Windows, but the same tools work on other OSes.
- About 2–5GB of free disk space for the models.
- An internet connection for downloading the software and models (only needed once).
- No dedicated GPU required – CPU-only is fine.
Step-by-Step
- Install Ollama (the easiest runner). Go to
ollama.comand download the Windows installer. Run it and follow the prompts. Ollama is a command-line tool that downloads, runs, and manages small AI models. It works with CPU-only systems and automatically uses your RAM. - Open a terminal. Press
Win + R, typecmd, and press Enter. You'll use this to talk to Ollama. - Pull a small model. Type
ollama pull phi3and press Enter. This downloads Microsoft's Phi-3 mini model, which is about 2.2GB and runs well on 8GB RAM. Wait for it to finish. If you have less than 8GB RAM, useollama pull tinyllamainstead (about 1GB). - Run the model. Type
ollama run phi3(ortinyllama) and press Enter. You'll see a>>>prompt. Type a question like “Explain gravity in one sentence” and press Enter. The model will generate a response. It may take a few seconds per word on a potato PC – that's normal. - Exit the chat. Type
/byeand press Enter to close the session. - Use a nicer interface (optional but recommended). Download and install Open WebUI (formerly Ollama WebUI) by following the instructions at
github.com/open-webui/open-webui. This gives you a ChatGPT-like browser interface. It runs as a local server on your PC. After installing, open your browser and go tohttp://localhost:3000to chat. - Try other small models. Once you're comfortable, pull
llama3.2(3B, about 2GB) orgemma2(2B, about 1.6GB) withollama pull llama3.2and run them the same way. Stick to models with 3 billion parameters or fewer – anything larger will be painfully slow on a potato PC.
Common Mistakes
- Downloading a huge model. Models like
llama3.1:8bormistralare 4–8GB and will either crash or take minutes per response on low-end hardware. Always check the size before pulling. - Expecting GPU speed. On CPU-only, responses can take 10–30 seconds for a short paragraph. That's normal. Don't assume it's frozen.
- Running out of RAM. If you have other programs open (browser with many tabs, etc.), the model may fail to load. Close unnecessary apps before starting.
- Using the wrong command. Typing
ollama runwithout a model name will just show help. Always specify the model name. - Ignoring the terminal output. Ollama prints errors like “not enough memory” or “model not found”. Read them – they tell you exactly what's wrong.
Tips
- Use quantized models. Ollama automatically downloads the most efficient version (usually Q4_K_M). Don't try to manually download GGUF files – that's more complex and error-prone.
- Close everything else. For best performance, shut down your browser and other apps before running the model. This frees up RAM and CPU.
- Set a longer timeout. If the model stops responding, wait at least 60 seconds before thinking it's hung. CPU inference is slow.
- Use the web UI for convenience. The terminal chat works, but Open WebUI gives you a history, copy buttons, and a nicer layout. It's worth the extra setup.
- Try the 1B models first. If even
phi3is too slow, pulltinyllama(1.1B) – it's much faster and still coherent for simple tasks.
Troubleshooting
“Model not found” or “pull failed” – Check your internet connection and try again. If it persists, run ollama pull phi3 --insecure (rarely needed). Make sure you typed the model name correctly.
“Not enough memory” – Close all other applications. If you still get this, try a smaller model like tinyllama. Also check your RAM usage in Task Manager (Ctrl+Shift+Esc) – if it's above 90% before you start, you need to free up space.
Response is extremely slow (minutes per word) – This is common on very old CPUs. Try a 1B model. Also ensure your power settings are set to “High Performance” in Windows (Settings > System > Power & sleep > Additional power settings).
Ollama won't install or run – Make sure you have the latest Windows updates and .NET Framework 4.8+ installed. Reboot after installation. If it still fails, download the portable version from the GitHub releases page and run it manually.
Open WebUI doesn't connect – Ensure Ollama is running in the background (type ollama serve in a terminal if it isn't). Then check that you're using the correct URL (http://localhost:3000). If the port is busy, change it in the Open WebUI settings.
Model loads but gives gibberish – This usually means you're using a model that's too large for your RAM. Switch to a smaller one. Also try restarting the Ollama process (ollama stop then ollama run again).
Frequently Asked Questions
Can I run a model without a GPU?
Yes. Ollama and other CPU-based runners work entirely on your processor. It will be slow, but it runs.
How much RAM do I really need?
8GB is the minimum for a 3B model. 4GB might work with a 1B model, but it's risky. 16GB is comfortable for 3B models.
Is it safe to run AI locally?
Yes – the models are downloaded from official sources, and everything runs on your machine. No data leaves your PC.
Can I use a model for coding or writing?
Small models like Phi-3 can help with simple code snippets and short text. They're not as capable as large models, but they work.
Will this work on a Raspberry Pi?
Ollama has an ARM build, but a Pi's 8GB RAM and weak CPU will be very slow. It's technically possible but not recommended.
Can I run image generation locally?
Not on a potato PC. Stable Diffusion requires a GPU with at least 4GB VRAM. Stick to text models.