Local AI: run AI models on your own hardware
Local AI means running language models on your own computer instead of a cloud service. Your prompts stay on your machine, it works offline and there is no per-message fee.
By Anjam Javed · Updated · How we pick hardware
Start here
- Step 1Ollama vs LM StudioWhich local AI app should you use?
Everything in this hub
Learn
Compare
Buy
What is local AI?
Local AI is running an AI model, most often a large language model (LLM) that writes and answers questions, on hardware you own. Instead of sending your prompt to a company's servers, the model loads into your computer's memory and generates the answer there.
The models are open-weight models that their makers allow anyone to download. They range from small models that run on a laptop to very large ones that need serious hardware.
Why run AI locally?
- Privacy. Prompts, documents and answers never leave your machine.
- Offline use. Once a model is downloaded, it works without an internet connection.
- No usage fees. You pay for the hardware and electricity, not per message.
- Control. You choose the model and its version, and it does not change underneath you.
The trade-off is capability. The largest cloud models are far bigger than what fits on home hardware, so local models suit focused tasks, private documents and experimenting more than replacing every cloud tool.
What you need
An app to run models
Apps such as Ollama and LM Studio download models, load them and let you chat. Both are free, and both can serve your models to other software through an OpenAI-style API. See Ollama vs LM Studio for which suits you.
Enough memory
Memory decides which models you can run. On a PC with a separate graphics card, the model should fit in the card's memory (VRAM) for good speed. Apple Silicon Macs and some newer PCs share one pool of memory between the processor and graphics, which lets them load larger models than a typical graphics card. Models can also be compressed (quantized) to use less memory, at some cost to quality.
A model that fits your task
Smaller models answer faster and fit on modest hardware; larger models are usually better at reasoning and writing. Coding, chat and document questions each have models that suit them.
Hardware options
- Your current PC or laptop: try small models first to see what you need before buying anything.
- A PC with a graphics card: the most common way to get fast results, limited by the card's VRAM.
- An Apple Silicon Mac: unified memory lets it hold larger models.
- A mini PC with a large shared-memory chip: a compact, quiet option for always-on use. See our Mini PC hub.