instabox usage, on Account in the dashboard, and in GET /v1/usage.
- Over the machine or storage limit, new machines and snapshots are refused until you delete some. Account warns from 80% of your storage.
- A machine started from a snapshot has at least the storage of the machine it was saved from.
Starts
Start quotas are rolling out. Until they take effect for your plan, your starts are counted but
never refused or charged. When the Sandbox starts card appears on your Billing page, you can
see your starts and choose whether extra starts are blocked or charged before limits take effect.
We email each workspace before its plan’s quota turns on.
Resuming a machine does not count toward your plan’s included starts today (it still counts toward
the per-minute rate limit above). We may count resumes in the future, and we will announce it before
it changes.
- The minute and the hour are rolling windows: InstaBox counts the starts of the last 60 seconds and the last 60 minutes.
- The day is the calendar day in UTC. It resets at 00:00 UTC, so a full day frees at 00:00 UTC.
- A start that is over the hour and the day costs $0.05 once, not twice.
- A start that is refused does not count. A start that was accepted counts, also when the new machine fails afterwards.
- The most starts a day is a hard limit, also when you pay for extra starts. Past it, a start is
refused with
429 rate_limitedand the reasonstarts_per_day. - Pro, Builder and Team also have an overall cap of 30,000 new machines a day, counted over the
same calendar day in UTC (reason
creates_per_day).
Allow or block extra starts
An owner or admin of the workspace chooses what a start past the included ones does. To allow extra starts:Daily spending limit
With extra starts allowed, you can also cap what they cost in a day. Once the UTC day’s extra starts reach the limit, a start past the included ones is refused with429 rate_limited
(reason extra_starts_daily_cap) until 00:00 UTC. Starts within the included ones are not
affected. A $5 limit at $0.05 a start allows 100 extra starts a day.
The Sandbox starts card
On the dashboard, the Sandbox starts card on Billing shows whether extra starts are allowed or blocked, each window’s starts against what the plan includes, and on the day’s window Resets at 00:00 UTC with the time left until then. It also shows Overage this billing period, what you paid for extra starts this month. To change the setting, an owner or admin selects Edit policy, then Block extra starts or Allow extra starts ($0.05 per start), and saves.See your starts
instabox usage shows each window: the starts used, what the plan includes, the extra starts,
and the most the window allows. It also shows the price of your next start, and what you paid for
extra starts since 00:00 UTC and this month. For a Team workspace that allows extra starts:
instabox usage --json has the same numbers under cost.starts, and GET /v1/orgs/{id} has them
under usage.starts.
When a start is refused
A refused start returns429 rate_limited. Nothing was created, and the start does not run
later. The error’s reason names the window that is full: starts_per_minute,
starts_per_hour or starts_per_day, or creates_per_day for the overall daily cap.
retryAfterSeconds and the Retry-After header say when to try again, and the message says what
to do:
hint is the command that moves you to the next plan. On Team the
message ends with For more, contact sales about Enterprise, and the hint is
instabox.sh/contact.
Running machines are not touched. A CI job over the minute or the hour waits and
starts when there is room. A job refused by the day is refused, and you re-run it.
Get more starts
Machine specs
The OS, kernel, root disk, and preinstalled tool versions of each template are on Templates.Inside a machine
Missing tools: apt-get update first
Missing tools: apt-get update first
GNU To run another image, such as
time, rg (ripgrep) and htpasswd are not preinstalled on every template. The image ships
without apt lists, so apt-get install alone fails until apt-get update has run:node:16-buster, use Docker. On agent-browser, universal, and
t3, the machine’s user is in group docker, so docker run --rm node:16-buster node -v works
without sudo.npm, Rust and the JDK without sudo
npm, Rust and the JDK without sudo
On every template but
ci and omarchy, npm’s global prefix is /opt/npm, owned by the machine’s user:
npm install -g <package> (and claude update) needs no sudo. Do not use sudo npm install -g:
it leaves root-owned files that make the next install fail.On agent-browser, universal, and t3, /data belongs to the machine’s user (build in
/data/workspace or a new /data/<dir>), and so does the Rust toolchain in /opt/rust.
rustup toolchain install, rustup default, and rustup target add need no sudo. A rustup of
your own in ~/.cargo takes over cargo and rustc. The JDK is OpenJDK 21 (Debian 13 has no
17), with JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64 set for exec and non-interactive SSH.A machine on an older template version (stat -c %U /opt/rust prints root) needs
sudo chown -R "$USER": /opt/rust && sudo chown "$USER": /data and
sudo apt-get update && sudo apt-get install -y zip openjdk-21-jdk-headless for the same setup.exec output, timeouts and background jobs
exec output, timeouts and background jobs
Without
--stream, the output arrives when the command exits, each stream cut at 1 MiB.
exec --stream prints the output as it is written, with no cap. A command runs at most 10
minutes (--timeout, 60 seconds by default). A longer job runs with exec --background, which
has no exec timeout, though idle pause and max-run still apply. jobs ls|logs|wait|kill follow
the job.exec returns when the command exits, even if it started a server in the background. Redirect
both streams (nohup ./server >server.log 2>&1 &): a background process still writing to exec’s
output gets a broken pipe and may die./tmp is in memory
/tmp is in memory
/tmp is a RAM-backed tmpfs capped at a quarter of the machine’s memory. Past the cap a write
fails with No space left on device even when df -h /data shows free space. Login shells (SSH,
the dashboard terminal, instabox exec) set TMPDIR=/data/tmp, on the persistent disk, so most
tools put temporary files there. Files in /data/tmp unused for 10 days are deleted. /dev/shm
is tmpfs too.On an older machine (echo $TMPDIR prints nothing), /tmp is about half the memory and
temporary files go to memory. Run export TMPDIR="$HOME/tmp" && mkdir -p "$TMPDIR", and add the
line to ~/.bashrc.File watches and open files (ENOSPC, EMFILE)
File watches and open files (ENOSPC, EMFILE)
instabox exec is a new shell that starts at 1024 again and does not read ~/.bashrc. For
every session, put the ulimit -n line in /etc/profile.d/nofile.sh (or use
/etc/security/limits.d/), and the sysctls in /etc/sysctl.d/.Out of memory and swap
Out of memory and swap
When processes use more memory than the machine and its swap have, the kernel OOM killer kills
one. The machine stays
running. instabox get shows OOM kills, and an exec whose command was
killed returns oomKilled: true. Its exit code is usually 137, but check oomKilled, not
signal. An absent or 0 OOM kills does not prove there was none. Confirm inside the machine
with dmesg -T | grep -i oom.Every machine has a swapfile, /data/swapfile, the size of its memory up to 4 GiB (and at most a
quarter of /data), made at first boot when /data has room. free -h and swapon --show show
it. To change its size:sudo touch /etc/instabox/no-swap keeps swap off. A snapshot or fork carries the swapfile, which
can hold paged-out secrets. Before sharing a snapshot, zero the swapfile
(sudo swapoff /data/swapfile && sudo shred -n0 -z /data/swapfile && sudo mkswap /data/swapfile && sudo swapon /data/swapfile)
or save --root-only. For a machine that keeps running out, raise its size or its swap.Outbound bandwidth
Outbound bandwidth
What a machine sends is capped at 50 Mbit/s (about 6 MB/s), after a burst. The first 512 MiB
goes out at full speed, and up to about 1 GiB when the machine has been quiet for about
90 seconds or more. After the burst, the machine is held to 50 Mbit/s. The burst refills at
50 Mbit/s, so it is full again after about 90 quiet seconds.The cap covers uploads, what the machine sends over SSH and port forwards, and responses from its
public URLs. Past the burst, each further 100 MB takes about 16 seconds, so keep large artifacts in
the machine (on
/data, or in a snapshot). What a machine receives is not limited. Report a slow
download with instabox feedback. The cap is per machine, separate from your plan’s monthly
egress. A ci machine that runs a GitHub Actions job for a paid workspace is capped at
1000 Mbit/s instead.Disks, snapshots, and templates
Grow or shrink /data
Grow or shrink /data
A machine has one disk you size, You can also send
/data. At create, the disk comes with the machine’s size, and
any other disk size is 400 spec_not_allowed. To change it later:PATCH /v1/machines/{id} with {"persistentDiskGiB": 50}, or use
Resize disk in the machine’s Settings.- Paid plans only. A free machine’s disk is fixed at GiB. The disk grows to
, within your stored-data limit (
429 quota_exceeded). The API takes 1–1024 GiB. - Grow: a running machine’s disk grows at once, with no restart. If it cannot grow online, the
answer is
409 grow_needs_stop. Stop the machine and send the size again. - Shrink: only a stopped machine. Your data plus 10% (at least 1 GiB) must fit, or
409 disk_too_smallnames the smallest size that does. - The REST field is
persistentDiskGiB.diskGiB(the TypeScript SDK’s name) is400 unknown_fieldin a REST body. - The system disk is sized by the template and is not counted. Disk beyond the plan’s included disk is billed: Pricing.
A machine from a snapshot gets the source machine's size
A machine from a snapshot gets the source machine's size
instabox create --snapshot (or Sandbox.create(snapshotId)) from a snapshot with sizeLocked
(instabox snapshot ls --json) gets the vCPUs and memory of the machine the snapshot was saved
from. Another --vcpus or --mem-mib is refused with 400 spec_not_allowed, which states the
snapshot’s size. If your plan no longer offers that size (after a downgrade), the create is
refused until you upgrade the plan. A snapshot without sizeLocked, saved before this rule, keeps
the old behavior: your plan’s default size, or another of your plan’s sizes if you name one. A
macOS snapshot has no sizeLocked: it gets the macOS template’s default size, or another of the
template’s sizes if you name one. A
GPU snapshot can still take another count of its GPU type with --gpu. instabox fork keeps the source size. In
snapshot JSON, rootSizeBytes and dataSizeBytes are the logical disk sizes the next create
provisions, not the bytes stored.Template versions, creatable and no_capacity
Template versions, creatable and no_capacity
instabox templates (GET /v1/templates) lists what you can create from. A version no host holds
any more is creatable: false, and a create pinned to it is 400 bad_request (not retryable). An
older pin such as agent-browser@2026-10-08.2 is held by fewer hosts, so it can fail with
no_capacity while latest creates at once. Prefer an unpinned template unless you need the pin.Pricing
Plans and unit prices.
Errors
quota_exceeded, rate_limited, spec_not_allowed and the rest.