One Mac Studio holds up to 512 GB of unified memory, and most models fit in it — Apple’s own post notes that Qwen 3.8 at 27B and Mistral Medium 3.5 at 128B fit comfortably on a single Mac Studio with 512 GB, taking up to 68 GB and 158 GB of RAM. The exception is a frontier-class model that does not fit at all: Muse Spark Open, with 816 billion parameters, would need more than 1.6 TB of RAM in its native BF16 precision for the parameters alone, and about 493 GB in a 4-bit quantized (NVFP4) format — plus the memory for intermediate computations, so it cannot fit on a single machine. The fix is to split the model across two Macs with MLX distributed inference. This is not the single-machine MLX server guide; it is the multi-machine setup, and it only makes sense when one machine cannot hold the model.
Link the two Macs and check the requirements
Apple’s post sets out the pieces: macOS 26.2 introduced a low-latency RDMA driver over Thunderbolt 5, and MLX (v0.30.1 and later) builds on top of this driver and provides new communication collectives (jaccl) for different parallelization schemes. In the post’s setup, the two Mac Studios are connected with two Thunderbolt cables, to double the link bandwidth, providing the RDMA-over-Thunderbolt link that jaccl uses. Meta’s deployment guide for the same model adds the checklist: macOS 26.2 or later on every Mac, MLX 0.30.1 or later, a direct Thunderbolt 5 link between every pair of Macs, and passwordless SSH from the primary Mac to every other Mac. Install mlx-lm on each Mac, since mlx.launch starts the program over SSH on every Mac:
pip install -U mlx-lm
Each Mac loads the model from its own disk, so each needs disk space for the full NVFP4 checkpoint. Test the SSH link first: ssh mac-studio-2.local 'echo ok' should answer without a password prompt.
Generate the hostfile
mlx.launch reads which Macs to use from a hostfile. For the jaccl backend, each entry also carries the host’s Thunderbolt IP addresses and RDMA devices, and the MLX distributed documentation describes the format. Generate the file with MLX’s own utility rather than writing it by hand:
mlx.distributed_config --hosts mac-studio-1,mac-studio-2 --output hostfile.json
The hostfile format is specific to the MLX distributed backend, so use the generated format for your installed MLX version.
Launch the server across both Macs
Run this on the primary Mac. It starts mlx_lm.server on every Mac in the hostfile and serves an OpenAI-compatible API on port 8080:
mlx.launch --hostfile hostfile.json --backend jaccl --env MLX_METAL_FAST_SYNCH=1 -- \
mlx_lm.server --model meta-models/Muse-Spark-Open-816B-A42B-NVFP4 --port 8080
Everything after -- is the program that mlx.launch runs on each Mac. --backend jaccl selects the RDMA-over-Thunderbolt backend, and --env MLX_METAL_FAST_SYNCH=1 turns on an experimental MLX feature for fast CPU-GPU synchronization. There are two ways to split the model: with pipeline parallelization, the first Mac Studio executes the first half of the model’s layers, then sends the output to the second Mac Studio, which executes the second half; with tensor parallelization, each machine holds a fraction of each layer, so per-layer computation is parallelized. Apple’s post reports the measured results for Muse Spark Open at 8,192 tokens of context: 15.74 tokens per second on two Mac Studios under pipeline parallelization, 24.99 under tensor parallelization, and 36.73 on four — and time to first token of 8.4 seconds on the two-Mac pipeline setup.
| Check | What you should see | If you do not see it |
|---|---|---|
| Linked | Both Macs on macOS 26.2 or later, joined by Thunderbolt cables, with RDMA on | RDMA over Thunderbolt needs macOS 26.2 — older systems have no driver for it |
| Reachable | ssh mac-studio-2.local 'echo ok' answers with no password prompt |
Set up key-based SSH first — mlx.launch starts jobs over SSH |
| Hostfile | hostfile.json lists both Macs with their Thunderbolt details |
Regenerate it with mlx.distributed_config — do not hand-edit an older example |
| Serving | The server answers on port 8080 on the primary Mac | Check that mlx-lm is installed on every Mac, not just the primary |
Expected result. We checked Apple’s MLX distributed-inference post for the model sizes, the two parallelization schemes, the mlx.launch commands, and the measured speeds. The macOS, MLX, Thunderbolt, and SSH checklist from Meta’s deployment guide was confirmed only through search results, as the page itself would not open in our browser. We did not run MLX on two Macs.
Limits
This setup is for one situation only: a model that does not fit on a single Mac. If your model fits on one Mac Studio, run it on one Mac Studio — the second machine adds cables, SSH, and a hostfile for no benefit, and pipeline parallelization leaves decode speed essentially unchanged because the layers are still evaluated sequentially. The decode speeds and time-to-first-token figures above come from Apple’s post, measured on Mac Studio computers with M5 Ultra chips at 8,192 tokens of context; the 68 GB and 158 GB RAM figures for Qwen 3.8 and Mistral Medium 3.5 are the post’s large-context (65,536-token) figures. Older Apple Silicon, Thunderbolt 3 or 4 links, and non-RDMA transports have no published measurement. The model name and the 493 GB figure are the post’s own example; your model and its checkpoint size will differ. We did not run MLX on two Macs, so no speed here is a recorded result.
Sources
- Apple MLX distributed inference post — Muse Spark Open 816B needs more than 1.6 TB in BF16 and about 493 GB in NVFP4, pipeline parallelization splits layers across two Macs, mlx.launch with –backend jaccl and MLX_METAL_FAST_SYNCH=1, mlx_lm.server on port 8080, decode 15.74 tokens per second on two Mac Studios under pipeline and 24.99 under tensor, 36.73 on four, time to first token 8.4 seconds on the two-Mac pipeline setup
- Meta Muse Spark Open on Mac guide (checklist confirmed via search results; the page itself would not open) — macOS 26.2 or later on every Mac, MLX 0.30.1 or later, direct Thunderbolt 5 link between every pair of Macs, passwordless SSH from the primary Mac, pip install -U mlx-lm on each Mac, mlx.launch with hostfile.json and –backend jaccl serving mlx_lm.server on port 8080
