Updated Nov 17, 2026
REST docs
$REST is live on Elysium. Nodes can register now; jobs have been running since epoch 0, 18 Nov 2026.
01 · Start
What is REST
A GPU supply network on Elysium. Idle consumer GPUs run AI jobs for apps and agents, and earn $REST for verified work.
Builders send image and inference jobs. The scheduler matches each job to an idle GPU by VRAM, region and reputation. A spot check confirms the result, and only then does the payment leave escrow.
| Who | What they get |
|---|---|
| Node operators | $REST every epoch for verified work, plus NVDA for holding |
| Builders | One API for GPU jobs, paid per job in USDC or $REST |
| $REST holders | Tokenized NVDA from the Holder Vault every epoch |
$REST is live. The node client is out for Windows and Linux (NVIDIA) and jobs have been running since epoch 0, 18 Nov 2026. The builder API is open: top up and create a key at restgpu.xyz/build.
02 · Start
Epochs
Everything on REST settles in 6-hour epochs.
An epoch closes at 00:00, 06:00, 12:00 and 18:00 UTC. At each close the epoch's jobs are settled, its work receipts are sealed onchain and holders get their NVDA. Node rewards run on a shorter clock: they are credited every hour.
- Node $REST is credited to your node balance every hour, and you can claim it any time.
- Holder NVDA arrives directly in your wallet with gas covered—no action needed.
- Every payout is backed by verified work from that epoch.
03 · Nodes
Run a node
Put an idle GPU to work in the hours you choose.
| You need | |
|---|---|
| GPU | NVIDIA RTX 30 series or newer. Bigger cards qualify for bigger jobs. |
| System | Windows 10/11 or Ubuntu 24.04+ |
| Hold | $REST worth at least 100 USD in your wallet (or staked) |
| Wallet | Any wallet on Elysium, with a little ETH for gas |
- 1Download the node client from the Run a node page and run install.ps1. It checks your GPU and installs everything.
- 2Link your wallet with one signature (no gas).
- 3Hold $REST worth at least 100 USD in the wallet you link. No lock-up.
- 4Set the hours your GPU is available. Pause at any time and the GPU is yours again.
- 5Jobs run in the background. Every epoch credits $REST for the jobs you verified.
Download and install steps are on the Run a node page.
04 · Nodes
Hold $100 of $REST
One requirement opens the node and the NVDA rewards.
Hold $REST worth at least 100 USD and you can run a node; hold at least the holder minimum all epoch and you earn tokenized NVDA from the Holder Vault. What counts is what sits in your wallet plus anything you staked. At launch the minimum is an amount of $REST that follows the market price automatically to stay near 100 USD (it can move at most 20% per hour, and the current number is always onchain as requiredHolding); once a $REST/USDC pool with a 30-minute average price is live, it switches to a USD value read from that average, never the spot price.
- If $REST falls or you move tokens out and your holding drops under 100 USD, the node pauses until you top up.
- For NVDA, the holder minimum has to stay in place for the whole epoch: buying just before the close doesn't count. It is a token amount set by the signed Holder Vault rule, listed live on restgpu.xyz/rewards, and can be lower than the node minimum; with none set, it is the node minimum.
- A node that returns faked results earns nothing for them and gets banned. $REST you chose to stake can also be slashed to the Holder Vault.
- Staking is optional and instant to undo. Staked $REST still counts as held for NVDA.
05 · Rewards
Node rewards
Paid for verified work.
Nodes are rewarded in $REST, not in USDC: the job fees go to the Holder Vault. Every verified job draws a random reward from the node reward pool, and holding the $100 of $REST also earns NVDA from the vault. The reward per job and the hourly budget below are read live from the pool contract.
Reading the reward rules…
| Setting | Now |
|---|---|
| Reward per verified job | Random, within the range in the table above. With NodeRewardsV3 each job type (an image model, a text model, voice, embeddings) has its own range, so a heavy SDXL image can earn more than a short text answer |
| Network reward budget | The hourly cap in the table above, for all nodes together |
| Credited | Every hour, onchain (NodeRewardsV2; NodeRewardsV3 once it takes over) |
| Available to claim | Any time, to any wallet. Nothing expires |
The draw comes from the hour's receipt root and the job id (with NodeRewardsV3, also the job type), so anyone can recompute every reward. In a very busy hour the draws are scaled evenly to fit the hourly budget. The team can change the ranges and the budget onchain, and with V3 add a job type, but a change only applies from the next hour, never to an hour that is running or done; changes are public events. In V3 each job type also has a ceiling fixed when it was added, which no later change can go above, and no job can ever earn more than 1,000 $REST.
The contract only checks that an owner's hourly credit is at most its jobs times their type's maximum, and that the hour stays within its cap. The draws themselves are computed by the REST scheduler, which holds the distributor role; that is why every draw is published and can be recomputed. Team devices earn the same per-type reward as any node, with no extra $REST per job.
A GPU with several owner wallets: every qualifying owner gets the full draw of each job, at that job type's range, and counts the job under its type, so the contract's per-owner check still holds. The hourly cap is for the whole network, so extra draws make a busy hour scale down sooner (see the next section).
The pool is funded with $REST the team buys on the market, and $REST only leaves it as node rewards: the contract has no withdraw function. Each node's credited rewards are reserved for that node.
Team test jobs: until builder demand grows, the REST team adds about 12 real image and text jobs an hour so nodes have work. They are unpaid, so they add nothing to the Holder Vault; nodes earn the usual $REST reward for them from the node reward pool. They go to any capable node, first come first served, with the same checks. The team's builder address is public in the network state (houseBuilder).
Your credited rewards sit in your node balance in the NodeRewardsV2 contract, and you can claim the whole balance to any wallet at any time with claim(to). Claim it at restgpu.xyz/claim: connect the owner wallet, pick the address, confirm. Every hourly credit is listed there too. The first reward pool (NodeRewards V1) credited epoch 0 in full and is closed; every reward since comes from V2. When NodeRewardsV3 takes over, V2 stops crediting new hours, and whatever V2 already credited you stays claimable from V2, with no deadline; the claim page shows both pools.
06 · Rewards
Reputation tiers
Steady nodes get the bigger jobs first.
Every node has a public record: its verified jobs and checks, a reputation score (+0.01 for each verified result, −0.3 for a wrong one) and when it was last caught. The record sets its tier, and the tier sets how big a job it may take first. Your node's tier and what the next one needs show when it starts, and in the node status API.
| Tier | How to reach it · what it unlocks |
|---|---|
| New | Every node starts here · standard jobs, up to 1.25× a model's standard job |
| Steady | 25 verified jobs or checks, reputation 0.9+, no wrong result for 7 days · large jobs up to 2.5×, and large jobs first |
| Trusted | 250 verified, reputation 0.98+, no wrong result for 30 days, registered 3+ days · every size, first pick of the largest |
A job's size is its estimated GPU work over its model's standard job: an image of 512 × 512 at 20 steps (SDXL: 1024 × 1024 at 25 steps), or 1,000 tokens of text. A 640 × 640 image is large; 768 × 768 at 30 steps is extra large. The quote endpoint returns every job's size.
- A job above every online node's tier is not stuck: after 90 seconds any capable node may run it, at the same price.
- Checks go to any capable node, whatever the size, so every result is still checked.
- The reward does not change with the tier: a verified job earns the range of its job type, whatever the node's tier. A higher tier means more jobs to pick from.
- One wrong result drops a node to New until it has a clean week again.
07 · Rewards
Holder Vault
Tokenized NVDA for $REST holders, every epoch.
- The vault fills from every job payment (the whole price), slashed stakes and team buys.
- It swaps what comes in to tokenized NVDA through Uniswap on Elysium.
- Each epoch it splits its NVDA among wallets that held at least the holder minimum of $REST all epoch long, by how much they held and for how long.
- Pools, contracts and the burn address do not count.
- One epoch pays out at most 20% of the NVDA in the vault.
- The vault is closed: nothing can be withdrawn from it.
Payouts depend on network usage and are not guaranteed. Nothing here is financial advice.
08 · Build
Compute Pass
One balance for every job you run.
- Top up in USDC. One credit pays for one dollar of jobs at their listed prices.
- Or top up in $REST: 10% more credits than the same value in USDC. The price comes from KeeperPriceOracle: the network's keeper posts the $REST price from DexScreener and GeckoTerminal (they must agree within 10%); a rise is capped at 20% per hour, a fall at 50% per update, and a price older than 2 hours stops $REST top-ups until the next post. The keeper wallet is the scheduler's; nobody, the admin included, can set an arbitrary price.
- $REST spent on jobs goes to the Holder Vault like every job payment. The vault can only swap it to NVDA through a Uniswap v3 $REST pool, which doesn't exist yet, so until then that $REST stays in the vault (the vault has no withdraw).
- Credits are spent in this order: $REST, then USDC, then bonus.
- Set a spend cap per epoch if you want one.
- Unspent balance comes back at what you paid, 6 hours after you ask.
09 · Build
Builder API
One API for image, text, embedding and voice jobs.
Connect a wallet at restgpu.xyz/build, top up its Compute Pass in USDC (ComputeCredits.depositUsdc, 1 USDC = 1 USDC of credits) or in $REST (ComputeCredits.depositREST, at the oracle price plus the 10% $REST discount, with a minimum-credits guard), and create an API key by signing a short message; no gas. Each job holds its price from the pass while it runs and is charged at the epoch close only once verified; the payment goes to the Holder Vault. A key can carry a cap: the most its jobs may hold or spend in one epoch. The server stores only the key's SHA-256; revoke a key on the same page.
node src/net-builder.ts pass # pass, wallet balances, $REST price
node src/net-builder.ts top-up --rest 1000000 # shows the quote, sends nothing
node src/net-builder.ts top-up --rest 1000000 --yes
node src/net-builder.ts top-up --usdc 5 --yesThe CLI tops up the wallet in its key file (--key-file, default ~/.rest-node/builder.json): approve, then deposit, from that wallet, which pays the gas in ETH. Without --yes it only prints the quote.
curl -X POST https://restgpu.xyz/api/network/jobs \
-H "Authorization: Bearer $REST_KEY" \
-H "content-type: application/json" \
-d '{"spec": {"kind": "image", "params": {"model": "sd15",
"prompt": "a rig glowing at night", "negative": "",
"width": 512, "height": 512, "steps": 20, "guidance": 7, "seed": 42}},
"prefer": "cheapest", "maxPrice": "4000"}'
<- 200 {"jobId": "0x…", "credits": "…", "status": "queued"}
GET /api/network/jobs/0x… -> status, output_url or output_textOr skip polling: set a job webhook on the Build page (one URL per wallet, set by signing a message). When a job of that wallet ends, verified, failed, disputed or refunded, the server POSTs the job to your URL as GET /api/network/jobs/{id} returns it, with the event in REST-Event and a delivery id in REST-Delivery. Answer with any 2xx. Anything else, or no answer within 5 seconds, is retried 5 more times over about 7 hours; redirects are not followed. Every request is signed with your webhook secret, shown once when you set the URL; setting a new URL makes a new secret.
import { createHmac, timingSafeEqual } from "node:crypto";
// REST-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256(secret, t + "." + raw body)>
function fromREST(rawBody, header, secret = process.env.REST_WEBHOOK_SECRET) {
const [, t, v1] = /^t=(\d+),v1=([0-9a-f]{64})$/.exec(header ?? "") ?? [];
if (!t || Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
const want = createHmac("sha256", secret).update(t + "." + rawBody).digest();
return timingSafeEqual(want, Buffer.from(v1, "hex"));
}
// body: {"id": "d_…", "event": "job.verified", "createdAt": "…",
// "job": {"id": "0x…", "status": "verified", "output_url": "…", …}}OpenAI-compatible: the OpenAI SDKs for Python and Node, and the tools built on them, work with base URL https://restgpu.xyz/api/v1 and an REST API key. POST /v1/chat/completions (qwen2.5-3b, qwen2.5-7b, qwen2.5-14b), /v1/embeddings (nomic-embed-v1.5, float or base64), /v1/images/generations (sd15, sdxl; url or b64_json, plus negative_prompt, steps and seed) and /v1/audio/speech (kokoro-82m, beta: a WAV; OpenAI voice names work too), and GET /v1/models. Each request is one ordinary job paid from the key's Compute Pass, and the answer comes back as soon as a node has it.
from openai import OpenAI
client = OpenAI(base_url="https://restgpu.xyz/api/v1", api_key="idx_…")
r = client.chat.completions.create(model="qwen2.5-14b", messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content, r.rest) # rest: job_id, status, price_usdcHow it differs from OpenAI: decoding is greedy so a second node can check the text, so temperature and top_p are accepted and ignored; max_tokens is capped at 1,024; a conversation is sent to the model as one transcript; stream: true answers in one chunk once the text is ready; no tools, function calls or image input. A job picked for a spot-check answers with the first node's output while the check runs (rest.status is "verifying"); it is charged only once verified, and refunded if no two nodes agree. Errors use OpenAI's shape: 401 invalid_api_key, 402 insufficient_quota (Compute Pass empty or the key's cap reached), 404 model_not_found, 503 no_node_online (nothing is filed), and 504 with the job id when no node answered in 120 s (the job keeps running).
Bring your own model (beta): POST /api/network/models/byo with your API key and {name, url, sha256}, where url is one .gguf file on huggingface.co at a pinned commit (https://huggingface.co/{org}/{repo}/resolve/{40-character commit}/{file}.gguf) and sha256 is the SHA-256 Hugging Face shows for it. The registry checks it against Hugging Face, reads the GGUF header and refuses anything over 10 GB or split into parts. The model gets an id like byo-74a4da8c9fdb: use it as the model in a text job or /v1/chat/completions. It is priced like the Qwen2.5 model of its size class (up to 2.6 GB as 3B, up to 5.5 GB as 7B, up to 10 GB as 14B). Nodes run it only after their owner adds it with node src/agent.ts model add byo-… --trust (client 0.6), so a new model answers 503 no_node_online until one does; GET /api/network/models/byo lists every model and its nodes online.
Free runs: POST /api/network/trial/jobs {spec} runs a job without a key or a wallet, three a day per visitor, on qwen2.5-3b (up to 256 tokens and a 2,000-character prompt), sd15 (512 × 512, up to 20 steps), nomic-embed-v1.5 (up to 8 texts, 2,000 characters) or kokoro-82m (up to 300 characters). GET /api/network/trial shows how many are left. A run is refused, and not counted, when no node offers its model. Free runs are unpaid, filed under the public address 0x6c1d1d478f2d0bae2548f4fa3d74b172c2fac3d0 (the last 20 bytes of keccak256("rest:free-trial"), so nobody holds its key) and listed in the Explorer as free trial runs. Visitors are counted by a salted hash of their IP; the IP itself is not stored.
Building with a coding agent? Install the REST skill (restgpu.xyz/agents#skill, or point the agent at restgpu.xyz/skill.md). It tells the agent which way in to use, each model's limits and live price, how REST differs from OpenAI and which errors to handle, and gives it a CLI for free quotes and capped paid jobs.
Agents can skip the API key and pay per job with x402, in USDC from their own wallet. POST the job without payment and the API answers 402 with the exact price. The agent signs a USDC transfer authorization (EIP-3009) for that price and sends it again in the X-PAYMENT header.
POST /api/network/x402/jobs {"spec": {...}}
<- 402 {"accepts": [{"maxAmountRequired": "500", "payTo": "<Holder Vault>", "asset": "<USDC>", ...}]}
POST /api/network/x402/jobs X-PAYMENT: <signed TransferWithAuthorization>
<- 200 {"jobId": "0x…", "payment": {"state": "pending"}}
GET /api/network/jobs/0x… -> payment "settled", output releasedThe USDC is only charged once the job is verified, and it goes straight from the agent's wallet to the Holder Vault. A job that fails or times out is never charged. The output is released after payment. Discovery: GET /api/network/x402.
Kinds: image (sd15 up to 768 × 768, or sdxl from 768 to 1024 a side), text (qwen2.5-3b, or qwen2.5-7b and qwen2.5-14b on bigger cards) embed (nomic-embed-v1.5, up to 32 texts) and voice (beta: kokoro-82m, up to 600 characters of English, one of 8 voices, speed 0.8 to 1.5, a seed; a 24 kHz WAV, 0.002 USDC per 1,000 characters). prefer is cheapest or fastest on the open market; maxPrice, in micro-USDC (4000 is 0.004 USDC), refuses offers above it. Keys only send jobs: booking a GPU and anything else still takes a request signed by the wallet, as the builder CLI does.
10 · Build
Batch jobs
Many requests of one model in one call, at half the listed price, for a 6 h or 24 h completion window.
A batch is for bulk work that can wait: embeddings for a whole document set, captions for a catalog, a thousand images. Send the requests as one batch with your API key and they are priced 50% under the listed price of the model. In exchange they run when nodes are idle: a batch job goes to a node only when no other job it may take is waiting, so batches never delay normal jobs. Each request is still an ordinary job: run by one node, re-run and checked by a second like any other, sealed in a receipt, and listed in the Explorer as part of its batch (Explorer → Batch jobs, or /explorer?batch=batch_…). Node rewards per verified job are the same as for any job.
| Limit | Value |
|---|---|
| Price | 50% of the listed price of each request, rounded up to a whole micro-USDC |
| Completion window | 6h or 24h from when the batch is filed |
| Requests per batch | 10,000 for /v1/embeddings (each up to 32 texts), 1,000 for chat, images or speech |
| Request body | 4 MB at most: split bigger sets into several batches |
| Models | One model per batch, on one endpoint |
| Open batches | 10 per wallet |
The shape follows OpenAI's Batch API, with the requests sent inline instead of as an uploaded file. Each line is {"custom_id", "method": "POST", "url", "body"}, where body is the same request you would send to that endpoint; custom_id must be unique in the batch. Set dry_run: true to get the price and the nodes online without filing anything. A batch with a bad line is refused as a whole, with the line numbers, and nothing is held.
POST /api/v1/batches Authorization: Bearer idx_…
{"endpoint": "/v1/chat/completions", "completion_window": "24h",
"metadata": {"job": "faq-answers"},
"requests": [{"custom_id": "q-1", "method": "POST", "url": "/v1/chat/completions",
"body": {"model": "qwen2.5-7b", "messages": [{"role": "user", "content": "…"}]}}, …]}
(or "input": the JSONL file's text, one request a line)
<- 201 {"id": "batch_…", "object": "batch", "status": "in_progress", "request_counts": {"total": 1000, …}, …}
GET /api/v1/batches/batch_… -> status, request_counts, rest.counts, rest.items (per request: status, job_id)
GET /api/v1/batches/batch_…/results -> JSONL, one line per request that ended, in input order
GET /api/v1/files/batch_…-output/content -> the successful lines (OpenAI's output file)
GET /api/v1/files/batch_…-errors/content -> the failed, cancelled and expired ones
POST /api/v1/batches/batch_…/cancel -> requests not started are refunded
GET /api/v1/batches -> your batches, newest firstResult lines use OpenAI's format: {"id", "custom_id", "response": {"status_code": 200, "request_id": <job id>, "body"}, "error": null}. The body is what the endpoint returns: a chat.completion, an embeddings list (float or base64, as each line asked), or for images and speech a link to the output (the URL of the PNG or the WAV) instead of the bytes. A request that did not complete has response null and an error code: job_failed, job_disputed, batch_cancelled or batch_expired. Results can be read at any time; requests still running are left out until they end.
Money: the whole quoted price is held on your Compute Pass when the batch is filed, and it must fit the key's cap per epoch, together with what the key's jobs and other batches already hold. Each request is charged at the epoch close once it is verified, like any job. A request that fails, or that no two nodes agree on, is not charged. When you cancel, or the window ends, requests that have not started are refunded at once; ones already running finish and are charged only if verified. The batch's status is in_progress, then completed, expired or cancelled (cancelling while started requests finish).
Webhooks: a batch sends one event when it ends, batch.completed (or batch.expired, batch.cancelled), to the job webhook set on the Build page, signed the same way. Its body carries the batch object under "batch", with absolute links to the results and the Explorer. The requests of a batch send no job.* events of their own.
The Build page has a Batches panel: paste an API key, choose a .jsonl file, check the price, file it, and download the results when it is done. The MCP toolkit has rest_create_batch and rest_batch_status (with REST_API_KEY).
11 · Network
Proof ledger
Every job leaves a receipt.
A receipt holds the node code, the job kind, its GPU-seconds, the credits it took and its epoch. No prompt and no output. Each epoch's receipts roll up into one Merkle root, written once to the ProofLedger contract.
Anyone can rebuild an epoch or an hour from the published receipts: every leaf, the Merkle root ProofLedger sealed, and each hour's node reward draws, checked against NodeRewardsV2 (and NodeRewardsV3 once it runs) onchain. Do it in the browser at restgpu.xyz/verify, or run node src/verify-proofs.ts from the node client folder. Holder payouts are not covered by these checks yet.
node src/verify-proofs.ts
node src/verify-proofs.ts --hour 37
node src/verify-proofs.ts --epoch 112 · Network
Contracts
Everything runs on Elysium (deployment chain ID configured by the operator).
| Contract | What it does |
|---|---|
| $REST | The token. Fixed 1B supply, no mint, no tax |
| NodeStaking | Node access: hold 100 USD of $REST; optional staking, bans |
| ComputeCredits | The Compute Pass and job settlement |
| NodeRewardsV2 | Node reward pool: one random range for every verified job (live on /rewards), credited hourly, claimable any time. $REST only leaves it as node rewards: no withdraw function. Replaced NodeRewards (V1), which is closed |
| NodeRewardsV3 | Next node reward pool, not deployed yet: a range per job type, the same guarantees as V2 (no withdraw, rules only for coming hours, claim any time). Not audited |
| HolderVault | NVDA to holders every epoch |
| ProofLedger | One receipt root per epoch |
The contracts are live on Elysium. They have not had an external audit yet (one is planned), and every admin role sits with one team wallet until it moves to a multisig. Jobs are paid in USDC or $REST; the $REST price for top-ups is posted by the team's keeper (KeeperPriceOracle, capped moves) rather than read from a TWAP, so it can lag the market. The Holder Vault pays tokenized NVDA.
13 · Network
Parameters
The numbers, in one place, as set onchain today.
| Parameter | Value |
|---|---|
| Epoch length | 6 hours |
| Hold to run a node | 100 USD of $REST (wallet + staked) |
| Minimum holding | A set $REST amount near 100 USD at launch; a 30-minute TWAP in USD once a pool is live |
| NVDA eligibility | The holder minimum, held for the whole epoch: set by the signed Holder Vault rule, shown on /rewards |
| Job payments | 100% to the Holder Vault |
| Node rewards | A random range per verified job and an hourly cap, read live from the pool: see Node rewards |
| $REST payment discount | 10%, on Compute Pass top-ups at the onchain KeeperPriceOracle price |
| Refund delay | 6 hours |
| Largest single job | 1,000 USD |
| Vault payout per epoch | At most 20% of its NVDA |
| Token launch | Fair launch on Pons: 100% sold to the public. No team, presale, backer, airdrop or reserve allocation |
