Skip to content
OpenRelay is in early access, and the /v1 API is stable. New capabilities ship in the changelog.
VMs

Live burn rate, session cost so far, and org runway for a VM

Every VM bills at one bundled hourly rate (per-GPU catalog price times GPU count for GPU VMs, a flat size rate for CPU VMs); disk is included, never billed separately. The rate is locked when the usage session opens, so this endpoint reads it from the open usage record when one exists (rateSource=locked) and only falls back to the current catalog when nothing is accruing (rateSource=catalog).

GET
/v1/vms/{id}/burn
AuthorizationBearer <token>

OpenRelay API key. Send it as Authorization: Bearer vl_….

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/vms/string/burn"
{
  "vmId": "4f6b9a1e-9f1c-4c58-a6a3-1f2f0f6f7a10",
  "pricePerHourCents": 411,
  "rateSource": "locked",
  "rateBasis": "gpu",
  "gpuCount": 3,
  "perGpuCents": 137,
  "diskBilled": false,
  "accruedSessionCents": 1028,
  "sessionStartedAt": "2026-07-18T09:12:00Z",
  "orgAccruedMonthCents": 2120,
  "orgAvailableCents": 10430,
  "orgBurnPerHourCents": 414,
  "projectedRunwayHours": 25.07,
  "autoStopFloorCents": 50
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}
{
  "error": "string",
  "code": "string"
}

Command line

The orl CLI wraps this endpoint:

orl vms burn get <id>