Skip to content

Modal Sandbox

Sandboxed Python execution by Modal

Sandboxed Python execution by Modal. 7 endpoints, from $0.001 to $0.20 per use, sold by BlockRun.AI.

What your agent can do

  • Create a managed Python 3.11 sandbox with bounded CPU, memory, and lifetime…POST /api/v1/modal/sandbox/create$0.20per use
    Description
    Create a managed Python 3.11 sandbox with bounded CPU, memory, and lifetime limits.
    Price
    $0.20 per use
    Request
    POST /api/v1/modal/sandbox/create
  • Execute a command inside an existing managed Modal sandboxPOST /api/v1/modal/sandbox/exec$0.002per use
    Price
    $0.002 per use
    Request
    POST /api/v1/modal/sandbox/exec
  • Check whether a sandbox is still running or has terminatedPOST /api/v1/modal/sandbox/status$0.002per use
    Price
    $0.002 per use
    Request
    POST /api/v1/modal/sandbox/status
  • Terminate a running sandbox and release its resourcesPOST /api/v1/modal/sandbox/terminate$0.002per use
    Price
    $0.002 per use
    Request
    POST /api/v1/modal/sandbox/terminate
  • Create a managed Python 3.11 sandbox with bounded CPU, memory, and lifetime…POST /api/v1/modal/sandbox/create$0.01per use
    Description
    Create a managed Python 3.11 sandbox with bounded CPU, memory, and lifetime limits.
    Price
    $0.01 per use
    Request
    POST /api/v1/modal/sandbox/create
  • Execute command in sandbox, returns stdout/stderr/exit codePOST /api/v1/modal/sandbox/exec$0.001per use
    Price
    $0.001 per use
    Request
    POST /api/v1/modal/sandbox/exec
  • Terminate sandbox and release resourcesPOST /api/v1/modal/sandbox/terminate$0.001per use
    Price
    $0.001 per use
    Request
    POST /api/v1/modal/sandbox/terminate