Together Code Sandbox vs Docker Cloud Sandboxes
Both save a sandbox with its memory. Together Code Sandbox starts VMs from Docker-image snapshots that run until you end them or their ttl ends, once Together turns it on for your organization. Docker Cloud Sandboxes is self-serve: it puts the sbx microVM you run on your laptop into the cloud, with its own Docker Engine, 10 at a time by default and a 24-hour session.
The companies and products
Together Code Sandbox
Together AI is a cloud for running and training AI models, and Code Sandbox is its product for running code in isolated VMs.
You build a snapshot from a Docker image or Dockerfile on Together's builder, then start sandboxes from it and run commands and file operations through the together-sandbox SDK or CLI. When a sandbox ends you can save its disk, and its memory too, as a new snapshot to start more sandboxes from. It is aimed at model-generated code, agent tool calls and reinforcement learning rollouts, and Together must enable it for your organization. The pricing page also lists Code Interpreter at $0.03 per 60-minute session.
Docker Cloud Sandboxes
Docker Cloud Sandboxes runs Docker's sbx coding-agent microVMs on Docker-managed compute instead of your laptop.
Each sandbox is a microVM with its own Linux kernel and its own Docker Engine. You start it from the same sbx CLI you use locally, or from the Sandboxes API, with Claude Code, Codex and other agents ready to run. You can move a sandbox from your laptop to the cloud and back, publish HTTPS ports and SSH in. It launched on September 24, 2026, and it bills pay-as-you-go on a personal Docker account.
- Launched
- September 24, 2026
- Session length
- 1 hour by default, up to 24 hours from creation; with the always-on entitlement, a restart at expiry keeps memory
- Regions
- Not published
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. “67th cheapest of 365” means 66 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 | Together Code Sandbox: price rank | Docker Cloud Sandboxes: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory needs Docker inside and agents that work for days. Docker has Docker inside, and each run ends 24 hours after creation unless its always-on entitlement restarts it. Together does not document Docker inside a sandbox. boat ranks #5 at $634 a month, with Docker and a desktop built in. | 67th of 365, with limits $528 a month | 295th of 365, with limits $4,928 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An agent that lives on its machine all month needs to run past 24 hours. A Together sandbox runs until you end it or its ttl ends. On Docker the always-on entitlement restarts the sandbox with memory kept; without it, your code resumes it. boat ranks #6 at $657, with no session cap once auto-stop is off on a paid plan. | 107th of 361, with limits $1,095 a month | 139th of 361, with limits $5,110 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 Short code runs fit both for small numbers. Docker allows 10 at a time by default, and higher quotas go through Docker. Our rankings price Together's Code Interpreter line, so Together is a compromise in every use case; Docker is a compromise in every use case too. | 318th of 336, with limits $2,190 a month | 239th of 336, with limits $233 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 Serving your own users needs hundreds of sandboxes at once. Docker's default quota is 10, and Together publishes no concurrency limit. boat ranks #3 at $209 a month. | 231st of 349, with limits $900 a month | 266th of 349, with limits $1,628 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 Together can branch many copies from one memory snapshot once it enables the VM product for you. Docker can snapshot a running sandbox with memory, but its default of 10 at once holds it back. | 309th of 349, with limits $21,900 a month | 122nd of 349, with limits $7,000 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 Together documents a Harbor guide for agent evals. boat ranks #10 at $200 a month and has a Harbor integration too. Docker's default quota of 10 limits parallel runs. | 260th of 359, with limits $450 a month | 291st of 359, with limits $1,400 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 | 253rd of 374, with limits $180 a month | 300th of 374, with limits $672 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A dev box that stays on all month needs a long session and SSH. Docker has SSH with Docker-issued certificates and keeps memory and files across a stop. Together documents no SSH. boat ranks #19 at $26. | 226th of 371, with limits $22 a month | 140th of 371, with limits $204 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 Computer-use agents need a screen. Docker's official Playwright kit adds headless Chromium with no display server, and on Together you build a desktop into your image. boat ranks #7 at $200, with a 60 fps desktop built in. | 105th of 367, with limits $600 a month | 298th of 367, with limits $1,400 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 | 195th of 356, with limits $900 a month | 189th of 356, with limits $700 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 | 181st of 343, with limits $180 a month | 192nd of 343, with limits $350 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 | 126th of 327, with limits $3,600 a month | 190th of 327, with limits $7,000 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 | 95th of 351, with limits $150 a month | 114th of 351, with limits $350 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 requirement | 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 | Not ranked: misses a requirement |
Key features
| Feature | Together Code Sandbox | Docker Cloud Sandboxes | boat |
|---|---|---|---|
| Isolation | A VM per sandbox on Together's infrastructure | MicroVM with its own Linux kernel; hypervisor not named | Full VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts; vCPUs are shared |
| Getting access | The SDK and CLI must be enabled for your organization by Together | Self-serve pay-as-you-go plan on a Docker account | Self-serve with a card (7-day trial); plans from $20 a month |
| Machine size | 0.1 to 16 cores, 1 to 8 GB of memory per core; disk size not configurable | 1 vCPU / 2 GiB up to 16 vCPU / 32 GiB | 2 to 16 vCPU with 2 GB per vCPU; 16 vCPU / 32 GB needs the $100 plan or higher |
| Session length | Runs until you end it or its ttl ends | 24 hours from creation (default 1 hour); with the always-on entitlement, a restart at expiry keeps memory; otherwise you resume it | No cap once auto-stop is off on a paid plan (default 1 hour, timer up to 30 days) |
| Sandboxes at once | No concurrency limit published | 10 by default; higher quotas through Docker, not self-serve | 100 to 2,000 by plan; starts above the plan's per-minute number cost extra, and above 3 times it they fail |
| Docker, root and systemd | Commands run as user 1000 by default, root per exec on request; Docker inside not documented | Its own Docker Engine; the agent runs as a non-root user with sudo | Docker, systemd and root in every sandbox |
| Nested virtualization | Not documented | Not documented | Yes, /dev/kvm in every sandbox |
| Saving state | End a sandbox with a snapshot of its disk, or disk and memory | Stop keeps memory and files, free while stopped | Disk saved every minute and at stop, with no code; memory is not saved, so a resume is like a reboot |
| Fork | The parent stops first, then you start many sandboxes from its snapshot, with memory if you ask | Snapshot a running sandbox with disk or disk and memory, restore it as a new one | Fork a running sandbox from its last 1-minute snapshot; the original keeps running |
| Reaching the sandbox | A URL per port, open to everyone by default; an experimental policy limits access by IP or requires a token; SSH not documented | Public HTTPS URL per published port, not behind Docker sign-in; SSH with Docker-issued certificates | HTTPS URLs for up to 50 ports, token-gated by default; SSH; raw ports on a public IPv6 address |
| Outbound rules | No egress allowlist documented | Allow and deny rules by host, with allow-all, balanced and deny-all presets | No provider-side allowlist; you set your own firewall as root |
| Desktop and browser | No built-in desktop or stream; you install a browser or virtual display in your own image | No desktop or display server; headless Chromium through Docker's official Playwright kit | Built-in 1920x1080, 60 fps desktop and Chrome, computer tools, embeddable stream |
| Coding agents | You install your agent in your image and run it through execs; a Harbor guide for agent evals | Claude Code, Codex, Copilot, OpenCode and more, run from the sbx CLI; no agent prompt or events API | Seven harnesses installed, with a prompt, steer and events API |
| Keeping API keys out of the sandbox | No credentials proxy documented | Cloud proxy sets the auth header for AI services and custom hosts; the sandbox sees a placeholder | Optional paid AI credentials proxy keeps supported providers' keys outside; other secrets still enter the sandbox |
Every feature Battleships tracks (43)
| Feature | Together Code Sandbox | Docker Cloud Sandboxes | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | Yes | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | Not published | No documented way | Yes |
| Browser | Not published | With your own setup | Yes |
| Computer-use API | Not published | No documented way | Yes |
| SSH | No documented way | Yes | Yes |
| Persistent disk | With your own setup | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | No documented way | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | No documented way | Yes | Yes |
| Memory fork | Yes | Yes | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | No documented way | No documented way | No documented way |
| Wake on request | No documented way | Not published | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | Not published | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | Yes | No documented way |
| Secret proxy | No documented way | Yes | Yes |
| Secret proxy for any API | No documented way | Yes | Yes |
| Preinstalled agents | No documented way | Yes | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | Yes | Yes | No documented way |
| GPU | No documented way | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | Yes | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | No documented way | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Yes | Not published | Yes |
| Usage per sandbox (API) | Yes | No documented way | Yes |
| Audit logs | Not published | Not published | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | No documented way | No documented way |
| HIPAA | No documented way | No documented way | No documented way |
| EU data residency | Not published | Not published | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Together Code Sandbox nor Docker Cloud Sandboxes is in the public CPU benchmark we use, so we cannot say which is faster. Docker does not publish its hardware. 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 that run ran on an AMD Ryzen 9 9950X host; boat also places some sandboxes on other hosts and does not promise a CPU model.
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. Together Code Sandbox and Docker Cloud Sandboxes 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.
| Scenario | Together Code Sandbox, a month | Docker Cloud Sandboxes, a month | boat, 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 | $5 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | $49 · Docker Agentic Platform (pay-as-you-go) | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $22 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | $204 · Docker Agentic Platform (pay-as-you-go) · with limits | $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 | $264 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | $2,464 · Docker Agentic Platform (pay-as-you-go) · with limits | $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 | $900 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | $700 · Docker Agentic Platform (pay-as-you-go) · with limits | $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 | $6,000 · Together pay-as-you-go (prepaid credits; Code Interpreter only) · with limits | $1,400 · Docker Agentic Platform (pay-as-you-go) · with limits | $8,800 · $2000/mo · with limits |
Together Code Sandbox: Together lists Code Sandbox at $0.0446 per vCPU-hour and $0.0149 per GiB-hour, about $0.30 an hour at 4 vCPU / 8 GB, from prepaid credits, once Together enables it for your organization. Billing granularity, snapshot storage and egress prices are not published. The pricing page also lists Code Interpreter at $0.03 per 60-minute session; our rankings use that line because Code Sandbox needs enablement.
Docker Cloud Sandboxes: Docker bills per second for the size you pick, from $0.07 an hour for 1 vCPU / 2 GiB to $1.12 an hour for 16 vCPU / 32 GiB, with no monthly fee. A 4 vCPU / 8 GiB sandbox costs $0.28 an hour. A stopped sandbox costs nothing, and volumes and egress are free. New accounts get a one-time credit.
Docker Cloud Sandboxes: 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. A stopped sandbox has no compute charge. Saved snapshots above the plan's count ($0.056 a day each) and the optional AI credentials proxy still charge while sandboxes are stopped. Starts above the plan's included number cost $0.03 to $0.07 each.
Limits in those scenarios
Together Code Sandbox needs Together to enable it for your organization, documents no Docker inside a sandbox, and publishes no concurrency or start limits. Docker ends a session 24 hours after creation, and its default of 10 concurrent sandboxes rules it out for 50 agents in parallel, sandboxes for your users and 1,000 short jobs at once unless Docker raises your quota. boat fits every scenario but the 1,000-job burst: its $2,000 plan includes 90 starts a minute and 2,400 a day, bills extra starts at $0.03 to $0.07, and refuses starts above 3 times the included rate per minute.
| Scenario | Together Code Sandbox | Docker Cloud Sandboxes | boat |
|---|---|---|---|
| One coding agent, workdays |
| None for this scenario | 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 |
|
|
|
Which one should you use?
Use Together Code Sandbox when
you already run models on Together and want light VMs with no 24-hour cap, from a tenth of a core, that you can save with their memory and branch from.
- No 24-hour cutoff. A Together sandbox runs until you end it or its ttl ends, where a Docker cloud sandbox ends 24 hours after creation.
- Very small machines. Sandboxes start at a tenth of a core, which suits large numbers of light tasks once Together enables them.
- Sandboxes next to your models. If you already run inference or fine-tuning on Together, sandboxes and model calls share one account.
Use Docker Cloud Sandboxes when
you already run agents in sbx on your laptop and want a few of them to keep going in the cloud, with Docker inside, memory kept across stops and no monthly fee.
- Self-serve, with Docker inside. Anyone can start today, and every Docker cloud sandbox has its own Docker Engine.
- Stop with memory kept. For agents that pause between steps, a stopped Docker sandbox comes back with its memory and running processes, free while stopped.
- The same sandbox on your laptop. If you already run sbx locally, the cloud is the same microVM and CLI, and you can move a sandbox either way.
Where boat fits
If your agents work for days, run by the dozen with Docker inside, or need a desktop and browser to check what they built, look at boat. It is self-serve, runs 100 sandboxes at once on the $20 plan, and gives each agent a full VM that saves its disk with no code.
Many sandboxes at once, self-serve
Docker allows 10 sandboxes at once by default, and higher quotas go through Docker. Together must enable Code Sandbox for you first. boat runs 100 at once on the $20 plan and up to 2,000 on the $2,000 plan, with starts counted and limited per plan.
A whole machine, screen included
Docker's official kit adds headless Chromium, and Together leaves the desktop to your image. Neither documents /dev/kvm. boat has a 60 fps desktop, Docker and /dev/kvm in every sandbox.
Agents driven from outside
You prompt and steer boat's installed agents through one API. On Docker you send terminal input through its process API, and on Together you install and run the agent yourself.
Use boat when your agents do real work for hours or days, by the dozen: Docker, emulators, a desktop and servers, on full machines that keep their disk with no code. Compare it one to one: boat vs Together Code Sandbox and boat vs Docker Cloud Sandboxes.
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 Together Code Sandbox cheaper than Docker Cloud Sandboxes?
At list rates, Docker costs less per hour: $0.28 against about $0.30 at 4 vCPU / 8 GB. One agent on workdays costs $49 on Docker against $52 on Together, and one always-on agent $204 against $217, though Docker ends each session at 24 hours. Docker's default quota of 10 rules it out for bigger fleets unless Docker raises it. boat costs $20 and $26 for those two.
Which is faster, Together Code Sandbox or Docker Cloud Sandboxes?
We cannot say: neither is in the public CPU benchmark we use. In StarSling's run of 3 October 2026, boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, on an AMD Ryzen 9 9950X host.
Can they run Docker inside?
Every Docker cloud sandbox has its own Docker Engine. Together builds sandboxes from Docker images but does not document Docker inside a sandbox. Every boat sandbox runs Docker and systemd with no extra setting.
How long can a sandbox run?
A Together sandbox runs until you end it or its ttl ends. Docker defaults to 1 hour and ends a session 24 hours after creation; its always-on entitlement restarts the sandbox at expiry with memory kept. boat auto-stop defaults to 1 hour; on a paid plan you can turn it off, and then there is no session cap.
How many sandboxes can I run at once?
Docker allows 10 concurrent and 50 stored per account by default, and higher quotas go through Docker. Together publishes no limit. boat runs 100 at once on the $20 plan, with 12 starts a minute and 200 a day included, and up to 2,000 at once on the $2,000 plan.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Together Code Sandbox
- boat vs Docker Cloud Sandboxes
- E2B vs Together Code Sandbox
- Daytona vs Together Code Sandbox
- Modal vs Together Code Sandbox
- Vercel Sandbox vs Together Code Sandbox
- Cloudflare Sandbox vs Together Code Sandbox
- Blaxel vs Together Code Sandbox
- Runloop vs Together Code Sandbox
- Tensorlake vs Together Code Sandbox
- Morph Cloud vs Together Code Sandbox
- CodeSandbox SDK vs Together Code Sandbox