Run an AI model too big for any one of your computers
A 70-billion-parameter model needs about 42GB of memory; your gaming PC has 24GB and your laptop 16GB. llama.cpp's RPC backend splits the model's layers across both, so a model that fits nowhere runs across everything, with a ChatGPT-style web UI on top. It buys memory, not speed: expect slower answers than the same model would give on one machine big enough to hold it.
- A 70B-class model running across machines, with llama.cpp's chat UI and an OpenAI-compatible API
- A kit: split planner, worker start scripts for Windows and Mac/Linux, and a network checklist
- Two or more computers on the same network, ideally wired with Ethernet. Any mix of Windows, Mac and Linux
- Enough combined memory for the model you want: the planner in step 2 checks
- Comfortable in a terminal on each machine. Start with Run AI on your PC if you've never run a local model
- Disk space on the main host for the model file (42.5GB for the 70B example)
How one model runs on two computers
Know what llama.cpp's RPC backend splits, what it pools, and what it can't do.
The problemA 70-billion-parameter model at 4-bit is about 42GB. Your gaming PC has a 24GB graphics card, your laptop has 16GB of RAM, a friend's Mac has 32GB. None of them can hold it. Together they can.
The trickA language model is a stack of layers, and each token flows through them in order. llama.cpp's RPC backend lets one machine (the main host) treat GPUs and CPUs on other machines as if they were extra local devices. It puts the first chunk of layers on one device, the next chunk on another, and passes the small in-between results across the network for every token. Each worker runs
ggml-rpc-server; the main host runsllama-serverwith--rpclisting the workers.By default llama.cpp shares the weights and the KV cache across every device in proportion to its free memory, and
--tensor-splitoverrides that (RPC README ↗).- It pools memory. That's the whole point: models that fit nowhere else now run.
- It doesn't add speed. The layers run one after another, so the machines take turns. Generation speed is set by the slowest device plus a network round trip per hop. One big GPU always beats two small ones; two small ones beat a model that doesn't fit at all.
- It has no security. The llama.cpp docs call the RPC backend a fragile, insecure proof of concept and say never to run it on an open network. Your own LAN only.
The kitDownload the kit: split planner, worker start scripts for Windows and Mac/Linux, and a network checklist.