Resource Pooling & Distributed Local AI Inference

A diagrammatic wide-format banner with a gold and amber gradient. Multiple stylized server cluster icons spread across the banner are linked by thick, glowing data conduits that converge on a unified, central sphere of collective computational power.
Image: gemini.google.com

Run one model across several machines — and know what you’re giving up.

What this is

A 1T-parameter model at 2-bit is still around 233GB. No single 128GB machine can hold it — usable memory tops out around 96GB — but four of them can. Resource pooling splits the model across devices so the cluster’s combined memory behaves like one bigger machine.

There are two main ways to split it:

  • Pipeline parallelism: whole layers live on each machine, and a token hops from one to the next. Lower network traffic, easier over slower links.
  • Tensor parallelism: every layer is sharded across machines, and each token needs all-to-all communication. Faster on Thunderbolt/RDMA, painful on Wi-Fi.

The catch: pooled memory is not pooled bandwidth. A cluster can hold a model no single machine can, but it usually generates tokens more slowly than one machine that can hold the whole thing. LAN and Thunderbolt are usable; Wi-Fi is painful; WAN is batch-only.

Quick comparison

ToolBest forPlatformsModel formatLicenseStatus
ExoAll-Apple-Silicon clusters, zero-configmacOS, Linux (CPU)MLXApache-2.0Mature, active
llama.cpp RPCDIY mixed-machine clustersmacOS, Linux, WindowsGGUFMITMature
Distributed LlamaCLI clusters, Raspberry PiLinux, macOS, Windowsq40/f32MITActive
PetalsPublic/volunteer networksLinuxPyTorch/HFMITResearch, quiet
LocalAI MLX distributedOpenAI-compatible Mac clustermacOSMLXMITExperimental
oMLXMac menu-bar server + multi-MacmacOSMLX/GGUFApache-2.0Experimental distributed
Mesh LLMMixed-OS mesh, layer splitsmacOS, Linux, WindowsGGUFApache-2.0Newer, active
SharedLLMWatchlist onlymacOS, LinuxGGUF (llama.cpp RPC)AGPL-3.0 (claimed)Alpha; source unavailable

1. Exo

What it is: connects Macs and Linux boxes into one AI cluster. Devices auto-discover; Exo picks a placement based on memory and network topology; it uses MLX and supports pipeline and tensor parallelism. RDMA over Thunderbolt 5 cuts inter-device latency.

Why it’s first: it’s the most polished consumer option for Apple Silicon. The macOS app is a one-click install; the API is OpenAI-, Claude-, and Ollama-compatible; custom Hugging Face models are supported.

Best for: two or more Apple Silicon Macs, especially Thunderbolt 5 machines; running a model bigger than any one Mac; a local OpenAI-compatible endpoint.

Watch out: macOS 26.2+ for the app; RDMA needs Thunderbolt 5 and exact OS-version matching; Linux runs CPU-only for now; no native Windows app. Exo claims 1.8× on 2 devices and 3.2× on 4 with tensor parallelism — but only when the model and network cooperate.

GitHub · macOS app

2. llama.cpp RPC

What it is: llama.cpp’s built-in RPC backend. Run rpc-server on each worker, then start llama-server with --rpc host1,host2 and a --tensor-split. The workers expose their memory as backends; the main server treats them like extra GPUs.

Why it matters: it’s the most mature, most portable option. It supports GGUF, Metal, CUDA, and CPU; it runs on macOS, Linux, and Windows; and it’s the engine under several other tools on this page.

Best for: DIY clusters with mixed hardware, tinkerers who don’t mind the command line, anyone who wants to bring an existing GGUF.

Watch out: manual setup; version skew between machines causes cryptic failures; every tensor op pays a network round-trip, so keep the cluster on a sub-5ms LAN. It won’t turn a slow model into a fast one.

GitHub · RPC example

3. Distributed Llama

What it is: a CLI-first cluster for home devices. It uses tensor parallelism and high-speed synchronization over Ethernet; supports Linux, macOS, Windows, ARM/x86, Raspberry Pi, and experimental GPU backends.

Best for: CPU-heavy clusters, Raspberry Pi farms, people who want a simple root/worker model and a dllama command.

Watch out: only 1, 2, 4… 2^n nodes; the maximum number of nodes equals the model’s KV heads; only q40/f32 quantizations. Model support is narrower than llama.cpp’s.

GitHub

4. Petals

What it is: the original BitTorrent-style distributed inference project from BigScience. It runs 70B-class models across a public peer-to-peer network; each peer holds a slice.

Best for: research, public/volunteer networks, and understanding where this category came from.

Watch out: last push was 2024; it’s quieter than the newer tools; public-network latency and privacy are different from a private LAN cluster.

GitHub · petals.dev

5. LocalAI MLX distributed

What it is: LocalAI’s experimental MLX pipeline-parallel mode. It splits a model’s layers across Macs; workers auto-register on a P2P network; the LocalAI server generates a hostfile and serves an OpenAI-compatible API.

Best for: people already running LocalAI who want to add a second Mac.

Watch out: experimental; source-build only; MLX-only; Macs only. LocalAI itself is MIT-licensed and widely used.

LocalAI · MLX distributed docs

6. oMLX

What it is: a Mac menu-bar LLM server with continuous batching, tiered KV cache (RAM + SSD), and an experimental multi-Mac mode. The distributed mode splits one model across unequal-memory Macs using MLX pipeline ranks over Ring or Thunderbolt RDMA/JACCL.

Best for: Mac users who want a polished server and are willing to build from source for the cluster mode.

Watch out: distributed mode is experimental and source-build only; the normal app is single-machine.

GitHub · Distributed docs

7. Mesh LLM

What it is: a newer Rust/TypeScript mesh that pools machines into a private or public mesh. It uses layer-range splits and an OpenAI-compatible endpoint, and supports macOS, Linux, Windows, CUDA, ROCm, Vulkan, Metal, and CPU.

Best for: mixed-OS clusters and people who want a cross-platform alternative to Exo.

Watch out: newer and less proven; the project’s own comparison is the main source for its claims.

GitHub · meshllm.cloud

8. SharedLLM — watchlist, not a recommendation

What it claims: an AGPL-3.0, community-owned compute mesh built on llama.cpp RPC, with a coordinator, node daemon, desktop app, and a “living mesh” of small LoRA experts.

Why it’s not in the main list: when checked on October 31, 2026:

  • The site’s live network counter showed 0 nodes online and 0 GB shared RAM.
  • The advertised source repo, github.com/MHASK/sharedllm, returned 404.
  • The only public repo under that account is MHASK/sharedllm-releases, which describes itself as “public release binaries — Source: private repo.” That contradicts the site’s “every layer lives in one public repository” claim.
  • The name collides with an academic SharedLLM (an ICLR 2026 long-context paper) and a commercial sharedllm.com gateway.

Verdict: an interesting idea at alpha stage, but not verifiable as open source right now. Keep it in a watchlist note with those caveats; don’t recommend it as a working tool yet.

sharedllm.org · release binaries

How to choose

  • All Macs, Thunderbolt 5, want zero-config: Exo.
  • Mixed OS or mixed hardware, comfortable with CLI: llama.cpp RPC.
  • CPU/Raspberry Pi cluster: Distributed Llama.
  • Already running LocalAI or oMLX: their experimental MLX modes.
  • Mixed-OS mesh, newer stack: Mesh LLM.
  • Public/volunteer network: Petals; SharedLLM only as a watchlist.
  • Data-center GPUs: vLLM or SGLang — different category.

Reality check

  • Pooled memory ≠ pooled speed. Every token crosses the network. Expect lower tok/s than a single machine that fits the model.
  • Network matters more than CPU. Thunderbolt 5/RDMA is the good case; 1GbE is workable for pipeline parallelism; Wi-Fi and WAN are batch-only.
  • Model support varies. Check the architecture and quantization before downloading hundreds of gigabytes.
  • Start with two machines. More nodes add coordination overhead and failure modes.