Skip to main content
A cluster is two or more GPU machines (its nodes) that you create, connect to, pay for and terminate as one thing. Every machine has the same GPUs, they share a private network and a /shared folder, and they reach each other over SSH by name (node-0, node-1, …). Node 0 is the head. You pick the software that runs across the machines: See Software for what each one installs and when it counts as ready.

Bought by the machine

A cluster is priced by the machine, never by the GPU. You pick a GPU and how many machines, and Runcrate shows the machines that can start now: each offer is a location, how the machines are joined, the kind of machine and the GPUs each one comes with (1, 2, 4 or 8), with the price per hour for the whole cluster and the price per machine under it. The whole cluster is the machine price times the number of machines.

How a cluster runs

1

Pick the machines

Choose a GPU and how many machines (2 to 64, as many as the location has free), then one of the offers for that size.
2

Create

Every machine is reserved at once. Status is provisioning while they boot and join the private network.
3

Every machine is up

When every machine has joined, billing starts for all of them at the same moment. With software picked, status is installing while it installs; with None the cluster is ready straight away.
4

Ready

The software checks itself on every node (for Slurm, every node idle; for Kubernetes, every node Ready with its GPUs schedulable; for Ray, every node in ray status), then the cluster is ready and you get an email.
5

Terminate

Terminating stops every machine together, and billing for the whole cluster ends.

All or nothing

A cluster starts whole or not at all. If any machine fails, stops or disappears while the cluster starts, the cluster fails at once. Each step also has its own time limit: the machine running, within how long that kind of machine takes to boot; its cluster agent starting, within 10 minutes of that (on a cluster with a volume, which the head copies down first, this step has no limit of its own); and every machine must reach the others within 25 minutes (longer on machines known to boot slowly). A machine that is late for a step fails the cluster then. Runcrate releases every machine it reserved and the cluster is failed; its events say which node and which step. Nothing is billed for a cluster that never had every machine up, and nothing is started again without you: the cluster page shows the offers available now, and you choose. It ends whole too. One node of a cluster cannot be terminated on its own from the Instances page or the API: you terminate the cluster. When your balance runs out, or the environment reaches its monthly budget, the whole cluster is stopped. If the software fails to install after every machine is up, the cluster is degraded: the machines stay up and reachable over SSH, and you choose whether to retry the install or terminate.

How many machines a location has

Where a location says how many machines of a kind it has free, its offers sell up to that many (nodes_available, and max_nodes up to 64). Where it only says whether it has any, its offers stop at 8 machines (nodes_available is null and max_nodes is 8): one machine short fails the whole cluster, so bigger sizes are never started on a guess. Bigger clusters are reserved ahead: Request a quote under the node sizes. A size withheld this way reads reserved ahead; not in stock means the location counted fewer machines free.

Billing

  • Billing starts when every machine has joined, from the same moment for every machine, and runs until the cluster is terminated. Nothing is billed while the machines are still starting.
  • Each machine is billed at its hourly price for the time it runs, the same way an instance is. The whole cluster costs the machine price times the number of machines, per hour.
  • A worker added to a running cluster is billed from the moment it is up.
  • Your balance must cover at least one hour of the whole cluster, and never less than $10, to create one.
  • There are no prepaid or reserved terms on self-serve clusters.
  • On the Billing page a cluster is one line, Cluster usage and its name, which opens to a row per machine.
Clusters have no maximum runtime or idle stop. Terminate the cluster when the work is done.

How the machines are joined

Self-serve clusters run on Ethernet: the machines’ own network, with the cluster’s own encrypted network on top (10.77.0.0/24, interface rc0). Every byte between the machines is encrypted, always: SSH, /shared, Slurm, Kubernetes, Ray (which also needs the cluster’s token), MASTER_ADDR, Gloo and NCCL all use it. Some sites give their machines no public address of their own; there the encrypted network runs over the site’s network, and you reach each machine over SSH through a Runcrate gateway, the same as on any other cluster. When the machines join, they measure each encrypted method between neighboring machines for about a minute, in both directions: kernel WireGuard over several tunnels, IPsec AES-GCM over several tunnels, and userspace WireGuard. Several tunnels spread the encryption over more CPU cores. The cluster then keeps the fastest method, and its page shows which one and the speed measured. If the measurement does not finish, the cluster uses WireGuard over one tunnel. A machine added later uses the same method. NCCL_SOCKET_IFNAME and GLOO_SOCKET_IFNAME are rc0 whichever method runs. NCCL between GPU machines uses its own encryption instead, which is much faster: NCCL 2.32.3, built by Runcrate with TLS, encrypts every NCCL connection with TLS 1.3 under a key made for the cluster and given only to its machines, directly over the machines’ own network. Each GPU machine installs it with the key and checks it, then tests that it reaches every other machine directly. Only when every machine has passed does NCCL move to the machines’ network; until then, and whenever a machine stops passing, it stays on rc0. The cluster page says which applies. Nothing else changes: everything but NCCL, Gloo included, stays on rc0. The machines also let only TLS through on NCCL’s ports between them, so an NCCL that is not encrypted can never run on their network: it fails to connect instead. The cluster’s NCCL is used by every program started from a login shell or with /etc/runcrate/cluster.env loaded, such as the torchrun and mpirun commands and the NCCL test in Connecting: it is preloaded there (LD_PRELOAD), so PyTorch and other programs that load NCCL use it. NCCL uses its socket transport on these clusters (NCCL_NET=Socket), the one these encryptions cover; the cluster’s NCCL refuses to start with any other. A program started without the cluster’s settings keeps NCCL on rc0 (/etc/nccl.conf says so), encrypted by the cluster’s network. A container brings its own NCCL and does not read the machine’s settings: start it with NCCL_SOCKET_IFNAME=rc0, or its NCCL may pick the machines’ network and fail to connect there. If one machine starts its ranks without the cluster’s settings while the others use them, the machines with them stop after 5 minutes with an error that says so, rather than waiting for ever (RUNCRATE_NCCL_INIT_TIMEOUT changes the limit, in seconds; 0 means none). The cluster’s NCCL runs as root, like the rest of the cluster, and its key lasts as long as the cluster. Encryption uses CPU on every machine and can limit the speed between them. NCCL’s own encryption costs little: between two machines on one host it reached 74 to 92% of unencrypted NCCL’s speed (WireGuard 18 to 19%), and between two hosts it matched unencrypted NCCL on the same link, using less CPU than WireGuard. The encrypted network suits independent jobs and LoRA fine-tuning, not training a full model across machines. Run the NCCL test after creating a cluster to see the bandwidth your GPUs actually get. Clusters on a fast InfiniBand or RoCE network are coming; ask us for one with Request a quote. Each offer also names its kind of machine: virtual machine, bare metal or container. Kubernetes is offered on virtual machines and bare metal.

Community hosts

Offers are on datacenter hosts unless you ask for community hosts as well: Include community hosts in the dashboard, include_community in the API and MCP, or --include-community in the CLI. Community hosts are machines run by independent operators; keep secrets you would not give them off those clusters. A volume cannot be attached to a cluster on community hosts.

Region of the machines

Clusters do not support eea_only. A create that sends it, or any field a cluster does not take, is refused with a 400 rather than ignored. To keep machines in the European Economic Area, launch instances with eea_only.

Shared storage

On virtual machines and bare metal every node mounts /shared, a folder exported from the head over the private network, with the hostfile in it. Attach a volume when you create the cluster and its files are synced into /shared/volume on the head, and back to the volume, so they outlive the cluster. Container machines share no folder: each node keeps its own disk, and a volume shows on the head only. Everything else on the machines, /shared included, is deleted when the cluster is terminated.

Request a quote

For reserved capacity, very large clusters or a fast InfiniBand or RoCE network, use Request a quote on the Clusters page and the team gets back to you. Self-serve clusters and quoted clusters live side by side.

Next steps

Create a cluster

From the dashboard, your agent, the CLI or the API.

Software

Slurm, Kubernetes and Ray: what is installed and how to use it.

Connect and run

SSH, the hostfile, torchrun, mpirun, DeepSpeed and the NCCL test.