Obsyd docs
Obsyd is GPU compute for AI agents. One request reaches 46 clouds; Obsyd places the job on the cheapest one that fits, takes payment with x402 in USDC, and writes a receipt on chain when the job ends. There is no account, no card and no API key.
Three things to know:
- You pay the cloud price + 10%. Both numbers are shown before the job starts.
- You pay per job. A paid endpoint first answers
402 Payment Requiredwith a price; your agent pays and sends the request again. - Every job is provable. The receipt holds the GPU, the cloud, the seconds used, the price and a hash of the output.
https://api.obsyd.online · MCP: https://mcp.obsyd.online/mcpQuickstart
Rent one H100 for two hours with a budget of 8 USDC. You need a wallet with USDC and any x402 client (or the two raw HTTP calls below).
1. Ask for a GPU
curl -s -X POST https://api.obsyd.online/v1/jobs \
-H "content-type: application/json" \
-d '{"gpu":"H100","count":1,"hours":2,"max_usd":8,"image":"pytorch/pytorch:latest"}'2. Read the quote
Obsyd answers 402. The body says what to pay, in which asset, to which address, and which cloud was picked.
{
"x402Version": 1,
"accepts": [{
"scheme": "exact",
"network": "elysium",
"asset": "USDC",
"maxAmountRequired": "3620000",
"payTo": "0x…",
"resource": "https://api.obsyd.online/v1/jobs",
"description": "1x H100 · 2h · cloud $1.65/h + 10%"
}],
"quote": { "cloud": "…", "cloud_usd_per_hour": 1.65, "our_usd_per_hour": 1.815, "expires_in": 60 }
}3. Pay and send again
Sign the payment with your wallet and send the same request with the X-PAYMENT header. Most x402 clients do this step for you.
curl -s -X POST https://api.obsyd.online/v1/jobs \
-H "content-type: application/json" \
-H "X-PAYMENT: $SIGNED_PAYMENT" \
-d '{"gpu":"H100","count":1,"hours":2,"max_usd":8,"image":"pytorch/pytorch:latest"}'
← 200 { "job": "job_8f2a", "status": "booting", "cloud": "…", "ssh": null, "receipt": null }4. Wait for the GPU, then work
Poll GET /v1/jobs/job_8f2a until status is running. The response then carries the SSH command and the endpoint of your container. Billing starts at that moment.
How routing works
- Read. Obsyd reads the current offers of the 46 clouds for the GPU you asked for.
- Filter. It drops offers that do not fit: not enough GPUs, too little VRAM, a region you excluded, or an hourly price that breaks your
max_usd. - Pick. It takes the cheapest remaining offer. On a tie, the one with the shortest boot time wins.
- Fail over. If the cloud cannot deliver within its boot window, Obsyd moves the job to the next offer at no extra cost to you; if the next one is more expensive, the difference is on us.
You can steer routing with optional fields: regions (list), exclude_clouds (list), min_vram_gb, interconnect ("nvlink" or "any").
x402 payments
x402 uses the HTTP status code 402 Payment Required so that a program can pay for a request without an account. The flow is always the same:
- Call the endpoint without payment.
- Read the
acceptslist in the 402 body: amount, asset, network, address. - Sign a payment for that exact amount.
- Repeat the call with the signed payment in
X-PAYMENT.
A quote is valid for 60 seconds. After that, ask again: prices move.
Refunds
For GPU jobs you pay for the full requested time up front. When you stop a job early, unused seconds are refunded to the paying address within a few minutes, and the refund is listed in the receipt.
Receipts
When a job or a model call ends, Obsyd writes a receipt on chain and returns its id in the response.
{
"receipt": "rcpt_31c9",
"job": "job_8f2a",
"gpu": "H100", "count": 1, "cloud": "…",
"seconds": 7140,
"paid_usdc": "3.620000", "refunded_usdc": "0.020000",
"payment_tx": "0x…",
"output_sha256": "9b1f…e7",
"tx": "0x…", "block": 48220
}To check a result, hash the output you received and compare it with output_sha256. To check the payment, open payment_tx on the chain explorer.
Pricing & billing
| Item | Price |
|---|---|
| GPU rental | Cloud price + 10%, per second |
| Boot time | Free |
| Hosted models | Per call, shown in the 402 |
| Prices API, offers, MCP reads | Free |
| Storage and data transfer | Billed by the cloud at its price, if any, shown in the quote |
Holding $OBSYD lowers the 10% margin. See $OBSYD.
Jobs API
POST /v1/jobs
| Field | Type | Notes |
|---|---|---|
gpu | string | Required. A label from /api/v1/gpus, e.g. H100. |
count | integer | 1, 2, 4 or 8. Default 1. |
hours | number | Required. Paid up front, unused time refunded. |
max_usd | number | Upper limit for the whole job, margin included. |
image | string | Container image to start. Default: a CUDA base image. |
regions, exclude_clouds | string[] | Optional routing filters. |
GET /v1/jobs/{id}
Returns status (booting, running, stopping, done, failed), the cloud, seconds used, SSH command and receipt id once written.
POST /v1/jobs/{id}/stop
Stops the job and refunds unused seconds. Only the paying address can stop a job: sign the request with the same wallet.
Hosted models
POST /v1/run/{model} runs a hosted model on Obsyd GPUs and returns the output. The price per call is in the 402 response, so your agent always knows the cost first. The list of models and their prices is at GET /api/v1/models.
GPU prices API
Free, no key, 600 requests a minute.
curl -s "https://api.obsyd.online/api/v1/gpus?q=h100" # { "gpus": [{ "label":"H100", "min":1.65, "median":2.69, "max":11.06, "providers":41, "offers":612, "provisional":false }] } curl -s "https://api.obsyd.online/api/v1/gpu/offers?gpu=H100&max_usd_per_hour=3&limit=10" # { "offers": [{ "gpu":"H100", "num_gpus":1, "vram_gb":80, "cloud":"…", "regions":["us-east"], "hourly_usd":1.65, "our_usdc_per_hour":1.815, "boot_min":2, "boot_max":5 }], "fetched_at": "…" }
The newest week is marked provisional while listings are still arriving.
MCP server
Add the server to any MCP client:
{ "mcpServers": { "obsyd": { "url": "https://mcp.obsyd.online/mcp" } } }| Tool | What it does |
|---|---|
list_gpu_prices | Weekly price ranges, filter with q |
list_gpu_offers | Offers by cloud, filter by GPU and max price |
launch_job | Same as POST /v1/jobs; returns the quote first |
get_job · stop_job | Status and stop |
get_receipt | Receipt by job or receipt id |
Errors & limits
| Code | Meaning |
|---|---|
400 | A field is missing or invalid. The body names it. |
402 | Payment required, or the payment did not match the quote. |
404 | Unknown job, receipt or GPU label. |
409 | No cloud can meet the request within max_usd. Raise the budget or relax filters. |
429 | Too many requests. Free endpoints: 600 a minute per IP. |
503 | Routing is paused for maintenance. Nothing was charged. |
$OBSYD
$OBSYD has a fixed supply and 0% emissions. Holding it in the paying wallet lowers the margin on jobs and raises how many jobs that wallet can run at the same time. A share of the margin buys $OBSYD back on Montra; each buyback gets a receipt.
FAQ
Which chain are payments on?
Payments are in USDC; the network field of each 402 says where. Receipts are written on Elysium.
Can a person use Obsyd, not just an agent?
Yes. The app does the same calls with your wallet.
What if no cloud has the GPU?
You get 409 and nothing is charged.
Terms
Obsyd is software that routes compute jobs to third-party clouds. Each cloud's own terms apply to the machine it runs. You are responsible for what you run. Payments are final except for the refunds described above. The full terms will be published here before public launch.
Privacy
This site sets no cookies and runs no analytics. The API keeps the paying address, the job details and the receipt, which are public on chain anyway. We do not read the data inside your containers.