# MLX LM

> Run and fine-tune LLMs on Apple Silicon with MLX; includes an OpenAI-style server.

Canonical: https://thelocalbench.com/tools/mlx-lm · Data as of 2026-10-12 · The Local Bench (thelocalbench.com), data as of 2026-10-12, CC BY 4.0

Flags: [verified] checked against primary source · [sourced] cited · [estimate] formula · [sample] placeholder

- Category: Runtimes / Apple Silicon runtime
- Website: https://github.com/ml-explore/mlx-lm
- Repository: https://github.com/ml-explore/mlx-lm
- Open source: yes, MIT [verified] https://github.com/ml-explore/mlx-lm/blob/HEAD/LICENSE
- Pricing: free, starting $0 [verified] https://github.com/ml-explore/mlx-lm
- Platforms: macOS [sourced] https://github.com/ml-explore/mlx-lm#readme
- Added 2026-10-13, last verified 2026-10-13
- Sponsored: no

## Works with local models

| Integration | Status | Flag | Source |
|---|---|---|---|
| Ollama | not yet confirmed | [not_measured] |  |
| llama.cpp | not yet confirmed | [not_measured] |  |
| LM Studio | not yet confirmed | [not_measured] |  |
| OpenAI-compatible | yes | [verified] | https://raw.githubusercontent.com/ml-explore/mlx-lm/main/mlx_lm/SERVER.md |
| MCP | not yet confirmed | [not_measured] |  |

JSON: https://thelocalbench.com/api/v1/tools/mlx-lm.json

Logo: trademark of its owner, shown to identify the tool (source: github-org-avatar, https://github.com/ml-explore.png?size=384).
