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
- Connect a wallet and sign in. Signing in is one message, with no gas and no funds moved.
- Add funds in Billing: 5 to 1000 USDC per deposit, paid in USDC or HYPE on Elysium.
- Create an API key in API keys. Choose what it may do and its daily cap. The key is shown once.
- 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 path | Permission | What it does |
|---|---|---|
GET /balance?days=7 | read | Available, held, and refundable balance, and spend per day |
GET /models | none | Models with options and prices |
POST /outputs | outputs:write | Make an output. Returns 202 with its id and price |
GET /outputs | read | Outputs of the last 7 days |
GET /outputs/{id} | read | Status, and the file when ready |
GET /outputs/{id}/file | read | The file itself |
GET /gpus | none | GPU types with VRAM, hourly price, and availability |
POST /instances | instances:write | Rent a GPU: { gpu } or { minVramGb } |
GET /instances | read | Running GPUs and those ended in the last 24 hours |
GET /instances/{id} | read | Status, SSH details, cost so far, and runway |
POST /instances/{id}/end | instances:write | End a GPU and its billing |
GET /ssh-keys | read | Your SSH keys |
POST /ssh-keys | ssh_keys:write | Add a key: { name, publicKey } |
DELETE /ssh-keys/{id} | ssh_keys:write | Remove 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.
| Code | HTTP | Meaning |
|---|---|---|
unauthorized | 401 | Missing, unknown, or deleted key |
key_stopped | 403 | The key is stopped |
scope_missing | 403 | The key lacks the permission |
insufficient_balance | 402 | The balance does not cover the price or 10 minutes of GPU time |
payment_required | 402 | x402 payment needed or not valid (see the PAYMENT-REQUIRED header) |
invalid_request | 400 | A field is not valid (details.fields) |
not_found | 404 | Unknown, or not yours |
conflict | 409 | e.g. already ended, or too many outputs in progress |
limit_reached | 409 | Too many GPUs, keys, or SSH keys |
content_rejected | 422 | The prompt is not allowed |
cap_reached | 429 | The key's daily cap would be exceeded (details.remainingMicros) |
rate_limited | 429 | Too many requests (Retry-After) |
gpu_unavailable | 503 | That GPU is sold out right now |
upstream_unavailable | 503 | Temporarily unavailable (Retry-After) |
| Limit | Value |
|---|---|
| Requests per API key | 120 per minute (RateLimit-* headers) |
| New outputs per wallet | 20 per minute, up to 4 in progress |
| New GPUs per wallet | 5 per minute, up to 2 running |
| API keys per wallet | 10, each with a daily cap of 0.01 to 10,000 USDC (resets 00:00 UTC) |
| SSH keys per wallet | 10 |
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_..." }
}
}
}| Tool | Permission | What it does |
|---|---|---|
get_balance | read | Balance and spend |
list_models | read | Models and prices |
make_output | outputs:write | Make an output; wait_seconds (0–50) waits for it, and images come back inline |
get_output | read | Status and a file link valid 24 hours |
list_outputs | read | Outputs of the last 7 days |
list_gpus | read | GPUs, prices, availability |
rent_gpu | instances:write | Start a GPU |
list_instances | read | Your GPUs |
get_instance | read | SSH details, cost, runway |
end_instance | instances:write | End a GPU (destructive) |
list_ssh_keys | read | Your SSH keys |
add_ssh_key | ssh_keys:write | Add a key |
remove_ssh_key | ssh_keys:write | Remove 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.
| Field | Value |
|---|---|
| Scheme | exact |
| Network | eip155:99901 |
| Asset | USDC 0xb47c4C8F73F009CC0C0d3f92B388d13E293F0B65 |
| Price | The output's listed price, in micro-USDC |
| Signature valid for | 120 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.
| Model | Kind | Price |
|---|---|---|
FLUX.1 [schnell] flux-schnell | image | 0.00300.0021 USDC per image |
FLUX.1 [dev] flux-dev | image | 0.01200.0084 USDC per image |
Z-Image Turbo z-image-turbo | image | 0.00500.0035 USDC per image |
P-Image p-image | image | 0.00500.0035 USDC per image |
Qwen Image qwen-image | image | 0.02000.0140 USDC per image |
Seedream 4.0 seedream-4 | image | 0.02700.0189 USDC per image |
WAN 2.6 Image wan-2-6-image | image | 0.03000.0210 USDC per image |
Pruna Video pruna-video | video | 0.02000.0140 USDC per second |
WAN 2.6 Video wan-2-6-video | video | 0.50000.3500 USDC per 5 seconds |
Vidu Q3 vidu-q3 | video | 0.15000.1050 USDC per second |
Seedance 2.5 seedance-2-5 | video | 0.18000.1260 USDC per second |
MiniMax Speech minimax-speech | voice | 0.05000.0350 USDC per 1,000 characters |
Chatterbox Turbo chatterbox-turbo | voice | 0.00100.0007 USDC per second of audio |
| GPU | VRAM | Price per hour |
|---|---|---|
RTX 2000 Ada rtx-2000-ada | 16 GB | 0.2400.168 USDC |
RTX A4000 rtx-a4000 | 16 GB | 0.2500.175 USDC |
RTX A4500 rtx-a4500 | 20 GB | 0.2500.175 USDC |
RTX A5000 rtx-a5000 | 24 GB | 0.2700.189 USDC |
RTX 4000 Ada rtx-4000-ada | 20 GB | 0.2800.196 USDC |
RTX 3090 rtx-3090 | 24 GB | 0.5000.350 USDC |
RTX PRO 4000 Blackwell rtx-pro-4000-blackwell | 24 GB | 0.5700.399 USDC |
A40 a40 | 48 GB | 0.5900.413 USDC |
L4 l4 | 24 GB | 0.6900.483 USDC |
RTX A6000 rtx-a6000 | 48 GB | 0.6900.483 USDC |
RTX PRO 4500 Blackwell Server Edition rtx-pro-4500-blackwell-server-edition | 32 GB | 0.7200.504 USDC |
RTX PRO 4500 Blackwell rtx-pro-4500-blackwell | 32 GB | 0.7200.504 USDC |
L40 l40 | 48 GB | 0.8200.574 USDC |
RTX 4090 rtx-4090 | 24 GB | 0.8900.623 USDC |
RTX PRO 5000 Blackwell rtx-pro-5000-blackwell | 48 GB | 0.9600.672 USDC |
L40S l40s | 48 GB | 1.0900.763 USDC |
RTX 6000 Ada rtx-6000-ada | 48 GB | 1.0900.763 USDC |
RTX 5090 rtx-5090 | 32 GB | 1.3900.973 USDC |
A100 80GB PCIe a100-80gb-pcie | 80 GB | 2.0901.463 USDC |
A100-SXM4-80GB a100-sxm4-80gb | 80 GB | 2.1901.533 USDC |
RTX PRO 6000 Blackwell Server Edition rtx-pro-6000-blackwell-server-edition | 96 GB | 2.6901.883 USDC |
RTX PRO 6000 Blackwell Workstation Edition rtx-pro-6000-blackwell-workstation-editi | 96 GB | 2.7901.953 USDC |
H100 PCIe h100-pcie | 80 GB | 2.8902.023 USDC |
H100 NVL h100-nvl | 94 GB | 3.1902.233 USDC |
H200 NVL h200-nvl | 143 GB | 3.7902.653 USDC |
H100 80GB HBM3 h100-80gb-hbm3 | 80 GB | 4.3903.073 USDC |
H200 h200 | 141 GB | 5.2903.703 USDC |
B200 b200 | 180 GB | 8.9906.293 USDC |
B300 SXM6 AC b300-sxm6-ac | 288 GB | 10.4907.343 USDC |