Skip to content

Modal Sandbox

Sandboxed Python execution by Modal

Sandboxed Python execution by Modal. 3 endpoints, from $0.001 to $0.01 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.01per use
    Description
    Create a managed Python 3.11 sandbox with bounded CPU, memory, and lifetime limits.
    Price
    $0.01 per use on Optimism
    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 on Optimism
    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 on Optimism
    Request
    POST /api/v1/modal/sandbox/terminate