Sign in

Boxes or Sandboxes?

Updated

Which to start with: a box is a cloud machine you work on every day; a sandbox is a microVM your code creates and throws away.

On this page3

You want a box if you want a cloud machine to work on: your repo synced with your laptop, dev servers on your localhost, and coding agents that keep running with the laptop closed.

You want a sandbox if your code needs clean machines to run something in and throw away, often many at once.

Side by side

BoxSandbox (beta)
Driven byYou, from your laptop through the prized CLIYour code, through the API or prized sandbox
LivesUntil you delete itUntil your code deletes it or its run time ends: 60 minutes of running on the free tier; once paid in, 24 hours by default, up to 7 days, and you can extend it anytime; paused, kept until you delete it (30 days after last use on the free tier)
BilledMonthly plan: hourly at its size's rate while awake, disk only while asleepPer second, for the vCPU, memory, and disk it holds; paused, storage past 20 GB per workspace only
Sync and portsTwo-way folder sync, ports on your localhost, sessions that outlive a dropped connectionNo sync: commands and file copies through the API or prized sandbox. Each port has an https URL for programs, with your API key, or with a token or made public once the workspace has paid in (Preview a port)
Forkprized fork copies its disk into a new box, in minutesInto live copies, each with every process still running
Sizes and regionsNano to Extra Large, in 5 regions1 to 32 vCPU and up to 128 GB, in us-west-2 (Oregon)
Best forYour daily dev machine, and agents that run for daysCode you have not read, a clean machine per test run, one job fanned out across copies

Using both

Boxes and sandboxes share one workspace: one account, one balance, one dashboard, the same API keys.

  • One balance. Box hours and sandbox seconds draw on the same credit (Billing).
  • $30 of free credit, no card. New workspaces get it once, for either: one box, Nano to Small, and sandboxes within the free tier (10 at once, each up to 2 vCPU, 4 GB, and 60 minutes).
  • Paying in lifts the limits. A plan lifts the box rules; a plan or a top-up gives sandboxes the full quotas.
  • An agent on a box can hand out the work. Keep the orchestrator agent on a box and give each task a sandbox, deleted when it ends (Run an orchestrator agent with a sandbox per task).

Start here

  • A box: the Quickstart, four steps from sign-up to your project on a box.
  • Sandboxes: the Sandboxes quickstart, whose Open Sandboxes link signs you up with no box tour.