Developer documentation

GPU rental flow (current product)

  • GET /api/gpu?what=offers… — configure (template, GPU family/count, VRAM, CPU/RAM, disk, region, hours, transfers, budget) and compare eligible offers with exclusion reasons.
  • POST /api/gpu op=quote — pins offer, template and rate-card version; quotes expire after 1 hour.
  • POST /api/gpu op=accept — atomically holds capacity and creates the rental contract.
  • POST /api/gpu op=advance to=running|stopped|released — lifecycle with defined billing per state.
  • POST /api/gpu op=statement kind=final — reconciled statement (charges, fee, supplier, return).

Rentals API for tools and AI agents (read-only)

Create an API key in the cabinet with the rentals:read or billing:read permission and send it as Authorization: Bearer …

  • GET /api/v1/rentals — your rentals with time, budget and whether access is ready.
  • GET /api/v1/rentals/{id} — one rental.
  • GET /api/v1/rentals/{id}/agent-config — connection details, checks and rules for an AI agent that sets up your machine; add ?format=text for plain text. No passwords or private keys are ever included.
  • GET /api/v1/rentals/{id}/usage — metered intervals.
  • GET /api/v1/billing — budget, funding, metered amounts and statements (needs billing:read).

Token inference API

Scoped API keys, /api/v1/models and /api/v1/chat/completions — the token API stays, on the same GPUs, with no double billing: each GPU-second is billed once. Under pricing model v0.2 tokens are billed × k_tok (band 0.85–1.5); cache 0.2×, batch 0.5×, priority 1.25×.

Admission & budgets

Funding confirmation precedes provisioning (demo offers simulate funding with no money movement). Budgets are ceilings; extensions need new acceptance and funding. Usage events carry unique source IDs; replays never double-charge.

Ask