Ollama: How to Run AI on Your Computer (Free and Offline)
Skillpedia team · updated 2026-12-01 · 11 min read
Short answer: Ollama is a free program that runs AI models directly on your computer, with no internet and no pay-per-use fees. You install it from the official website, type a command like ollama run llama3.2, and you can start chatting. What sets the quality and speed is your computer's memory. With 8 GB of RAM, you can already test small models.
If you use Claude or ChatGPT every day, you probably know two pain points: the usage limit that runs out at the worst moment, and the doubt about sending sensitive documents to a server somewhere else. Local AI solves both. The model runs on your computer, and your client contract, the finance spreadsheet, or your personal journal never leave the machine.
Ollama is the simplest way to get started. This guide explains what it is, whether your computer can handle it, how to install it, which models to download, and how to connect this local AI to MCP servers and skills from Skillpedia. It also covers the limits, so you don't expect more than it can deliver.
Table of contents
- What is Ollama?
- What your computer needs
- How to install it on Windows, Mac, and Linux
- Downloading and running your first model
- Which models to choose in Ollama
- Ollama with MCP and skills: local AI that uses tools
- Limits of local AI vs Claude and ChatGPT
- Skills that help with this
- Frequently asked questions
What is Ollama?
Ollama is an open-source program that downloads, organizes, and runs AI models on your own computer. Think of it as a music player. Ollama is the player, and the models are the songs. You choose which one you want to listen to, download it once, and play it as many times as you like, even without internet.
These models are open, meaning the companies that created them released the files for anyone to use. In the Ollama library, you'll find well-known families: Llama (from Meta), Gemma (from Google), Qwen (from Alibaba), Mistral, Phi (from Microsoft), and DeepSeek, among others.
Ollama does three things for you:
- Downloads the right model with a single command, so you don't have to hunt for files online.
- Runs the model using your graphics card, if you have one, or your processor.
- Opens a local server at the address
http://localhost:11434. Other programs, like code editors and chat apps, connect there to use the AI.
That third point is what makes Ollama so useful. It's not just for chatting in the terminal. It becomes the AI engine for other apps. If you want to compare open models at your own pace, check our guide to the best open-source and local AI.
What your computer needs
Local AI uses a lot of memory. Before installing, check how much RAM your computer has. On Windows, go to Settings > System > About. On a Mac, click the Apple menu > About This Mac.
Here's a practical rule, which Ollama's own documentation uses as a reference:
| RAM | What runs well |
|---|---|
| 8 GB | Small models, up to about 7 billion parameters |
| 16 GB | Medium models, in the 13 billion range |
| 32 GB or more | Larger models, closer to the quality of paid AIs |
Other factors that matter:
- Graphics card: makes everything much faster. NVIDIA cards have the best support. Some AMD cards also work.
- Mac with Apple chip (M1 and newer): runs very well, because memory is shared between the processor and the graphics. A MacBook Air with 16 GB can handle quite a lot.
- No graphics card: it works, just more slowly. The answer appears word by word, at its own pace.
- Disk space: small models take up about 2 GB. Medium ones take between 4 and 10 GB. Large ones go over tens of GB.
If your laptop is basic, don't give up. Start with a small model and see whether it meets your needs.
How to install it on Windows, Mac, and Linux
The installation is similar to any other program. Always download from the official website, ollama.com.
Windows
- Go to ollama.com and click Download.
- Choose Windows and download the installer.
- Open the file and follow the steps.
- Ollama runs in the background. You'll see its icon near the clock.
Mac
- Download the macOS version from the website.
- Open the file and drag Ollama into the Applications folder.
- Open the app once. It will ask for permission to install the terminal command.
Linux
Open the terminal and run the installation command shown on the website:
curl -fsSL https://ollama.com/install.sh | sh
Checking that it worked
Open the terminal (on Windows, search for PowerShell or Command Prompt) and type:
ollama --version
If a version number appears, you're all set. The latest versions for Windows and Mac also include a simple chat window, for people who would rather not use the terminal. If yours doesn't have one, the terminal handles everything, and it's easier than it sounds.
Downloading and running your first model
With Ollama installed, type this in the terminal:
ollama run llama3.2
The first time, it downloads the model, which is about 2 GB. Then a box appears where you can type. That's it, you're chatting with an AI that runs entirely on your computer.
Try something from your day: paste a long email and ask for a summary in three bullet points. Or ask for caption ideas for your shop's post. To exit the chat, type /bye.
Commands you'll use all the time:
| Command | What it does |
|---|---|
ollama run name |
Downloads (if needed) and opens the chat |
ollama pull name |
Only downloads the model |
ollama list |
Shows the models you already have |
ollama ps |
Shows which ones are loaded right now |
ollama rm name |
Deletes a model and frees up space |
Once the download is done, turn off your Wi-Fi and test again. It will work the same way. This is the coolest part of using local AI.
Which models to choose in Ollama
The model library is at ollama.com, in the models section. New versions come out all the time, so exact names change. Check there before you download.
One detail that confuses people is the number in the name. In qwen2.5:7b, the 7b means 7 billion parameters. The bigger that number, the smarter the model and the more memory it needs.
A quick guide by family:
- Llama (Meta): good for getting started. The small versions run on almost any computer.
- Gemma (Google): lightweight and good at everyday text.
- Qwen (Alibaba): often does well at programming and in many languages, including Portuguese.
- Mistral: balanced, popular for conversation and summaries.
- DeepSeek-R1: the smaller versions available in Ollama "think" before they answer. They're good at logic and math, but slower.
- Phi (Microsoft): small and fast, good for modest machines.
My suggestion: download two or three small models and ask all of them the same question in Portuguese. In ten minutes, you'll find out which one speaks your language best and fits your computer. For an overview that includes paid models, see the best AI models.
5 new skills a week. 1 minute to read.
The most viewed skills of the week, explained simply. Free.
Ollama with MCP and skills: local AI that uses tools
Chatting is only the beginning. What turns an AI into a real assistant is its ability to use tools, like reading files, querying a spreadsheet, or remembering what you said last week. That's where MCP and skills come in.
MCP: the tools
MCP is a standard that connects AI to external tools. Each MCP server gives the model a new capability.
Here's the important point: Ollama runs the model, but it doesn't connect to MCP on its own. You need a program in the middle, called a client, that speaks MCP and accepts Ollama as its engine. Many chat apps, code editors, and VS Code extensions let you choose Ollama as the provider, using the local server on port 11434.
Two things to watch out for:
- Choose a model that supports tools. In the Ollama library, look for the tools tag on the model's page. Without it, the model can't call MCP.
- Start with a few tools. Small models get confused when they receive ten options at once. Two or three servers work better.
MCP servers from our directory that go well with local AI, because they also run on your machine:
- MCP Local RAG: lets the AI search for answers in your own documents, without sending them to the cloud.
- SuperLocalMemory: gives the model long-term memory, stored on your computer.
- DuckDB / MotherDuck Local MCP Server: lets you ask questions of local spreadsheets and databases.
Skills: the instruction manual
A skill is a text file, the SKILL.md, that teaches the AI to do a specific task the right way. Because it's just text, it works with any model, including local ones. If the app you use with Ollama supports skills, it reads the file on its own. If it doesn't, you can paste the skill's content at the start of the conversation.
Skillpedia has over 15,000 skills and a free skills API for pulling the SKILL.md straight into your app. Learn more about the format in Agent Skills: the open standard.
A tip: short skills work better with local models. They have a smaller conversation memory, and a ten-page manual takes up too much space.
Limits of local AI vs Claude and ChatGPT
To be honest: a model that fits on your laptop isn't as powerful as Claude or ChatGPT, which run on huge servers.
| Ollama (local) | Claude and ChatGPT | |
|---|---|---|
| Cost | Free, no pay-per-use fees | Limited free plan or subscription |
| Privacy | Nothing leaves your computer | Your data goes to the company |
| Internet | Works offline | Requires a connection |
| Quality | Good for simple tasks | Better for complex tasks |
| Speed | Depends on your hardware | Usually fast |
| Long texts | Reads less at once | Reads much larger documents |
In practice, Ollama shines at:
- summarizing, rewriting, and translating text;
- working with documents you can't send outside;
- testing ideas without using up your limit;
- using it while traveling or with a poor connection.
And it falls behind at:
- programming large projects;
- reasoning through multiple steps;
- very long texts in polished Portuguese.
The best approach is usually to use both. Local AI handles the repetitive and sensitive work, and the paid AI takes on what needs more brainpower. This also helps you avoid running through tokens, which is what limits your usage on paid AIs.
Skills that help with this
These catalog skills fit people setting up a local AI environment:
- docker-patterns: helps your agent build and review Docker configurations. It's useful if you want to run Ollama in a container, alongside other services, in an organized way.
- caveman-explore: has the agent find the relevant code in a project by returning only the files and lines. This saves the limited memory of local models.
- setup-gbrain: guides the setup of a memory for agents, with a local database option. It fits people who want everything inside their own machine.
- pinggy-tunnel: creates a temporary public address for an app running on your computer. It's handy for showing a prototype to someone. Just don't expose Ollama itself this way, because anyone with the link could use it.
- html-ppt-obsidian-claude-gradient: builds a presentation on AI adoption in companies, covering local agents, risks, and return on investment. It's good for convincing your boss to try local AI.
Frequently asked questions
Is Ollama really free? Yes. The program is open source and doesn't charge per use. The models in the library are also open. The only cost is your computer and electricity.
Does Ollama work without internet? It does. You only need internet to install it and to download each model. After that, your conversations run fully offline.
Can my laptop with 8 GB of RAM run Ollama? It can run small models, like the smaller versions of Llama, Gemma, or Phi. Close your browser and other heavy programs to free up memory. Large models will freeze or become far too slow.
Do Ollama models speak Portuguese? Most of them understand and reply in Portuguese, but small models can sound stiff or make grammar mistakes. Test a few and keep the one that answers best. Qwen and Llama usually do well.
Can I use Ollama instead of Claude or ChatGPT? For simple tasks and confidential data, yes. For programming large projects or reasoning through multiple steps, paid AIs are still much better. The most practical option is to combine both.
Related reading
- Best open-source and local AI model: compare the open models you can run on Ollama.
- Best AI models in 2026: learn which model to use for each task, paid and free.
- What is MCP: understand how AI connects to tools, explained simply.
- What are tokens in AI: find out why the limit on paid AIs runs out so fast.
- Best free AIs: see other no-cost options, beyond local AI.
Free MCP
Give your AI 15,000+ skills, for free
Plug the Skillpedia MCP into Claude, Cursor, Codex or any AI. Before each task, it finds the right skill on its own.
- 01Get your free key
- 02Paste one line into your AI
- 03Ask for any task
Full guide on this topic: Best AI Models in 2026: Which One to Use for Each Task
5 new skills a week. 1 minute to read.
The most viewed skills of the week, explained simply. Free.