MLX LM
Run and fine-tune LLMs locally on Apple Silicon with MLX
MLX LM is a Python package from Apple's MLX project for running and fine-tuning large language models efficiently on Apple Silicon. It provides a command-line interface and HTTP server for local text generation entirely on-device.
Key features
- Native Apple Silicon inference
- LoRA fine-tuning
- OpenAI-compatible server
- Model quantization
Strengths
- Released under the MIT license
- Mature project with 7.3k GitHub stars
- Written in Python
Is MLX LM secure?
OSV.dev has no published security advisories for MLX LM's repository. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.
Source: OSV.dev, checked 2026-10-14. How this is measured.
MLX LM replaces
Health badge
Maintain MLX LM? Add its health score to your README. The badge links back to this page.
Compare MLX LM
10 head-to-head comparisons.
Similar self-hosted ai apps
OpenClaw
Self-Hosted AIThe AI that actually does things
Hermes Agent
Self-Hosted AIThe AI agent that grows with you
OpenCode
Self-Hosted AIThe open source AI coding agent
Replaces Claude Code, Cursor
Hugging Face Transformers
Self-Hosted AIState-of-the-art machine learning model library
Replaces OpenAI API
Dify
Self-Hosted AIOpen-source platform for building production LLM apps
Replaces OpenAI Assistants, Vertex AI Agent Builder
Langflow
Self-Hosted AIVisual framework for building AI agents and RAG pipelines
Replaces Vertex AI Agent Builder