x402 sandbox

Pay-per-run, no-egress code execution for agents. Payment via x402 on Base Sepolia (USDC, testnet).

POST /run/<tier> with {"language":"python|node","code":"...","files":{}}. An unpaid request returns 402 with the payment requirements; retry with the X-PAYMENT header your x402 client builds.

Discovery: /images

{
  "free": {
    "price": "$0",
    "cpu_seconds": 5,
    "memory": "256Mi",
    "install": false,
    "enabled": false,
    "auth": "wallet signature"
  },
  "quick": {
    "price": "$0.02",
    "cpu_seconds": 10,
    "memory": "512Mi",
    "install": false
  },
  "standard": {
    "price": "$0.08",
    "cpu_seconds": 60,
    "memory": "1Gi",
    "install": true
  },
  "batch": {
    "price": "$0.50",
    "cpu_seconds": 600,
    "memory": "2Gi",
    "install": true
  }
}

pay_to 0x6A8bB75363D31614c67D90105A137484fbeD0327 · network eip155:84532