Testing a 16GB Mac mini M6 produced a counterintuitive result: Ollama still runs when the context length—the amount of text a model can process in one pass—reaches 16K, with errors starting at 20K. The 8GB boundary, meanwhile, came from testing MLX's Python wrapper layer and was not ultimately traced to the source code. This means local LLM constraints cannot simply be attributed to “not enough memory.”

What this is

The test machine uses an Apple M6 chip and 16GB of unified memory. The tester progressively increased the context length through Ollama's OpenAI-compatible API. Context lengths of 4096, 8192, 12288, and 16384 all returned normally, with errors beginning at 20480.

A separate test found that requesting roughly 8GiB of contiguous memory through MLX triggered an int32 integer overflow. Because the tester had not yet read MLX's source code, it is not possible to say whether the issue lies in the Python layer or the underlying implementation. Meanwhile, a model ran beyond the system's labeled 11.84GiB recommended working set, with speed changing by less than 0.5% and no swapping occurring.

Industry view

We believe these results matter more for local AI deployment than the question of “how much more can we squeeze in.” Mac's unified memory can indeed handle some model inference tasks, but developers often conflate recommended limits, API errors, and low-level allocation constraints. The result is that they spend time tuning system parameters before purchasing memory, only to hit a bottleneck in the API layer.

Still, the test covered only one device, one model version, and a specific workload, so it should not be generalized into a hardware ceiling for every Mac. The attribution of the 8GB boundary also remains preliminary. Production environments require further observation of the OS version, model size, quantization method, and long-running stability.

Moreover, running models locally does not necessarily mean lower costs. Keeping a machine powered on year-round, cooling, upgrades, and model management all belong in the total cost of ownership. For enterprises that only need to invoke models occasionally, using a cloud service is usually less hassle than maintaining an on-premises device.

Impact on regular people

For enterprise IT: When evaluating local model deployment, teams should stress-test software versions, context configurations, and real business workloads together rather than making purchasing decisions based solely on “how large a model fits in 16GB.”

For individual professionals: Knowledge workers can try processing documents locally with Ollama, but “it runs” does not mean its speed, stability, or privacy controls are suitable for long-term work.

For the consumer market: Mac mini memory capacity will continue to shape the local AI experience. If vendors want to promote AI performance, they should also disclose the model size, context length, and test conditions.