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

Connect an app or agent

Give a script or AI agent limited access to your balance with an API key, or pay per output with x402 and no account.
01 / Key

Create a scoped key

In API & agents, name the key, choose what it may do (Read is always on; Make outputs is on by default), and set a daily cap between 0.01 and 10,000 USDC. Caps reset at 00:00 UTC, and held funds count toward them.

Open API & agents
02 / Secret

Save the secret once

The full key is shown once. Store it in a secret manager as POROS_API_KEY.

Never embed a key in a browser or commit it to source control.
03 / REST

Make a read-only call

curl https://api.poros.run/v1/balance \
  -H "Authorization: Bearer $POROS_API_KEY"
REST reference
04 / MCP

Connect an agent over MCP

Point your MCP client at the Streamable HTTP endpoint and send the key as a Bearer token.

https://api.poros.run/mcp
MCP reference
05 / Control

Watch spend and stop a key

Each key shows today’s spend, held funds, and last use. Stopping a key rejects its requests at once and ends GPUs it started; deleting it revokes the secret for good. Keys can never deposit, refund, sign in, or manage other keys.

06 / x402

No account? Pay per output

Agents with their own wallet can pay for a single output with x402: no API key, no dashboard account, and no gas. x402 is for outputs only; rentals need an API key.

x402 reference