boat vs CodeSandbox SDK
Both give each agent its own Linux VM that keeps its disk. boat gives a full VM with SSH, a built-in desktop, nested virtualization and coding agents installed. CodeSandbox SDK is strongest at VMs that hibernate with their memory, wake on the next request and build from your own Dockerfile.
Where boat stands out
A whole machine, not just a code box
A boat sandbox is a full VM with SSH, systemd, root, Docker and /dev/kvm, so Android emulators and nested VMs run too. CodeSandbox SDK gives you terminals and commands through its SDK, and it documents neither SSH nor nested virtualization.
Agents and desktop installed
Seven coding-agent harnesses, including Claude Code and Codex, come installed, and you prompt, steer and follow them through one API. Each sandbox also has a 60 fps desktop with Chrome for computer use. With the optional paid credentials proxy on, the real keys of supported model providers stay outside the sandbox.
Hosting beyond HTTPS
boat serves HTTPS on up to 50 ports per sandbox, token-gated by default. It also takes raw TCP on the sandbox's public IP: IPv6 on every sandbox, IPv4 on some. boat does not bill egress, and zero data retention is available.
The companies and products
boat
boat.dev runs sandboxes for AI agents: each one is a full Linux VM with its own kernel.
You start a machine with one command or one API call, then SSH in, run Docker, open a desktop, or let a built-in agent (Claude Code, Codex, OpenCode and others) work in it. The disk stays between sessions, and a stopped sandbox costs nothing.
- Isolation
- Full VM per sandbox, own kernel
- Regions
- EU: Germany, Finland, France
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.
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. “5th cheapest of 365” means 4 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 workload | boat: price rank | CodeSandbox SDK: price rank |
|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Both run Docker and keep their disk. boat adds SSH, /dev/kvm for Android emulators and installed coding agents you drive by API. CodeSandbox SDK builds the sandbox from your own Dockerfile. | 5th cheapest of 365 $634 a month | 32nd cheapest of 365 $3,731 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An assistant that runs on its machine all month fits either. On boat, the agents and a desktop with Chrome come installed, and an optional paid credentials proxy keeps model keys out. On CodeSandbox SDK, you set it up: install the agent and the browser in your own template. | 6th cheapest of 361 $657 a month | 50th cheapest of 361 $4,811 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month CodeSandbox SDK suits this well: short code runs on VMs that hibernate with their memory and wake on the next request. It bills per started minute while the VM runs, including idle time before it hibernates. | 189th of 336, with limits $2,000 a month | 54th cheapest of 336 $642 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Both fit. CodeSandbox SDK wakes a user's sandbox on their next HTTP request. boat gives each user SSH, a desktop, HTTPS URLs and raw TCP on the sandbox's IPv6 address. | 3rd cheapest of 349 $209 a month | 140th of 349, with limits $1,707 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 the same running state. A boat fork copies the disk only, so each copy boots and starts its programs again. | 39th of 349, with limits $2,000 a month | 341st of 349, with limits $3,861 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month | 10th cheapest of 359 $200 a month | 77th cheapest of 359 $1,335 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month CI jobs that build Android apps or VM images need /dev/kvm. boat exposes it on every sandbox. CodeSandbox SDK does not document it on its Firecracker VMs. | 2nd cheapest of 374 $86 a month | 96th cheapest of 374 $860 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB | 19th cheapest of 371 $26 a month | 316th of 371, with limits $240 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month Computer-use agents need a desktop and a browser. boat streams one at 60 fps, built in. On CodeSandbox SDK, you add a VNC desktop to your own template and open it as an HTTPS host. | 7th cheapest of 367 $200 a month | 54th cheapest of 367 $1,236 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month boat ships Chrome on a built-in desktop in every sandbox. On CodeSandbox SDK, you start from the official headless Chromium template, or add a VNC desktop to your own Dockerfile. | 7th cheapest of 356 $200 a month | 125th of 356, with limits $741 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 6th cheapest of 343 $90 a month | 119th cheapest of 343 $871 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 73rd of 327, with limits $1,800 a month | 194th of 327, with limits $7,390 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month | 3rd cheapest of 351 $200 a month | 29th cheapest of 351 $505 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month | Not ranked: misses a requirement | Not 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 requirement | Not ranked: misses a requirement |
Key features
| Feature | boat | CodeSandbox SDK |
|---|---|---|
| Isolation | Full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared | Firecracker microVM with its own kernel |
| Biggest machine | 16 vCPU / 32 GB on the $100 plan and above | 16 cores / 32 GB on Scale, 64 cores / 128 GB on Enterprise |
| Disk | 51 GB to 251 GB, fixed per size; more disk means a bigger size | 20 GB on every size; more on request, price not published |
| Session length | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no session cap. A running sandbox bills busy or idle | No hard cap; hibernates after an idle timeout (30 minutes by default on paid plans, up to 1 day) and bills until then |
| Pause and resume | Disk saved every minute and at each stop, kept at least 14 days; memory is not saved, so a resume is like a reboot | Hibernates with a memory snapshot and resumes with processes running in about 0.5 to 2 s; after a period of inactivity the snapshot is archived and resume takes longer |
| Fork | Fork a running sandbox from its last 1-minute disk snapshot; memory is not copied | Fork a hibernated sandbox from its memory snapshot, or a running one that shares memory with its parent |
| Wake on request | No; you start a stopped sandbox by API | Yes; an HTTP request to a host wakes it, WebSocket optional |
| Nested virtualization | Yes, /dev/kvm on every sandbox for Android emulators and VMs | Not documented |
| Docker, root and image | Docker, systemd and root; start from boat's image or a saved snapshot, not your own Docker image | Docker and root; templates build from any Dockerfile |
| Shell access | SSH, plus exec and files over the API | Terminals, commands and files through the SDK; SSH is not documented |
| Inbound access | HTTPS URLs for up to 50 ports, token-gated by default; raw TCP on the sandbox's public IP (IPv6 on every sandbox, IPv4 on some) | HTTPS host per port, public by default, signed tokens for private sandboxes; raw TCP and a public IP are not documented |
| Desktop and browser | Built-in Linux desktop and Chrome streamed at 1920x1080, 60 fps, with computer-use tools | No built-in desktop; a headless Chromium template, and you can install a VNC desktop in your own Dockerfile |
| Coding agents | Seven harnesses installed, including Claude Code and Codex, with a prompt, steer and events API | You install your own agent in the template and run it through the commands API |
| Keeping API keys out of the sandbox | Optional credentials proxy ($1 a day while on, plus $1 per 1,000 requests): real keys of supported model providers stay outside. Other secrets still enter the sandbox | Secrets passed in as environment variables; no credentials proxy documented |
| Compliance | SOC 2 in progress; no SOC 2 report today | SOC 2 Type II listed on the Enterprise plan |
| Compliance and transparency | SOC 2 is in progress. We're open about where we stand: live status and data retention policy. | SOC 2 |
Every feature Battleships tracks (43)
| Feature | boat | CodeSandbox SDK |
|---|---|---|
| Full VM (own kernel) | Yes | Yes |
| Docker inside | Yes | Yes |
| Nested virtualization | Yes | No documented way |
| Root | Yes | Yes |
| Systemd | Yes | Not published |
| Desktop GUI | Yes | With your own setup |
| Browser | Yes | With your own setup |
| Computer-use API | Yes | No documented way |
| SSH | Yes | No documented way |
| Persistent disk | Yes | Yes |
| Pause/resume | Yes | Yes |
| Automatic snapshots | Yes | Yes |
| Fork/clone | Yes | Yes |
| Live fork (no pause) | Yes | Yes |
| Memory fork | No documented way | Yes |
| Custom image (Docker or snapshot) | Yes | Yes |
| ≥24 h sessions | Yes | Yes |
| Idle auto-stop | No documented way | Yes |
| Wake on request | No documented way | Yes |
| HTTPS preview URLs | Yes | Yes |
| Raw TCP inbound | Yes | No documented way |
| Public IPv4 | No documented way | No documented way |
| Egress allowlist | No documented way | No documented way |
| Secret proxy | Yes | No documented way |
| Secret proxy for any API | Yes | No documented way |
| Preinstalled agents | Yes | No documented way |
| Agent harness API | Yes | No documented way |
| MCP server | No documented way | No documented way |
| GPU | No documented way | No documented way |
| Windows | No documented way | No documented way |
| Arm64 | No documented way | No documented way |
| Self-hosting | No documented way | No documented way |
| BYOC | No documented way | No documented way |
| Open source | No documented way | No documented way |
| Scoped API keys | Yes | Not published |
| Spend limits | Yes | Not published |
| Usage per sandbox (API) | Yes | No documented way |
| Audit logs | No documented way | Not published |
| SSO | No documented way | Yes |
| SOC 2 | No documented way | Yes |
| HIPAA | No documented way | No documented way |
| EU data residency | No documented way | No documented way |
| Zero data retention | Yes | Not published |
Performance
CodeSandbox SDK is not in the CPU benchmark 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. 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 is 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.
| Scenario | boat, a month | CodeSandbox SDK, 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 | $20 · $20/mo | $193 · Scale |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $26 · $20/mo | $341 · Scale |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $317 · $20/mo × 3 seats | $2,500 · Scale |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $200 · $100/mo × 2 seats | $815 · Scale · with limits |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $8,800 · $2000/mo · with limits | $1,632 · Scale · with limits |
boat: 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 12 starts a minute, 60 an hour and 200 a day, and each extra start costs $0.03 to $0.07. 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.
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 costs nothing. Larger teams pay a $170 monthly Scale platform fee, which is not usage credit. Enterprise credit packs are up to 50% off. CodeSandbox's pricing pages blocked our automated check on 8 November 2026, so these prices are as checked on 28 September 2026.
Limits in those scenarios
CodeSandbox SDK's Scale plan allows 250 VMs at once and 1,000 new sandboxes an hour, so the user-sandboxes scenario (300 at once) and the 1,000-job scenario need Enterprise. Each VM has a 20 GB disk, and the price for more disk and for egress is not published. boat allows 100 sandboxes at once on the $20 plan, 300 on $100 and 2,000 on $2,000. boat never queues a start: on the $2,000 plan, starts above 90 a minute are paid extras and starts above 270 a minute fail with 429, so 1,000 jobs at once do not fit either. boat has no GPU, no custom Docker image, and runs only in Germany, Finland and France, with no region choice.
| Scenario | boat | CodeSandbox SDK |
|---|---|---|
| One coding agent, workdays | None for this scenario |
|
| One agent that never stops | None for this scenario |
|
| 50 agents in parallel | None for this scenario |
|
| Sandboxes for your users | None for this scenario |
|
| 1,000 short jobs at once |
|
|
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
Which one should you use?
Use CodeSandbox SDK when
you run previews or code runs that sleep between visits and wake on the next HTTP request with their memory intact, when you need your own Dockerfile image or a SOC 2 Type II report, and when you accept that Together calls this SDK deprecated.
- Memory hibernation and wake on request. Useful for sandboxes that sleep between visits: an HTTP request wakes a hibernated VM with its processes still running.
- Forks that share memory. Good for branching many runs from one warm state, such as rollouts or test variants.
- Your own image from any Dockerfile. Good when your sandbox must start from an exact image you already build.
- Bigger machines and SOC 2 on Enterprise. Teams that need very large single machines or a compliance report can get them through Enterprise sales.
Use boat when
your agents work for hours on installs, builds, Docker, emulators, a browser and servers other people reach, on a full VM with the agent harnesses installed, at $0.036 an hour for 4 vCPU / 8 GB.
- A whole machine, not just a code box. Agents and their tools often expect SSH, a service manager or KVM. Without KVM, emulator builds and VM-based tests cannot start. Without SSH, each tool connects through an SDK call instead of a shell.
- Agents and desktop installed. On CodeSandbox SDK, you set these up yourself: install the agent in your template, add a VNC desktop, and pass keys as environment variables. Those keys sit inside a machine the agent controls, where a prompt injection can read them.
- Hosting beyond HTTPS. CodeSandbox SDK hosts are HTTPS only and public unless you set the sandbox private. A database or game server that an agent starts cannot take raw TCP connections from outside.
Questions people ask
Is boat cheaper than CodeSandbox SDK?
In four of the five scenarios on this page, yes. One agent that never stops costs $26 a month on boat and $341 on CodeSandbox SDK Scale. For 300 user sandboxes at once, boat fits at $200, and Scale caps at 250 VMs. For 1,000 short jobs at once, neither fits as-is, and CodeSandbox SDK's estimate is lower: $1,632 on Scale, capped at 250 VMs, against $8,800 on boat's $2,000 plan, with paid extra starts and starts above 270 a minute refused.
Is CodeSandbox SDK still maintained?
CodeSandbox is now part of Together AI. Together's docs call this SDK deprecated and name together-sandbox, which your organization must ask Together to enable, as its successor. The last SDK release was 2.4.2 in December 2025. Self-serve sign-up still runs through CodeSandbox.
Can boat hibernate a sandbox with its memory like CodeSandbox SDK?
No. boat saves the disk every minute and once more at each stop, but memory and running programs are not saved, so a resume is like a reboot. CodeSandbox SDK resumes from a memory snapshot with processes still running, until it archives the snapshot after a period of inactivity.
Can I SSH into a CodeSandbox SDK sandbox?
Its docs list the SDK, Node and browser clients as the ways to connect, through terminals, commands and files. SSH is not documented. Every boat sandbox has SSH as well as an exec and files API.
Can I run Docker and Android emulators in each?
Both run Docker inside the sandbox. boat also exposes /dev/kvm for Android emulators and VMs. CodeSandbox SDK does not document nested virtualization on its Firecracker VMs.
Is boat SOC 2 compliant?
Not yet. SOC 2 is in progress, and there is no SOC 2 report today. CodeSandbox lists SOC 2 Type II on its Enterprise plan. Live status is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.
Start a sandbox
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs E2B
- boat vs Daytona
- boat vs Modal
- boat vs Vercel Sandbox
- boat vs Blaxel
- boat vs Runloop
- boat vs Tensorlake
- boat vs Cloudflare Sandbox
- boat vs exe.dev
- boat vs Agent 37
- boat vs Instabox
- boat vs Oracle Cloud
- E2B vs CodeSandbox SDK
- Daytona vs CodeSandbox SDK
- Modal vs CodeSandbox SDK
- Vercel Sandbox vs CodeSandbox SDK
- Cloudflare Sandbox vs CodeSandbox SDK
- Blaxel vs CodeSandbox SDK
- Runloop vs CodeSandbox SDK
- Tensorlake vs CodeSandbox SDK