By Annie Vane · Local · Mac · Guide · Docs and own tests · Checked November 21, 2026
Evidence: documentation review, plus my own tests of two models (Gemma 4 E4B and Llama 3.2 3B) on a 24GB MacBook Air; the other sizes come from Ollama's registry. Download sizes are what Ollama gives a Mac, read from its registry; good-for labels adapted from ModelFit's open hardware dataset (CC BY 4.0).
The best local LLM for a 24GB Mac is gpt-oss 20B, a 13.8GB download for step-by-step reasoning, coding and tool use. For images and everyday work, Gemma 4 12B (7.7GB on a Mac) fits with plenty of room. All of these run on the Mac itself, with nothing sent to a vendor, in free apps such as Ollama and LM Studio.
Key facts
- Install first: gpt-oss 20B, 13.8GB download.
- Room for a model: about 18GB of 24GB, so a file under about 14GB runs comfortably.
- App: Ollama or LM Studio, both free. The commands below are for Ollama.
- Cost: nothing. Check each license before business use.




Models that fit a 24GB Mac
| Model | Good for | Download | Fit on 24GB | License | Command |
|---|---|---|---|---|---|
| gpt-oss 20B | Step-by-step reasoning, coding, tools | 13.8GB | Comfortable | Apache 2.0 | ollama run gpt-oss:20b |
| Gemma 4 12B | Chat, coding, reads images | 7.7GB | Comfortable | Apache 2.0 | ollama run gemma4:12b |
| Qwen3 14B | Coding, quality | 9.3GB | Comfortable | Apache 2.0 | ollama run qwen3:14b |
| Phi-4 14B | Coding, quality | 9.1GB | Comfortable | MIT | ollama run phi4 |
| Ministral 3 14B | Chat, reasoning, reads images | 9.1GB | Comfortable | Apache 2.0 | ollama run ministral-3:14b |
| Gemma 4 E4B | Everyday chat, reads images, calls tools | 9.5GB | Comfortable | Apache 2.0 | ollama run gemma4 |
| LFM2 24B-A2B | Private agents, tool calling | 14.4GB | Tight | LFM Open License (own terms) | ollama run lfm2:24b-a2b |
Comfortable means the file fits with room for a long conversation. Tight means it loads, but close other apps and keep chats short. Sizes are what Ollama downloads on a Mac, read from its registry on November 21, 2026. Where Apple's MLX build of a model exists, Ollama now uses it on a Mac, so some sizes differ from the ones on Ollama's website. For example, Gemma 4 E4B's MLX build is 9.5GB while the 12B's is 7.7GB, both as listed on Ollama's Gemma 4 tags page on November 29, 2026. The popular 26B and 27B models, Gemma 4 26B and Qwen3.8 27B, are 16.2 to 18.2GB on a Mac: too big for the roughly 18GB a 24GB Mac gives a model. One 27B that does fit is Ternary Bonsai 2.5 27B, a 6.0 to 7.7GB download.

Which one for which job
- Reasoning, planning and math: gpt-oss 20B.
- Everyday chat and images: Gemma 4 12B, or Gemma 4 E4B for speed.
- Coding: Qwen3 14B or Phi-4 14B.
- Private agents that call tools: LFM2 24B-A2B.
To check any other model against your Mac, use the local LLM memory calculator. For every Mac size on one page, see the best local LLM for Mac.
Tested on my Mac
I ran two models on my own MacBook Air: Apple M5 with 24GB, macOS 27.0. Every model I have tested on this machine is on the Scout Bench. Each speed is the warm figure from Ollama's own timings (Ollama 0.40.17, plugged in, December 2026). A token is roughly three-quarters of a word.
| Model | Download on my Mac | Answer speed | Memory in use |
|---|---|---|---|
| Gemma 4 E4B | 9.5GB (MLX build) | about 64 tokens a second | 9.4GB |
| Llama 3.2 3B | 2.0GB | about 49 tokens a second | 2.6GB |
Gemma 4 E4B ran on Ollama's MLX engine, which is built for Apple chips; Llama 3.2 3B ran on its standard engine.
Turn off Low Power Mode first. Switch it off in System Settings, under Battery, before you run a local model.
Method: Ollama's own speed timings on a warm model, with a 4,096-token context. Tested December 1, 2026.
How much room a 24GB Mac gives a model
A Mac shares its memory between the processor and the graphics side, and by default macOS lets the graphics side use about 75% of it. On a 24GB Mac that is about 18GB. The conversation needs 2 to 4GB on top of the model file, so a file under about 14GB runs comfortably and one up to about 16GB runs if you keep chats short.
Longer documents and longer chats use more memory, so leave more room if you paste in long reports. Speed depends mostly on the chip: a Pro or Max chip moves data faster than a base chip, so the same model answers faster.

Too big for 24GB
Gemma 4 26B (16.2GB), Qwen3.8 27B (18.2GB): these need more room than a 24GB Mac gives. See the best local LLM for a 32GB Mac.
Which app to run it in
Ollama runs models in the background for other apps and agents to use; the commands above install and start each model. LM Studio gives you a chat window and a model search. Both are free. See Ollama vs LM Studio if you can't decide.
Frequently asked questions
What is the best local LLM for a 24GB Mac?
The best local LLM for a 24GB Mac is gpt-oss 20B, a 13.8GB download for step-by-step reasoning, coding and tool use. For images and everyday work, Gemma 4 12B (7.7GB on a Mac) fits with plenty of room.
How big a model can a 24GB Mac run?
By default macOS lets a model use about 18GB of a 24GB Mac. Allow 2 to 4GB for the conversation, so aim for a model file under about 14GB, or up to 16GB with short chats.
Can a 24GB Mac run Gemma 4 26B?
Not comfortably. Gemma 4 26B is a 16.2GB download, more than the roughly 16GB that leaves room for a conversation. It needs a 32GB Mac.
Are these models free?
Yes, to download and run, with nothing sent to a vendor. Check the license before business use: Apache 2.0 and MIT allow commercial use, while the Llama, LFM and NVIDIA licenses add their own conditions.
Sources
- Ollama library and registry: model pages, and the download size for a Mac (read November 21, 2026). On my M5 MacBook Air, Ollama 0.40.17 chose the MLX build for Gemma 4 E4B.
- ModelFit's open hardware dataset (CC BY 4.0), updated October 26, 2026. Good-for labels adapted; fit worked out with my own memory rule.
- Local LLM memory calculator, for the 75% memory rule
Other Mac sizes: 8GB · 16GB · 32GB · 48GB · 64GB · 128GB.
This page is reviewed monthly and was last checked on November 21, 2026. Your next step: run ollama run gpt-oss:20b and check the speed on your own 24GB Mac.

