Ollama lets you run open AI models on your own machine with just a couple of terminal commands. Here is how to install it and start a private local chat, what hardware you will need, and where local models fit next to hosted tools. You do not need an API key for local use, and once a model is downloaded, the chat runs on your own computer. The setup takes minutes, but the hardware decision deserves more thought than the install itself.
What You Need
Ollama's quickstart gives one general step for all systems: download the app from its download page for macOS, Windows or Linux, then open it or use the terminal with the `ollama` command. Expect large downloads. The example model in the quickstart, gemma4:e2b, is about 7.2 GB.
Hardware matters more than the software. Ollama recommends about 8 GB of available VRAM, or unified memory on a Mac. If your GPU has less memory, Ollama can fall back to system RAM, but responses will be slower. Larger context windows also need more memory, so a model that handles short questions comfortably may struggle with long documents.
Step 1: Start Ollama
On a Mac, open the Ollama app. On Linux, if the server is not running, start it with `ollama serve`. Once the app or server is running, Ollama is ready to pull and run models.
Step 2: Pull and Run a Model
To download a model without starting a chat, use `ollama pull` followed by the model name. The quickstart uses gemma4:e2b as its example, so the command is `ollama pull gemma4:e2b`.
To download and chat in one step, use `ollama run gemma4:e2b`. The command fetches the model if it is not already on your machine and opens a local chat. Type /bye to exit. Ollama's model search page lists other models you can try.
Step 3: Choose a Model for Your Hardware
Bigger models usually give better answers, but they need more memory and run more slowly. A simple way to choose is to start with a small model, test it on a real task and move up only if the results fall short.
- With less than 8 GB of usable memory, pick a smaller model and expect slower responses if the model spills into system RAM.
- With about 8 GB or more, the quickstart's example model is a reasonable starting point.
- For long documents, test the model before relying on it, since bigger context windows need more memory.
Local Versus Cloud
Ollama also offers cloud models, which require signing in and an API key. Usage limits for those are described on a separate page. Local models are the simpler option for privacy and cost, because the model runs on hardware you already own, but they are limited by your machine.
Local models also do not replace every hosted tool. Hosted assistants often have larger models, more features and simpler setup. A local model is most useful for drafting, summarizing internal notes, and experimenting with prompts where keeping data on your own computer matters.
Practical Tips
- Test on a task you know well. Ask the model to summarize a document you have already read, then check the result against the original.
- Verify facts. Local models can be confidently wrong, as any AI tool can, so check names, numbers and quotes before using them.
- Keep the model updated. Newer versions often improve quality, so it is worth pulling again when a model you use is updated.
- Clean up unused models. Multi-gigabyte downloads add up quickly on a laptop, so remove the ones you no longer use.
When Responses Feel Slow
If a local model feels sluggish, the most common cause is memory. When GPU memory runs short, Ollama can fall back to system RAM, and responses slow down as a result. Closing memory-heavy applications, choosing a smaller model or keeping prompts shorter can all help. Long documents are another common culprit, because larger context windows need more memory, so splitting a long file into sections often works better than pasting the whole thing into one prompt.
Be realistic about what a small local model can do. It is well suited to summarizing, rewriting and brainstorming, but it may struggle with complex multi-step reasoning. For those tasks, a hosted model is often the better choice, and the local model is still useful for drafts and private notes.
Why It Matters
Running a model locally gives people more control over where their data goes and what it costs to use the tool each month. For individuals and small teams, that trade-off can make open models attractive for routine work, even if they are not the strongest option for the hardest problems.
The main limits are hardware and model quality. If your computer has little memory, a local model may feel slow, and a small model will not match the most capable hosted systems on difficult reasoning. The practical approach is to use local models for everyday work and keep hosted tools for tasks that need the extra capability.
Ollama's appeal is that it removes much of the setup that once made local AI hard. Install it, pull a model that fits your machine and start with a task you already do every week.
