Octopi / Guides / Run AI locally on your Mac

Guide

How to run an AI model locally on your Mac

Yes — a Mac with Apple silicon can run a capable AI model entirely on the machine, with no per-message fees. Here is what you need, how much memory each model size takes, and two ways to set it up: by hand with the free Ollama tool, or with an app that does it for you.

Get Octopi free Jump to the steps Free · macOS 13+ on Apple silicon · no account needed

Why run an AI model locally?

A local model is a large language model (LLM) that runs on your own computer instead of a company’s servers. You download it once, and every answer is worked out on your Mac.

PRIVACY

Your words stay on your Mac

What you ask and paste is processed on your own computer. No AI provider receives it or keeps it under its terms.

COST

No per-message fees

The software and many models are free to download, and using a model on your disk costs nothing extra.

CHOICE

The model you choose

You pick the model, the size and when to update — or keep several and compare them.

STABILITY

Nobody changes it under you

A model on your disk keeps working the same way if a provider changes its prices, terms or line-up.

The honest limits. Local models are smaller than the largest cloud models, so they are weaker at hard, multi-step reasoning and specialist knowledge. Your Mac’s chip and memory limit speed and model size, and a model can’t look anything up unless the app around it does. Compare the two in local AI vs cloud AI, or see what sovereign AI means for organizations.

What do you need to run a local LLM on a Mac?

APPLE SILICON

An M-series Mac

Any Mac with an Apple M1 chip or a later M-series chip. To check, choose Apple menu ▸ About This Mac: it shows your chip and memory.

UNIFIED MEMORY

Why these Macs work well

The processor and graphics chip share one pool of memory, so the graphics chip can use a loaded model directly. The catch: the model must fit alongside everything else you have open.

INTEL MACS

Not a good fit

Intel Macs lack unified memory, so local AI tools generally run models on the processor alone — much slower. Some apps, Octopi among them, support Apple silicon only.

DISK SPACE

Room for the download

Each model is one large download — from about 2 GB for a small model to 20 GB or more for a large one — plus some free space to spare.

How much memory do I need for a local LLM?

Memory matters most. A model’s size is counted in parameters (“7B” is about seven billion), and bigger models need more memory. A rough guide for the 4-bit versions most people run:

Your Mac’s memoryModel size that fits comfortablyDownload, roughly (4-bit)Example models
8 GBAround 3BAbout 2 GBQwen2.5 3B, Llama 3.2 3B
16 GB7B–8BAbout 4.5–5 GBQwen2.5 7B, Llama 3.1 8B, Mistral 7B
32 GBAround 14BAbout 9 GBQwen2.5 14B
64 GB or moreAround 32B and upAbout 20 GB for 32B; 40 GB or more for 70BQwen2.5 32B; 70B-class models such as Llama 3.1 70B on Macs with the most memory

A rough guide, not a guarantee. Leave headroom: macOS and your other apps need memory too, and a long conversation or document uses more. Between two rows? Use the lower one.

What is quantization?

A model is mostly a huge list of numbers called weights. Quantization stores each weight with fewer bits — commonly 4 — so the file shrinks to a fraction of its published size and fits in a laptop’s memory. The price is a modest drop in quality, usually a good trade on your own machine. Labels such as “4-bit” or “Q4” mark these versions, and Ollama’s standard downloads are usually 4-bit already.

Option 1: do it yourself with Ollama

Ollama is a free, open-source tool that downloads models and runs them on your Mac, from Terminal or for apps that connect to it.

STEP 1

Install Ollama

Download Ollama for macOS from ollama.com, move it to your Applications folder and open it. It runs in the background, with an icon in the menu bar, and adds the ollama command to Terminal.

STEP 2

Run a model

Open Terminal and type ollama run qwen2.5:7b. The first time, this downloads the model — about 4.7 GB — and then opens a chat prompt. Later runs start from the copy on your disk.

STEP 3

Chat, then tidy up

Type a question and press Return; the answer appears as it is written. Type /bye to leave. Use the commands below to list, add and remove models.

CommandWhat it does
ollama run qwen2.5:7bDownloads the model if needed, then starts a chat in Terminal
ollama pull llama3.1:8bDownloads a model without starting a chat
ollama listLists the models on your Mac and their sizes
ollama psShows which models are loaded in memory right now
ollama rm qwen2.5:7bDeletes a model and frees its disk space
/byeLeaves the chat

Model names come from the library on ollama.com. The part after the colon usually picks the size, such as qwen2.5:3b or qwen2.5:14b.

Ollama isn’t the only way. LM Studio is a desktop app with a point-and-click interface for finding, downloading and chatting with models. llama.cpp is an open-source engine for running models from the command line, and the source of the GGUF model format many local tools use. Pick the interface you prefer.

Our app · one example

Option 2: let an app set it up (how Octopi does it)

If you’d rather skip Terminal, an app can do the setup. Octopi, the free Mac app that publishes this guide, is one example: it turns plain-English tasks into finished spreadsheets, and its chat runs an open-weight model on your Mac through Ollama.

YOUR OLLAMA FIRST

Uses Ollama, or installs it

If Ollama already runs on your Mac, Octopi uses it. If not, it can install a pinned, checksum-verified Ollama release, and stops it when you quit.

SIZED FOR YOUR MAC

A model matched to your memory

The Models window offers four Qwen sizes (below), plus Llama 3.1, Mistral, Gemma 2 and any model already in your Ollama. Its prompts are tuned for Qwen, the default.

MORE THAN A CHAT BOX

Documents, web and CRM

Attach a PDF, Word, RTF or text file (read on your Mac, never uploaded), or have it look things up on the web or in Salesforce, HubSpot or Pipedrive. The conversation isn’t saved.

NOT OFFLINE

Online for what you ask

Octopi goes online for look-ups you ask for, the one-time model download, update checks, and usage statistics and error reports (on by default; off in Settings ▸ Privacy).

Octopi sizeModelDownloadSuggested for
Lightqwen2.5:3b-instruct~1.9 GBBelow 12 GB of memory
Balancedqwen2.5:7b-instruct~4.7 GBDefault from 12 GB
Newestqwen3.5:9b~6.6 GBFrom 16 GB; noticeably slower
Advancedqwen2.5:14b-instruct~9.0 GBNeeds about 32 GB

Switching between Octopi’s own models removes the one it replaces. The chat refuses models that Ollama runs in its own cloud.

Free, no account, macOS 13 or later on Apple silicon. More: chat with open-source AI models on your Mac.

Tips and troubleshooting

FIRST ANSWER

The first reply is slower

The model has to load into memory first, so the first reply after starting — or after a break, if it was unloaded — takes longer.

TOO BIG

If your Mac slows to a crawl

A model that doesn’t fit makes macOS swap memory to disk. Close memory-heavy apps; if Activity Monitor ▸ Memory still shows yellow or red Memory Pressure, pick a smaller size.

STORAGE

Let Ollama manage the files

Ollama keeps models in its own folder (by default a hidden .ollama folder in your home folder). Use ollama rm rather than deleting files by hand.

CLOUD MODELS

Check that a model is local

Ollama’s library also lists some models that run on Ollama’s own servers, not your Mac. If privacy is the point, choose ones that download and run locally.

Which local model should I pick?

Start with a well-known instruct (chat-tuned) model in the size your memory allows, try it on real tasks, and move up or down a size.

If you mainly want…Start withWhy
General chat and draftingA 7–8B instruct model: Qwen2.5 7B, Llama 3.1 8B, Mistral 7B or Gemma 2 9BSolid all-round answers; fits a 16 GB Mac
Questions about long documentsThe largest model your memory allowsLong text needs extra memory, and bigger models tend to track details better
Structured data: tables, fields, JSONAn instruct model of 7B or moreSmaller models drift from a format more often; test on your own examples first
The most from an 8 GB MacA 3B modelFine for short questions and quick drafts

Check the license. Licenses differ even within a family: Qwen2.5 7B and 14B and Mistral 7B use Apache 2.0, while Qwen2.5 3B uses the Qwen Research License, which allows research or evaluation use only. Meta’s Llama 3.1 has its own community license with conditions; Google’s Gemma has the Gemma Terms of Use. Read the model card and license of the exact model and size you use. More in open source vs open-weight AI. This is general information, not legal advice.

Questions

Can I run a local LLM on a Mac with 8 GB of memory?

Yes, a small one. A model of around 3B parameters (roughly a 2 GB download) fits and handles short questions and quick drafts. Close memory-heavy apps first, and expect weaker answers on complex tasks.

Is Ollama free?

Yes. Ollama is free, open-source software for running models on your own computer. Many models are free to download too, but each comes with its own license.

Does a local AI model work without the internet?

The model itself, yes: once downloaded, a tool like Ollama runs it with no connection. Downloading needs the internet, and apps built around a model may go online for features such as web search.

Is a local model as good as a cloud AI assistant?

Not for everything. The largest cloud models are stronger at hard reasoning and specialist questions. A good local model handles everyday questions, drafting and summaries, keeps your words on your Mac and has no per-message cost.

How do I delete a model to free disk space?

With Ollama, run ollama list to see your models and their sizes, then ollama rm with the model’s name — for example, ollama rm qwen2.5:7b.

A local model on your Mac, set up for you

Octopi uses or installs Ollama, suggests a model size for your Mac and gives you a chat that runs on it — free, no account, with the cloud strictly optional.

Download Octopi free