Pricing
Burst Sandboxes are priced roughly 2x cheaper than on-demand sandboxes.Create a Burst Sandbox
Setburst: true when creating the sandbox.
What Happens on Interruption
Infrastructure capacity can be reclaimed or restarted by the cloud provider. When OpenComputer receives advance notice, it notifies the sandbox and starts the burst restart flow. The sandbox receives these environment variables:OPENSANDBOX_RESUMABLE=trueOPENSANDBOX_RESUME_NOTICE_SECONDS=25
Good Fits
Burst Sandboxes work well for cost-sensitive workloads that can restart from disk:- Batch code execution where failed jobs can be requeued.
- CI-style checks, test runners, linters, and formatters.
- AI agent tool calls with durable task state outside the sandbox.
- Parallel exploration jobs where one attempt can restart.
- Development, previews, and experiments where cost matters more than availability.
Poor Fits
Use on-demand sandboxes when process continuity is required:- User-facing interactive sessions where a rare disconnect is still disruptive.
- Long-running stateful services that keep important state only in RAM.
- Databases, queues, or coordinators running inside the sandbox.
- Workloads with strict deadlines and no retry budget.
- Any task that cannot safely restart after a partial command failure.
Alpha Limitations
During alpha, Burst Sandboxes have these restrictions:| Capability | Burst alpha behavior |
|---|---|
| Process state | May restart |
| Filesystem | Preserved across burst restarts |
| Notice window | Up to 25 seconds when advance notice is available |
| Sudden host failure | May resume without advance notice |
| Capacity | Best effort; create may fail or wait when burst capacity is full |
Reliability Pattern
For agent or batch systems, run your work from a small process wrapper and install a restart-notice hook.- Store task state on disk or outside the sandbox.
- Write outputs to durable storage as the task progresses.
- Install
/home/sandbox/.opencomputer/on-restart-noticeto flush or checkpoint before restart. - Make your startup command resume from the last durable state.
- Use on-demand sandboxes for workloads with no process restart budget.
/home/sandbox/app.
Related
Elasticity
Resource tiers and autoscaling
Checkpoints
Save and resume sandbox state