New Tool Radar

Local AI

How to Run an MLX Model in LM Studio on Apple Silicon

Load an MLX model in LM Studio on an Apple Silicon Mac and confirm it answers.

Schematic with three steps: Find an MLX model in Discover; Load it with the MLX runtime; Chat and check the answer.

On Apple Silicon Macs, LM Studio can run models with Apple MLX as well as with llama.cpp. MLX models use the unified memory of the Mac directly, so they are the natural choice on a Mac with enough memory.

What you need

  • An Apple Silicon Mac with macOS 14 or later
  • LM Studio installed
  • 16 GB of RAM or more, as LM Studio recommends

Step 1: Find an MLX model in Discover

Open the Discover tab and search for an MLX model; MLX weights are listed alongside GGUF weights. Pick a size your machine can hold, starting with a 4-bit model.

Step 2: Load it with the MLX runtime

Load the model and confirm the MLX runtime is selected. LM Studio manages runtimes through the runtime manager, and the MLX runtime is the one built for Apple Silicon.

Step 3: Chat and check the answer

Ask the model a short test question in the chat tab and confirm it answers. If the model fails to load, check the runtime manager and pick a smaller MLX model.

Worked example: synthetic MLX run in LM Studio

The table below is a synthetic example. It shows the expected result of running an MLX model; no model was run.

Check Expected Result
Mac chip Apple Silicon Pass
Model format MLX weights Pass
Runtime MLX Pass
Test question Answered Pass

Expected result (UNTESTED). the MLX model loads with the MLX runtime on the Apple Silicon Mac and answers the test question. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • MLX models only run on Apple Silicon Macs; Intel Macs are not supported by LM Studio.
  • A 4-bit model needs roughly half a gigabyte to 0.7 GB per billion parameters plus context, so size the model to your memory.
  • GGUF models in LM Studio still use the llama.cpp runtime, not MLX.

Sources

See all