Docker Cloud Sandboxes vs Upstash Box

Docker Cloud Sandboxes gives each coding agent a small microVM with its own kernel and Docker inside, for up to 24 hours per run unless the always-on entitlement restarts it. Upstash Box gives each agent a light container that bills only busy CPU, pauses when idle, can stay on all month, and wakes on the next request.

The companies and products

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.

Regions
Not published

Upstash Box

Upstash Box is a cloud computer for AI agents from Upstash, the company known for serverless Redis, Vector and QStash.

Each box is a Docker container with its own filesystem, shell, git and an optional coding agent such as Claude Code, Codex, OpenCode or Cursor, which you drive from TypeScript or Python SDKs. A box pauses when it sits idle, keeps its files, and you pay for the CPU it actually uses. Upstash built it to run its own Context7 service and opened it to everyone in March 2026.

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. “295th cheapest of 365” means 294 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 workloadDocker Cloud Sandboxes: price rankUpstash Box: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Both are a compromise for a software factory. Docker allows 10 sandboxes at once by default, and higher quotas go through Docker. Upstash runs 1,000 boxes but does not document Docker inside a box. boat ranks 8th with Docker on every sandbox.
295th of 365, with limits
$4,928 a month
98th of 365, with limits
$464 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Both are a compromise here. An Upstash keep-alive box stays on all month for a flat price; a Docker run ends 24 hours after creation unless the always-on entitlement restarts it. boat ranks 6th with auto-stop off.
139th of 361, with limits
$5,110 a month
170th of 361, with limits
$450 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
Upstash ranks 13th for short code runs ($119 a month): an idle box costs no CPU, and a paused box wakes when work arrives. Docker is a compromise because of its default of 10 at once.
239th of 336, with limits
$233 a month
13th cheapest of 336
$119 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
Upstash ranks 4th for sandboxes for your users ($222 a month) and wakes a user's paused box on the next request. Docker's default of 10 sandboxes at once makes it a compromise. boat ranks 3rd at $209.
266th of 349, with limits
$1,628 a month
4th cheapest of 349
$222 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
122nd of 349, with limits
$7,000 a month
343rd of 349, with limits
$8,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
291st of 359, with limits
$1,400 a month
67th cheapest of 359
$1,011 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
Upstash fits CI runners (121st). Docker is a compromise. CI that builds containers needs Docker inside, which Docker has and Upstash does not document; Android builds need /dev/kvm, which boat exposes. boat ranks 2nd.
300th of 374, with limits
$672 a month
122nd cheapest of 374
$1,480 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Upstash ranks 8th for a dev box that stays on all month, with a keep-alive box from $8 a month. Docker is a compromise because of its 24-hour run limit. boat ranks 19th at $26, a full VM with SSH.
140th of 371, with limits
$204 a month
8th cheapest of 371
$19 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
Both are a compromise for computer use. Docker has no display server; Upstash runs Chromium on a virtual display with a view-only live view, and no desktop or VNC. boat streams a 60 fps Linux desktop.
298th of 367, with limits
$1,400 a month
123rd of 367, with limits
$76 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
189th of 356, with limits
$700 a month
48th of 356, with limits
$38 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
192nd of 343, with limits
$350 a month
41st cheapest of 343
$400 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
190th of 327, with limits
$7,000 a month
201st of 327, with limits
$8,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
Both are a compromise for parallel red teaming: Docker allows 10 at once by default, and Upstash boxes do not document Docker inside. boat ranks 6th.
114th of 351, with limits
$350 a month
255th of 351, with limits
$259 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

FeatureDocker Cloud SandboxesUpstash Boxboat
IsolationMicroVM with its own Linux kernel; hypervisor not namedDocker container per box on AWSFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); shared vCPUs
Docker insideYes, its own Docker Engine; agent runs as a non-root user with sudoNot documented; the box is itself a Docker container, and custom images are listed as coming soonYes, with root and systemd
Nested virtualizationNot documentedNot documented; boxes are containersYes, /dev/kvm for Android emulators and VMs
Session length1 hour by default, at most 24 hours from creation; with the always-on entitlement, a restart at expiry keeps memoryNo cap; a standard box pauses when idle, and a keep-alive box stays on all monthNo cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days
Sandboxes at once10 by default; higher quotas through Docker, not self-serve10 on Free, 1,000 on Pay as You Go, raised on request; no start limit published100 on the $20 plan, up to 2,000 on the $2,000 plan, self-serve; starts per minute, hour and day capped by plan
Stop and resumeStop keeps memory and files; resume picks up where it left offPauses itself when idle and keeps its files; storage keeps billing while pausedDisk saved every minute and at each stop, kept at least 14 days; no compute charge while stopped; resume is like a reboot
Wake on requestNot documentedYes; a request to a public URL resumes a paused box and waits for the appNo; a stopped sandbox is started by API
ForkSnapshot a running sandbox with disk or disk and memory, then restore it as a new sandboxSnapshot a running box and start many new boxes from itFork a running sandbox from its last 1-minute disk snapshot
Desktop and browserNo display server; headless Chromium through Docker's official Playwright kitManaged Chromium with AI page actions, CDP and a view-only live view; no desktop or VNC1920x1080, 60 fps Linux desktop with Chrome and computer-use tools
Inbound accessPublic HTTPS URL per published port, not protected by Docker sign-in; not a TCP tunnel; SSHHTTPS URL per port, public unless you add a token or basic auth; SSH through a gateway; no raw TCP documentedUp to 50 HTTPS URLs, token-gated by default; SSH; public IPv6; raw ports over IPv6 on sandboxes with no IPv4 of their own
Outbound rulesAllow and deny rules by host, with allow-all, balanced and deny-all presetsAllow all, deny all, or allow and deny by domain and CIDR, changeable on a running boxOpen internet; no provider-side allowlist, so you set firewall rules inside the VM
Coding agentsClaude Code, Codex, Copilot, OpenCode and more, run from the sbx CLI; no agent prompt or events APIClaude Code, Codex, OpenCode and Cursor built in, with run and stream APIs, webhooks and scheduled promptsSeven harnesses installed, with a prompt, steer and events API to drive them from outside
Keeping API keys out of the sandboxCloud proxy sets the auth header for built-in AI services and custom hosts; the sandbox sees a placeholderHost proxy injects headers into outbound HTTPS on port 443 for any host; set when the box is createdOptional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and HTTPS APIs you register
RegionsNot publishedAWS us-east-1; custom regions on EnterpriseGermany, Finland and France; you cannot pick one; no US or Asia region
Every feature Battleships tracks (43)
FeatureDocker Cloud SandboxesUpstash Boxboat
Full VM (own kernel)YesNo documented wayYes
Docker insideYesNot publishedYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesNot publishedYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayNo documented wayYes
BrowserWith your own setupYesYes
Computer-use APINo documented wayNo documented wayYes
SSHYesYesYes
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-stopNo documented wayYesNo documented way
Wake on requestNot publishedYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNot publishedNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyYesYesYes
Secret proxy for any APIYesYesYes
Preinstalled agentsYesYesYes
Agent harness APINo documented wayYesYes
MCP serverYesYesNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64YesYesNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedNot publishedYes
Usage per sandbox (API)No documented wayYesYes
Audit logsNot publishedNot publishedNo documented way
SSOYesNo documented wayNo documented way
SOC 2No documented wayYesNo documented way
HIPAANo documented wayNo documented wayNo documented way
EU data residencyNot publishedNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Docker Cloud SandboxesNot measured
Upstash BoxNot measured
boat28.06 runs/s

Neither Docker Cloud Sandboxes nor Upstash Box is in StarSling's CPU benchmark, so we cannot say how either compares on CPU. 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 sandboxes on Ryzen 7 9700X hosts, which this run did not measure. For start time at its default size, ComputeSDK measured Upstash Box at a median of 2.34 s with 100 at once (6 November 2026) and 445 ms one at a time (7 August 2026). Docker and boat are 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. Docker Cloud Sandboxes and Upstash Box 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.

ScenarioDocker Cloud Sandboxes, a monthUpstash Box, 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
$49 · Docker Agentic Platform (pay-as-you-go)$21 · Pay as You Go$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$204 · Docker Agentic Platform (pay-as-you-go) · with limits$21 · Pay as You Go$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,464 · Docker Agentic Platform (pay-as-you-go) · with limits$900 · 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
$700 · Docker Agentic Platform (pay-as-you-go) · with limits$306 · Pay as You Go$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,400 · Docker Agentic Platform (pay-as-you-go) · with limits$1,822 · Pay as You Go$8,800 · $2000/mo · with limits

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.

Upstash Box: A standard box is billed for the CPU it actually uses, at $0.10, $0.20 or $0.40 per active CPU hour for Small, Medium and Large, plus $0.10 per GB-month of storage. RAM is free, and Pay as You Go has no monthly fee. A keep-alive box costs a flat $8, $16 or $32 a month whether it is busy or not.

Upstash Box: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. Included time does not carry over. 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, and boat keeps its disk for at least 14 days. Saved snapshots above the included count and the optional AI credentials proxy still charge while sandboxes are stopped. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07. A card is required, also for the 7-day trial.

Limits in those scenarios

Docker ends each run 24 hours after creation; with the always-on entitlement a restart keeps it going, otherwise your code resumes it. Its default of 10 sandboxes at once rules it out for 50 agents in parallel, sandboxes for your users and 1,000 short jobs at once unless Docker raises the quota. Upstash fits all of those except 50 agents in parallel, because it does not document Docker inside a box; its egress price is not published, and keep-alive boxes bill every month whether used or not. boat fits every scenario but the 1,000-job burst: the $2,000 plan includes 2,400 starts a day, charges for starts above 90 a minute and refuses them above 270 with 429. boat never queues a start.

ScenarioDocker Cloud SandboxesUpstash Boxboat
One coding agent, workdaysNone for this scenario
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
One agent that never stops
  • Docker Agentic Platform (pay-as-you-go): sessions capped at 24 h
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
50 agents in parallel
  • Docker Agentic Platform (pay-as-you-go): max 10 concurrent
  • needs talk to sales: fleet of 50 needs a quota increase: new accounts get 10 machines; only through sales
  • not confirmed: Docker inside
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
Sandboxes for your users
  • Docker Agentic Platform (pay-as-you-go): max 10 concurrent
  • needs talk to sales: fleet of 300 needs a quota increase: new accounts get 10 machines; only through sales
  • egress price not published
None for this scenario
1,000 short jobs at once
  • Docker Agentic Platform (pay-as-you-go): max 10 concurrent
  • needs talk to sales: fleet of 1,000 needs a quota increase: new accounts get 10 machines; only through sales
  • egress price not published
  • 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 Docker Cloud Sandboxes when

you already run agents in sbx on your laptop, need Docker inside, and want a few of them to keep going in the cloud with memory kept across stops.

  • Docker inside every sandbox. For agents that run databases or build images in Docker, each sandbox has its own Docker Engine. Upstash does not document Docker inside a box.
  • Stop and fork with memory. For agents that pause between steps, a stopped sandbox comes back with its memory and running processes, and can be forked with them.
  • 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.

Use Upstash Box when

your agents mostly wait, need to wake on an incoming request, run by the hundreds for short jobs, or must run in the US, and do not need Docker inside.

  • No session cap. For agents that live on their machine, a keep-alive box stays on all month at a flat price.
  • Idle costs no CPU, and a request wakes the box. For agents that wait a lot, an idle box costs no CPU, RAM is not billed, and a request to its URL wakes a paused box.
  • Many boxes at once. For big bursts, Pay as You Go runs 1,000 boxes at once by default, against Docker's default of 10.

Where boat fits

Docker gives you a microVM with Docker inside, but runs 10 at a time by default and ends each run at 24 hours without always-on access. Upstash runs for weeks and by the thousand, in a container without documented Docker inside. If your agents need a full machine that runs as long and as wide as the work, look at boat. Upstash costs less for mostly idle agents and for big bursts.

A whole machine that keeps running

boat sandboxes are full VMs with root, systemd, Docker and /dev/kvm, with no session cap once auto-stop is off. On Docker, a run past 24 hours needs the always-on entitlement or your code to resume it. Upstash does not document Docker or /dev/kvm inside a box.

Wide fleets with Docker inside

boat runs 100 sandboxes at once on its $20 plan, within its start limits. Docker's default of 10 at once rules out 50 agents in parallel unless Docker raises the quota. Upstash allows 1,000 boxes, but without documented Docker inside, the 50-agent scenario does not fit there either.

A desktop the agent can see

boat streams a 60 fps Linux desktop with Chrome and computer-use tools. Docker has no display server, and Upstash's browser has a view-only live view with no desktop. On either you add a separate service for desktop apps or a human taking over.

Use boat when your agents need a full machine with Docker, emulators and a desktop, run for days or by the dozen, or have to be driven from your own app through an API. Compare it one to one: boat vs Docker Cloud Sandboxes and boat vs Upstash Box.

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 Docker Cloud Sandboxes cheaper than Upstash Box?

For one coding agent on workdays, Upstash is cheaper: $21 a month against $49 on Docker for a 4 vCPU / 8 GiB machine, and boat is $20. By default Docker does not fit the other four scenarios on this page, because of its 24-hour run limit or its default of 10 sandboxes at once; always-on access or a higher quota from Docker changes that.

Which is faster, Docker Cloud Sandboxes or Upstash Box?

Neither is in StarSling's CPU benchmark, so we cannot say. boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on a Ryzen 9 9950X host.

Can Upstash Box run Docker like Docker Cloud Sandboxes?

Its docs do not mention it: each box is itself a Docker container, and custom images are listed as coming soon. Each Docker cloud sandbox is a microVM with its own Docker Engine, and boat sandboxes are full VMs where Docker and systemd work as on any Linux server.

Can either run longer than 24 hours?

Upstash can: a standard box pauses when idle and resumes later with its files, and a keep-alive box stays on all month. One Docker run ends 24 hours after creation; the always-on entitlement restarts it at expiry with memory kept, otherwise you resume it. boat has no session cap once auto-stop is off on a paid plan (the default is 1 hour).

How many sandboxes can I run at once?

Docker allows 10 concurrent and 50 stored per account by default; higher quotas go through Docker. Upstash Pay as You Go allows 1,000 boxes at once and raises it on request. boat's $20 plan runs 100 at once, and higher plans go up to 2,000, with start limits per plan.

Does either have a desktop for computer use?

No. Docker's cloud sandboxes have no display server; its official Playwright kit adds headless Chromium. Upstash runs Chromium on a virtual display with AI page actions and a view-only live view, and no desktop or VNC. boat streams a full Linux desktop at 60 fps with computer-use tools preinstalled.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons