How it works, in full
The lifecycle of a GPU rental
A renter types one command in the CLI and gets a shell on someone else's graphics card. In between sit a placement decision, an agent that only calls out, a relay hop and a meter.
$ kracht launch --gpu 1 --region us-east --max-price 0.42 --ssh Rented 8f21c0de on node-02 (us-east) at 0.390000 USD/hr Billing starts once it is running. Stop it with: kracht stop 8f21c0de Waiting for it to finish provisioning... # meanwhile, on the control plane and the box resolving catalog region=us-east gpus=1 ok scoring nodes 3 in region, 1 candidate ok handshake agent token checked, commands in replyok isolating card1 renderD128 /dev/kfd ok session network 10.77.0.0/24 via hub ok Connecting to 8f21c0de... # relayed through the hub, because node-02 has no inbound port root@3f9a1c2b7d4e:~# rocm-smi --showproductname GPU[0] Card Series: Radeon RX 7900 XTX one card of four is scoped here; the box is yours, the other three idle
Illustrative throughout. The figures show the shape of the system, not production numbers.
01The request
A rental states what it needs, never where to go
The renter names a GPU model and a region, and says what they will pay. Choosing the machine is the control plane's job, and a request that named one would break the moment that machine went offline.
Both names come from a catalogue rather than free text. and a fixed list of GPU models, each keyed by code, so 7900xtx either resolves to a row or the request is rejected before it reaches placement. A typed-in model name would match nothing forever and fail as “no capacity”.
The rest of this page walks the same path the transcript above took, one step at a time. For the short version, the knowledge base answers the same questions one at a time.
02The fleet
Seven parts, and what each one is responsible for
Two runtimes over one database. Select any cluster, or any part standing on one, and the links it actually uses light up while everything more than one hop away recedes.
03Three shapes
The same fleet, carved three ways
One pool of hardware can answer three shapes of demand. Cloud GPU is live; Clusters and Serverless are planned. The difference is how much of a machine a rental holds and for how long. Only the carving changes.
04Placement
Scored, not queued
Every request is scored against every node that could serve it, and the winner is decided by a unique index in Postgres rather than by whichever process asked first.
05The handshake
One token, checked on every call
The node agent has no inbound port. It calls out over TLS with a bearer token issued when its host was created, the control plane checks that token's hash on every call, and commands come back in the reply.
06The plan
Three states, and each adds a fact
The rental is rewritten twice before anything boots. You cannot scope a card before you know which machine, and you cannot freeze a price before you know whose.
07Isolation
One card, and the edges around it
A rental holds the whole machine, but only the cards it asked for are scoped into its container, on a box that is still somebody's. So the interesting question is not how the container is built but where its edges are. Everything below was checked by opening it.
08Failure
When a node stops answering
Provider hardware is somebody's spare machine on a home connection, so the interesting case is the one where it disappears mid-rental. Powered on is not the signal. The heartbeat is.
09Durability
A workspace that outlives its rental
A snapshot is an archive of /workspace, taken as the rental stops and kept in Kracht's storage rather than on the provider's disk. A restore is an ordinary launch: placement puts it on whatever machine fits, which may be the same one.
10The meter
Per second, and never a float
Billing is per second, posted every 15-second heartbeat, and that is what makes the arithmetic dangerous: a week-long rental multiplies a rounding error by forty thousand ticks. The columns are numeric(16,6), the values arrive as strings, and they stay strings until they become a Decimal.
11Settlement
Every tick split, and it has to add back
Each heartbeat's charge is split as it is posted, not the total at the end. The take rate is 15%, the arithmetic is on whole microdollars, and each tick's two halves are required to reconstruct it.
12Payouts
What a provider will be able to withdraw
Settlement decides what a provider earned. Once payouts launch, what can move to a bank account is the smaller of two numbers, so topped-up credit never leaves as cash. Payouts are coming via Stripe. None has run yet.