CodeSandbox SDK vs Instabox

Both start a Firecracker microVM for each sandbox, with root and Docker, and both build from your own image. CodeSandbox SDK hibernates VMs with their memory, wakes them on the next HTTP request and forks them with their memory. Instabox has a free plan, a lower hourly rate, pause with memory, SSH with mosh and a desktop, with machines up to 32 vCPU.

The companies and products

CodeSandbox SDK

CodeSandbox SDK is an API from CodeSandbox, now a Together AI company, that starts sandboxed development VMs on the same infrastructure as the CodeSandbox editor.

Each sandbox is a Firecracker microVM built from a template or any Dockerfile. When it goes idle, it hibernates with a memory snapshot, and it resumes or forks from that snapshot in seconds. You drive it from a TypeScript SDK through terminals, commands, files and HTTPS hosts. Together's docs call it the deprecated offering and point new users to its successor, the together-sandbox SDK.

Instabox

Instabox gives each AI agent its own Linux machine in the cloud. It has a free plan with one machine and paid plans from $20 a month plus usage.

Each Instabox machine is a Firecracker microVM with its own kernel, root and Docker. It starts from a template (agent-browser by default, universal, t3, herdr, orca, android, omarchy or ci), from your own snapshot, or from a Docker image that you import as a snapshot. The default size is 4 vCPU / 8 GiB, and paid plans go up to 32 vCPU / 64 GiB. You drive it from a CLI, a TypeScript SDK, an HTTP API or an MCP server, with SSH, mosh, HTTPS port URLs and a desktop for computer use.

Which use cases each one fits

For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “32nd cheapest of 365” means 31 of the other 364 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.

Use case and its workloadCodeSandbox SDK: price rankInstabox: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Both run Docker with root and boot your own image. Instabox forks a running machine's disk and goes up to 32 vCPU on Team. Neither documents /dev/kvm. boat adds /dev/kvm and an API to prompt and steer the agents.
32nd cheapest of 365
$3,731 a month
Cheapest of 365
$410 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
50th cheapest of 361
$4,811 a month
4th cheapest of 361
$534 a month
6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Both suit short code runs. CodeSandbox SDK wakes hibernated VMs with their memory on the next request. Instabox bills per second at a lower rate and pauses idle machines with their memory.
54th cheapest of 336
$642 a month
4th cheapest of 336
$56 a month
189th of 336, with limits
$2,000 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
CodeSandbox SDK wakes a user's sandbox on their next HTTP request, but Scale caps at 250 VMs at once. Instabox runs 100 machines at once on Pro, 200 on Builder and 500 on Team. boat allows 100 to 2,000 sandboxes at once, by plan.
140th of 349, with limits
$1,707 a month
10th cheapest of 349
$500 a month
3rd cheapest of 349
$209 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
CodeSandbox SDK's memory forks let many rollouts branch from one running state. Instabox forks a running machine's disk, up to 5 copies per call; memory is not copied. A boat fork also copies the disk only.
341st of 349, with limits
$3,861 a month
16th of 349, with limits
$845 a month
39th of 349, with limits
$2,000 a month
Agent evals
250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month
Both run many machines at once: CodeSandbox SDK 250 on Scale, Instabox 100 to 500 running by plan. Instabox limits starts to 30 a minute on Pro. boat limits starts per minute, hour and day and charges for extra starts.
77th cheapest of 359
$1,335 a month
34th cheapest of 359
$500 a month
10th cheapest of 359
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
Instabox has a ci template that works as a GitHub Actions runner, and an android template that runs Android natively. CodeSandbox SDK builds from your Dockerfile. Neither documents /dev/kvm, which boat exposes for emulators and VM builds.
96th cheapest of 374
$860 a month
3rd cheapest of 374
$89 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Instabox gives a dev box SSH, mosh and pause with memory. CodeSandbox SDK documents no SSH. boat has SSH and a desktop.
316th of 371, with limits
$240 a month
14th cheapest of 371
$24 a month
19th cheapest of 371
$26 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
Instabox has a VNC desktop with a browser and a screenshot and click API; you bring the model. On CodeSandbox SDK you add a VNC desktop to your own Dockerfile. boat streams a 60 fps desktop with computer tools for its installed agents.
54th cheapest of 367
$1,236 a month
4th cheapest of 367
$122 a month
7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
125th of 356, with limits
$741 a month
49th of 356, with limits
$61 a month
7th cheapest of 356
$200 a month
Scraping & bots (startup scale)
50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month
119th cheapest of 343
$871 a month
5th cheapest of 343
$83 a month
6th cheapest of 343
$90 a month
Mass scraping & bots (undetectable)
1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month
194th of 327, with limits
$7,390 a month
31st of 327, with limits
$1,658 a month
73rd of 327, with limits
$1,800 a month
Parallel red teaming
200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month
29th cheapest of 351
$505 a month
2nd cheapest of 351
$100 a month
3rd cheapest of 351
$200 a month
GPU eval jobs
10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement
macOS agents
5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureCodeSandbox SDKInstaboxboat
IsolationFirecracker microVM with its own kernelFirecracker microVM with its own kernel and rootFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Machine sizes2 to 16 cores self-serve, up to 32 GB on Scale; up to 64 cores and 128 GB on Enterprise4 vCPU / 8 GiB on Free; up to 8 / 16 on Pro, 16 / 32 on Builder, 32 / 64 on TeamUp to 8 vCPU / 16 GB on the $20 plan and 16 vCPU / 32 GB on $100 and above
Disk20 GB on every size; more on request, price not published20 GiB /data per machine, up to 1 TiB on Team; disk above the included pool costs $0.08 per GiB-month51 GB to 251 GB, fixed per size; no separate disk charge
Machines at once250 on Scale, more on Enterprise1 on Free; 100 running on Pro, 200 on Builder, 500 on Team100 on $20, 300 on $100, 1,000 on $500, 2,000 on $2,000
Pause and resumeHibernates with a memory snapshot and resumes with processes running in about 0.5 to 2 sPause keeps memory and running programs; resume usually takes about a secondDisk saved every minute and at each stop, kept at least 14 days; memory is not saved, so a resume is like a reboot
Wake on requestYes; an HTTP request to a host wakes a hibernated VMYes; a visit to a port URL wakes an idle-paused machineNo; you start a stopped sandbox by API
ForkFork a hibernated sandbox from its memory snapshot, or a running one that shares memory with its parentFork a running or stopped machine, disk only, up to 5 copies per callFork a running sandbox from its last 1-minute disk snapshot; memory is not copied
Nested virtualizationNot documented/dev/kvm not documented; an android template runs Android natively, with no emulatorYes, /dev/kvm on every sandbox for Android emulators and VMs
Docker and imageDocker and root; templates build from any DockerfileDocker and Docker Compose with root and systemd; import a Docker or OCI image as a snapshotDocker, systemd and root; start from boat's image or a saved snapshot, not your own Docker image
Shell accessTerminals, commands and files through the SDK; SSH is not documentedSSH through a gateway with short-lived certificates, paste-anywhere SSH tokens and moshSSH, plus exec and files over the API
Inbound accessHTTPS host per port, public by default, signed tokens for private sandboxes; raw TCP is not documentedHTTPS on up to 16 ports, public by default, token-protected with --private; raw TCP through the port gatewayUp to 50 HTTPS URLs, token-gated by default; raw ports on the public IPv6 address (some sandboxes also have IPv4)
Desktop and computer useNo built-in desktop; a headless Chromium template, and you can install a VNC desktop in your own DockerfileVNC desktop with a browser on most templates, screenshot and click API, shareable view or control links; you bring the modelBuilt-in desktop and Chrome streamed at 1920x1080, 60 fps, with computer tools for every installed agent
Coding agentsYou install your own agent in the template and run it through the commands APIClaude Code, Codex and OpenCode installed on some templates; CLI, skills and MCP; you run the agent yourselfSeven harnesses installed, including Claude Code and Codex, with a prompt, steer and events API
Keeping API keys out of the sandboxSecrets passed in as environment variables; no credentials proxy documentedSecrets proxy swaps a placeholder for the real key in outbound HTTPS headers to allowed hostsOptional credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for model providers and custom HTTPS APIs
RegionsA country hint steers scheduling, but placement is not guaranteedNot published; you cannot choose where a machine runsGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureCodeSandbox SDKInstaboxboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationNo documented wayNot publishedYes
RootYesYesYes
SystemdNot publishedYesYes
Desktop GUIWith your own setupYesYes
BrowserWith your own setupYesYes
Computer-use APINo documented wayYesYes
SSHNo documented wayYesYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
Memory forkYesNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestYesYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistNo documented wayNot publishedNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsNo documented wayYesYes
Agent harness APINo documented wayNot publishedYes
MCP serverNo documented wayYesNo documented way
GPUNo documented wayNot publishedNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNot publishedNo documented way
Self-hostingNo documented wayNot publishedNo documented way
BYOCNo documented wayYesNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedYesYes
Spend limitsNot publishedYesYes
Usage per sandbox (API)No documented wayYesYes
Audit logsNot publishedYesNo documented way
SSOYesYesNo documented way
SOC 2YesNot publishedNo documented way
HIPAANo documented wayYesNo documented way
EU data residencyNo documented wayNot publishedNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

CodeSandbox SDKNot measured
InstaboxNot measured
boat28.06 runs/s

Neither CodeSandbox SDK nor Instabox is in the public CPU benchmarks we use, so we cannot say which is faster. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. For start time, ComputeSDK measured CodeSandbox SDK at its default size: 11.76 s median with 100 starts at once (6 November 2026) and 2.33 s one at a time in its latest published run. Instabox says a new machine's shell is ready in under a second; we have not measured it. boat is not in ComputeSDK.

V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. CodeSandbox SDK and Instabox are not in the public benchmarks we use, so we cannot say which is faster.

Pricing in five scenarios

Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.

ScenarioCodeSandbox SDK, a monthInstabox, a monthboat, a month
One coding agent, workdays
4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days
$193 · Scale$0 · Free$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$341 · Scale$25 · Pro$26 · $20/mo
50 agents in parallel
50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside
$2,500 · Scale$269 · Pro$317 · $20/mo × 3 seats
Sandboxes for your users
2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once
$815 · Scale · with limits$500 · Team$200 · $100/mo × 2 seats
1,000 short jobs at once
2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month
$1,632 · Scale · with limits$500 · Team · with limits$8,800 · $2000/mo · with limits

CodeSandbox SDK: You buy VM credits at $0.01486 each, and each size burns a fixed number per hour: 20 for a 4 vCPU / 8 GB VM, about $0.30. Billing is per started minute while the VM runs, including idle time before it hibernates. A hibernated VM has no VM charge. Larger teams pay a $170 monthly Scale platform fee, which is not usage credit. Prices as checked on 28 September 2026; CodeSandbox's pricing pages blocked our automated check on 8 November 2026.

Instabox: Free costs $0 for one 4 vCPU / 8 GiB machine. Pro ($20), Builder ($100) and Team ($500) a month each include usage credit equal to the fee. Usage costs $0.004 per vCPU-hour and $0.00225 per GiB-hour, per second while a machine runs: $0.034 an hour at 4 vCPU / 8 GiB. Disk above the included pool costs $0.08 per GiB-month, also while stopped. Egress above the allowance costs $0.02 per GiB.

Instabox: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs, busy or idle. The $20 plan includes 200 starts a day; each extra start costs $0.03 to $0.07. Egress is not billed. A stopped sandbox has no compute charge and keeps its disk for at least 14 days. Saved snapshots above the included count and the credentials proxy, while it is on, still charge.

Limits in those scenarios

CodeSandbox SDK's Scale plan allows 250 VMs at once, so the user-sandboxes and 1,000-job scenarios need Enterprise. Its price for disk beyond 20 GB and for egress is not published. Instabox Free allows 1 machine and pauses it after 8 hours of running. Its paid plans run 100 to 500 machines at once, at 30 to 100 starts a minute, so 1,000 jobs at once do not fit. boat does not fit that burst either: the $2,000 plan includes 90 starts a minute and 2,400 a day, extra starts are paid, and starts above 270 a minute fail with 429. boat never queues a start. boat sandboxes stop after 1 hour by default until you change auto-stop.

ScenarioCodeSandbox SDKInstaboxboat
One coding agent, workdays
  • disk beyond 20 GiB: price unknown
  • egress price not published
None for this scenarioNone for this scenario
One agent that never stops
  • disk beyond 20 GiB: price unknown
  • egress price not published
None for this scenarioNone for this scenario
50 agents in parallel
  • egress price not published
None for this scenarioNone for this scenario
Sandboxes for your users
  • Scale: max 250 concurrent
  • egress price not published
None for this scenarioNone for this scenario
1,000 short jobs at once
  • Scale: max 250 concurrent
  • egress price not published
  • Team: max 500 concurrent
  • bursts above 100 starts/min are queued (a burst of 333 takes ~4 min to start)
  • 2,400 starts/day included, paid above that (needs ~6,667)
  • 600 starts/hour included, paid above that (needs ~1,000)
  • starts above 90/min are paid, and starts above 270/min fail with 429

Which one should you use?

Use CodeSandbox SDK when

your sandboxes sleep between visits and wake on the next HTTP request with their memory, when you fork from a warm memory state, and when you accept that Together calls this SDK deprecated.

  • Forks that share memory. For rollouts or test variants: fork a running sandbox that shares memory with its parent, or a hibernated one from its memory snapshot.
  • Wake on the next request. For previews used in bursts: an HTTP request wakes a hibernated VM with its memory and running processes intact.
  • Large sizes and SOC 2 on Enterprise. For teams that need machines up to 64 cores and 128 GB or a compliance report, through Enterprise sales.

Use Instabox when

you want a free machine to start with, a lower hourly rate, SSH with mosh, pause with memory, your own Docker image, or machines above 16 vCPU.

  • A free plan and a lower hourly rate. One 4 vCPU / 8 GiB machine is free, and paid use costs $0.034 an hour at that size, per second while running.
  • SSH with mosh. For people who live in a terminal: SSH through a gateway, mosh that survives sleep, and paste-anywhere SSH tokens.
  • A desktop and bigger machines. A VNC desktop with a screenshot and click API, and machines up to 32 vCPU / 64 GiB with disks up to 1 TiB on Team.

Where boat fits

If your agents do hours of real work and you want to drive them through one API, look at boat. Each sandbox has seven coding agents installed, /dev/kvm, a 60 fps desktop and a disk saved every minute with no action from you. boat costs more per hour than Instabox and keeps no memory across a stop.

A whole machine with /dev/kvm

Neither CodeSandbox SDK nor Instabox documents /dev/kvm, so Android emulators and VM-based tests have no documented way to run. Instabox's android template runs Android natively. boat has SSH, systemd, Docker and /dev/kvm on every sandbox.

Disk saved every minute

boat saves the disk every minute while a sandbox runs and once more at stop. On Instabox you save snapshots yourself. CodeSandbox SDK keeps memory across hibernation, which boat does not. If a boat machine fails, writes after the last good snapshot are lost.

Agents you drive through an API

On both, you run the agent yourself. boat installs seven agent harnesses and gives one API to prompt, steer and follow them. Instabox has its own secrets proxy; CodeSandbox SDK passes keys as environment variables.

Use boat when you want to prompt and steer installed agents through one API, need /dev/kvm, want the disk saved every minute with no action, or run hundreds of user sandboxes at once. Compare it one to one: boat vs CodeSandbox SDK and boat vs Instabox.

boat's own limits
  • Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
  • Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
  • A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
  • Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
  • boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
  • Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
  • Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
  • Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source

Questions people ask

Is CodeSandbox SDK cheaper than Instabox?

No, Instabox costs less in every scenario we priced. One coding agent on workdays is $0 on Instabox's Free plan against $193 on CodeSandbox SDK Scale. One agent running all month is $25 against $341, and 50 agents in parallel $269 against $2,500. 300 user sandboxes at once come to $500 on Instabox Team, while CodeSandbox SDK Scale caps at 250. boat comes to $20, $26, $317 and $200 for those four.

Which is faster, CodeSandbox SDK or Instabox?

Neither is in the public CPU benchmarks we use, so we cannot say. Instabox says a new machine's shell is ready in under a second and a paused one resumes in about a second; we have not measured either. In StarSling's run of 3 October 2026, boat did 28.06 runs/s at 4 vCPU / 8 GB, on an AMD Ryzen 9 9950X host.

Can CodeSandbox SDK and Instabox run Docker?

Yes, both run Docker with root inside the VM, and Instabox also documents Docker Compose. Neither documents /dev/kvm, so Android emulators are not documented on either; Instabox's android template runs Android natively. boat runs Docker and exposes /dev/kvm.

Can I SSH into CodeSandbox SDK or Instabox?

Instabox, yes: SSH goes through a gateway with short-lived certificates, and it relays mosh. CodeSandbox SDK documents no SSH; you use terminals, commands and files through its SDK. boat has SSH in every sandbox.

Is CodeSandbox SDK still maintained?

CodeSandbox is now part of Together AI. Together's docs call this SDK deprecated and name together-sandbox as its successor. The last SDK release was 2.4.2 in December 2025. Self-serve sign-up still runs through CodeSandbox.

Can anyone sign up for Instabox?

Yes. Sign-up is self-service with GitHub or Google, and paid plans need a card. The Free plan runs one machine. Accounts that joined before 2026-10-20 keep five free machines until 2026-12-01.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons