Usage and billing
Included machine time and traffic per plan, the optional extra usage cap, and when machines suspend or stop
Machine usage is counted per workspace and shared by its members. It is shown under Agents → Machines and with stashbase vms usage.
What is included
| Plan | Machine time | Traffic (egress) | Period |
|---|---|---|---|
| Free (trial) | 10 hours | 10 GB | One time, per workspace |
| Pro | 25 hours per member | 25 GB per member | Each billing period |
| Scale | 50 hours per member | 50 GB per member | Each billing period |
Time counts only while a machine runs. Traffic is egress only: data machines send out, including what you receive through SSH, forwarded ports and vms cp. Ingress, such as what a machine downloads from the internet, does not count. On paid plans, the allowance follows the number of active members and is pooled across the workspace.
Extra usage
By default, machines stop when the included time or traffic runs out. On Pro and Scale, the workspace owner can allow extra usage up to a monthly cap in dollars:
- Extra time: $0.20 per hour, rounded up to the minute.
- Extra traffic: $0.20 per started GB.
Both draw from the same cap, and machines stop once it is reached, so the bill never exceeds what the owner set. Extra usage is billed on the next invoice. Lowering or turning off the cap stops machines sooner but keeps what was already used billable.
Workspace owners get an email at 80% and 100% of what is available.
Suspended and stopped machines
A machine that is not running is either suspended or stopped:
- Suspended machines pause with everything in memory: tmux, shells and agents carry on where they were when the machine resumes, which takes seconds.
- Stopped machines shut down: files are kept, programs start fresh on the next boot.
A machine suspends by itself:
- When idle. After a while without activity, it suspends. Activity means an agent that is working (thinking, or running a tool), typing in a terminal, an open dashboard terminal you are using, traffic through a forwarded port (an open but unused forward does not count), or a busy CPU. An agent waiting at its prompt does not count, so the machine suspends while it waits for you and the session is there when you come back. A message appears in its terminals shortly before; typing anything or using a forwarded port keeps it running. Opening a terminal or connecting with the CLI starts the countdown again. You can turn this off per machine with
stashbase vms autosuspend <id> off, or keep it off only while you are connected with--keep-awake. - At the limit. When the included usage, or the extra usage cap, is reached.
It stops only when you stop it, from the dashboard or with stashbase vms stop.
Connecting to a suspended or stopped machine, from the dashboard or with stashbase vms connect, starts it first.
Keep a machine awake while connected
Some work is not activity: reading a page, a long manual test, waiting on something. To keep the machine running while you are there, connect with --keep-awake:
stashbase vms connect vm_abc123 --keep-awake # up to 8 hours
stashbase vms connect vm_abc123 --keep-awake=2h # up to 2 hours (at most 24h)- Only while connected. The CLI tells Stashbase every few minutes that you are still there. Closing the terminal, losing the network or your computer going to sleep ends it, and the machine then suspends after the usual idle time. A forgotten connection never keeps it running for longer than the duration.
- Up to the duration. After it, the machine suspends after the usual idle time again; the CLI says so when you disconnect.
- Usage limits still apply. The machine still stops when the included time or the extra usage cap runs out.
- Combine with forwards.
--keep-awakeworks with--forward, for a dev server you only look at now and then.
To keep a machine running even when nobody is connected, turn auto-suspend off with stashbase vms autosuspend <id> off.
Archive and deletion
- Archive. A machine suspended or stopped for 3 days is archived: it is shut down and its disk is saved as a snapshot. Files are kept, programs are not, and starting it again restores the disk, which takes a few minutes.
- Deletion. On Pro and Scale, machines are kept however long they go unused. On the free trial, or once a workspace's subscription has ended, a machine unused for 14 days is deleted with its disk. Its creator gets an email a week before, and starting the machine cancels the deletion.
Deleting a machine, or letting it be deleted, removes its files for good. Push your work to git.