Api Endpoint

BlockRun.AI

Create a managed Python 3.11 sandbox. Two billing modes selected by 'timeout': ≤300s = flat rate (CPU $0.01, GPU varies). >300s = per-hour billing for the full requested lifetime, no refund on early terminate. Max 24h.

Open interactive test console

Offering

Provider
BlockRun.AI
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Infrastructure
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://blockrun.ai/api/v1/modal/sandbox/create
MIME type
Not provided
First seen
2026-10-16T01:50:10.647Z
Last seen
Tags
AI, Inference, LLM, gateway

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.011 USDC
Atomic price: 11000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "11000",
    "payTo": "0xe9030014F5DAe217d0A152f02A043567b16c1aBf"
  }
]

Observed health

Status
Healthy
Latest latency
146 ms
Average latency
355 ms
HTTP status
204
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "properties": {
    "body": {
      "properties": {
        "cpu": {
          "description": "CPU cores (max 1 CPU-only, 8 for GPU sandboxes, default: 1)",
          "type": "number"
        },
        "gpu": {
          "description": "Optional GPU type. One of: T4, L4, A10G, A100, H100. Flat (≤300s): T4 $0.05, L4 $0.08, A10G $0.1, A100 $0.2, H100 $0.4. Hourly: T4 $1.5, L4 $2, A10G $2.5, A100 $4, H100 $8/hour.",
          "type": "string"
        },
        "image": {
          "description": "Managed image. Only `python:3.11` is currently available.",
          "type": "string"
        },
        "memory": {
          "description": "Memory in MB (max 1024 CPU-only, 32768 for GPU sandboxes, default: 512)",
          "type": "number"
        },
        "timeout": {
          "description": "Sandbox lifetime in seconds (max 86400 = 24h, default: 300). >300s switches to hourly billing.",
          "type": "number"
        }
      },
      "required": [],
      "type": "object"
    }
  },
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "result": {
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}