Skip to content
Poros on Elysium: model outputs and GPU rentals, priced 30% less.
POROSdocs / reference

Technical reference

Make images, video, and voice, and rent GPUs by the second. Use the web app, the REST API, MCP for AI agents, or pay per output with x402. Balances are in USDC on Elysium.

Get started

  1. Connect a wallet and sign in. Signing in is one message, with no gas and no funds moved.
  2. Add funds in Billing: 5 to 1000 USDC per deposit, paid in USDC or HYPE on Elysium.
  3. Create an API key in API keys. Choose what it may do and its daily cap. The key is shown once.
  4. Call the API with the key, or connect an AI agent over MCP.

Your whole refundable balance can go back to your wallet in USDC at any time (deposits count after 15 minutes, and refunds wait while work is running). Poros pays the gas.

curl https://api.poros.run/v1/balance -H "Authorization: Bearer psk_..."

REST API

Base URL https://api.poros.run/v1. Send Authorization: Bearer psk_…. Bodies are JSON. Money is in micro-USDC (1 USDC = 1,000,000), in fields ending in Micros. Lists return { "data": [...] }.

Every request that spends (POST /outputs, POST /instances) needs an Idempotency-Key header: send the same key again to retry safely; you get the first result and pay once.

Method and pathPermissionWhat it does
GET /balance?days=7readAvailable, held, and refundable balance, and spend per day
GET /modelsnoneModels with options and prices
POST /outputsoutputs:writeMake an output. Returns 202 with its id and price
GET /outputsreadOutputs of the last 7 days
GET /outputs/{id}readStatus, and the file when ready
GET /outputs/{id}/filereadThe file itself
GET /gpusnoneGPU types with VRAM, hourly price, and availability
POST /instancesinstances:writeRent a GPU: { gpu } or { minVramGb }
GET /instancesreadRunning GPUs and those ended in the last 24 hours
GET /instances/{id}readStatus, SSH details, cost so far, and runway
POST /instances/{id}/endinstances:writeEnd a GPU and its billing
GET /ssh-keysreadYour SSH keys
POST /ssh-keysssh_keys:writeAdd a key: { name, publicKey }
DELETE /ssh-keys/{id}ssh_keys:writeRemove a key

Make an image and wait for it:

curl -X POST https://api.poros.run/v1/outputs \
  -H "Authorization: Bearer psk_..." \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"model":"flux-schnell","prompt":"A red glass cube on white marble","width":1024,"height":1024}'

# → 202 {"id":"out_…","status":"making","priceMicros":2100}
curl https://api.poros.run/v1/outputs/out_… -H "Authorization: Bearer psk_..."
# → {"status":"ready","file":{"url":"…","mimeType":"image/jpeg"}}

Images take width and height; video takes seconds and aspectRatio; voice takes the text as prompt. Each model lists its options in GET /models. You are charged only when an output is ready; failed outputs cost nothing. Files are kept for 7 days.

Errors and limits

Errors look like { "error": { "code": "cap_reached", "message": "…", "details": { … } } }. Read code; message is for people.

CodeHTTPMeaning
unauthorized401Missing, unknown, or deleted key
key_stopped403The key is stopped
scope_missing403The key lacks the permission
insufficient_balance402The balance does not cover the price or 10 minutes of GPU time
payment_required402x402 payment needed or not valid (see the PAYMENT-REQUIRED header)
invalid_request400A field is not valid (details.fields)
not_found404Unknown, or not yours
conflict409e.g. already ended, or too many outputs in progress
limit_reached409Too many GPUs, keys, or SSH keys
content_rejected422The prompt is not allowed
cap_reached429The key's daily cap would be exceeded (details.remainingMicros)
rate_limited429Too many requests (Retry-After)
gpu_unavailable503That GPU is sold out right now
upstream_unavailable503Temporarily unavailable (Retry-After)
LimitValue
Requests per API key120 per minute (RateLimit-* headers)
New outputs per wallet20 per minute, up to 4 in progress
New GPUs per wallet5 per minute, up to 2 running
API keys per wallet10, each with a daily cap of 0.01 to 10,000 USDC (resets 00:00 UTC)
SSH keys per wallet10

MCP for agents

Poros is an MCP server at https://api.poros.run/mcp (Streamable HTTP). The agent acts as one API key, with that key's permissions and daily cap. Agents cannot deposit or refund.

Add it to your MCP client's configuration:

{
  "mcpServers": {
    "poros": {
      "type": "http",
      "url": "https://api.poros.run/mcp",
      "headers": { "Authorization": "Bearer psk_..." }
    }
  }
}
ToolPermissionWhat it does
get_balancereadBalance and spend
list_modelsreadModels and prices
make_outputoutputs:writeMake an output; wait_seconds (0–50) waits for it, and images come back inline
get_outputreadStatus and a file link valid 24 hours
list_outputsreadOutputs of the last 7 days
list_gpusreadGPUs, prices, availability
rent_gpuinstances:writeStart a GPU
list_instancesreadYour GPUs
get_instancereadSSH details, cost, runway
end_instanceinstances:writeEnd a GPU (destructive)
list_ssh_keysreadYour SSH keys
add_ssh_keyssh_keys:writeAdd a key
remove_ssh_keyssh_keys:writeRemove a key (destructive)

Give an agent only what it needs: a key with Read and Make outputs, and a small daily cap, is a good start.

Pay per output (x402)

No account? Pay for each output with x402. Call POST /outputs without a key: the answer is 402 with a PAYMENT-REQUIRED header. Your client signs a payment and sends the same request again with PAYMENT-SIGNATURE. Poros settles it and pays the gas, so your wallet only needs USDC.

FieldValue
Schemeexact
Networkeip155:99901
AssetUSDC 0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65
PriceThe output's listed price, in micro-USDC
Signature valid for120 seconds

With the x402 libraries, allow Elysium USDC in your client (only a few assets are allowed by default), and set a per-payment cap:

import { x402Client } from "@x402/core/client";
import { toClientEvmSigner } from "@x402/evm";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { wrapFetchWithPayment } from "@x402/fetch";
import { createPublicClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { toApp } from "@/lib/urls";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const chain = createPublicClient({ transport: http(process.env.ELYSIUM_RPC_URL) });

const client = new x402Client()
  .register("eip155:99901", new ExactEvmScheme(toClientEvmSigner(account, chain)))
  .setSpendControls({
    allowedAssets: [{ network: "eip155:99901", asset: "0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65", maxAmountPerPayment: "2000000" }],
  });

const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://api.poros.run/v1/outputs", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ model: "flux-schnell", prompt: "A red glass cube on white marble" }),
});
const output = await res.json(); // { id, status: "making", statusUrl, fileUrl }

Poll statusUrl (no key needed) until "status": "ready", then download fileUrl. If an output fails after payment, the amount stays in your Poros balance: sign in with the paying wallet to use or refund it.

GPUs and SSH

  • Billing is per second, from the moment SSH is ready, until you end the GPU or the balance runs out.
  • The balance must cover 10 minutes to start. Below 10 minutes the GPU is flagged; at zero it ends.
  • Disk: 50 GB, deleted when the GPU ends. Copy your results off before ending.
  • Login is with SSH keys only. Add a key in SSH keys before renting.
curl -X POST https://api.poros.run/v1/instances \
  -H "Authorization: Bearer psk_..." -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" -d '{"minVramGb":24}'

curl https://api.poros.run/v1/instances/ins_… -H "Authorization: Bearer psk_..."
# → {"status":"running","ssh":{"command":"ssh root@203.0.113.5 -p 22022"}, "costMicros": …, "runwaySeconds": …}

curl -X POST https://api.poros.run/v1/instances/ins_…/end -H "Authorization: Bearer psk_..."

Prices

Prices are 30% below standard and are charged in USDC.

ModelKindPrice
FLUX.1 [schnell] flux-schnellimage0.00300.0021 USDC per image
FLUX.1 [dev] flux-devimage0.01200.0084 USDC per image
Z-Image Turbo z-image-turboimage0.00500.0035 USDC per image
P-Image p-imageimage0.00500.0035 USDC per image
Qwen Image qwen-imageimage0.02000.0140 USDC per image
Seedream 4.0 seedream-4image0.02700.0189 USDC per image
WAN 2.6 Image wan-2-6-imageimage0.03000.0210 USDC per image
Pruna Video pruna-videovideo0.02000.0140 USDC per second
WAN 2.6 Video wan-2-6-videovideo0.50000.3500 USDC per 5 seconds
Vidu Q3 vidu-q3video0.15000.1050 USDC per second
Seedance 2.5 seedance-2-5video0.18000.1260 USDC per second
MiniMax Speech minimax-speechvoice0.05000.0350 USDC per 1,000 characters
Chatterbox Turbo chatterbox-turbovoice0.00100.0007 USDC per second of audio
GPUVRAMPrice per hour
RTX 2000 Ada rtx-2000-ada16 GB0.2400.168 USDC
RTX A4000 rtx-a400016 GB0.2500.175 USDC
RTX A4500 rtx-a450020 GB0.2500.175 USDC
RTX A5000 rtx-a500024 GB0.2700.189 USDC
RTX 4000 Ada rtx-4000-ada20 GB0.2800.196 USDC
RTX 3090 rtx-309024 GB0.5000.350 USDC
RTX PRO 4000 Blackwell rtx-pro-4000-blackwell24 GB0.5700.399 USDC
A40 a4048 GB0.5900.413 USDC
RTX A6000 rtx-a600048 GB0.6900.483 USDC
L4 l424 GB0.6900.483 USDC
RTX PRO 4500 Blackwell Server Edition rtx-pro-4500-blackwell-server-edition32 GB0.7200.504 USDC
RTX PRO 4500 Blackwell rtx-pro-4500-blackwell32 GB0.7200.504 USDC
L40 l4048 GB0.8200.574 USDC
RTX 4090 rtx-409024 GB0.8900.623 USDC
RTX PRO 5000 Blackwell rtx-pro-5000-blackwell48 GB0.9600.672 USDC
RTX 6000 Ada rtx-6000-ada48 GB1.0900.763 USDC
L40S l40s48 GB1.0900.763 USDC
RTX 5090 rtx-509032 GB1.3900.973 USDC
A100 80GB PCIe a100-80gb-pcie80 GB2.0901.463 USDC
A100-SXM4-80GB a100-sxm4-80gb80 GB2.1901.533 USDC
RTX PRO 6000 Blackwell Server Edition rtx-pro-6000-blackwell-server-edition96 GB2.6901.883 USDC
RTX PRO 6000 Blackwell Workstation Edition rtx-pro-6000-blackwell-workstation-editi96 GB2.7901.953 USDC
H100 PCIe h100-pcie80 GB2.8902.023 USDC
H100 NVL h100-nvl94 GB3.1902.233 USDC
H200 NVL h200-nvl143 GB3.7902.653 USDC
H100 80GB HBM3 h100-80gb-hbm380 GB4.3903.073 USDC
H200 h200141 GB5.2903.703 USDC
B200 b200180 GB8.9906.293 USDC
B300 SXM6 AC b300-sxm6-ac288 GB10.4907.343 USDC