# MLX LM

> Run and fine-tune LLMs on Apple silicon with MLX

Source: https://talira.ai/catalog/mlx-lm-rb2gav1w
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [ai / inference / runtimes](https://talira.ai/categories/ai/inference/runtimes), [ai / ml / fine tuning](https://talira.ai/categories/ai/ml/fine-tuning)
- Platforms: macos[^2]
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^1]
- Backed by: [Apple](https://talira.ai/orgs/apple.md)
- Funding: public company (NASDAQ:AAPL)[^3]

MLX LM is a Python package and command-line tool from Apple for generating text with and fine-tuning large language models on Apple silicon, built on [MLX](https://talira.ai/catalog/mlx-xz8zv9bv.md). It loads thousands of models from the Hugging Face Hub with a single command, quantizes models and uploads them back to the Hub, and does low-rank (LoRA) and full fine-tuning, including on quantized models. It has commands to generate text, chat in a REPL and convert models, and runs distributed inference and fine-tuning across several Macs.

## Links

- GitHub: https://github.com/ml-explore/mlx-lm

## Problems it solves

- run a large language model locally on my Mac's Apple silicon
- fine-tune an LLM with LoRA on a MacBook
- quantize a Hugging Face model to run faster on Apple silicon
- chat with an open model from the command line on macOS

## Features

- generate text and chat with models from the Hugging Face Hub
- quantize models and upload them to the Hub
- LoRA and full fine-tuning, including quantized models
- distributed inference and fine-tuning with mx.distributed
- commands: mlx_lm.generate, mlx_lm.chat, mlx_lm.convert

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.42 out of 1.
Signals: backing 0.55, extensibility 0.20.

- backed by Apple
- funding: public company (NASDAQ:AAPL)

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [MLX](https://talira.ai/catalog/mlx-xz8zv9bv.md)

## Alternatives

- [Ollama](https://talira.ai/catalog/ollama-gr2tx5nn.md): Start building with open models, locally or in the cloud
- [llama.cpp](https://talira.ai/catalog/llama-cpp-g0rydd64.md): LLM inference in C/C++

## Sources

[^1]: https://github.com/ml-explore/mlx-lm/blob/main/LICENSE (checked 23 Nov 2026)
[^2]: https://github.com/ml-explore/mlx-lm (checked 23 Nov 2026)
[^3]: https://data.sec.gov/submissions/CIK0000320193.json (checked 20 Nov 2026)
