Rent compute capacity
Rent a provider's GPU for a fixed term with a stream escrow, or sell your own: stake for the compute role and get paid by the hour on the validators' SLA verdicts.
Sometimes you want the machine rather than answers from it: a GPU for a fine-tuning job, CPU cores for a batch pipeline, memory for a large index. On Tenzro Network a rental is a stream escrow from the renter to the provider's bonded address: it pays the provider one hour at a time until it expires. Renter and provider agree the price first, directly or in a task market a harness runs. Each hour, validators probe the provider and freeze an SLA verdict on whether it was available.
This tutorial walks through both sides.
Prerequisites
- The
tenzroCLI and a funded account with a hardware key (a passkey or the machine's TPM or Secure Enclave). - For the provider side: a node running with the
computerole. See Join the network as a provider.
Provider: 1. Stake for the compute role
tenzro stake bond --role compute --amount 1000000000000000000000 --accelerators datacentre \
--rpc https://rpc.tenzro.com
tenzro stake info--accelerators names the classes you pledge: integrated, consumer, workstation or datacentre. The same stake backs every rental, compute claim and storage claim you take on, and the network refuses an obligation it cannot cover.
Renter: 2. Check the market price
Read the observed price feed before you set a budget. Its rows come from validators that routed real calls, cheapest per compute-second first, and can be narrowed to a region or to attested providers:
tenzro provider compute-price-feed --limit 20
tenzro provider compute-price-feed --region DE --attested-only trueRenter: 3. Open the rental
Agree an hourly rate with the provider, then lock the whole term in a stream escrow to its bonded address:
NOW=$(date +%s000)
tenzro escrow create --payee 0xPROVIDER --amount 36000000000000000000 \
--expires-at $((NOW + 86400000)) --release stream \
--rate-per-epoch 1500000000000000000 --epoch-ms 3600000 --rpc https://rpc.tenzro.comThe expiry is the end of the rental. Nobody holds the escrow's key: from now on it accrues to the provider hour by hour until it expires.
4. Let the validators decide each hour
Validators send SLA probes to the provider every hour and freeze a verdict. Read one:
tenzro provider sla-verdict --provider-did <PROVIDER_DID> --epoch <HOUR>The provider draws what has accrued from the escrow, never more.
5. Stop early
Either side can stop the rental. The accrued part goes to the provider and the rest returns to the renter:
tenzro escrow refund <ESCROW_ID> --payer 0xRENTERNext steps
- Compute rental for the full model.
- Compute claims and the price index to buy capacity for a future window.
- SLA attestation and metering.