# Why would I use more than one machine?

> A second machine adds memory, not speed. Cluster when the model will not fit in one box, or when you need to serve more people.

A second machine gives you more memory. It does not give you more speed. Cluster when the model won't fit in one box, or when one box can't keep up with the number of people using it, and not before.

## More memory, not more speed

Speed for one person is set by memory bandwidth: how fast the machine reads the model's weights for each token. [What makes a model fast?](https://localagi.co/what-makes-it-fast) explains why. Linking two machines does not make either one read faster.

In the simplest kind of cluster, the model is cut in two and each machine holds one half. A token passes through the first half, crosses the cable, then passes through the second. Each machine reads half the weights, but they take turns, so one token still takes about as long as it would on a single machine with enough memory.

Then you add the trip across the cable, every token. So a two-machine cluster is usually a little slower than one machine big enough to hold the model. Faster methods exist, but they need special links and careful setup, as [What are the ways to split work across machines?](https://localagi.co/three-ways-to-cluster) explains.

**Rule of thumb.** 
If the model fits in one of your machines, run it on one. A cluster is a way to fit a model, not a way to speed one up.

## The one good reason

The good reason to cluster is a model that does not fit in any single machine you own, at a quantization you are happy with.

Say you want a model from the 100B+ MoE or frontier class. Its 4-bit file is larger than your biggest machine's memory. Your options are a lower quantization, a smaller model, a bigger machine, or a second machine. [Which size of model do I need?](https://localagi.co/model-classes) shows the sizes.

| Model | 4-bit | 8-bit | Licence |
| --- | --- | --- | --- |

Two 128 GB boxes hold roughly a 200 GB model with some room for context. Four large Macs hold more. That is the whole case: models you otherwise cannot run at all.

**The catch.** 
The model you can now load runs at the speed of one machine, or a little under. For a large dense model on unified-memory boxes that can mean slow reading pace.

A large MoE fares much better, because each token reads only its active parameters. Check [What is a mixture of experts model?](https://localagi.co/dense-vs-moe) before you buy cables.

## The second, different reason

The other reason to use several machines is people, not model size. If ten colleagues share one box, they queue. A second box running its own full copy of the model halves the queue.

This is not really a cluster. Each machine runs the whole model by itself, and something in front shares out the requests. Nothing travels between the machines per token, so any network works.

It raises throughput, the total work done for everyone. It does not help a single person's request go faster, and it does not let you run a bigger model. [What changes when many people use one model?](https://localagi.co/one-user-to-many) covers how far one box goes before you need this.

## Keep the two ideas apart

Most confusion about clusters comes from mixing these up. People link two machines to fit a big model, then expect twice the speed. Or they buy a second machine for more users, then try to split one model across both.

| Your problem | What helps | What the cable must do |
| --- | --- | --- |
| The model does not fit | Split one model across machines | Carry a little data per token, many times a second |
| Too many people waiting | A full copy of the model on each machine | Almost nothing, just requests and replies |
| One person wants faster answers | A machine with more memory bandwidth, or tensor parallel on a very fast link | Carry a lot of data with very low delay |

The rest of this part keeps them separate. [What are the ways to split work across machines?](https://localagi.co/three-ways-to-cluster) draws all three side by side. [When should I not cluster?](https://localagi.co/when-not-to-cluster) turns the first row into a buying rule.

**Try it.** 
Before planning a cluster, check whether your model fits one machine. Open [Will it fit?](https://localagi.co/will-it-fit), enter the model and your biggest machine's memory, and see if the answer is already yes.

## Go deeper

### Why speed does not add up

In a layer split, machine one works on a token, then hands it on and sits idle until the next token comes back round. For one person, each machine is busy about half the time. You paid for two machines and get the bandwidth of one.

With many users, a cluster can keep both machines busy by working on different requests in each half. That raises aggregate throughput. It still does nothing for any one stream.

### Where the extra delay comes from

Each hop adds the link's latency plus the time for the runtime to package and unpack the data. On a home network that is a small slice of each token's time. On a long prompt it adds up, because [prefill](https://localagi.co/life-of-a-prompt) pushes many tokens through every hop.

### The exception is tensor parallel

Tensor parallel splits each layer so every machine works on every token at once. That really can raise single-user speed. It needs a link with very low latency, such as RDMA over Thunderbolt 5 or fast Ethernet, which [Which cable do I need between machines?](https://localagi.co/interconnects) covers.

On ordinary networking it is slower than one machine.
