Guide
The best local LLM for your Mac, by memory size
The right local model depends mostly on one number: your Mac's memory. Here are current open-weight models that fit each size, with real file sizes, what quantization does to them, and why an agent needs more room than a chat app.
The short answer
On a Mac with 16 GB of memory, choose a model under about 10 GB, such as gpt-oss-20b (which OpenAI says runs within 16 GB) or Qwen3.5 9B. With 32 GB, a 4-bit build of Qwen3.8 27B (about 16.5 GB) or Qwen3.6 35B-A3B (about 22.7 GB) is a strong choice, and both can handle agent work with long context. With 64 GB or more you can run larger mixture-of-experts models; above 128 GB, frontier-scale open models such as DeepSeek V4 Flash become possible. Leave room for context and for macOS: the model file is never the whole cost.
Models change every few months, so this page explains how to judge any model, not only today's names. File sizes below come from the models' own download pages and from the curated model catalog inside Hermes Agent 0.23.1 (unchanged since 0.22.5), read on 17 November 2026.
Why memory decides everything on a Mac
Apple silicon Macs use unified memory: the CPU and GPU share one pool. A local model has to sit in that pool to run at a usable speed, and the GPU can reach all of it. That's why a Mac with 32 GB or 64 GB can run models that would need an expensive graphics card on a PC, where the GPU only sees its own, smaller memory.
Three things share the memory when a model runs:
- The weights: the model file itself. Roughly its download size.
- The context (KV cache): everything the model is working with right now. It grows with the length of the conversation, the pages it read and the tool results. Agents need long context, often 64,000 tokens or more, and that takes several gigabytes on top of the weights.
- macOS and your apps: the system reserves part of memory for itself, and your browser and other apps need theirs.
A rule of thumb that works: pick a model whose file is no more than about half your memory for agent work, or about two thirds for short chats. The memory guide goes into more detail.
Quantization: the same model in different sizes
Most people run quantized models: the same model with its numbers stored in fewer bits. Fewer bits mean a smaller file and faster answers, at some cost in quality. llama.cpp, the engine behind many Mac apps, supports 1.5-bit to 8-bit quantization. Here is one model, Qwen3.8 27B, at different levels, using the file sizes published for Unsloth's GGUF builds:
| Build | Bits per weight (roughly) | File size |
|---|---|---|
| UD-Q2_K_XL | 2 | 9.95 GB |
| UD-IQ3_XXS | 3 | 10.9 GB |
| UD-Q4_K_M | 4 | 16.6 GB |
| UD-Q5_K_M | 5 | 19.9 GB |
| UD-Q6_K | 6 | 22 GB |
| Q8_0 | 8 | 29 GB |
| BF16 (unquantized) | 16 | 54.7 GB |
4-bit builds are the usual sweet spot: about a third the size of the original with a modest quality loss. Below 3 bits, quality drops faster, though large models hold up better than small ones. If a model only fits your Mac at 2 bits, a smaller model at 4 bits is often the better choice.
Dense and mixture-of-experts models
A dense model uses all its parameters for every word it writes. A mixture-of-experts (MoE) model has many more parameters but only activates a few for each word. MoE models need memory for all their parameters but run at roughly the speed of their active part, which suits Macs well: plenty of memory, more modest compute.
| Model | Type | Total / active parameters |
|---|---|---|
| Qwen3.8 27B | Dense, sees images | 27B / 27B |
| Qwen3.6 35B-A3B | MoE, sees images | About 35B / about 3B |
| gpt-oss-20b | MoE | 21B / 3.6B |
| gpt-oss-120b | MoE | 117B / 5.1B |
| Gemma 4 26B | MoE | 26B / about 3.8B |
| Gemma 4 31B | Dense | 31B / 31B |
Models that fit each Mac
These are candidates, not a ranking. Each is an open-weight model with a permissive licence (Apache 2.0 for all the Qwen, gpt-oss and Gemma 4 models listed), available as builds that run on a Mac through llama.cpp, MLX, LM Studio or Ollama.
| Mac memory | Good for chat | Good for agent work | Notes |
|---|---|---|---|
| 8 GB | Very small models (Gemma 4 E2B or E4B, small Qwen3.5 builds) | No | Expect short context and simple tasks |
| 16 GB | gpt-oss-20b, Qwen3.5 9B, Gemma 4 E4B | Light tasks only | OpenAI says gpt-oss-20b runs within 16 GB; leave little else open |
| 24 GB | Gemma 4 26B or Qwen3.6 35B-A3B at 3-bit or lower | Borderline | Fits, but long agent context gets tight |
| 32 GB | Any of the above | Qwen3.8 27B (4-bit, about 16.5 GB) or Qwen3.6 35B-A3B (4-bit, about 22.7 GB) | The smallest size where a capable agent model and long context both fit |
| 48–64 GB | Gemma 4 31B at higher precision, larger MoE models | Same as 32 GB with more context, or NVIDIA's Nemotron 3.5 Bolt (a 74B MoE in a 2-bit, about 22 GB build) | Room for the browser and other apps alongside |
| 128 GB and up | gpt-oss-120b, Qwen3.8 Flash Next (about 94 GB at 4-bit) | Frontier-scale open models | DeepSeek V4 Flash's 4-bit build is about 155 GB; the Hermes catalog lists it for 128 GB+ machines |
These are fit estimates, not benchmarks. Speed depends on your chip and its memory bandwidth (higher on Pro, Max and Ultra chips), and quality depends on the task. Try two candidates on your own real tasks before settling.
Chat models and agent models are not the same choice
Most “best local LLM” lists are about chatting. An agent asks more of a model:
- Reliable tool calling. It must write tool requests in exactly the right format, many times in a row. Small models often drift after a few steps.
- Long context. A web page can be 10,000 tokens; an agent that reads five of them plus its instructions needs 64,000 tokens or more. Both Qwen models above support 262,144 tokens natively.
- Following instructions over many steps. Errors compound: a model that's 95% right per step is wrong somewhere in a 20-step job more often than not.
- Seeing images, if the agent reads screenshots, photos or charts. Qwen3.8 27B and Qwen3.6 35B-A3B both accept images.
That's why Kaairos, which runs Hermes Agent with its own private model, needs 32 GB of memory for its private AI: by the engine's fit rules, the smallest model in its curated catalog is about 16.5 GB, and none fits 8, 16 or 24 GB with the context agent work needs. On smaller Macs it uses an online model instead.
How to run a local model on a Mac
| Tool | What it is | Best for |
|---|---|---|
| LM Studio | An app to browse, download and chat with models | Trying models, private chat (compared) |
| Ollama | A command-line runner and local API | Developers and apps that need a local endpoint (compared) |
| llama.cpp | The open-source engine many apps use; Apple silicon is a first-class target, through Metal | Full control over builds and settings |
| MLX | Apple's machine-learning framework for Apple silicon | Developers and MLX-format models |
| Kaairos | An agent app that chooses, downloads and runs a model for you with llama.cpp | Getting tasks done privately without choosing a model |
A quick way to test a model on your Mac
- Check your memory: Apple menu › About This Mac.
- Pick two candidates from the table above that leave at least a third of your memory free.
- Download the 4-bit build of each in LM Studio or Ollama.
- Give each the same three real tasks: one summary of a long document you know well, one multi-step instruction, one question with a precise answer you can check.
- Watch speed and memory in Activity Monitor (Memory tab, Memory Pressure graph). Yellow or red pressure means the model is too big for comfortable use.
- Keep the one that's right more often, not the one that sounds more confident.
Worked example: will it fit a 32 GB Mac?
Take Qwen3.6 35B-A3B in its 4-bit build, which is about 22.7 GB, on a Mac with 32 GB of memory.
- Weights: about 22.7 GB, loaded once.
- What's left: about 9 GB for macOS, your open apps and the model's context.
- Context: the longer the conversation and the more pages the agent has read, the more of that 9 GB the context takes. Models built partly from recurrent layers, as both Qwen models in the table are, need less memory for long context than older designs, which is part of why they suit agents on a Mac.
- Verdict: it fits, with a browser and a few apps open, but not alongside another large app such as a video editor. If Memory Pressure in Activity Monitor turns yellow during long tasks, step down to Qwen3.8 27B (about 16.5 GB), which leaves about 15 GB.
The same arithmetic tells you why a 24 GB Mac struggles with agent work: after a 16.5 GB model there are about 7.5 GB left for macOS, apps and a long context, which is tight once a task reads several web pages.
What makes a local model fast or slow
- Memory bandwidth. Writing each word means reading the active weights from memory. Pro, Max and Ultra chips have much higher bandwidth than base chips, so the same model writes noticeably faster on them. Apple lists the figure on each Mac's technical specifications page.
- Active parameters. A mixture-of-experts model with 3B active parameters writes far faster than a dense 27B model on the same Mac.
- Quantization. Fewer bits means less to read for each word, so 4-bit is faster than 8-bit.
- Multi-token prediction. Some builds predict several words at once. Unsloth says its MTP build of Qwen3.6 35B-A3B runs about 1.5 to 2 times faster with no accuracy loss.
- Context length. Reading a long prompt takes time before the first word appears; agents that re-read long tool results feel slower than chat.
Where to download models safely
Model files are large and come from many uploaders. Prefer the publisher's own organisation on Hugging Face (Qwen, OpenAI, Google, NVIDIA and others), or well-known quantizers whose builds are widely used, such as Unsloth. Check the licence on the model page, check that the file size matches the build you expect, and be wary of “uncensored” or merged variants from unknown accounts, which may behave unpredictably. Apps with curated catalogs, such as LM Studio's or the one inside Hermes Agent, do this vetting for you.
Sources
- Qwen3.8-27B GGUF builds, Unsloth on Hugging Face (file sizes, context, licence)
- Qwen3.6-35B-A3B MTP GGUF, Unsloth on Hugging Face (parameters, context, licence)
- gpt-oss-20b model card, OpenAI on Hugging Face (parameters, “within 16GB of memory”, Apache 2.0)
- Gemma 4 announcement, Google (sizes, context, Apache 2.0; 2 April 2026)
- Qwen3.5-9B, Qwen on Hugging Face
- llama.cpp on GitHub (Apple silicon support, quantization levels)
- Hermes Agent 0.23.1,
hermes_cli/local_runtime/catalog.json(curated models and build sizes)
Fair questions
What is the best local LLM for a Mac with 16 GB?
A model under about 10 GB, such as gpt-oss-20b or Qwen3.5 9B, for chat and light tasks. 16 GB is too little for a capable agent model with long context.
What is the best local LLM for a Mac with 32 GB?
A 4-bit build of Qwen3.8 27B (about 16.5 GB) or Qwen3.6 35B-A3B (about 22.7 GB). Both see images and were trained for very long context, which agent work needs.
Is a Mac good for running local AI?
Yes. Unified memory lets the GPU use most of the Mac's memory, so a 32 GB or 64 GB Mac can run models that need a costly graphics card on a PC.
Can I run local AI on an Intel Mac?
Some runtimes support Intel Macs, but slowly, because the GPU can't use system memory the same way. Most current Mac tools, Kaairos included, need Apple silicon.
Does a bigger model always give better answers?
Usually, but a 4-bit build of a mid-size model often beats a 2-bit build of a bigger one. Test on your own tasks.
How much disk space do local models need?
About their file size: roughly 10 GB for a small model, 16–23 GB for a 32 GB-class model, and 90 GB or more for the largest.
Are local models free for commercial use?
Many are. The Qwen, gpt-oss and Gemma 4 models listed here use Apache 2.0. Always check the licence on the model's own page.
Do local models work offline?
Yes, once downloaded. Anything that needs fresh information still needs the web.
Download and go
Your AI agent, already set up.
One button to set up. Its own private AI, free. Claude, ChatGPT or Gemini when you want more.
A Mac with Apple silicon (M1 or later), macOS 15 Sequoia or later. 14-day refund.