In this categoryLocal AI · 34
- How to Install Ollama on macOSStart
- How to Install Ollama on Windows
- How to Run Llama 3 Locally with Ollama
- How to Pick the Right Local AI Model for Your Hardware
- Best GGUF Models to Run by VRAM Tier (8GB, 12GB, 16GB, 24GB, 48GB)
- Run LLMs in Your Browser With WebGPU: No Install, No Server (WebLLM)
- How to Use Ollama as a Drop-In OpenAI API
- GGUF vs MLX vs NVFP4: Local AI Quantization Formats Explained
- Best GPU for Running AI Locally in 2026Start
- How Much RAM Do You Need for Local AI?
- Mac vs PC for Local AI: Which Should You Choose?
- How to Build a Local AI Workstation on Any Budget
- How to Set Up Local AI on 8GB of VRAM
- How to Set Up Local AI on 12GB of VRAM
- Best Local LLM for 16 GB VRAM: Setup, Quantization and Real Speed
- How to Set Up Local AI on 24GB of VRAM
- Best Local LLM on Mac M4 16 GB: Setup, MLX vs GGUF and Real Speed
- Best Local LLM on Mac M4 Pro 48GB: Setup, Quantization and Real Speed
Best Local LLM on Mac M4 16 GB: Setup, MLX vs GGUF and Real Speed
On a 16GB M4 Mac, the sweet spot is the 7B to 8B class: Qwen3 8B and Llama 3.1 8B both need about 5GB at Q4, leaving plenty of unified memory for macOS. Here is how to install Ollama or mlx-lm, which format to pick, and llama.cpp's own measured M4 speed.
The best local LLM for a 16GB M4 Mac is Qwen3 8B or Llama 3.1 8B, both need about 5GB at Q4 quantization, leaving most of the 16GB unified pool free for macOS. Ollama and mlx-lm run natively with Metal acceleration, no driver setup at all, so you are generating text within minutes of opening a terminal.
Written by Priya Raghunathan, local-AI hardware reviewer. I test consumer GPUs and Apple Silicon against real llama.cpp and MLX benchmarks before recommending them, because vendor VRAM numbers rarely match what actually loads.
What actually fits in 16GB unified memory
Unified memory is shared with macOS itself, so treat 16GB as a tighter budget than a 16GB discrete GPU. The 7B to 8B class is the comfortable zone; Mistral Nemo 12B works at a stretch, and anything near 15GB, like Gemma 3 27B, technically fits the number but leaves almost no headroom and is best avoided on this configuration.
| Model | Params | Memory at Q4 | License | Fit |
|---|---|---|---|---|
| Qwen3 8B | 8B | ~5 GB | Apache 2.0 | Comfortable |
| Llama 3.1 8B | 8B | ~5 GB | Llama 3.1 Community | Comfortable |
| Mistral Nemo 12B | 12B | ~7 GB | Apache 2.0 | Comfortable |
| Gemma 3 27B | 27B | ~15 GB | Gemma Terms of Use | Tight, not recommended |
Which quantization to pick: MLX or GGUF
GGUF through Ollama is the easiest on-ramp on a Mac and works everywhere, but MLX is Apple's own format built for the M-series unified memory architecture, and it typically loads faster and generates more tokens per second on the same chip because it is not going through a cross-platform layer. On a 16GB Mac, try MLX first if you want the extra speed; GGUF via Ollama is the simpler path if you just want it working. Full comparison in the GGUF vs MLX vs NVFP4 explainer.
Install and run
Real-world speed: what to expect
The llama.cpp project's own published Apple Silicon Metal benchmarks measured a base M4 (10-core GPU) generating a 7B Llama model at 24.1 tokens per second at Q4_0, versus 7.4 tokens per second at full fp16, over 3x faster from quantization alone. That 24 tokens-per-second figure is a realistic baseline for the Qwen3 8B and Llama 3.1 8B class on the entry-level M4 chip; MLX builds of the same models typically run somewhat faster again on the identical hardware, since it is tuned specifically for Apple's GPU kernels.
This tier also runs speech models
A 16GB M4 Mac has enough headroom to run a small text model and a speech model side by side. Two options already covered on this site both run comfortably in this budget:
- Kokoro-82M, an 82-million-parameter open-weight TTS model, small enough to run alongside any of the text models above. See How to Run Kokoro-82M Locally.
- Breeze TTS 2, for voice cloning and voice direction. See How to Run Breeze TTS 2 Locally.
Where to go from here
- Need to run Ornith 1.0 35B or Llama 3.3 70B? See the Mac M4 Pro 48GB setup guide for the next configuration up.
- Comparing PC GPUs at this budget? See the 8GB VRAM setup guide.
- Want the full FAQ and hardware picks? Best Local LLM for a Mac M4 with 16GB.
Local models run better with more VRAM. CompareRTX GPUs on Amazonbefore you upgrade.(affiliate link. We may earn a commission at no extra cost. Disclosure)
Related guides
Best Local LLM on Mac M4 Pro 48GB: Setup, Quantization and Real Speed
A 48GB M4 Pro Mac mini fits Llama 3.3 70B at Q4 quantization, about 48GB, right at the ceiling, and runs Ornith 1.0 35B or Gemma 3 27B with real headroom. Here is how to install both paths, which format to pick, and what's actually measured versus what isn't for this exact chip.
How to Set Up Local AI on 8GB of VRAM
An 8GB GPU runs the 7B to 8B model class comfortably at Q4 quantization, and Phi-4 14B just barely fits. Here is exactly what to install, which quantization format to pick, and real measured tokens-per-second so you know what to expect before you download anything.
How to Run Breeze TTS 2 Locally: Voice Clone, Voice Design and Voice Direction
Breeze TTS 2 is a 3 billion parameter open-weight speech model that clones a voice from one reference clip and speaks English or Chinese in under 40 ms to first audio.
How to Run Kokoro-82M Locally: the Fastest Open-Weight TTS Model
Kokoro-82M is an 82 million parameter, fully Apache 2.0 text-to-speech model with 54 voices across 8 languages. At that size the weights are small enough to run on a CPU or almost any GPU, and installing it is one pip command.
Watch related tutorials
14:15
16:30
20:05
18:20
9:42
10:30Weekly local AI drops
New models, what runs on your hardware, and the guides to set them up. One email a week, unsubscribe any time.