Formats, frameworks and apps
These names get mixed up because they sit at different layers:
| Name | What it is | Runs on |
|---|---|---|
| GGUF | A single-file model format with built-in quantization, made for llama.cpp | Macs, PCs, Linux (CPU and GPU) |
| llama.cpp | The open-source inference engine that runs GGUF files | Macs (Metal), PCs, Linux |
| MLX | Apple's array framework for machine learning on Apple silicon, plus mlx-lm for LLMs | Apple silicon Macs |
| Ollama | An app and local server; uses an MLX engine on Apple silicon and llama.cpp for GGUF | Macs, PCs, Linux |
| LM Studio | A desktop app with a model browser and chat; uses MLX and llama.cpp | Macs, PCs, Linux |
Apple describes MLX as an array framework for machine learning on Apple silicon. Because it's built for the Mac's unified memory and GPU, MLX builds of a model are often faster there than the same model as GGUF.
Which is faster on a Mac?
It depends on the model and app version, but MLX usually leads on Apple silicon. In one hands-on test on a Mac mini M5 Pro 64GB (18-core CPU, 20-core GPU, 64 GB), gpt-oss 20B generated 61 tokens per second in Ollama and 99 with mlx_lm. That's a single run without stated versions, so treat it as an indication, not a rule.
The gap is moving. Ollama announced in March 2026 that it is now powered by MLX on Apple silicon (in preview at first), and later releases kept llama.cpp alongside it for GGUF models. Speed comparisons from before and after that change aren't directly comparable.
Which should you use?
- Easiest start: LM Studio (a full app with a model browser) or Ollama (a simple app plus a local API that other tools can call).
- Fastest on a Mac: prefer MLX builds of a model when your app offers them. LM Studio runs MLX models directly (it lists MLX and llama.cpp under the hood).
- Portability: GGUF files run almost everywhere, so they're handy if you also use a PC or Linux machine.
- Developers: mlx-lm gives the most direct control on a Mac; llama.cpp is the most portable engine.
Memory is the same story either way
Whichever you choose, a 4-bit model needs roughly the same memory as a GGUF or an MLX build. The Mac still needs enough unified memory to hold it. Check a model's fit with the memory calculator or on the models page.
FAQ
What's the difference between GGUF and MLX?
Is MLX faster than Ollama?
Should I use LM Studio or Ollama on a Mac?
See any model on the exact Mac you're considering.
- MLX (Apple, GitHub)
- Ollama blog: MLX on Apple silicon
- LM Studio
- rsec on note.com: Mac mini M5 Pro tests
Speeds come from published measurements (with source links) or labeled estimates. How we measure