Ollama vs LM Studio vs MLX
Three free ways to run AI models on your own Mac. They overlap more than you'd think, but each suits a different kind of user.
If you want to run open AI models on your own Mac, three free tools come up again and again: Ollama, LM Studio and Apple's MLX (through its mlx-lm package). All three run models locally on Apple silicon, so your prompts stay on your Mac. They differ in how you use them, how open they are and how they plug into coding tools.
At a glance
| Ollama | LM Studio | MLX (mlx-lm) | |
|---|---|---|---|
| Made by | Ollama | LM Studio | Apple machine learning research |
| Licence | Open source (MIT) | Proprietary app; some parts MIT | Open source (MIT) |
| Price for local use | Free | Free for home and work | Free |
| Interface | App and command line | Full graphical app, plus command line | Command line and Python only |
| Mac requirements | macOS 14+; Apple silicon for GPU | Apple silicon, macOS 14+, 16 GB recommended | Apple silicon, macOS 14+, Python 3.10+ |
| Engines on a Mac | MLX and llama.cpp (GGUF) | MLX and llama.cpp (GGUF) | MLX |
| Models from | Ollama's library (also GGUF models from Hugging Face) | Hugging Face, searched in the app | Hugging Face (including mlx-community) |
| Local server | Port 11434 | Port 1234 | Port 8080 |
| OpenAI-compatible API | Yes | Yes | Chat completions |
| Anthropic-compatible API | Yes | Yes | Not documented |
| Other platforms | Windows, Linux | Windows, Linux | Linux (CUDA or CPU) |
Details as listed in each project's documentation in November 2026.
Ollama: the easiest way to serve models
Ollama is a small app and command-line tool that downloads models from its own library and serves them on your Mac. Run ollama run <model> and it handles the rest. Since early 2026 it has an MLX engine on Apple silicon, alongside its llama.cpp-based engine. Its local server speaks both OpenAI's and Anthropic's API formats, so most coding tools can use it, and ollama launch claude sets up Claude Code to use a local model in one command. Modelfiles let you customise models.
Privacy: Ollama's documentation says it doesn't see your prompts or data when you run models locally. It also offers paid cloud models that run on its servers; you can switch cloud features off with OLLAMA_NO_CLOUD=1. Its privacy policy says it may collect limited device and usage metadata, but not your prompts.
LM Studio: the friendliest app
LM Studio is a full desktop app with a chat window, a model browser that searches Hugging Face, document chat and support for MCP tools. It runs both GGUF models (with llama.cpp) and MLX models on Apple silicon. It can also run a local server, with OpenAI- and Anthropic-compatible endpoints, and a headless mode for running in the background.
Licence and privacy: the app itself is proprietary, free for home and work since July 2025; parts such as the lms command-line tool and its MLX engine are open source. LM Studio says the app can run entirely on your device without internet and doesn't include telemetry. Update checks send the app version, your operating system and your IP address.
MLX: Apple's framework, for tinkerers
MLX is Apple's open-source machine learning framework, designed around Apple silicon's unified memory. Its mlx-lm package runs and serves models from the terminal or Python: mlx_lm.chat, mlx_lm.generate and mlx_lm.server. It's the only one of the three built for fine-tuning models yourself (mlx_lm.lora), and it makes converting and quantising simple (mlx_lm.convert -q). There's no graphical app, and its server is described as not recommended for production. Both Ollama and LM Studio use MLX under the hood for MLX models.
What about speed?
All three can use MLX on a Mac. Apart from Ollama's own launch figures for a single model, none of the projects publishes a broad official benchmark of MLX against llama.cpp. Speed depends mostly on the model, its compression and your Mac's memory bandwidth. Apple's own research shows token generation is limited by memory bandwidth. See why your local model might be slow.
Which should you choose?
- Choose Ollama if you want a simple, open-source model server that coding tools can connect to.
- Choose LM Studio if you prefer a polished graphical app for browsing, downloading and chatting with models.
- Choose MLX (mlx-lm) if you're comfortable in Python and want to convert, quantise or fine-tune models.
Or skip the setup: Nexus
Nexus, a native Mac app for building with AI, has a built-in engine based on Apple's MLX, so you can download an open model inside Nexus and use it in the chat without the command line. If you already use Ollama, Nexus can use your Ollama models too. You get a visual workspace with a live preview, diffs and restore points. Nexus will be a one-time purchase of $199 USD, with no Nexus subscription; it needs an Apple silicon Mac with macOS 12 or later (14 or later for local models and the Codex app, 13 or later for Claude Code). Connecting third-party AI services such as Claude Code or Codex is optional and at your own expense (see Nexus pricing). It's coming soon.
Frequently asked questions
Is LM Studio open source?
No. The LM Studio app is proprietary, though it is free for home and work use. Some parts, such as its lms command-line tool and its MLX engine, are open source under the MIT licence. Ollama and Apple's MLX are open source under MIT.
Does Ollama use MLX on a Mac?
Yes. Since early 2026 Ollama has an MLX engine on Apple silicon, alongside its llama.cpp-based engine for GGUF models.
Which is best for coding tools like Claude Code?
Ollama and LM Studio both offer an Anthropic-compatible endpoint that Claude Code can point at, and Ollama has a one-command setup (ollama launch claude). mlx-lm's server documents OpenAI-style chat endpoints only.