Which tools run a model across machines?
Start with Superfluid if your goal is serving more people or agents from the machines you already have. It keeps a full copy of the model on every machine and spreads requests between them behind one endpoint.
If the model is too big for one machine, you need a tool that splits it instead. Macs lean towards exo or MLXMLXApple's machine learning framework for Apple silicon.Read more distributed, mixed hardware towards llama.cpp RPC, and NVIDIA servers towards vLLM.
Each one is changing fast, so check the version notes before you trust any detail here.
Superfluid
Superfluid is an open-source server from Base Compute that makes several machines answer as one endpoint. It does not split the model. Every node holds a full copy, and the head machine places each session on one node, which is request spreading.
So it adds throughput, not capacity. It fits an office where several people or agents share one model and each machine already holds it.
The machines can be mixed. Apple, AMD and NVIDIA machines serve the same model, each through the runtimeRuntimeThe software that loads a model file and runs it.Read more that suits it: BaseRT, llama.cpp or MLX.
Install it on every machine:
curl -fsSL https://basecompute.co/sf/install.sh | shOn the head, create a tokenTokenA chunk of text, usually part of a word. Models read and write in tokens.Read more and start the server with a listener for nodes:
superfluid fleet token
superfluid serve basecompute/Qwen3.8-27B --http 0.0.0.0:8453 --fleet-listen 0.0.0.0:8454On each node, join with the token the head printed:
superfluid node join --model basecompute/Qwen3.8-27B --token TOKENNodes find the head on the local network. Clients use the head's endpoint on port 8453, which speaks OpenAI, Anthropic and Ollama compatible APIs, so the usual client code works.
Each node reports its measured speed and load, and faster machines get more sessions. If a machine fails mid-reply, another one continues the stream from the tokens already delivered. Only machines holding the head's token can join, and traffic between machines is encrypted.
Base Compute reports over 10,000 tokens per second of total throughput from twelve Mac Studio M3 Ultras in its README. That figure is vendor-reported and is a total across 384 concurrent streams, not one person's speed.
Every node needs enough memory for a full copy of the model, so Superfluid never runs anything bigger than one machine holds. A session that moves to another node recomputes its prompt, and nodes running different quantizationsQuantizationStoring each weight with fewer bits so the model takes less memory.Read more give different answers. It is pre-1.0, so flags, protocols and on-disk formats may change between releases.
The head binds to every network interface in the commands above, and the server does not speak TLS. Keep it on a trusted network or behind a reverse proxy. How do I share one model with my household or office? covers the safe way to open a server up.
exo
exo turns a group of Macs into one model server with very little setup. You install it on each machine, the copies find each other on the local network, and exo splits the model across them. It serves an OpenAI-compatible API and a web dashboard from any node.
It uses MLX underneath, so it is strongest on Apple silicon. It supports both layer splitPipeline parallelThe model is cut into consecutive slices across devices. Adds memory, not speed.Read more and tensor parallelTensor parallelEvery device works on every token. Needs a very fast link.Read more, and it can use RDMARDMARemote direct memory access. One machine reads another's memory without the CPU in the way.Read more over Thunderbolt 5 where the Macs and macOS version support it. Which cable do I need between machines? covers those requirements.
git clone https://github.com/exo-explore/exo
cd exo
uv run exoRun the same thing on each Mac. Open the dashboard, pick a model, and exo shows how it will place the layers across the machines.
Automatic discovery is convenient until it picks the wrong network. If one Mac is on Wi-Fi and another on Thunderbolt, exo can route through the slow link. Turn off Wi-Fi on the cluster machines while you test.
llama.cpp RPC
llama.cpp can treat another machine's GPU as if it were a local one. You run a small rpc-server on each worker, then point llama-server on the main machine at them. It does layer split, and nothing else.
It runs anywhere llama.cpp runs: Mac, Windows, Linux, NVIDIA, AMD, Intel and CPU. Each worker can use a different backendBackendThe hardware path an engine uses: Metal, CUDA, Vulkan, ROCm or CPU.Read more, so a Mac and a Linux box with an AMD GPU can share one model. That makes it the simplest tool to reason about, and the most portable.
Build with the RPC backend on every machine:
cmake -B build -DGGML_RPC=ON
cmake --build build --config ReleaseOn each worker:
build/bin/rpc-server -H 0.0.0.0 -p 50052On the main machine:
build/bin/llama-server -m model.gguf -ngl 99 \
--rpc 192.168.1.11:50052,192.168.1.12:50052The main machine reads the GGUFGGUFThe single-file model format used by llama.cpp and the apps built on it.Read more file and sends each worker its layers at load time. Its own GPU takes a share too.
rpc-server has no authentication and no encryption. Anyone who can reach the port can use that GPU and send it arbitrary data. Keep it on a private network or a direct cable, never on a network you share.
Every machine must run the same llama.cpp build. The RPC protocol changes between versions, and a mismatch fails at load or gives garbage.
MLX distributed
MLX has distributed support built in. You write or run an MLX program, and mlx.launch starts it on several Macs at once with a communication backend joining them. It is Apple's own stack, and it does inference and fine-tuning.
mlx.launch --hostfile hosts.json --backend ring my_script.pyThe ring backend uses ordinary TCP over Ethernet or Thunderbolt networking. MPI is another option. A newer backend uses RDMA over Thunderbolt 5 for low-latency tensor parallel.
This is the most flexible option on Macs and the least packaged. You get primitives and examples, not a server with a dashboard.
Use it if you want to fine-tune across Macs or control exactly how the model is split. Otherwise exo, which builds on MLX, does the work for you. What is MLX? covers MLX on one machine.
vLLM multi-node
vLLM runs across several NVIDIA machines using Ray to join them. You start a Ray cluster, then start vLLM on the head node with the total parallel size.
On the head node:
ray start --head --port=6379On each worker:
ray start --address=HEAD_IP:6379Then on the head node:
vllm serve MODEL_ID --tensor-parallel-size 2 --pipeline-parallel-size 2The usual pattern is tensor parallel inside each machine and pipeline parallel between machines. That keeps the chatty traffic on the fast links inside the box. With an RDMA link between machines, as on a pair of DGX Sparks, tensor parallel across machines also works.
Every node needs the same vLLM, Python and CUDA versions, and the model files at the same path. Most failures are version drift or NCCL picking the wrong network interface, not vLLM itself.
SGLang has similar multi-node support. For CUDA clusters, both are production tools that companies run at scale.
Comparison table
| Tool | Platforms | Split modes | Interconnects | Maturity |
|---|---|---|---|---|
| Superfluid | Apple, AMD and NVIDIA machines, mixed freely | None. Request spreading, a full copy on every node | Any TCP network | Pre-1.0. Encrypted links, token to join |
| exo | macOS first. Other platforms limited | Layer split, tensor parallel | Ethernet, Thunderbolt, Thunderbolt 5 RDMA | Young and fast-moving. Easiest on Macs |
| llama.cpp RPC | Anything llama.cpp builds on, mixed freely | Layer split | Any TCP network | Stable core, rough edges. No security |
| MLX distributed | macOS on Apple silicon | Whatever your script does: layer, tensor, data parallel | Ethernet, Thunderbolt, Thunderbolt 5 RDMA | Solid library, little packaging |
| vLLM multi-node | Linux with NVIDIA, some AMD | Tensor, pipeline, expert parallel | Ethernet, InfiniBand, RoCE | Production grade, demanding setup |
All Macs: start with exo. Mixed hardware: llama.cpp RPC. NVIDIA servers or Sparks: vLLM.
Reach for MLX distributed when you want to write the code yourself. Reach for Superfluid when the model already fits each machine and you need more throughput.
Try llama.cpp RPC on one machine before involving a second. Start rpc-server on 127.0.0.1, point llama-server --rpc 127.0.0.1:50052 at it, and check the model loads. Then move the worker to another machine.
Go deeperThat's enough
What gets sent over the network
In llama.cpp RPC, the main machine owns the model file and pushes weightsWeightsThe full set of a model's parameters, stored in a file.Read more to each worker at load time. For a model of 100 GB or more over 2.5 GbE, that is several minutes. During generation only the per-token state moves.
exo and vLLM expect each node to load weights from its own disk. Put the model on every machine first, or a shared download, to avoid moving it at start-up.
Superfluid sends only requests and tokens between machines. Weights and KV caches stay on each node.
Discovery versus configuration
exo and Superfluid find peers by themselves. llama.cpp RPC, MLX and vLLM need you to list the addresses. Automatic is faster to start and harder to debug. Static addresses take five more minutes and behave the same every time.
Why there is no single winner
Each tool sits on a different engine. llama.cpp RPC has the widest hardware reach because GGML runs everywhere.
The exo and MLX tools use Apple's own engine, so they run Macs fastest. vLLM uses NVIDIA's communication libraries, which no home tool matches on CUDA hardware. Which runtime should I use? makes the same point for single machines.