Skip to content
Fourohtwo

Create a managed Python 3.11 sandbox

sol.blockrun.ai/api/v1/modal/sandbox/create

Create a managed Python 3.11 sandbox. Two billing modes: ≤300s at ≤1 CPU and ≤1024 MB = flat rate (CPU $0.01, GPU varies). Otherwise per-hour billing for the full requested lifetime, never below the flat rate, no refund on early terminate. Max 24h.

SolanaAnswering
POSThttps://sol.blockrun.ai/api/v1/modal/sandbox/create

Uptime100% of 1 check in 30 days

30 days agoToday

Call it from an agent

curl -i -X POST -H 'content-type: application/json' "https://sol.blockrun.ai/api/v1/modal/sandbox/create" \
  -d '{"cpu":1,"gpu":"string","image":"string","memory":1,"timeout":1}'

# 402 Payment Required comes back with the price and where to pay.
# Any x402 client pays and retries.

Example input

{
  "cpu": 1,
  "gpu": "string",
  "image": "string",
  "memory": 1,
  "timeout": 1
}