Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

MLX LM

Runs and fine-tunes LLMs on Apple silicon with MLX.

Checked
Visit github.com(opens in a new tab)
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

What it is

MLX LM generates text and runs chat sessions with open-weight models on Apple silicon Macs, using commands such as mlx_lm.generate and mlx_lm.chat. It pulls models from the Hugging Face Hub, quantises them and can upload the result, and it supports low-rank (LoRA) and full fine-tuning, including on quantised models. On a Mac it is an alternative to llama.cpp-based tools such as Ollama and LM Studio.

Best for

Mac users who want to run or fine-tune open models locally on Apple silicon.

Skills it helps with

Learn MLX LM by doing

  • Local model servers cheat sheet

    Start commands, default ports and OpenAI-compatible base URLs for Ollama, LM Studio, llama.cpp, MLX LM, vLLM and SGLang, checked against each project's docs.

    Cheat sheetIntermediate

  • Transformers

    Hugging Face's library of open model definitions.

    Open sourceHugging Face

  • Hugging Face

    Hub for models, datasets and Spaces, plus open-source ML libraries.

    FreemiumHugging Face

  • LLM

    CLI and Python library for prompting many models.

    Open sourceSimon Willison

  • Together AI

    Cloud for running and fine-tuning open models, with serverless endpoints and GPUs.

    Usage-basedTogether AI

  • Jan

    Open-source desktop chat app that runs local models offline or connects to hosted ones.

    Open source

  • llama.cpp

    C/C++ inference engine for GGUF models on CPUs and GPUs; many local tools use it.

    Open source

All Models and local inference