How to Run AI on Your Own Computer: A Beginner's Guide
When you use ChatGPT or Claude, your messages travel to the company's servers and the answer comes back. Local AI works differently: the model is a file on your computer, and everything happens on your own machine. Your prompts never leave it, it works offline, and there's no subscription or usage limit.
A few years ago this took serious technical skill. Today, free apps like Ollama and LM Studio make it a ten-minute job. This guide explains what you need, how to get started with either app, and which model to download first.
Is local AI right for you?
Local AI is a great fit when:
- Privacy matters โ you want to work with personal notes, client documents or code without sending them to anyone.
- You want no limits or bills โ use it as much as you like once the model is downloaded.
- You're often offline, or just curious how these models work.
The honest trade-off: the models a normal computer can run are smaller than the top cloud models. They're good at everyday writing, summarizing, brainstorming and simple coding, but they fall behind the best paid assistants on hard reasoning and specialist knowledge. Many people use both โ local for private tasks, cloud for the hardest ones.
What hardware do you need?
The key number is memory. The model has to fit into your computer's memory (RAM), or into your graphics card's memory if you have one, with room left for everything else you're running. Bigger models are smarter but need more memory.
| Model size | Example in Ollama | Download | Comfortable with |
|---|---|---|---|
| Small (around 4B parameters) | qwen3.5:4b | about 3โ4 GB | 8 GB of RAM |
| Medium (around 9B) | qwen3.5:9b, gemma4 | about 7โ10 GB | 16 GB of RAM |
| Large (26โ35B) | gemma4:26b, qwen3.5:27b | about 16โ22 GB | 32 GB of RAM, or a graphics card with 24 GB of memory |
| Very large (100B+) | qwen3.5:122b | 80 GB or more | A workstation or server |
A few rules of thumb:
- A graphics card makes it much faster. Ollama supports NVIDIA and AMD graphics cards, and Apple Silicon Macs (M-series) through Metal. Without one, small models still run on the processor โ just more slowly.
- Apple Silicon Macs are well suited, because their memory is shared between the processor and graphics, so a 16 GB Mac can use most of that for a model.
- Leave some disk space. Each model is a multi-gigabyte download, and you'll probably try a few.
Option 1: Ollama โ the simplest start
Ollama is a free app for Windows, macOS and Linux that downloads and runs models for you. It includes a simple chat window, and it also works from the command line.
- Install it from ollama.com. On Windows and Mac, run the installer like any other app.
- Start a model. Open the Ollama app and pick a model in the chat window, or open a terminal and type:
The first time, this downloads the model (a few gigabytes). Then you can type your message right away. If you have 16 GB of memory or more, tryollama run qwen3.5:4bollama run gemma4for a stronger medium-sized model. - Chat. Ask anything. In the terminal, type
/byeto leave.
Three more commands cover most needs:
ollama list # show the models you've downloaded
ollama ps # show which models are loaded right now
ollama rm qwen3.5:4b # delete a model to free up disk space
One thing to know: Ollama also offers cloud models, which run on Ollama's servers instead of your computer โ they have "cloud" in their name, and heavier use requires a paid plan. If privacy is your reason for going local, stick to models without "cloud" in the name. You can also switch cloud features off completely by setting the environment variable OLLAMA_NO_CLOUD=1.
For developers, Ollama runs a local API at http://localhost:11434, so your own scripts and apps can use the model.
Option 2: LM Studio โ point and click
LM Studio is a free desktop app โ including for work use โ with a friendly interface and no command line needed.
- Install LM Studio from lmstudio.ai.
- Find a model with the built-in model search. LM Studio shows how big each download is and warns you when one is likely too large for your machine.
- Download it, load it and chat in the app's chat window, much like ChatGPT.
LM Studio can also run a local server that speaks the same API format as OpenAI's, which makes it easy to point existing tools at your local model.
Ollama or LM Studio? Pick LM Studio if you prefer browsing and clicking; pick Ollama if you like a quick command or want to build on its API. Both are free, and you can install both.
Which model should you start with?
Model libraries change fast, but these families are well established and available in both apps:
- Qwen 3.5 (Alibaba) โ comes in many sizes, from tiny to huge, so it's easy to find one that fits your machine.
- Gemma 4 (Google) โ capable small and medium models that suit laptops.
- Mistral โ efficient models from the French lab Mistral AI, strong in European languages.
- Llama (Meta) โ the smaller Llama 3 models (for example
llama3.1:8b) run well at home. Meta's newest Llama 4 models are much larger, with over 100 billion parameters in total, so they're out of reach for most personal computers. - For coding, try a code-tuned model such as
qwen2.5-coder.
Start small. If the answers are too basic and your computer has room, move up a size. If it's too slow, move down.
Before you use a model for business, check its license on the model page. Licenses differ: Llama, for example, comes with Meta's own license terms rather than a standard open-source license.
Beyond chat: images and transcription
- Stable Diffusion generates images locally with no limits. It's more demanding than chat models, so a dedicated graphics card helps a lot. It's free for individuals and businesses earning under $1M a year. New to AI images? Start with our guide on generating images with AI for free.
- Whisper is OpenAI's open-source speech-to-text model. It transcribes recordings in 99 languages, entirely on your machine.
Local vs cloud at a glance
| Local AI | Cloud assistants | |
|---|---|---|
| Privacy | Prompts stay on your computer | Prompts go to the provider |
| Cost | Free after the download | Free plans with limits, or a subscription |
| Quality | Good for everyday tasks | Best for hard reasoning and specialist work |
| Speed | Depends on your hardware | Usually fast |
| Setup | A download and a few minutes | None |
| Internet | Not needed after the download | Required |
If something goes wrong
- Very slow answers usually mean the model is too big for your memory. Try a smaller size, and close memory-hungry apps like browsers with many tabs.
- The model won't load โ same cause. Check the download size against your free memory.
- Strange or repetitive answers are more common with very small models. Move up one size if you can.
Stay safe
- Download models from the apps' own libraries or well-known sources, not from random links.
- Keep the local server local. Ollama listens only on your own computer by default. Don't open its port (11434) to the internet unless you know how to secure it โ anyone who can reach it can use your machine's AI.
Want to compare all the options? See our list of the best open-source and self-hosted AI.
Tools in this guide
Ollama
Open-Source & Self-HostedRun open-weight LLMs locally on your own machine with one command.
LM Studio
Open-Source & Self-HostedDesktop app to discover and run local LLMs with a friendly UI.
Llama
Open-Source & Self-HostedMeta's open-weight family of language models.
Mistral
Open-Source & Self-HostedEfficient open-weight models from a leading European lab.
Stable Diffusion
AI ImageOpen-weight image generation you can run locally.
Whisper
AI AudioAccurate speech-to-text transcription.
Keep reading
The Best Free AI Tools โ and What the Free Plans Really Include
The best free AI tools in every category, from chat assistants and writing to images, audio, coding and automation โ with the limits and catches of each free plan.
How to Choose an AI Coding Assistant
GitHub Copilot, Cursor, Replit, Tabnine or a general assistant? Six questions that decide which AI coding tool fits the way you work โ and what it will really cost.
How to Generate Images with AI for Free
A beginner's step-by-step guide to free AI image generators: which tool to start with, how to write a prompt that works, and what free plans don't let you do.