Sandscale measures usage in vCPU-hours: one vCPU running for one hour. A box counts for the whole time it runs, busy or idle. A paused or stopped box does not count.
How it adds up
A box with 2 vCPU that runs for 3 hours uses 6 vCPU-hours, even if your agent is waiting for most of that time.
A box with 4 vCPU that runs for 30 minutes uses 2 vCPU-hours.
A 2 vCPU agent box that runs for 1 hour and is paused the rest of the day uses 2 vCPU-hours.
Pause while your agent waits
A running box counts whether it is busy or not. If your agent waits on a model or a person, pause the box and resume it when there is work; pausing keeps its memory and files. See Pause, resume and snapshots.
Memory
Pro, Team and Enterprise: every vCPU comes with 4 GiB of memory, included in the price. Memory above that counts as extra vCPU-hours: 4 GiB-hours of extra memory is 1 vCPU-hour.
Free: every vCPU comes with 2 GiB, so a Free box has at most 4 GiB, and your running boxes and workspaces hold at most 8 GiB together.
What counts toward your plan
Sandboxes, workspaces and build host leases all draw from the same monthly hours. Workspaces count while they run. Lease time counts against your plan's vCPU-hours too.
Storage is separate
Storage (disks, snapshots, templates and objects) is covered by an allowance: Free 5 GB, Pro 50 GB, Team 100 GB per member, pooled. Above it, paid plans pay $0.15 per GB-month. The first 10 GB of snapshots and templates is free.
When you use all your hours
Free: new boxes wait until your hours renew, and running boxes stop.
Pro and Team: you choose. Turn on usage beyond your included hours at $0.05 per awake vCPU-hour, or keep it off. With it off, new boxes wait until your next period and running boxes stop.
When running boxes stop, sandboxes end and workspaces stop with their disk kept. Take a snapshot of anything you want to keep, and pause or stop boxes you are not using. Included hours reset every month and do not roll over.
Keep control of spend
On paid plans you can set spend caps per task, agent, project and organization, or keep usage beyond your included hours off so nothing past your plan is charged.
Check your usage
Your organization's usage is available through the API, and sandscale build usage shows usage and limits for build hosts.
See Plans and pricing for prices. Billing questions: [email protected].