Runtime

A sandbox from a browser

A sandbox session is a short-lived token your own web page uses to run commands, read and write files and reach previews in one sandbox, with no API key and no proxy of your own. It cannot stop, extend or change the sandbox, lasts 1 hour unless you ask for up to 24 hours, can be revoked at once, and is answered only from the pages you list. sbx.sessions.create({ origins }) makes one and Sandbox.fromSession({ token, sandboxId }) uses it, from withruntime 0.8.3; Blaxel's sandbox.sessions and fromSession now work in the drop-in. See JavaScript and Python.

100 free hoursin your first 30 days.

of a 1 GB machine

  • No credit card
  • Four sandboxes at once, 2 vCPU and 4 GiB each
  • Then prepaid credit from $10, no plan fee
Start free, no card