<!-- The Markdown copy of https://kracht.ai/documentation, made from the same build as the page. -->

Title: Kracht · Documentation
URL: https://kracht.ai/documentation

Documentation

# Kracht documentation

How to rent a GPU by the second, how to lend one, and the CLI, API and money rules under both. Everything here is read from the code that runs; where a surface is still being built, it says so.

Billing

Per second, in USD

Provider split

85 / 15, exact

API

/v1, bearer key

Payments

Stripe test mode

01Overview

## Overview

Kracht is a two-sided marketplace for GPU compute. Renters launch a GPU and pay per second while it runs; providers list idle hardware and keep 85% of what it earns. Both sides talk to one control plane over a REST API under `/v1`, from the console, the CLI or raw HTTP. What follows is what the platform does today, section by section, with the parts that are not finished named as such.

Proven

Launch, meter and settle on real hardware; a renter SSH login to a GPU rental with one card scoped in; snapshot and restore; the provider bootstrap on an untended Ubuntu box. exercised against the live stack

Not yet

Payments run in Stripe test mode, so no real money has moved. Studio runs are new and not yet proven end to end. Autopilot flags idle cards; its other actions are planned. test mode autopilot

Where it runs

The site on kracht.ai; the control plane at `cp.kracht.ai`, in AWS US East (Virginia); one Postgres database behind both. Rentals run on providers' hosts, in US East today.

- [The Compute product](https://kracht.ai/products)
- [How it works](https://kracht.ai/how-it-works)
- [Status](https://kracht.ai/status)

02Rent a GPU

## Rent a GPU

Six steps from nothing to a shell on a GPU, and one to stop paying. Rentals launch from the CLI today. The console at [/app/launch](https://kracht.ai/app/launch) builds the line for you.

1. 01
   Sign up
   Create an account at [/sign-up](https://kracht.ai/sign-up). Sign-up creates the account, the profile and the owner membership in one go, and asks your country and what you will run. Before the first rental, confirm your email from the link Kracht sends; an account made with Google or GitHub adds its country and use case on [Account](https://kracht.ai/app/settings). Payments run in Stripe test mode: top up from Billing, and no real card is charged. Credit can also be granted on request. Ask for it once you are in.
2. 02
   Create an API key
   At [/app/settings/keys](https://kracht.ai/app/settings/keys). Keys are stored only as a hash and are never echoed back, so copy it when it is shown.
3. 03
   Sign the CLI in
   `kracht login`, then paste the key. `kracht whoami` confirms who you are and shows your balance.
4. 04
   Launch
   `kracht launch --gpu 1 --ssh` rents a machine and opens a shell once it is ready. Two keys are involved, not one: your SSH key is the login and your WireGuard key is the route in, because providers sit behind NAT. Both keypairs are generated on your machine and only the public halves are sent. A launch missing either is refused.
5. 05
   Connect
   `kracht ssh <instance>` for a shell, or `kracht connect <instance>` for the details. Inside you are root on Ubuntu 24.04 with a read-only root filesystem; `/workspace` is your writable scratch.
6. 06
   Stop
   `kracht stop <instance>`, or `DELETE /v1/instances/:id`. The meter stops with it. Stop with a snapshot from the console to keep `/workspace` for a later rental; otherwise it is wiped. Or set an idle stop on the rental's page, or with `kracht idle-stop`.

### The whole path, in the CLI

```
kracht login
kracht launch --gpu 1 --ssh
kracht ls
kracht stop <instance>
```

01 Sign in

### One key, saved once.

Paste an API key from the console. Everything after this call is scoped to the account that key belongs to; the account never comes from a parameter.

```
kracht login
kracht whoami
```

02 Launch

### A card, matched and metered.

The request names what it needs, never where to go. The rate is frozen at match and the meter starts when the container does.

```
kracht launch --gpu 1 --ssh
```

03 Stop

### Stopping is giving the card back.

The meter stops with the rental, the hold is released, and the split is appended to the ledger once. A settled rental does not come back.

```
kracht stop <instance>
```

### Bring your own image

Pass `--image REF` with any image the host can pull. A custom image usually needs `--command` too: most base images run a default entrypoint that exits at once, and a container that exits ends the rental you just paid for. The default image exists because it ships an `sshd`, which stock framework images do not.

Instance

A rental: you rent the host, and only the cards you ask for are passed into your container. Billed by the second. It moves through requested, provisioning, running, stopping and settled. A rental whose host vanished is closed as interrupted rather than left open, and a job that ends on its own as completed.

Storage

Each rental gets scratch space at /workspace that is destroyed when the rental ends. There is no automatic checkpointing and no persistent storage: move results off before you stop, or take a snapshot. Snapshot and restore are opt-in, not automatic.

Networking

Your SSH key is the login; your WireGuard key is the route in. Without the tunnel nothing is published on any address. Traffic between services is TLS. Rentals reach the public internet. The provider's LAN, the host, its sshd and outbound mail are blocked.

What you pay

The frozen rate for the card, per second. For example, a card listed at $1.60 per hour bills $0.000444 per second, and the meter runs from the moment the instance is running to the moment you stop it.

In the base image

- Ubuntu 24.04 the base image
- Python 3 python3, pip
- OpenSSH your key, root shell
- /workspace scratch, snapshottable
- one card /dev/kfd, renderD128
- WireGuard the route in

In your image, if you bring it

- PyTorch via your image
- TensorFlow via your image
- JAX via your image
- Jupyter via your image
- vLLM via your image
- Docker any image the host can pull

from a shell inside the rental

/

- dev
  - kfd openable, read-write measured: observed once, at a stated time, as of 2026-08-03, source #199
  - dri
    - card1 the one card scoped in measured: observed once, at a stated time, as of 2026-08-03, source #199
    - renderD128 its render node measured: observed once, at a stated time, as of 2026-08-03, source #199
    - card0 the host's iGPU, not visible measured: observed once, at a stated time, as of 2026-07-27, source docs/AUDIT.md
- workspace
  - marker written by the first rental, served back by the restore measured: observed once, at a stated time, as of 2026-08-03, source #186
- root/.ssh
  - authorized_keys the renter's key; the login, and nothing else measured: observed once, at a stated time, as of 2026-08-03, source #199

- [For users](https://kracht.ai/products/compute/users)
- [Pricing](https://kracht.ai/pricing)
- [Launch from the console](https://kracht.ai/app/launch)

03Provide hardware

## Provide hardware

Lending a machine is one command on Ubuntu or Debian. The agent runs as an unprivileged system user, isolates each rental in its own container and session network, and reports capacity so the marketplace can match it. Register first: the installer needs a token that only registration issues.

1. 01
   Register the machine
   Add a host at [/app/machines](https://kracht.ai/app/machines), or `POST /v1/me/hosts`. You get an agent token, shown once, bound to that machine from the moment it exists.
2. 02
   Run the installer
   One line. It runs on Ubuntu 22.04 or later, or Debian 12 or later, with systemd, as root, and is tested on Ubuntu 24.04. Other Linux distributions, Windows (WSL included) and macOS are not supported yet, and are coming soon. Idempotent: re-running it upgrades the agent. It installs Docker, creates the `kracht-agent` user, installs the systemd unit, sets up the isolated session network and builds the rentable instance image on your box.
3. 03
   Set your price
   `PUT /v1/me/hosts/:id/listing`, or the controls on the host in the console. Changing the price never touches a rental already running: the rate was frozen onto it at match time.
4. 04
   It appears in your fleet
   The agent registers itself and heartbeats every 15 seconds. `sudo systemctl status kracht-node-agent` on the box says whether it is up; `GET /v1/me/hosts` says whether Kracht can see it.

Install the agent Ubuntu or Debian · sudo

```
curl -fsSL https://cp.kracht.ai/install.sh | sudo bash -s -- \
  --control-plane-url https://cp.kracht.ai \
  --enrollment-token <YOUR_TOKEN> \
  --harden-ssh --userns-remap --firewall
```

<YOUR_TOKEN> is issued when you register a machine, and shown once. It is bound to that machine from the moment it exists, so a leaked token cannot enroll someone else's box as a host.

What this script does to your machine

- Installs prerequisites with apt, including Docker.
- Creates an unprivileged system user, kracht-agent. Nothing runs as root after setup.
- Installs the node agent as a systemd service so it survives a reboot.
- Sets up an isolated session network, reapplied at every boot.
- Optionally hardens SSH to key-only with no root login (--harden-ssh).
- Optionally configures an nftables firewall, default-deny inbound (--firewall).
- Optionally enables Docker user-namespace remapping, so a renter's container cannot map to root on your host.

Install not working? On [Machines](https://kracht.ai/app/machines), the card for a machine that has not reported shows one command that sends its agent log to support, with tokens removed.

### Installer flags

| Flag | What it does |
| --- | --- |
| `--control-plane-url URL` | Where the agent reports to. https://cp.kracht.ai in production. |
| `--agent-token TOKEN` | This host's long-lived credential, issued once when the host is registered and shown only that once. --enrollment-token is accepted as the same flag. |
| `--source DIR` | Install from a local checkout instead of downloading the agent source from the control plane. |
| `--agent-user NAME` | The unprivileged system user the agent runs as. Default kracht-agent. |
| `--harden-ssh` | Key-only SSH, no root login. |
| `--userns-remap` | Docker user-namespace remapping, so a renter's container cannot map to root on your host. |
| `--firewall` | An nftables host firewall, default-deny inbound. |

Install dir

`/opt/kracht-node-agent`

State

`/var/lib/kracht-node-agent`

Config

`/etc/kracht-node-agent`

Service

`kracht-node-agent`

WireGuard port

`51820/udp`

Instance image

`kracht/instance-base:latest, built on your box by the installer`

### What you earn

Share

85% of what the card makes, credited to your account's ledger as each usage tick settles. The remaining 15% is the take rate.

Earnings

`GET /v1/me/earnings` returns total, paid out and available, in USD, derived from the ledger. `GET /v1/me/payouts` is the payout history.

Payouts

Payouts are scheduled weekly, on Mondays, from $25 after a 7-day hold. Stripe is in test mode, so none has been paid yet. Only earned money is payable: the lower of your earnings less payouts already taken and your account's actual balance, so earnings you spent renting cannot also be withdrawn.

Today

Payments and payouts run in Stripe test mode: no real card is charged and no real money has moved. The split is applied and proven in the ledger. test mode

Your disk

A renter is capped at the lower of what they asked for and your max_disk_gb. A request larger than your cap is rejected outright, and an unspecified request never means unlimited.

- [For providers](https://kracht.ai/products/compute/providers)
- [Your machines](https://kracht.ai/app/machines)
- [Security](https://kracht.ai/security)

04CLI

## CLI

One binary. The published v0.3.1 has 34 of the 42 commands below; the rest are coming in the next release. `kracht launch` starts billing per second and `kracht stop` ends it; `kracht ls` is the honest answer to whether you are still being charged. Homebrew on macOS, or one shell line on macOS and Linux; Windows builds are downloadable from the [install page](https://kracht.ai/cli).

macOS

```
brew trust kracht-ai/tap
brew tap Kracht-AI/tap
brew install --cask kracht
```

| Command | What it does |
| --- | --- |
| `kracht login [--key -]` | Save an API key from kracht.ai/app/settings/keys, pasted at the prompt. In the next release, --key - reads it from stdin |
| `kracht whoami` | Who you are signed in as, and your balance |
| `kracht ls` | Your rentals, with what each has cost so far |
| `kracht launch [flags]` | Rent a machine |
| `kracht rename <instance> <name>` | Name a rental, or off to clear it. Its name works anywhere an id does |
| `kracht tag <instance> <tags>` | Tag a rental with its project, or off to clear them. The console splits spend by tag |
| `kracht stop <instance>` | Stop a rental and stop paying for it |
| `kracht stop-at <instance> <when>` | Stop it later: 2h, 90m, 18:00, +1h, or off |
| `kracht idle-stop <instance> <minutes>` | Stop it once every card idles that long, or off |
| `kracht cap <instance> <dollars>` | Stop it once it has cost that much, or off |
| `kracht resume <instance> [launch flags]` | Rent again from the disk a stopped rental saved |
| `kracht defaults [--idle M] [--cap USD] [--save-disk on\|off]` | What new rentals stop at; off clears one |
| `kracht alert <card> <dollars> [--region CODE]` | Tell me when that card is rentable at or under that price per hour |
| `kracht alerts [rm <id>]` | Your price alerts, and where each stands |
| `kracht ledger [--month 2026-09] [--earn] [--entries]` | A month as CSV for your accountant: charges, or with --earn earnings and payouts. One line per rental per day; --entries lists every one |
| `kracht ssh-keys [add <name> [file] \| rm <name>]` | Your saved SSH public keys, which Launch offers. add reads ~/.ssh/id_ed25519.pub by default |
| `kracht watch [--interval 1m] [--no-notify]` | A system notification when a rental stops, sits idle, or your spend limit is near |
| `kracht note <instance> <text>` | A note on a rental: what it was for, what came of it. off clears it |
| `kracht budgets [set <tag> <dollars> \| rm <tag>]` | Monthly budgets on project tags; at one, new launches with the tag are refused |
| `kracht statement [--month 2026-09]` | A month of the account on one page (last month by default) |
| `kracht scheduled [cancel <id>]` | Launches waiting to start (launch --at), and the last week's |
| `kracht presets [launch <name> \| rm <name>]` | Saved launches; launch takes launch's flags after the name |
| `kracht webhooks [deliveries <id>]` | Where your events are sent, and the last 20 sends. Adding one needs a signed-in session, in Settings |
| `kracht spend [--by rental\|tag\|person] [--daily]` | This month's spend by rental, tag or person (owners and admins), or the last 14 days |
| `kracht timeline <instance>` | A rental's story: launched, changed, idle, stopped, and what it cost, in your local time |
| `kracht status` | Whether Kracht is up, and the last 30 days |
| `kracht workflows` | Your Studio workflows and how each last ran |
| `kracht run <workflow> [--cap USD\|off]` | Run a saved workflow now; it stops at the cap, $10 unless you say |
| `kracht runs [<run> [approve \| stop \| again]]` | Runs, one step by step, and what to do next |
| `kracht machines` | The machines you lend: status, price, earned |
| `kracht pause <machine> <when>` | No new rentals on it until then: 1h, 18:00, tomorrow, monday (09:00), or off |
| `kracht connect <instance>` | Connection details for a rental |
| `kracht ssh <instance>` | Open a shell on a rental |
| `kracht version` | The version you installed, and whether a newer one is out |
| `kracht logs <instance> [--follow]` | What a rental printed lately, stdout and stderr; --follow keeps printing new linescoming in the next release |
| `kracht stop-group <group>` | Stop every rental launched together with --machinescoming in the next release |
| `kracht snapshots key [create \| off]` | Encrypt every later snapshot to a key made on this machine. Kracht keeps only the public half and cannot open them; kracht resume restores them on the machine that holds the key file. Lose it and they cannot be restoredcoming in the next release |
| `kracht storage [add NAME s3://BUCKET/FOLDER ... \| ls \| rm NAME]` | Your own bucket for rentals to write to with rclone: S3, Cloudflare R2, Backblaze B2, or anything that speaks S3, such as MinIO or a NAS. Kept on this computer, not by Kracht. With an AWS role, each launch gets a credential minted from your own AWS login, limited to the folder and write-only unless you add --readcoming in the next release |
| `kracht jobs [run <shards> [flags] --command ... \| tasks <job> \| cancel <job>]` | One job split into shards, each a rental on its own machine. The command reads KRACHT_TASK_INDEX and KRACHT_TASK_COUNT to find its slice, and each shard is billed until it exits. Up to 100 shards unless --max-shards says more (1000 at most); more than 4 machines at once, or over $20/hr at --max-price, asks first, and --yes skips the question for scriptscoming in the next release |
| `kracht forward <instance> <port> [--local N]` | A server in a rental, launched with --port, on 127.0.0.1 here through the tunnel: no root and no SSH in the image needed. The tunnel is encrypted to the provider's machine, and the provider can read what the server sends and receives therecoming in the next release |
| `kracht open <instance> jupyter\|vscode [--no-open]` | Jupyter in a rental on a local URL (port 8888 in the rental), or VS Code on it once ssh-config --write has run, through Remote-SSH, which needs only SSH. Jupyter is refused when the rental's image does not serve itcoming in the next release |
| `kracht ssh-config [<instance>] [--write]` | A Host entry per running rental, for ssh and VS Code; --write keeps them in ~/.ssh/config, in its own marked block, agent never forwardedcoming in the next release |

### Launch flags

| Flag | What it does |
| --- | --- |
| `--gpu N` | How many cards (default 1) |
| `--card CODE` | Which card, by catalogue code: h100, a100, rtx4090. Without it the scheduler picks |
| `--min-vram GB` | Only cards with at least this much memory each |
| `--image REF` | Container image (default kracht/instance-base:latest) |
| `--command ...` | What to run in it; everything after this flag is the command. A custom --image usually needs one: most base images run a default entrypoint that exits at once, and a container that exits ends the rental you just paid for. |
| `--region CODE` | Restrict to a region, e.g. us-east. Repeat it to allow several |
| `--max-price USD` | Refuse anything dearer, per hour |
| `--name NAME` | What to call it, in place of its id |
| `--tag TAG` | The project it belongs to; repeat for more than one |
| `--preset NAME` | Start from a saved launch (Launch, Save this setup) |
| `--like RENTAL` | Start from that rental's image, cards and stops; any flag after it changes one thing |
| `--at TIME` | Start it then rather than now: 2026-10-08T09:00 (your time) or with a zone; nothing is held until it starts |
| `--when-cheaper WAIT` | Start once a card is at or under --max-price, waiting up to WAIT (24h, 3d, 7d at most) |
| `--ssh` | Open a shell once it is ready |
| `--machines N` | Rent N separate machines together, 2 to 16. If one cannot start, none stay runningcoming in the next release |
| `--upload DIR` | Start /workspace with this folder's files: packed, uploaded (5 GiB at most, packed) and kept as a saved disk, billed as storage until you delete it. Not with --like or resumecoming in the next release |
| `--secret NAME=VAL` | A file the rental reads at /run/kracht/secrets/NAME, held in memory only. Sealed on this computer to the machine it lands on, so Kracht never holds it readable and it is never written to the provider's disk, though a provider with root can read it while the rental runs. Repeat for more, 16 KiB together. Not with --at or --when-cheapercoming in the next release |
| `--secret-file PATH` | The same, from a file: NAME=PATH, or a bare PATH named after its file, such as ~/.config/rclone/rclone.conf. Text files onlycoming in the next release |
| `--storage NAME` | Your storage (kracht storage add) as the rclone remote NAME: in the rental, sealed to the machine like --secret. A role's credential lasts up to 12 hours; a key reaches the rental as it is, and its provider can read it while it runs. Repeat for morecoming in the next release |
| `--network` | Give the rental outbound internet even with no way to connect in, for a batch job that downloads its data or pushes resultscoming in the next release |
| `--port N` | A port in the rental to reach from here, such as a model server on 8000. Repeat for more, up to 4; kracht forward serves it on this machinecoming in the next release |
| `--env NAME=VAL` | Set a variable in the rental; repeat for more. The machine's provider can read it and Kracht keeps it with the launch, so use short-lived, narrowly scoped credentials, never a root cloud keycoming in the next release |

### Stops and alerts

A rental can stop itself: when its cards sit idle, at a time, or at a spend cap. Add `--save-disk` and it keeps `/workspace`, so `kracht resume` picks up where it left off.

| Flag | What it does |
| --- | --- |
| `--save-disk` | Snapshot /workspace before any automatic stop, so kracht resume can pick it up |

`kracht watch` raises a system notification when a rental stops or sits idle, a price alert is met, your spend limit is near, or one of your machines is rented or goes offline.

| Flag | What it does |
| --- | --- |
| `--interval 1m` | How often it checks; at least 15s |
| `--no-notify` | Print only, no system notification |

### Environment

| Variable | What it does |
| --- | --- |
| `KRACHT_API_KEY` | Use this key instead of the saved one |
| `KRACHT_API` | Point at a different control plane (default https://cp.kracht.ai) |

A Python SDK is planned and not published. Until it is, the REST API below is the programmatic surface.

- [Install the CLI](https://kracht.ai/cli)
- [API keys](https://kracht.ai/app/settings/keys)

05API

## API

Every endpoint sits under `/v1` and takes a bearer key. `kracht.ai/v1/*` forwards to the control plane; the CLI talks to `cp.kracht.ai` directly. Money is returned as strings in USD so nothing is rounded in transit, and the account is always derived from your credential, never from a parameter.

```
curl -H "Authorization: Bearer $KRACHT_API_KEY" https://kracht.ai/v1/me
curl https://kracht.ai/v1/gpus        # 401 without a token: the healthy answer
```

Auth

`Authorization: Bearer <api key>`. Keys come from [/app/settings/keys](https://kracht.ai/app/settings/keys). The agent protocol uses the host's agent token in the same header.

Envelope

Success is `{ "data": ... }`; failure is `{ "error": { "code", "message" } }`, with the codes in the table below.

Limits

Per route, per caller IP, per minute, at the edge. The control plane has no limit of its own. Over the limit answers 429 with Retry-After.

Ownership

An id that is not yours answers 404, not 403, so the id space cannot be enumerated.

Health

`GET https://cp.kracht.ai/healthz` answers 200 when the control plane is up.

### Renting

| Method | Path | What it does | Per min |
| --- | --- | --- | --- |
| `GET` | `/v1/me` | The signed-in account and its balance, in USD. | 60 |
| `GET` | `/v1/gpus` | Browse available inventory: one row per active listing. | 120 |
| `GET` | `/v1/listings` | GPUs rentable right now. Filters: model, region, max_price_per_hour, limit. | 60 |
| `GET` | `/v1/instances` | Your own instances. | 60 |
| `POST` | `/v1/instances` | Launch: request, match, instance. The paying account comes from your credential, never from the body. | 60 |
| `GET` | `/v1/instances/:id` | Status of one rental. | 120 |
| `DELETE` | `/v1/instances/:id` | Stop it. The meter stops with it. | 120 |
| `GET` | `/v1/instances/:id/connect` | How to reach a rental you are paying for. A structured tunnel document, never a filled-in config: Kracht has never held your private key. | 60 |
| `GET` | `/v1/instances/:id/telemetry` | Per-card readings for one rental, oldest first. | 60 |
| `GET` | `/v1/usage` | Metered spend, filterable by instance and time range. | 60 |
| `GET` | `/v1/me/spend/by-rental` | What each rental cost, summed over the whole ledger. since, until and limit pass through. | 60 |
| `GET` | `/v1/me/ledger` | The append-only ledger: deposits, holds, usage charges, earnings, payouts. Newest first. | 60 |
| `GET` | `/v1/me/snapshots` | Archived workspaces, with state, size and when each was taken. | 60 |
| `DELETE` | `/v1/me/snapshots/:id` | Remove an archived workspace and stop its storage charge. | 60 |
| `GET` | `/v1/me/storage` | What you are storing and the monthly charge it implies. | 60 |
| `GET` | `/v1/me/ssh-keys` | Your saved SSH public keys, with the fingerprint ssh-keygen prints. | 60 |
| `POST` | `/v1/me/ssh-keys` | Save a public key: name and public_key. A private key is refused. | 60 |
| `DELETE` | `/v1/me/ssh-keys/:id` | Forget a saved key. Rentals already running keep it. | 60 |

### Providing

| Method | Path | What it does | Per min |
| --- | --- | --- | --- |
| `GET` | `/v1/me/hosts` | The machines this account lends to Kracht. | 20 |
| `POST` | `/v1/me/hosts` | Register a new one and receive its agent token, once. | 20 |
| `PUT` | `/v1/me/hosts/:id/listing` | Set your own price and availability. Never touches a running rental. | 20 |
| `GET` | `/v1/me/hosts/:id/telemetry/daily` | What one machine's cards were doing, per UTC day. days passes through. | 60 |
| `GET` | `/v1/me/earnings` | total, paid_out and available, in USD, derived from the ledger; held, payout_minimum and next_payout_on for weekly payouts. | 60 |
| `GET` | `/v1/me/payouts` | Settlement history: amount, period, status, processor reference. | 60 |

### Account and members

| Method | Path | What it does | Per min |
| --- | --- | --- | --- |
| `GET` | `/v1/me/members` | Who can act for this account, and in what role. | 30 |
| `POST` | `/v1/me/members` | Add somebody who already has a Kracht account, by user id. | 30 |
| `PATCH` | `/v1/me/members/:user_id` | Change what somebody may do. | 30 |
| `DELETE` | `/v1/me/members/:user_id` | Remove them, or leave yourself. An account keeps at least one owner. | 30 |
| `GET` | `/v1/me/invitations` | Who has been asked to join and has not yet. | 20 |
| `POST` | `/v1/me/invitations` | Invite an email address onto this account. | 20 |
| `POST` | `/v1/me/invitations/accept` | Join an account you were invited to. The token goes in the body, never the query string. | 10 |
| `DELETE` | `/v1/me/invitations/:id` | Withdraw an invitation that has not been accepted. | 30 |

### Webhooks

Kracht POSTs JSON to your URL when one of these happens, retrying for about a day if your server does not answer 2xx. Each body has an id; treat a repeat as the same event. Adding, testing or removing one needs a signed-in session: an API key holds read and launch only, and a webhook sends your account's activity somewhere else.

| Method | Path | What it does | Per min |
| --- | --- | --- | --- |
| `GET` | `/v1/me/webhooks` | Your webhooks and how their last send went. Never the secret. | 60 |
| `POST` | `/v1/me/webhooks` | Add one: url (public https, port 443) and events. The signing secret is in this response only. | 10 |
| `DELETE` | `/v1/me/webhooks/:id` | Remove it, and anything still queued for it. | 30 |
| `POST` | `/v1/me/webhooks/:id/test` | Queue a signed ping. | 10 |
| `GET` | `/v1/me/webhooks/:id/deliveries` | The last 20 sends: event, status, retries. | 60 |

| Event | When |
| --- | --- |
| `rental.started` | A rental reached running. data: id, name, image, price_per_hour, started_at. |
| `rental.ended` | A rental ended, failed or was stopped. data adds state, reason (why it stopped) and exit_code. |
| `credit.low` | At the running rate the balance lasts less than your warning. data: balance, per_hour, minutes_left. Once a day at most. |
| `budget.near` | A tag's spend this month reached 80% of its budget. data: tag, spent, budget, percent. Once per tag per month. |
| `budget.spent` | A tag's budget is spent, so new launches with it are refused. Same data. Once per tag per month. |
| `scheduled.started` | A scheduled launch started. data: scheduled_id, start_at, instance_id, request. |
| `scheduled.failed` | A scheduled launch did not start. data: scheduled_id, start_at, reason, request (what was asked for, never keys). |
| `spend.unusual` | Today's spend is at least 3 times your usual day and $5 more. data: date, spent_today, usual_day, ratio. Once a day at most. |
| `run.finished` | A Studio run finished every step. data: run_id, workflow_id, workflow_name, spent, started_at, ended_at. |
| `run.failed` | A Studio run stopped at a step. Same data, with reason: the step and why. |
| `run.waiting` | A Studio run is waiting for a person to approve a step. Same data, with step. Once per step. |
| `ping` | Sent by Send a test. |

Check every body before you trust it. The Kracht-Signature header is t (unix seconds) and v1, an HMAC-SHA256 of the timestamp, a dot and the raw body, keyed with the secret you were shown once:

```
t, v1 = (p.split("=", 1)[1] for p in request.headers["Kracht-Signature"].split(","))
expected = hmac.new(SECRET.encode(), f"{t}.".encode() + request.body, hashlib.sha256).hexdigest()
assert hmac.compare_digest(v1, expected) and abs(time.time() - int(t)) < 300
```

### Agent protocol

Called by the node agent on a provider machine, never by a renter. Listed so the whole surface is in one place.

| Method | Path | What it does | Per min |
| --- | --- | --- | --- |
| `POST` | `/v1/hosts` | Host-agent registration. Authenticated with the host's agent token, not a user API key. | 20 |
| `POST` | `/v1/hosts/:id/heartbeat` | Liveness, telemetry, metering, and the agent's commands. One beat every 15s per host. | 120 |

### Every endpoint

Every route under `/v1/me` on `cp.kracht.ai`, where the CLI talks, exported from the control plane's own code, so nothing here can be missing or out of date. Key is the least an API key must hold: `read`, `launch`, or `admin`, which only a signed-in session has. Some routes also check your role on the account. The same list is published as an OpenAPI 3 file for tools and agents: [/openapi.json](https://kracht.ai/openapi.json).

Filter endpoints

112 routes

| Method | Path | Key | What it does |
| --- | --- | --- | --- |
| `GET` | `/v1/me` | `read` | Who the token says you are, plus your balance. |
| `GET` | `/v1/me/account-profile` | `read` | The account's country, use case, company and website, and what its first rental waits on. |
| `PUT` | `/v1/me/account-profile` | `read` | Save the account's country, use case, company and website.body: country, use_case, company, website |
| `POST` | `/v1/me/account/delete` | `session` | Delete your Kracht account: stop what is running, close the accounts only you are on, and erase your personal data.body: confirm (required) |
| `GET` | `/v1/me/account/deletion` | `session` | What deleting your Kracht account would close, leave and stop, and anything you must do first. |
| `GET` | `/v1/me/accounts` | `read` | Every account you belong to, and which one you are acting as. |
| `PUT` | `/v1/me/active-account` | `read` | Act as another account you belong to, from the next request on.body: account_id (required) |
| `GET` | `/v1/me/audit` | `read` | Who did what on this account, newest first.query: actor, before, limit, target |
| `GET` | `/v1/me/audit.csv` | `read` | A month of who did what, oldest first, for whoever keeps the records.query: month |
| `GET` | `/v1/me/billing-details` | `read` | The company, address and VAT number the monthly statement is made out to. |
| `PUT` | `/v1/me/billing-details` | `read` | Save the company, address and VAT number for the statement.body: legal_name, billing_email, tax_id, address_line1, address_line2, city, state_region, postal_code, country |
| `POST` | `/v1/me/card/setup` | `read` | Get a link to the payment processor's form for saving a card. |
| `GET` | `/v1/me/earnings` | `read` | What this provider has earned, and what is still owed to them. |
| `GET` | `/v1/me/earnings/daily` | `read` | Provider earnings by UTC day over the last `days` days, today included.query: days |
| `GET` | `/v1/me/export` | `session` | Everything Kracht holds about you, as one JSON file: profile, accounts, machines, rentals, ledger, audit and key names. |
| `GET` | `/v1/me/gpu-models` | `read` | The card catalog, so a client names a card by its code rather than typing a model name. |
| `GET` | `/v1/me/hosts` | `read` | The machines this account lends to Kracht. |
| `POST` | `/v1/me/hosts` | `admin` | Register a machine against the calling account and issue its agent token.body: name (required), region_code |
| `GET` | `/v1/me/hosts/{host_id}/demand` | `read` | "Best hours to lend": when renters rent this machine's card, by weekday and hour.query: tz |
| `POST` | `/v1/me/hosts/{host_id}/install-command` | `admin` | A new agent token and install command for one of your machines that has never reported. |
| `PUT` | `/v1/me/hosts/{host_id}/listing` | `admin` | Create or amend the standing offer for one of your own machines.body: floor_price_per_hour, min_hours, active, availability |
| `GET` | `/v1/me/hosts/{host_id}/market` | `read` | "Is my price right?": the market for this machine's card, and where its price sits. |
| `PUT` | `/v1/me/hosts/{host_id}/pause` | `admin` | Stop new rentals on one of your machines until `until`, or resume now with `null`.body: until (required) |
| `GET` | `/v1/me/hosts/{host_id}/rentals` | `read` | When one of your machines was rented over the last `days` UTC days, today included.query: days |
| `GET` | `/v1/me/hosts/{host_id}/telemetry/daily` | `read` | Utilisation per card per day for one of your own machines, oldest first.query: days |
| `GET` | `/v1/me/idle-stop-default` | `read` | The account's default idle stop, in minutes; null is never. |
| `PUT` | `/v1/me/idle-stop-default` | `launch` | Set the default idle stop, in minutes; null is never.body: minutes |
| `POST` | `/v1/me/instance-groups` | `launch` | Rent `count` machines at once, each an ordinary rental sharing one `group_id`.body: image (required), command, entrypoint, connect_methods, gpu_count, min_vram_gb, gpu_vendor, gpu_model_code, memory_mb, disk_gb, allow_networking, ssh_public_key, wg_user_public_key, restore_snapshot_id, restore_sealed_keys, sealed_secrets, regions, max_price_per_hour, renter_region, env, ports, use_hub, idle_stop_minutes, stop_at, spend_cap, auto_stop_snapshot, name, tags, workload_type, count (required), all_or_nothing |
| `GET` | `/v1/me/instance-groups/{group_id}` | `read` | The rentals launched together in this group, oldest first. |
| `POST` | `/v1/me/instance-groups/{group_id}/stop` | `launch` | Stop every member still running. |
| `GET` | `/v1/me/instances` | `read` | Every rental on the account, newest first, in any state. |
| `POST` | `/v1/me/instances` | `launch` | Rent a host.body: image (required), command, entrypoint, connect_methods, gpu_count, min_vram_gb, gpu_vendor, gpu_model_code, memory_mb, disk_gb, allow_networking, ssh_public_key, wg_user_public_key, restore_snapshot_id, restore_sealed_keys, sealed_secrets, regions, max_price_per_hour, renter_region, env, ports, use_hub, idle_stop_minutes, stop_at, spend_cap, auto_stop_snapshot, name, tags, workload_type |
| `GET` | `/v1/me/instances/{instance_id}` | `read` | One rental, with the cards it ran on. |
| `PATCH` | `/v1/me/instances/{instance_id}` | `launch` | Change when a live rental stops itself, or what it is called and tagged.body: idle_stop_minutes, stop_at, spend_cap, auto_stop_snapshot, name, tags, note |
| `GET` | `/v1/me/instances/{instance_id}/connect` | `read` | How to reach a rental you are paying for. |
| `GET` | `/v1/me/instances/{instance_id}/launch-again` | `read` | What Launch and `kracht launch --like` start from to repeat one of your rentals. |
| `GET` | `/v1/me/instances/{instance_id}/logs` | `read` | The last lines a rental printed, stdout and stderr together, newest at the end. |
| `POST` | `/v1/me/instances/{instance_id}/stop` | `launch` | Stop a rental.query: snapshot |
| `GET` | `/v1/me/instances/{instance_id}/telemetry` | `read` | The readings for one rental, oldest first, so a client can draw them.query: limit |
| `GET` | `/v1/me/invitations` | `read` | Who has been asked to join and has not yet. |
| `POST` | `/v1/me/invitations` | `read` | Invite an email address onto this account.body: email (required), role |
| `POST` | `/v1/me/invitations/accept` | `read` | Join an account you were invited to.body: token (required) |
| `DELETE` | `/v1/me/invitations/{invitation_id}` | `read` | Withdraw an invitation that has not been accepted. |
| `GET` | `/v1/me/jobs` | `read` | The account's batch jobs, newest first. |
| `POST` | `/v1/me/jobs` | `launch` | Submit a batch job, placed shard by shard like a rental.body: image (required), task_count (required), name, command, entrypoint, connect_methods, max_parallel, max_retries, gpu_count, min_vram_gb, gpu_vendor, gpu_model_code, max_price_per_hour, memory_mb, disk_gb, regions, allow_networking, snapshot_results, env |
| `POST` | `/v1/me/jobs/{job_id}/cancel` | `launch` | Cancel a job; shards already running are stopped. |
| `GET` | `/v1/me/jobs/{job_id}/tasks` | `read` | The shards of one job and where each ran. |
| `GET` | `/v1/me/launch-presets` | `read` | Saved launches, by name. |
| `POST` | `/v1/me/launch-presets` | `launch` | Save a launch under a name.body: name (required), request (required) |
| `DELETE` | `/v1/me/launch-presets/{preset_id}` | `launch` | Forget a saved launch. |
| `GET` | `/v1/me/ledger` | `read` | The account's ledger, newest first: deposits, holds, charges, earnings and payouts, as USD strings.query: limit, before |
| `GET` | `/v1/me/ledger.csv` | `read` | A month of the ledger as CSV, for an accountant.query: month, side, detail |
| `GET` | `/v1/me/listings` | `read` | Browse what is actually rentable right now.query: model, region, max_price_per_hour, limit |
| `GET` | `/v1/me/members` | `read` | Who can act for this account. |
| `POST` | `/v1/me/members` | `read` | Add someone to this account.body: user_id (required), role |
| `PATCH` | `/v1/me/members/{user_id}` | `read` | Change what someone may do.body: role (required) |
| `DELETE` | `/v1/me/members/{user_id}` | `read` | Remove someone, or leave yourself. |
| `PUT` | `/v1/me/members/{user_id}/monthly-limit` | `read` | Set what one member may spend a month on rentals they start.body: spend_limit |
| `GET` | `/v1/me/payouts` | `read` | This provider's settlement history, newest first.query: limit |
| `GET` | `/v1/me/payouts/setup` | `read` | Whether this account can be paid, and what the payment processor still needs first. |
| `POST` | `/v1/me/payouts/setup` | `read` | Start or continue payout setup, and get a link to the payment processor's form. |
| `POST` | `/v1/me/placements/preview` | `launch` | The machines this launch would be placed on now, best first, each with its box key.body: image (required), command, entrypoint, connect_methods, gpu_count, min_vram_gb, gpu_vendor, gpu_model_code, memory_mb, disk_gb, allow_networking, ssh_public_key, wg_user_public_key, restore_snapshot_id, restore_sealed_keys, sealed_secrets, regions, max_price_per_hour, renter_region, env, ports, use_hub, idle_stop_minutes, stop_at, spend_cap, auto_stop_snapshot, name, tags, workload_type |
| `GET` | `/v1/me/price-alerts` | `read` | Price alerts, and whether the market meets each one now. |
| `POST` | `/v1/me/price-alerts` | `read` | Watch for a card at or under a price.body: gpu_model_code (required), region_code, max_price_per_hour (required) |
| `DELETE` | `/v1/me/price-alerts/{alert_id}` | `read` | Remove a price alert. |
| `GET` | `/v1/me/price-history` | `read` | Market-wide agreed prices on one card.query: gpu, days |
| `GET` | `/v1/me/price-history/by-hour` | `read` | Market-wide agreed prices on one card by weekday and hour, in the caller's zone.query: gpu, tz |
| `GET` | `/v1/me/scheduled-launches` | `read` | Waiting launches, soonest first, then the last week's started, failed and cancelled ones. |
| `POST` | `/v1/me/scheduled-launches` | `launch` | Start a launch at a set time, or as soon as the price allows before `wait_until`.body: start_at, wait_until, request (required) |
| `DELETE` | `/v1/me/scheduled-launches/{scheduled_id}` | `launch` | Withdraw a launch that has not started. |
| `GET` | `/v1/me/setup-reminders` | `read` | Whether this account gets one email when a machine it added has not checked in. |
| `PUT` | `/v1/me/setup-reminders` | `admin` | Switch the setup reminder off or on.body: enabled (required) |
| `GET` | `/v1/me/snapshot-key` | `read` | The public key this account's new snapshots are sealed to, or null for none. |
| `PUT` | `/v1/me/snapshot-key` | `admin` | Seal this account's new snapshots to `public_key`; null stops sealing new ones.body: public_key |
| `GET` | `/v1/me/snapshots` | `read` | Saved disks, newest first, with their state, size and the rental they came from. |
| `POST` | `/v1/me/snapshots/uploads` | `launch` | Start putting files into /workspace: a pending upload and a presigned PUT for it.body: size_bytes (required) |
| `DELETE` | `/v1/me/snapshots/{snapshot_id}` | `launch` | Delete one of this account's snapshots, and stop the storage charge with it. |
| `POST` | `/v1/me/snapshots/{snapshot_id}/complete` | `launch` | Finish an upload: storage is asked for the object's size, which must be the declared one. |
| `GET` | `/v1/me/spend-limit` | `read` | This account's spending limit and its spend so far this UTC month. |
| `GET` | `/v1/me/spend/by-member` | `read` | Spend per person for owners and admins, this month unless a window is given.query: since, until |
| `GET` | `/v1/me/spend/by-rental` | `read` | Spend attributed per rental, computed over the whole ledger rather than a page of it.query: since, until, limit |
| `GET` | `/v1/me/spend/by-tag` | `read` | Spend per tag, summed in the database over the whole ledger, never a page of it.query: since, until |
| `GET` | `/v1/me/spend/daily` | `read` | Charges by UTC day over the last `days` days, today included.query: days |
| `GET` | `/v1/me/ssh-keys` | `read` | The account's saved public keys, oldest first. |
| `POST` | `/v1/me/ssh-keys` | `launch` | Save a public key.body: name (required), public_key (required) |
| `DELETE` | `/v1/me/ssh-keys/{key_id}` | `launch` | Forget a saved key. |
| `GET` | `/v1/me/statement` | `read` | One month of the account, for the printable statement.query: month |
| `GET` | `/v1/me/stop-defaults` | `read` | The account's defaults for a new rental's idle stop, spend cap and disk saving. |
| `PUT` | `/v1/me/stop-defaults` | `launch` | Set the defaults a new rental starts with.body: idle_stop_minutes, spend_cap, auto_stop_snapshot, low_credit_warn_minutes |
| `GET` | `/v1/me/storage` | `read` | Storage held by this account, and the monthly charge it implies. |
| `GET` | `/v1/me/tag-budgets` | `read` | Every tag budget on the account, with what this month has spent against each. |
| `PUT` | `/v1/me/tag-budgets/{tag}` | `read` | Set or change the monthly budget on a tag.body: monthly_limit (required) |
| `DELETE` | `/v1/me/tag-budgets/{tag}` | `read` | Remove the monthly budget on a tag. |
| `GET` | `/v1/me/templates` | `read` | The template catalog.query: category |
| `POST` | `/v1/me/templates/{template_id}/launch` | `launch` | One-click rental from the catalog, charged to the caller.body: ssh_public_key, wg_user_public_key, restore_snapshot_id, gpu_count, min_vram_gb, gpu_vendor, gpu_model_code, memory_mb, disk_gb, max_price_per_hour, regions, workload_type, renter_region, env, use_hub, idle_stop_minutes, stop_at, spend_cap, auto_stop_snapshot, name, tags |
| `GET` | `/v1/me/topups` | `read` | The smallest and largest amount of credit that can be bought at once, and whether payments are live. |
| `POST` | `/v1/me/topups` | `read` | Buy credit: get a link to the payment processor's checkout for an amount in cents.body: amount_cents (required) |
| `GET` | `/v1/me/usage` | `read` | Metered spend for this account: the detail behind a bill.query: instance_id, since, until, limit |
| `GET` | `/v1/me/webhooks` | `read` | The account's webhooks and how their last send went. |
| `POST` | `/v1/me/webhooks` | `admin` | Add a webhook.body: url (required), events (required) |
| `DELETE` | `/v1/me/webhooks/{webhook_id}` | `admin` | Forget a webhook and everything still queued for it. |
| `GET` | `/v1/me/webhooks/{webhook_id}/deliveries` | `read` | The last 20 deliveries, newest first: what was sent, and what came back. |
| `POST` | `/v1/me/webhooks/{webhook_id}/test` | `admin` | Queue a `ping`. |
| `GET` | `/v1/me/workflow-runs` | `read` | The account's runs across every workflow, newest first.query: limit new: Studio runs are not yet proven end to end |
| `GET` | `/v1/me/workflow-runs/{run_id}` | `read` | One run: every step, every rental it made, and what each cost.new: Studio runs are not yet proven end to end |
| `POST` | `/v1/me/workflow-runs/{run_id}/cancel` | `launch` | Stop a run.new: Studio runs are not yet proven end to end |
| `POST` | `/v1/me/workflow-runs/{run_id}/resume` | `launch` | Run again from where a failed or stopped run stopped, reusing the steps it finished.body: spend_cap new: Studio runs are not yet proven end to end |
| `POST` | `/v1/me/workflow-runs/{run_id}/steps/{step_key}/approve` | `launch` | Approve a step that waits for a person.new: Studio runs are not yet proven end to end |
| `GET` | `/v1/me/workflows` | `read` | The account's workflows, most recently changed first, each with its newest run. |
| `POST` | `/v1/me/workflows/check` | `read` | Would this graph run? Every step is checked the way Launch checks a launch.body: graph (required) |
| `GET` | `/v1/me/workflows/{workflow_id}/runs` | `read` | A workflow's last 20 runs, newest first.new: Studio runs are not yet proven end to end |
| `POST` | `/v1/me/workflows/{workflow_id}/runs` | `launch` | Run a saved workflow now.body: spend_cap new: Studio runs are not yet proven end to end |

### Errors

| Status | Code | Meaning |
| --- | --- | --- |
| 401 | `unauthorized` | No bearer token, or a bad one. Without a token this is the healthy answer from every /v1 route. |
| 402 | `insufficient_funds` | The account cannot cover the launch. |
| 403 | `forbidden` | Your role does not allow it. |
| 404 | `not_found` | Also the answer for an id that exists and is not yours: the id space is not enumerable. |
| 409 | `conflict` | Placement found no host. The body carries the per-host rejection reasons. |
| 429 | `rate_limited` | Over the per-minute limit for that route, per caller IP. Retry-After says when. |
| 503 | `unavailable` | The control plane is unreachable from the web tier. |
| 501 | `not_implemented` | The database is not configured. It should never appear in production now; if it does, that is a regression. |

- [Status](https://kracht.ai/status)
- [API keys](https://kracht.ai/app/settings/keys)

06Billing and money

## Billing and money

Everything is metered per second, in dollars, from usage events, and drawn against a prepaid balance. The rules below are the ones the ledger enforces, not a pricing page: the prices themselves are on [/pricing](https://kracht.ai/pricing), and your own charges at [/app/billing](https://kracht.ai/app/billing).

Unit

Per second, in dollars, from usage events, while the instance is running. No hourly minimum and no egress charge.

Precision

Amounts are numeric(16,6) in the database and travel as strings, so nothing is rounded in transit. Settlement is exact to the microdollar.

Split

The take rate is 15%. A provider keeps 85% of what a card earns, and the split is exact-integer so no cent leaks in the rounding.

Price

The matched rate is frozen onto the rental at match time. Billing uses it, never the live listing, so a provider re-pricing cannot change a running rental.

Balance

A sum over an append-only ledger, never a column. Deposits, holds, charges, earnings and payouts are all entries.

Retries

Usage is unique on (instance, seq) and every ledger entry carries an idempotency key, so a retried heartbeat cannot bill twice.

Launches

Send an Idempotency-Key header with POST /v1/instances. A retry with the same key answers with the rental the first request made, and takes no second hold.

Holds

Credit is held before compute runs and released in full when the rental ends. A session that fails at startup takes a hold, releases it, and produces no charge.

Ending

Terminal states are one-way. A late heartbeat describing an already-settled rental cannot reopen it and start billing again.

Snapshots

An archived workspace is charged per GB-month while it is ready. The rate comes from GET /v1/me/storage, and deleting the snapshot stops the charge.

Withdrawals

Only earned money is payable to a bank account, by a weekly run scheduled for Mondays, from $25, once it is 7 days old (30 days when the renter is new). None has been paid yet. Topped-up credit is spendable on compute and is not withdrawable. What is payable is the lower of earnings less payouts and the account's actual balance.

Payments

Payments run in Stripe test mode. Top up from Billing with Stripe's test checkout; no real card is charged and no real money has moved. Credit can also be granted on request.

- [Pricing](https://kracht.ai/pricing)
- [Your billing](https://kracht.ai/app/billing)
- [Ledger](https://kracht.ai/app/activity)

07Security and isolation

## Security and isolation

A rental is single-tenant for its whole life: no time-slicing, no partition shared with a stranger. If the provider uses the card during your rental, that is detected and you are refunded from that moment. The machine's owner has root on their own hardware, so they could still read a running rental; what is blocked is your way to their SSH and LAN. The container and its scratch are destroyed at teardown. The table is what was verified on the test provider box; the [security page](https://kracht.ai/security) covers encryption, disclosure and what is not covered yet.

| Property | Result |
| --- | --- |
| SSH login with your key | Root shell on Ubuntu 24.04, including on a GPU rental on a userns-remapped box. |
| Wrong SSH key | Permission denied (publickey). |
| Without the WireGuard tunnel | Unreachable. Private by construction. |
| Root filesystem | Read-only inside the instance. Install into /workspace, or bring an image. |
| /workspace scratch | Writable, and wiped on teardown. |
| The provider's LAN, from inside | Blocked. |
| The host and its sshd, from inside | Blocked. |
| The public internet, from inside | Reachable from a rental you can connect to, or one launched with allow_networking (kracht launch --network). A rental with neither has no network at all, so pip and model downloads fail. Outbound mail on ports 25, 465 and 587 is dropped. |
| The rental's disk | Not encrypted. |
| Capabilities | cap-drop ALL. An SSH-enabled session adds back only SYS_CHROOT, SETUID, SETGID, CHOWN, DAC_OVERRIDE and AUDIT_WRITE, which sshd's privilege separation needs. |
| Disk | Capped at the lower of your request and the provider's max_disk_gb. A hard quota where the storage driver supports it; the agent measures and stops the session everywhere else. |
| Private keys | You generate both keypairs locally and send only the public halves. Kracht never handles a private key. |

Base image

Ubuntu 24.04 with OpenSSH, python3 and venv, git, curl, vim and htop. Key-only sshd, no passwords, no X11 forwarding. Your public key is injected at start; host keys persist for the life of the rental.

Encrypted

TLS on every call, the database encrypted at rest by its provider, and every credential stored only as a hash. Rental disks are not encrypted.

Auditable

Every dollar and every state change lands in an append-only ledger, exact to six decimals.

- [Security](https://kracht.ai/security)
- [Privacy](https://kracht.ai/privacy)

08Status and limits

## Status and limits

What the platform observes about itself today, what it does not, and the limits a renter meets first. Uptime is probed once a minute from inside our network and charted on the [status page](https://kracht.ai/status). It is not measured from outside, and there is no SLA.

| Signal | State | Detail |
| --- | --- | --- |
| Host heartbeats | observed | Every provider machine reports in on a schedule. When one goes silent the worker marks it offline and rescues the rentals stranded on it. |
| Metered settlement | observed | Usage is metered per second and settled to the microdollar, with the split applied at exact integers. |
| Spend limits | observed | A rental stops when its credit runs out. A spending limit stops new rentals. To stop a running one, set an idle stop, a stop time or a per-rental cap. |
| A once-a-minute probe | observed | The worker checks the control plane's /healthz, its own passes and the host fleet about once a minute, and keeps per-day totals. The status page charts them. |
| Uptime from outside our network | not measured | Uptime from outside our network. The probe runs from inside it, so it cannot see a network path to us failing. There is no SLA. |
| Latency | not measured | Latency, per region or otherwise. |
| Regional health | not measured | Regional health. |
| Incident history | not measured | Incident history. |

### Known limits

| Limit | Detail |
| --- | --- |
| Read-only root filesystem | apt install does not work inside a rental. Install into /workspace (venvs, conda, source builds) or bring a custom image. |
| Write to /workspace | /workspace is the only large writable place, sized to the disk you asked for. /tmp is 256 MB held in memory. Caches already go to /workspace/.cache: pip, Hugging Face and vLLM through XDG_CACHE_HOME, and Triton and torch.compile through TRITON_CACHE_DIR and TORCHINDUCTOR_CACHE_DIR. Each is only set when you have not set it yourself. |
| No compiler unless the image has one | Nothing can be installed into the root filesystem, so an image without a C compiler cannot run torch.compile or Triton kernels. vLLM fails to start on pytorch/pytorch runtime images for this reason; vllm/vllm-openai and the -devel images work. |
| No persistence by default | /workspace is wiped on teardown. Stop with a snapshot to keep it, and restore into a later rental. |
| SSH only, in the base image | Jupyter and VS Code have ports allocated but no server in the base image yet. |
| First connect can lag | A freshly launched session's relay can time out on its first requests and then work. Poll until it answers. |
| Renters behind NAT | Both sides behind residential NAT cannot peer directly and go through the public relay. |

- [Status](https://kracht.ai/status)
- [Changelog](https://kracht.ai/changelog)

09FAQ

## FAQ

Questions the site already answers, each on the page that answers it. The help centre has a search box over every one of them.

- [Which parts of Kracht actually work today?](https://kracht.ai/help-center)
- [Is any real money moving yet?](https://kracht.ai/help-center)
- [Do I need a credit card to start?](https://kracht.ai/help-center)
- [What do I need before I can connect?](https://kracht.ai/help-center)
- [Can I bring my own Docker image?](https://kracht.ai/help-center)
- [Can I snapshot a rental and come back to it?](https://kracht.ai/help-center)
- [How do I stop paying?](https://kracht.ai/help-center)
- [Is there an uptime SLA?](https://kracht.ai/help-center)
- [How exactly am I billed?](https://kracht.ai/products)
- [Can a provider raise the price while I am running?](https://kracht.ai/products)
- [What does a provider earn?](https://kracht.ai/products)
- [Whose hardware am I running on?](https://kracht.ai/products)

- [Help centre](https://kracht.ai/help-center)
- [Contact](https://kracht.ai/contact)

Commands on this page

One command per section: the thing each part of this page is about, ready to copy.

```
curl -fsSL https://kracht.ai/install | sh
kracht login
kracht whoami
```

Command for this section

01 Overview

```
curl -fsSL https://kracht.ai/install | sh
kracht login
kracht whoami
```
