How to run local AI models on your Mac
Here is how to run local AI models on Mac, in four short steps. You probably don’t need to buy a new computer. Try the Mac you already have. A 16GB Mac can run small models for free. An 8GB Mac can try the very smallest models, though it will be tight.
No Mac yet? That’s okay. There’s no rush.
What “local AI” means
- It runs on your Mac. The model sits in your Mac’s memory (RAM) and answers you there. This is called inference: running the finished model.
- It can stay private. Your questions don’t have to go to the cloud.
- It works offline once you have downloaded a model.
- Getting started is free. You can use a free app and an open-weight model (a model file you can download and run yourself).
How to run local AI models on Mac, in four steps
Step 1: Check your memory (RAM)
The model has to fit in your Mac’s memory (RAM). That number matters more than how new the Mac is.
- Click the Apple menu (the apple in the top-left corner).
- Click About This Mac.
- Write down the memory (RAM), such as 8GB, 16GB, 24GB or 32GB, and the chip name (for example M1, M2 or M4).
You will use the memory (RAM) number in Step 3 to pick a model that fits.
Step 2: Install a free app
For beginners, we suggest LM Studio. It is a normal Mac app with buttons, not a coding tool.
- Go to lmstudio.ai and download LM Studio for macOS. (If you also see an app called Bionic, skip it. You want the app with a chat window.)
- Open the downloaded file and put LM Studio in your Applications folder, like any other Mac app.
- Open LM Studio.
LM Studio needs an Apple silicon Mac (M1 or later) and macOS 14.0 or newer. It does not support Intel Macs. 16GB of memory (RAM) is recommended. It may still work on an 8GB Mac with a small model and short chats.
If you are comfortable with Terminal (the app where you type commands), Ollama is another free option.
- Download it from ollama.com.
- Open the file and drag Ollama into Applications.
- Then you can start a model from Terminal with a command, and Ollama will download it and open a chat.
Ollama needs macOS 14.0 or newer. On Apple silicon it can use the GPU. On an Intel Mac it can run, but only on the CPU, which is much slower. If you are using an older Intel Mac, see Have an older Intel Mac? More on both apps is on the tools page.
Step 3: Pick a model that fits your memory (RAM)
Pick a model small enough for the memory (RAM) you wrote down. These are the same picks as our best model by memory (RAM) guide. Sizes are approximate 4-bit file sizes, the usual choice on a Mac.
- 8GB: only the very smallest models, such as Liquid LFM2.5 1.2B or 2.6B (about 1–2GB). Close other apps, and keep chats short.
- 16GB: Gemma 4 12B (about 7GB). Also good: Qwen3.5 9B (about 6GB), or LFM2.5-8B-A1B (about 5GB, very fast).
- 24GB: Mistral Small 3.2 24B (about 14GB). Also good: LFM2.5-24B-A2B (about 14GB). Qwen3.8 27B is a tight fit.
- 32GB: Qwen3.8 27B (about 16GB). Also good: Gemma 4 26B A4B (about 17GB), or Qwen3.6 35B-A3B (about 20GB, fast).
- 64GB: Qwen3.8 27B at 8-bit (about 29GB). A 4-bit 70B model like Llama 3.3 70B also fits, though it is tight. See how much memory (RAM) a 70B model needs.
- 128GB: Qwen3.5 122B-A10B (about 74GB). Also good: Mistral Small 4 (about 67GB), or Llama 4 Scout (about 61GB).
- 256GB: GLM-5.3-Flash (about 180GB, tight). Also good: DeepSeek V4-Flash (about 160GB).
When in doubt, pick the smaller option. You can always try a bigger one later. The full list, and how to check if a model fits, are on the best model by memory (RAM) page. If you have 8GB or 16GB, see Can my 8GB or 16GB Mac run AI? for a plain yes or no.
Step 4: Download it and start chatting
In LM Studio:
- Open the Discover tab (or press Command-2) and search for the model you picked.
- If you see several versions, choose a 4-bit download. On a Mac, try the MLX version first if it is offered. It is often a bit faster.
- Wait for the download to finish. This step needs the internet, and the file can be several GB.
- Open the Chat tab, open the model loader, and select the model you downloaded.
- Type a message and start chatting. After the model is on your Mac, you can chat offline. Everything stays on your Mac.
If it’s slow or won’t load
- Close other apps so more memory (RAM) is free.
- Pick a smaller model from the list for your memory (RAM) above.
- If a model won’t load, it is usually too big for your Mac. See which models fit each memory (RAM) size.
- Long chats use extra memory (RAM). Start a new chat if things get slow.
- A 70B model needs a lot of memory (RAM). 64GB is the practical minimum, and 32GB is not enough. See how much memory (RAM) a 70B model needs.
If you later want a different Mac
You probably don’t need to buy anything to start. If you do want a different Mac later:
- Memory (RAM) is the number that matters, and you can’t add it later.
- The cheapest sensible start is a 16GB Apple silicon Mac (M1 or later). Skip 8GB if you are shopping.
- If you are buying just for this, stretching to 24–32GB is usually the better buy. A 32GB Mac mini is one of the cheapest “serious” machines.
See the Mac buying guide for new, used and refurbished options and prices.
No Mac yet?
That’s okay. There is no rush, and you do not have to buy anything.
- Borrow first, if you can. Asking a family member or partner to let you try a small model on their Mac is the gentlest way to start. If that Mac is an older Intel model, see Have an older Intel Mac?
- You can also try a free cloud AI chat app first, just to see if you like it. The catch: your notes and photos then leave your device.
- If you later want a Mac of your own, there are cheaper ways to get one. See Getting a Mac cheaply.
Getting a Mac cheaply
You don’t need the newest or priciest Mac. If and when you want one of your own:
- Borrow first, if you can, so you can try this before spending any money.
- Look at Apple Certified Refurbished. These products include a one-year warranty (check the current terms on apple.com).
- If you are a student or educator, you may be able to use Apple education pricing. Check the Education Store to see if you are eligible.
- You can trade in an old device with Apple and put the credit toward a Mac.
- Watch for seasonal sales.
- Buying used from a trusted seller can also cost less. Choose an Apple silicon Mac (M1 or newer) with at least 16GB of memory (RAM). You don’t need the newest model. See the Mac buying guide for where to look.
Have an older Intel Mac?
That’s okay — including if you are borrowing one from a family member or partner. You can still try this, even if it will not feel as smooth as a newer Mac.
First, check what kind of Mac it is. Click the Apple menu (top-left), then About This Mac.
- If you see Chip and a name like Apple M1, M2 or M4, you have Apple silicon.
- If you see Processor and the word Intel, it is an Intel Mac.
On an Intel Mac, here is what the official docs say today:
- LM Studio does not support Intel Macs. It needs Apple silicon (M1 or later) and macOS 14.0 or newer.
- Ollama can run on an Intel Mac, but only on the CPU, so it will be much slower. It also needs macOS 14.0 or newer. You can check your macOS version in About This Mac. If the Mac cannot use macOS 14, Ollama is not officially supported.
- If Ollama will run, it is fine to try a tiny model and see how it feels. Close other apps, and keep chats short.
- Apple silicon Macs (2020 and later) are where this gets good: the model can use the GPU, and it feels much more usable.
Frequently asked questions
Is this free?
Yes, to get started. LM Studio and Ollama are free to download, and the models we suggest are open-weight, which means the model file is free to download and runs on your Mac. You don’t need a subscription. Some model licenses limit commercial use, so read the model card if that matters to you.
Does it work offline?
Yes, once the model is on your Mac. You need the internet to download the app and the model the first time. After that, you can chat without the internet, and your questions stay on your Mac.
Do I need an Apple silicon (M1 or later) Mac?
For LM Studio, yes. It needs an Apple silicon Mac (M1 or later) and macOS 14.0 or newer. Intel Macs are not supported. Ollama also needs macOS 14.0 or newer. On Apple silicon it can use the GPU. On an Intel Mac it can run, but only on the CPU, which is much slower. If you’re not sure, look under Apple menu → About This Mac. If you see “Chip” and a name like Apple M1, you have Apple silicon. If you see “Processor” and Intel, see Have an older Intel Mac?
Can I try this on an 8GB Mac?
Yes, with the very smallest models, but it will be tight. Close other apps first, and keep chats short. Liquid’s smallest LFM2.5 models are about 1–2GB, which is the kind of size that can fit. A 16GB Mac is much more comfortable. If you’re shopping later, skip 8GB and start at 16GB. More in Can my 8GB or 16GB Mac run AI?.
Do I need to buy a new Mac?
No. Start with the Mac you already have. If you later want a different one, memory (RAM) is what matters, and you can’t add it later. The cheapest sensible start is a 16GB Apple silicon Mac. If you’re buying just for this, stretching to 24–32GB is usually the better buy. See the Mac buying guide.