skip to content

On an Apple Silicon Mac, LM Studio offers a GGUF and an MLX build of one model — what differs, and which do you choose?

level: middleimportance: should knowfreq 9%

answer

  1. same model, two engines
  2. llama.cpp runs everywhere, MLX on Apple Silicon
  3. lms get labels MLX builds [MLX]
  4. some load settings are llama.cpp-only
  5. the Windows teammate cannot run MLX

basics

~20 s

A GGUF build runs on LM Studio's llama.cpp engine on Mac, Windows and Linux; an MLX build runs on Apple's MLX engine, on Apple Silicon only. Pick MLX for a Mac-only setup, GGUF when other machines must match.

solid answer

~40 s

Both are the same model packaged for different engines. A **GGUF** build runs on LM Studio's `llama.cpp` engine, which LM Studio ships for Mac, Windows and Linux. An **MLX** build runs on Apple's `MLX` engine, which LM Studio supports only on Apple Silicon Macs. The engines differ in their settings and features: `flash_attention`, KV-cache offload to the GPU, eval batch size and expert count only affect the llama.cpp-based engine. Max Concurrent Predictions is documented for the llama.cpp engine, with MLX 'coming soon'. Structured output uses llama.cpp's grammar sampling for GGUF and Outlines for MLX. On a Mac-only setup, measure both on your own prompts. When a Windows or Linux machine must run the same thing, standardise on GGUF.

go deeper

for a junior

Recall that GGUF runs on LM Studio's llama.cpp engine everywhere, while MLX runs on Apple's engine on Apple Silicon Macs only.

for a middle

Explain which load settings are llama.cpp-only (flash attention, KV-cache offload, eval batch size, expert count) and how lms get labels and filters the two formats.

for a senior

Show the judgement for a mixed fleet: standardise on GGUF when Windows or Linux must match, and measure both builds on Macs instead of assuming one is faster.

for a principal

Weigh per-platform best builds against one portable build, given support effort, reproducing bugs across machines and engine-specific features.

## Two builds, one model On Discover, many models come as more than one **build**: the same model's weights, packaged in a different file format for a different **engine**, the inference library that executes the model. LM Studio runs two engine families: - **llama.cpp**, which loads **GGUF** files. LM Studio runs it on macOS, Windows and Linux. - **MLX**, Apple's machine-learning framework. LM Studio uses it **only on Apple Silicon Macs**. Its MLX engine is published as the open-source `lmstudio-ai/mlx-engine`. In the CLI, `lms get` tags download options as `[GGUF]` or `[MLX]`, and `--mlx` or `--gguf` restricts results to one format. Without either flag, it only considers options your system supports. Internally, LM Studio records an MLX build's compatibility type as `safetensors`, the weight-file format MLX builds ship in. A catalog entry described in a `model.yaml` can list a GGUF repo and several MLX repos as concrete sources behind one `publisher/model` name, so one entry point can resolve to either format. ## What actually differs at load and run time The choice is not cosmetic, because several load settings belong to one engine: | Setting or feature | llama.cpp engine (GGUF) | MLX engine | |---|---|---| | Platforms in LM Studio | Mac, Windows, Linux | Apple Silicon Macs only | | `flash_attention` at load | Takes effect | Documented as llama.cpp-only | | `offload_kv_cache_to_gpu`, `eval_batch_size`, `num_experts` | Take effect | Documented as llama.cpp-only | | Max Concurrent Predictions (parallel requests) | Supported; needs the llama.cpp runtime v2.0.0 | Documented as "coming soon" | | Structured output | llama.cpp grammar-based sampling | Outlines | | KV-cache quantization in the SDK's load config | llama.cpp cache types such as `q8_0` | Its own bit widths and group sizes | The REST load documentation is explicit: `flash_attention`, `offload_kv_cache_to_gpu`, `eval_batch_size` and `num_experts` "will only have an effect on LLMs loaded by LM Studio's llama.cpp-based engine". So a flash-attention default saved for a model does nothing visible when that model is an MLX build, and a team that tunes those knobs on GGUF should not expect them to carry over. ## Telling which build you have Once several builds sit in the models directory, it is easy to lose track of which one a client is hitting: - **Repository names usually say it.** Publishers tend to name the repos apart, for example `Qwen3-8B-GGUF` against `Qwen3-8B-MLX-4bit` in LM Studio's own catalog example. - **The CLI says it.** `lms get` shows `[GGUF]` or `[MLX]` beside each option. - **The native REST API says it.** Each entry from `GET /api/v1/models` carries a `format` field of `"gguf"` or `"mlx"`, next to `max_context_length`. Check this before comparing speed or behaviour between two machines. Otherwise you can end up comparing two different engines without knowing it. ## How to choose 1. **Is every machine an Apple Silicon Mac?** If so, both builds are open to you. Load each with the same context length, run your own prompts, and compare speed and output. The docs make no promise about which engine is faster for a given model, so measure it. 2. **Does any other machine have to run the same thing?** A Windows desktop with an RTX card, or a Linux box, cannot run the MLX build in LM Studio. If the team wants one build everywhere, standardise on **GGUF**. Make sure each machine has a llama.cpp runtime that can use its GPU. 3. **Do you need a feature tied to one engine?** Parallel requests through Max Concurrent Predictions, and the llama.cpp-only load knobs above, decide it for GGUF. 4. **Pick the download option second.** Within a build, the size or fidelity option is a separate choice from the format. ## Common mistakes - Treating the two builds as different models. They come from the same model. What differs is the file format and the engine that runs it. - Assuming LM Studio converts one format to the other on load. You download the build the engine needs. - Copying a Mac's MLX-based setup to a Windows teammate and wondering why the same option is missing there. ## What this is not Choosing a build is not choosing a quantization level. Within either format you still choose a size and fidelity option, and what the labels mean is part of the GGUF format material. Nor is it a judgement on MLX as a framework outside LM Studio. MLX's own Python API is a separate subject.

  • A teammate on a Windows desktop with an RTX card wants your Mac setup. What changes?
    He cannot use the MLX build, because LM Studio runs MLX only on Apple Silicon. He downloads the GGUF build of the same model and loads it on the llama.cpp engine. He also checks that the selected llama.cpp runtime is one that can use his GPU. Settings tuned on MLX do not transfer one-for-one, since several llama.cpp load knobs have no MLX effect.

Like one film sold on two disc formats: the movie is identical, but each disc only plays in its own player, and the Windows desktop has no player for the MLX disc.

  • MLX builds run wherever LM Studio runs, including Windows and Linux.
  • The GGUF and MLX builds of a model are differently trained models.
  • Flash attention and KV-cache offload behave the same on both engines.
  • LM Studio converts a GGUF file to MLX automatically when loading on a Mac.
  • Choosing MLX or GGUF is the same decision as choosing a quantization level.

Assumes LM Studio's docs as fetched on 2026-10-04 (download page at 0.4.25), where Max Concurrent Predictions is described for the llama.cpp engine with MLX 'coming soon'; engine-specific support can change with runtime releases.