Your Mac is quietly one of the best local-AI machines you can buy. Unified memory lets the GPU use most of the system’s RAM, so one desktop Mac can load models that need several graphics cards elsewhere.
The catch: the software that runs the model can double your speed, or halve it. This guide maps 25 options: how each runs, what it does best, its format, how efficiently it uses your Mac and how easy it is. Deep dives on each follow in this series.
What Is an Inference Engine?
Training is how a model learns, and it happens once, in a data center. Inference is the model at work: every time you ask something, it runs and produces an answer. That’s the part your Mac does.
It works like answering a long email, in two phases:
- Prefill (reading): the model reads your whole prompt at once. This is heavy number-crunching that depends on your chip’s power, and it decides how long you wait for the first word.
- Decoding (writing): the model writes the reply one token (word-piece) at a time. This depends mostly on how fast your Mac moves data out of memory, and it decides how quickly the text flows.
The inference engine is the software that runs both phases. With the same model on the same Mac, a better engine reads faster, writes faster and wastes less memory.
The Technology That Decides Speed
Most engines are built on one of two foundations:
- llama.cpp: C/C++ with hand-tuned Metal kernels and the GGUF file format. Portable, frugal and battle-tested.
- Apple MLX: Apple’s own framework, designed around unified memory. It uses MLX safetensors models (mlx-community on Hugging Face) and is often faster at generating text.
Five techniques make most of the difference:
- Quantization shrinks weights (8-bit, 4-bit, NVFP4): less memory, more speed, some quality loss at the lowest bits.
- Speculative decoding and MTP (multi-token prediction): a drafter, or the model’s own MTP heads, guesses several tokens and the main model checks them in one pass. One of 2026’s biggest single-user speed gains.
- Continuous batching with a paged KV cache: borrowed from vLLM, it serves many requests at once without wasting memory. Essential for multi-user setups.
- Prefix and SSD KV caching: the KV cache is the model’s short-term memory. Reusing it, even from SSD, spares agents from re-reading huge prompts.
- M5 Neural Accelerators: matrix units in every M5-family GPU core. MLX uses them from macOS 26.2, mainly to speed up prefill.
Speed isn’t everything. The SiliconBench study (September 2026) tested nine Mac engines on speed, memory and output fidelity; only llama.cpp, vllm-metal and oMLX passed every check.
Watch Out: Speed That Costs Quality
Some speed gains come from doing less work, not doing it better:
- Skipping experts: MoE models activate several “experts” per word. Running fewer is faster (research reports 10–78% more throughput), but with some quality loss. Expert-pruned builds, like the Coder version of Qwen3.8-Flash-Next, are weaker outside coding.
- Reasoning switched off: many headline speed figures are measured with thinking off, and some fine-tunes are trained to think much shorter.
- Silent accuracy loss: in SiliconBench, one engine completed every request but scored 5 points below the reference.
The rule: compare speeds only on the full model, with all experts active and reasoning on. Good speed tricks, like MTPLX’s exact rejection sampling, keep the output unchanged.
At a Glance
Engines are listed by popularity. Hardware efficiency shows how well an engine uses your Mac’s memory and chip: the more efficient it is, the bigger the model you can run and the faster it answers.
| Engine | Best for | Ease | Format | Hardware efficiency on macOS |
|---|---|---|---|---|
| Ollama | One-command local models | Easy | GGUF, MLX | Less efficient*: takes most of your memory even for one chat |
| LM Studio | Browsing and testing models | Easy | GGUF, MLX, plug-ins | Efficient: uses Mac-native engines |
| llama.cpp | Reliability, widest model support | Moderate | GGUF | Very efficient*: memory stays steady under load |
| ComfyUI | Node-based images and video | Moderate | safetensors (PyTorch) | Less efficient: not built for the Mac |
| exo | Models bigger than one Mac | Moderate | MLX safetensors | Efficient: combines several Macs’ memory |
| Jan | Private ChatGPT-style app | Easy | GGUF | Efficient: built on llama.cpp |
| SGLang | Teams already on SGLang | Advanced | MLX safetensors | Less efficient*: memory jumps under load |
| MLX | Building and research | Advanced | MLX safetensors | Efficient: made for Mac memory |
| llamafile | Zero-install portability | Easy | GGUF in one file | Efficient: built on llama.cpp |
| MLC-LLM | One model, many devices | Advanced | Compiled MLC weights | Less efficient: less tuned for Mac memory |
| oMLX | Coding agents, long context | Easy | MLX safetensors | Efficient: moves chat memory to SSD |
| mlx-lm | Scripts and fine-tuning | Moderate | MLX safetensors | Less efficient*: memory keeps growing under load |
| Magnitude | Big MoE models on smaller Macs | Easy | GGUF | Efficient: keeps unused parts on SSD |
| Core ML | Models inside apps | Advanced | .mlpackage | Very efficient: runs on the low-power Neural Engine |
| Rapid-MLX | Agent tool calling | Moderate | MLX safetensors | Not rated: no data yet |
| MTPLX | Top single-user speed | Easy | MLX | Efficient: no extra helper model |
| mlx-serve | All-in-one native server | Easy | MLX, GGUF | Efficient: no Python running alongside |
| vllm-metal | Several users at once | Moderate | MLX, GGUF | Very efficient*: memory stays steady even with many users |
| vllm-mlx | Text, image and audio serving | Moderate | MLX safetensors | Efficient: shares memory between requests |
| Strata | Huge MoE models like Qwen3.8-Flash-Next | Moderate | GGUF | Very efficient: runs on 32 GB Macs, 96 GB recommended |
| Apple Foundation Models | App features | Easy (Swift) | Built into macOS | Very efficient: already part of macOS |
| Draw Things | Fast images and video | Easy | In-app models | Very efficient: built for Mac graphics |
| Splash | Fastest Qwen3.8-27B | Easy (via LM Studio) | Splash builds | Efficient: needs at least 36 GB |
| WanGP | Video models | Advanced | safetensors (PyTorch) | Not efficient: built for NVIDIA cards, slow on Mac |
* Measured in independent tests. The other ratings are based on how each engine is built.
Ollama vs llama.cpp, in plain terms: both run the same GGUF models, and Ollama now adds MLX on Macs. Ollama is the convenient wrapper: it picks settings for you but claims most of the GPU memory up front, leaving less for your other apps. llama.cpp is the raw engine: more flags to learn, but its memory stays flat under load, making it the frugal choice on smaller Macs.
The All-in-One Apps
Ollama (188k ★)
The most-installed local runner (nearly a million new installs a week). Since version 0.19 it runs on MLX on Macs with more than 32 GB; Ollama’s own test showed decode jumping from 58 to 112 tokens/s.
LM Studio (closed source, millions of downloads)
A polished desktop app pairing llama.cpp with its open-source MLX engine, plus plug-in engines such as Splash and oMLX.
Jan (46.3k ★)
An offline, open-source ChatGPT-style app with llama.cpp bundled; MLX support is still experimental. The gentlest start for privacy-minded beginners.
llamafile (26.7k ★)
Mozilla.ai packs the model and llama.cpp into one executable that runs on macOS, Linux and Windows, with Metal working out of the box.
Magnitude (7.6k ★)
Profiles your Mac and tunes kernels for your exact chip; rarely used MoE experts stream from SSD. Its claimed 2× speed over Ollama is unverified.
The Foundations
llama.cpp (137k ★)
The engine underneath much of this list: widest model support, flat memory under load, and MTP merged in May 2026. New Metal speculative-decoding kernels hit 110 versus 32.1 tokens/s for plain decoding on an M3 Ultra, per their authors.
MLX (29.3k ★)
Apple’s NumPy-style framework treats unified memory as the starting point. It powers most newer engines here and taps the M5 Neural Accelerators.
mlx-lm (7.8k ★)
The official MLX package for running and fine-tuning LLMs. Great for scripting, but in SiliconBench its memory nearly tripled for a 7% speed gain.
Core ML (coremltools, 5.5k ★)
Apple’s deployment framework, able to target the low-power Neural Engine. Since macOS 15, stateful models keep the KV cache between calls. Expect conversion work and a fixed maximum context.
Apple Foundation Models (built in, no repo)
The roughly 3B on-device Apple Intelligence model, exposed to developers in Swift. Nothing to download, but the context is about 4,096 tokens.
MLC-LLM (23.5k ★)
Compiles a model once for Macs, iPhones, Android and browsers. Portable, but slower to support new architectures.
MLX Servers for Agents and Power Users
oMLX (23.1k ★)
A menu-bar MLX server with a two-tier KV cache: hot blocks in RAM, cold blocks on SSD, so context survives prompt changes and restarts. In vLLM’s agent tests it led at one user.
Rapid-MLX (4.2k ★)
A pure-MLX server built for reliable agent tool calling; its speed claims are self-reported.
mlx-serve (2.1k ★)
A native Zig server for MLX and GGUF models, with a menu-bar app. It also generates images, speech and video.
MTPLX (2.7k ★)
Uses the model’s own MTP heads as the drafter, keeping output statistically exact through rejection sampling. It reports 81.7 versus 30.4 tokens/s for Qwen 3.6 27B (2.69×).
Multi-User and Production Serving
vllm-metal (1.8k ★)
The vLLM project’s Mac plugin: vLLM’s scheduler and paged KV cache on MLX and Metal, with a hard memory budget. In SiliconBench it was the only engine to more than double throughput from 1 to 16 users on both chat and agent workloads.
vllm-mlx (1.6k ★)
An independent vLLM-style server for text, images, video and audio. Its paper claims 21–87% more throughput than llama.cpp, but SiliconBench flagged an accuracy gap.
SGLang (39.2k ★, Mac support is a small part)
A datacenter serving engine with a newer MLX backend (SGLANG_USE_MLX=1, built from source). Promising, but its memory spiked to about 61 GB under load in SiliconBench.
exo (47.5k ★)
Turns several Macs into one AI cluster. Devices find each other automatically, and RDMA over Thunderbolt 5 (macOS 26.2+) cuts latency between machines by up to 99%, per exo.
Specialists for Specific Models
Splash (star count unreliable; most users run it via LM Studio)
Inco AI builds custom kernels, a memory plan and a draft model for each supported model (Qwen3.8-27B, Qwen3.6-35B-A3B). Inco reports about 2× the next-fastest engine it tested. Needs M3 or newer, macOS 26.4+ and 36 GB.
Strata
Strata is built for huge MoE models such as the 125B Qwen3.8-Flash-Next, and it has a native Mac app. It streams the model’s experts from the SSD, so the model runs on a 32 GB Mac, where other engines need about 75 GB. For full speed, 96 GB is recommended. On a 128 GB M5 Max it ran at 94.7 tokens/s, against 51.1 for llama.cpp on the same file. An older unofficial MLX port, strata-mlx, also exists.
Images and Video
ComfyUI
The node-graph powerhouse for image and video. On Macs it runs on PyTorch’s MPS backend, not MLX: flexible, rarely the fastest.
Draw Things
A native App Store app with its own Metal FlashAttention engine and M5 Neural Accelerator support. The speed-and-simplicity pick for images and video.
WanGP
A video suite built for NVIDIA GPUs; its basic Mac path lacks the CUDA speedups.
Key Takeaways
- Just starting? Ollama, LM Studio or Jan. For images, Draw Things.
- Fastest for one person: engines with MTP or speculative decoding (MTPLX, Splash, oMLX), but verify output quality.
- Coding agents with long context: oMLX’s SSD KV cache, or Rapid-MLX.
- Several users at once: vllm-metal, the strongest in independent tests.
- Rock-solid: llama.cpp, or llamafile for zero install.
- Clustering 2 or more Macs to run one big model: exo is the easiest option. For full speed, connect the Macs with Thunderbolt 5 cables and use macOS 26.2 or later.
- Inside your own app: Apple Foundation Models or Core ML.
The trend: MLX is becoming the default on Apple Silicon; llama.cpp remains the yardstick.
Sources
- Ollama — Ollama is now powered by MLX on Apple Silicon in preview
- HPCwire — Ollama Raises $65M Series B Funding to Grow Its Open Source AI Platform
- LM Studio — Splash Engine - the fastest local Qwen3.8 on Apple Silicon
- GitHub — llama.cpp: llama + spec: MTP Support (#22673)
- Apple Machine Learning Research — Exploring LLMs with MLX and the Neural Accelerators in the M5 GPU
- Apple Developer — TN3205: Low-latency communication with RDMA over Thunderbolt
- Apple Developer Forums — On-device model capabilities, limits, and versioning
- vLLM Blog — Announcing vllm-metal: Concurrent Serving on Apple Silicon
- arXiv — SiliconBench: Speed, Memory, and Fidelity for LLM Serving on Unified-Memory Desktops
- arXiv — Native LLM and MLLM Inference at Scale on Apple Silicon
- PyPI — mtplx
- GitHub — jundot/omlx
- GitHub — exo-explore/exo
- GitHub — Niko1221/Strata
- ACL Anthology — Faster MoE LLM Inference for Extremely Large Models







