MacforAI

Which Mac runs your local LLM: memory, speed and Apple price

← All articles

Is 16GB RAM Enough on a Mac? 5 Days of Real Data

Published · Updated · 2 min read

Watch the video on YouTube

Every base Mac from M2 to M5 now ships with 16 GB. I logged memory once a minute for five working days, with Claude, Claude Code and a browser full of tabs. The short answer: 16 GB works for that, it just leans on the SSD. A local AI model is a different story.

Key takeaways

  • Average memory demand (RAM in use plus swap) was 16.3 GB, with a peak of 25 GB.
  • Demand was above 16 GB for 63% of the time.
  • Memory pressure was yellow 41% of the time and never red.
  • For local AI models pick 24 GB or more, because a model needs 5 GB or more on top.

What I measured

The log has 7,358 one-minute samples.

MetricValue
Average demand (RAM + swap)16.3 GB
Peak demand25 GB
Time with demand above 16 GB63%
Compressed memoryabout 11 GB squeezed into 5.5 GB (about 2:1)
Swap on the SSDup to 12 GB
Memory pressureyellow 41% of the time, never red

How macOS copes

When demand goes above physical memory, macOS first compresses data that is not being used right now, here at roughly 2:1. What still does not fit goes to swap on the SSD. That is why a Mac can ask for more than it has and keep working.

Who eats the memory

Typical (median) use in my log: Chrome about 3.1 GB and the Claude apps about 1.6 GB. Chrome peaked at 7.7 GB, so the browser is the first place to look if your Mac slows down.

Verdict

For Claude and a browser, 16 GB works on any chip from M2 to M5. A local AI model needs 5 GB or more on top of this, so for local AI choose 24 GB or more. Mac memory cannot be upgraded later, so decide before you buy. You can check which models fit a given Mac in the local LLM Mac calculator, and see how much RAM a local LLM needs.

Source and caveats

These are measurements of one workload over five working days. Your apps, tab count and habits will give different numbers.

FAQ

Is 16 GB enough for Claude Code?

In my five days it worked: memory pressure never turned red, although the system used compression and swap.

Is swap bad for a Mac?

Swap is a normal macOS mechanism. In my log it reached 12 GB. It is a sign that the workload is larger than physical memory.

Can I run a local model on a 16 GB Mac?

Small models can fit, but with a browser and Claude open there is little room left. For regular local AI use, 24 GB or more is the safer choice.