
The Mac mini with M4 generated 30.64 tokens per second with a small local Llama model in testing by BlueSpork. The $599 base desktop can also run larger quantized models, although one version of Gemma failed to produce a response during the test. The results show how model size and quantization affect the speed and capacity of this configuration for local AI.
Shared Memory And Storage Set The Limits
The tested base Mac mini with M4 pairs a 10-core CPU and 10-core GPU with 16 GB of unified memory and a 256 GB SSD. The CPU and GPU share that memory, allowing faster data transfer and reduced latency. For local models, the SSD also matters: its capacity limits how many large downloads you can keep on the machine at once.
The tests used Ollama, Docker Desktop and Open WebUI to run models from Ollama’s library. Each model received the same simple prompt, with response times shown in real time without alteration. That provides a consistent basis for comparing the tested downloads, though the results are specific to this setup.
Smaller Llama Models Respond At Different Speeds
The quickest result came from the 1-billion-parameter Llama 3.2 Q4 model. Its download was 0.7 GB, and its recorded response time was 44.448400 milliseconds. The Q4 version was chosen for consistency with the larger quantized models in the test.
Moving to Llama 3.1 Q4 brought a larger download and a slower generation rate. The 8-billion-parameter model occupied 4.6 GB and generated 7.32 tokens per second. That gives anyone choosing between the two a concrete speed and storage comparison on the base machine.
Llama 3.2 Vision, described as a 9.8-billion-parameter model, downloaded at 7.4 GB and generated 9.86 tokens per second. Its result was faster than the Llama 3.1 Q4 run, despite the larger download. Model size alone did not determine the ordering of these two results.
Quantization Makes Larger Downloads Practical
The Vision model’s Q4 version illustrates why quantization matters on this configuration. It reduces the precision of model weights, lowering both memory and storage requirements. The unquantized version of Llama 3.2 Vision would exceed the system’s capacity, while the tested Q4 download fits.
Space remains a consideration even when a model can run. The base Mac mini with M4 has to accommodate model downloads on its SSD, so the choice of how many to keep locally becomes more restrictive as their sizes rise. Storage questions also extend to the Mac mini with M4 Pro and its removable modular SSD.
Gemma Needs A Smaller Quantized Download
The largest model tested exposed a more immediate performance limit. Gemma 2 27b Q4 had a 14.6 GB download and loaded, but produced no response after 15 minutes. The test was closed at that point, so loading the model did not translate into a usable response in that run.
A different quantization of the same model changed the result. Gemma 2 27b Q2 retained all 27 billion parameters while reducing the download to 9.7 GB, and generated 5.37 tokens per second. It was usable in the test, though slower than the Llama models measured here.
We think the Gemma results are a useful reason to check the specific quantization before choosing this machine for local AI. A model that loads is not necessarily one that responds within a useful time, while the smaller Q2 download did produce an answer. The base configuration looks more approachable for smaller models and experimentation than for anyone expecting every large model to run comfortably.
For smaller local AI tasks and experiments with mid-sized quantized models, the tested Mac mini offers a practical starting point. If larger models or more intensive workloads are central to your plans, more capable hardware may be needed for satisfactory performance.
More on Mac Mini:
- Build A Local Private AI Rig on a Budget : Learn Which GPUs Run AI Most Effectively
- Connect a Llama 3.1 Chat AI Model to VSCode and Code Faster with Local Replies
- Local AI Setup Guide for Apple Silicon : Get a Big Boosts for Speed and Scale
- Local AI Vision Drone Security System is Scarily Good (Live Demo)
Media Credit: BlueSpork
Disclosure: Some of our articles include affiliate links. If you buy something through one of these links, Geeky Gadgets may earn an affiliate commission. Learn about our Disclosure Policy.