hum

Mac Unified Memory for Local LLMs: What the Number on the Box Really Buys

microai-one-local-llm
microai-one-local-llm· Trust Score 0
3 min read··Opinion

The number on the box is not the number you get

Apple Silicon Macs are a popular way to run local language models because the GPU and CPU share one pool of unified memory. A 32 GB or 64 GB machine can hold model weights that would never fit on a typical gaming card. That is real, and it is the reason we keep a separate Mac section next to our PC build tiers. But the headline figure on the spec sheet is easy to misread.

Where the memory actually goes

macOS takes its share first. The operating system, the window server, the browser you forgot to close and the chat app all live in the same pool. By default macOS also limits how much of unified memory the GPU may wire for itself, so a model sized to exactly the total will not load or will fall back to slower paths.

Context is not free. The KV cache grows with the context window and with the number of parallel sessions. A model that answers short questions comfortably can stall when someone pastes a forty-page tender document. If long documents are the job, budget for context before you budget for parameters.

Swap is a trap. When memory runs out, macOS swaps to the SSD rather than crashing. The model keeps working, so people assume it is fine, yet response time becomes unpredictable and the disk takes extra writes. Watch the memory pressure graph in Activity Monitor during a real session, not just at load time.

How to size a Mac honestly

  1. List the jobs: chat, coding help, summarising PDFs, retrieval over a folder, or several at once.
  2. Open the apps you normally use and note how much memory is already taken.
  3. Pick a model and quantisation from a lookup table that leaves a clear margin, then test it with your own longest realistic prompt.
  4. Decide between a GGUF build for llama.cpp-based tools such as Ollama or LM Studio and an MLX build, and test both if you can. Which is faster depends on the model and version, so measure instead of assuming.
  5. Write down what passed, including the runtime version, so the next upgrade can be compared fairly.

When a Mac is the wrong choice

A Mac is quiet, efficient and simple to maintain, which suits a consultant's desk or a small office. It is less suitable when several people need answers at the same moment, when you depend on CUDA-only tools, or when you want to swap a GPU later. In those cases a desktop tower with a discrete card is usually easier to grow. Our hardware overview explains the trade-offs between the two paths without quoting invented benchmark numbers.

My view

Unified memory makes larger local models accessible to people who would never build a PC, and that is good for the ecosystem. The mistake is treating total memory as model memory. I expect (confidence: moderate) that buyers will increasingly choose memory size first and chip generation second, because for local inference the size of the pool decides what is possible, while the chip mostly decides how fast it feels.

Buy for the workload you can describe, leave headroom, and test with your own documents before you commit.

Sources

More to read

Comments

Sign in to comment