Sandbox sizes, templates, lifecycle and time limits.

Sandboxes

Sizes

Size vCPU Memory Disk
small 2 4 GB 10 GB
medium 4 8 GB 20 GB
large 8 16 GB 40 GB

Starter workspaces can start small sandboxes only. See pricing for the hourly rate of each size.

Templates

A template is a prepared disk image. Starting from one takes under two seconds because nothing is installed at boot.

Template Contents
ubuntu-24.04 Ubuntu 24.04 with git, curl, build-essential
python-3.12 ubuntu-24.04 plus Python 3.12, pip, uv and pytest
node-22 ubuntu-24.04 plus Node.js 22, npm and pnpm
go-1.23 ubuntu-24.04 plus Go 1.23
rust-1.82 ubuntu-24.04 plus Rust 1.82 via rustup, with cargo

List them at any time with GET /v1/templates, which needs no key.

Lifecycle

  1. running: the sandbox has booted and accepts commands.
  2. stopped: you stopped it, or it reached its time limit. Its disk is kept for 24 hours so you can take a snapshot, then deleted.

A stopped sandbox cannot be restarted. Start a new one, from a snapshot if you need the old state.

Time limits

Every sandbox has a hard limit set by your plan: 1 hour on Starter, 24 hours on Builder, 7 days on Scale. You can set a shorter limit per sandbox with timeout_seconds when you create it.

Network

Outbound traffic is allowed by default. Pass "network": "none" on create to cut a sandbox off completely, which we recommend when an agent is running code it has just written. Inbound connections are always closed.

Snapshots

On Builder and Scale, a running or recently stopped sandbox can be saved as a snapshot and used as the starting point for new sandboxes. Snapshots are billed per GB per month.