Home/Q&A/How much memory does a Mac need for local LLMs, and how do I test it myself?

How much memory does a Mac need for local LLMs, and how do I test it myself?

Updated · airankrush

Direct answer

It depends on model size, quantization level, context length and what else you have open. We have no measured data and give no "this much memory runs this size of model" figures. The reliable method is to look at three readings on a real machine.

Basis

  • On Apple silicon the CPU and GPU share one pool of memory; there is no separate video memory. The upside is that the space a model can use is close to the machine's total memory. The downside is that the system, the browser, development tools and the model all compete for the same pool, so the capacity on the label is not the capacity available to the model.
  • At the bottom of the Memory tab in Activity Monitor is the memory pressure graph. Apple's explanation: green means memory is being used efficiently, yellow means the Mac might eventually need more memory, and red means it needs more memory. If the graph stays in yellow or red while a model is running, that is the sign this amount of memory is not enough.
  • "Swap Used" on the same tab is how much of the contents of memory the system has moved out to disk. If this number climbs noticeably after a model loads, part of the model is in practice being shuffled through the disk and generation will slow down. The conclusion is the same: not enough.
  • If you use Ollama, the PROCESSOR column of ollama ps shows whether the model fits completely into the memory available to the GPU. Three readings that confirm one another are more accurate than a rule of thumb from anyone.

Information as of .

Boundaries: when the answer is different

This method only answers whether the configuration you rented is enough. If the test says it is not, what you know for certain is that this configuration does not work; how a machine with more memory would behave still needs other evidence. The memory options we offer are limited; see the plans page. Memory cannot be added after purchase, and an external drive only adds storage.

How to do it

  1. Open everything you normally keep running alongside, such as a browser and an editor, so the test is close to real use.
  2. Open the Memory tab in Activity Monitor and note memory pressure and swap usage before loading the model.
  3. Load the model and hold a few rounds of conversation with a long prompt to fill up the context.
  4. Watch whether the memory pressure color changes and whether swap usage climbs, and run ollama ps to cross-check.
  5. Repeat with a larger model or a higher quantization level until yellow or red appears. The model before that one is the practical ceiling for this amount of memory.

Use case

This question belongs to the use case: How much RAM do I need for local LLMs on a Mac? Rent a Mac mini for a month before buying

Other questions in the same use case:

Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support

Back to home · All Q&A