Beam vs Docker Cloud Sandboxes

Beam is a serverless GPU platform whose sandboxes are fast gVisor containers that can run until you stop them. Docker Cloud Sandboxes puts the sbx coding-agent microVM from your laptop in the cloud, with agents ready to run but a 24-hour limit and 10 at a time by default.

The companies and products

Beam

Beam is a serverless cloud for GPU inference, sandboxes and background jobs, built on its open-source runtime Beta9.

Beam runs functions, REST endpoints, task queues, pods, sandboxes and VMs on CPUs and GPUs, all from a Python or TypeScript SDK. A sandbox is a container isolated with gVisor that starts in a second or two, lives until you terminate it or its time to live runs out, and can be saved as a filesystem image or a memory snapshot. Beam VMs are a separate CPU product: a microVM with its own kernel, systemd and a root disk that stays when it stops. Much of Beam is a GPU serverless platform for AI teams.

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, started from the same sbx CLI you use locally, 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, is billed pay-as-you-go on a personal Docker account, and is built for developers who want their local agent sandboxes to keep going off their machine.

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. “8th cheapest of 345” means 7 of the other 344 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 workloadBeam: price rankDocker Cloud Sandboxes: price rankbochka: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A software factory runs many agents for days; Docker stops each sandbox at 24 hours and allows 10 at once, Beam sandboxes lack systemd and /dev/kvm, and bochka gives each one a full VM.
69th of 367, with limits
$551 a month
280th of 367, with limits
$4,928 a month
3rd cheapest of 367
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An assistant that lives on its machine all month fits a Beam VM or a bochka sandbox, but not one Docker session, which ends 24 hours after creation.
115th of 366, with limits
$651 a month
276th of 366, with limits
$5,110 a month
5th cheapest of 366
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Beam fits short code runs best of the three: sandboxes start in a second or two, bill per second and go away when their timer ends.
8th cheapest of 345
$117 a month
119th of 345, with limits
$233 a month
186th of 345, 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 many sandboxes at once; Beam's Team plan allows 1,000 and bochka's plans up to 2,000, while Docker allows 10 by default.
3rd cheapest of 361
$290 a month
136th of 361, with limits
$1,628 a month
Cheapest of 361
$209 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
341st of 360, with limits
$939 a month
114th of 360, with limits
$7,000 a month
34th of 360, with limits
$2,000 a month
Agent evals
250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month
13th cheapest of 364
$251 a month
167th of 364, with limits
$1,400 a month
10th cheapest of 364
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
Beam and bochka both fit CI jobs; builds of Android apps or VM images need /dev/kvm, which only bochka exposes.
12th cheapest of 377
$171 a month
172nd of 377, with limits
$672 a month
4th cheapest of 377
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A dev box that stays on all month works on a Beam VM or bochka, while Docker's sandboxes end 24 hours after creation.
13th cheapest of 368
$21 a month
127th of 368, with limits
$204 a month
18th cheapest of 368
$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; bochka has a 60fps Linux desktop with Chromium, and neither Beam nor Docker has a desktop product.
111th of 369, with limits
$237 a month
268th of 369, with limits
$1,400 a month
6th cheapest of 369
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
195th of 367, with limits
$176 a month
277th of 367, with limits
$700 a month
7th cheapest of 367
$200 a month
Scraping & bots (startup scale)
50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month
200th of 346, with limits
$131 a month
262nd of 346, with limits
$350 a month
6th cheapest of 346
$90 a month
Mass scraping & bots (undetectable)
1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month
42nd of 338, with limits
$923 a month
190th of 338, with limits
$7,000 a month
71st of 338, with limits
$1,800 a month
Parallel red teaming
200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month
175th of 360, with limits
$155 a month
248th of 360, with limits
$350 a month
2nd cheapest of 360
$200 a month
GPU eval jobs
10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month
Only Beam has GPUs, from RTX 4090 to H100 and B200; Docker Cloud Sandboxes and bochka are CPU only.
Cheapest of 98
$458 a month
Can't run itCan't run it
macOS agents
5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month
Can't run itCan't run itCan't run it

Key features

FeatureBeamDocker Cloud Sandboxesbochka
IsolationgVisor container by default for sandboxes; separate Beam VMs are CPU microVMsMicroVM with its own Linux kernel and its own Docker EngineFull VM with its own kernel on dedicated AMD Ryzen 9 9950X hosts
Session lengthDefault 10 minutes; set -1 to run until you terminate it1 hour by default, at most 24 hours from creationNo cap on paid plans; you set the time to live
Sandboxes at once30 CPU containers on Developer, 1,000 on Team10 by default; no published way to raise it100 on the $20 plan, up to 2,000 on higher plans
Stop, snapshot and forkMemory snapshot of a running sandbox, restored into new sandboxesStop keeps memory and files; snapshot with memory and restore as a new sandboxDisk saved every minute and on stop; fork a running sandbox with its disk
Docker and systemdDocker with docker_enabled; systemd only in Beam VMsIts own Docker Engine; agent runs as a non-root user with sudoDocker, systemd and root, like a normal Ubuntu server
Nested virtualizationNot documentedNot documentedYes, /dev/kvm for Android emulators and VMs
GPUsGPU sandboxes and serverless GPUs up to H100, H200 and B200No, CPU onlyNo, CPU only
Desktop and browserNo desktop or browser productTerminal sessions only60fps Linux desktop with Chromium and computer use
Coding agentsNone preinstalled; you install and run them yourselfClaude Code, Codex, Copilot, OpenCode and more, attached to from the sbx CLISeven agents preinstalled, with a prompt, steer and events API to drive them from outside
Keeping API keys out of the sandboxSecrets are environment variables inside the sandboxCloud proxy sets the auth header; the sandbox sees a placeholderCredentials proxy for model providers and any HTTPS API, with account switching when credits run out
Inbound accessPublic HTTPS URL per exposed port with no built-in auth; no raw TCPPublic HTTPS URL per published port; not a TCP tunnel; SSHHTTPS URLs for up to 50 ports, token-protected by default; raw TCP; dedicated IPv4 or IPv6
Outbound rulesBlock all, or allow up to 10 CIDR rangesAllow and deny rules by host, with presetsOpen internet, no provider-side allowlist
Where it runsUS only; Beta9 runtime free to self-host, or your own cloud for a feeRegions not published; same microVM runs on your laptopEU only (Germany, Finland, France)
Every feature Battleships tracks (43)
FeatureBeamDocker Cloud Sandboxesbochka
Full VM (own kernel)NoYesYes
Docker insideYesYesYes
Nested virtualizationNoNoYes
RootYesYesYes
SystemdNoNot publishedYes
Desktop GUINoNoYes
BrowserNoNoYes
Computer-use APINoNoYes
SSHYesYesYes
Persistent diskYesYesYes
Pause/resumeNoYesYes
Automatic snapshotsNoYesYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
Memory forkYesYesNo
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopNoNoNo
Wake on requestNoNot publishedNo
HTTPS preview URLsYesYesYes
Raw TCP inboundNoNot publishedYes
Public IPv4NoNoNo
Egress allowlistYesYesNo
Secret proxyNoYesYes
Secret proxy for any APINoYesYes
Preinstalled agentsNoYesYes
Agent harness APINoNoYes
MCP serverYesYesNo
GPUYesNoNo
WindowsNoNoNo
Arm64NoYesNo
Self-hostingYesNoNo
BYOCYesNoNo
Open sourceYesNoNo
Scoped API keysNot publishedNot publishedYes
Spend limitsNot publishedNot publishedYes
Usage per sandbox (API)NoNoYes
Audit logsNot publishedNot publishedNo
SSONoYesNo
SOC 2YesNoNo
HIPAAYesNoNo
EU data residencyNot publishedNoYes
Zero data retentionNot publishedNot publishedYes

Performance

BeamNot measured
Docker Cloud SandboxesNot measured
bochka26.69 runs/s

There is no comparable CPU measurement for Beam or Docker Cloud Sandboxes: neither is in the StarSling hpc-sandbox-benchmarks runs, so we cannot say which of the two is faster. bochka did 26.69 runs per second on that Node.js test at 4 vCPU / 8 GB, on dedicated AMD Ryzen 9 9950X hosts. Beam says its sandboxes cold-boot in 1 to 3 seconds.

Node.js build-and-test loop at 4 vCPU / 8 GB, higher is better. Measured with the open hpc-sandbox-benchmarks suite. Beam and Docker Cloud Sandboxes have no published run in this suite yet, so there is no like-for-like number to compare.

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.

ScenarioBeam, a monthDocker Cloud Sandboxes, a monthbochka, 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 · Developer$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 · Developer$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
$410 · Team$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
$191 · Team$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
$259 · Team$1,400 · Docker Agentic Platform (pay-as-you-go) · with limits$2,000 · $2000/mo · with limits

Beam: Beam sandboxes bill per second for each CPU core (two vCPU) and GiB of RAM you request, until you terminate them or their time to live ends, so an idle tail is billed too. Developer has no fee; Team costs $89 a month plus usage, and egress is free.

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 stopped sandbox costs nothing, and volumes and egress are free.

Docker Cloud Sandboxes: Plans start at $20 a month, and the whole fee is usage credit. You pay per second while a sandbox runs, and a stopped sandbox costs nothing and keeps its disk.

Limits in those scenarios

Docker's 24-hour cap rules it out for one agent that never stops, and 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. Beam fits all five scenarios, but 50 agents need its Team plan, since Developer allows 30 CPU containers, and Beam publishes no price for extra disk, so none is counted. bochka fits four; its start limits queue a 1,000-job burst even on the $2,000 plan.

ScenarioBeamDocker Cloud Sandboxesbochka
One coding agent, workdays
  • disk beyond 0 GiB: price unknown
None that biteNone that bite
One agent that never stops
  • disk beyond 0 GiB: price unknown
  • Docker Agentic Platform (pay-as-you-go): sessions capped at 24 h
None that bite
50 agents in parallel
  • disk beyond 0 GiB: price unknown
  • Docker Agentic Platform (pay-as-you-go): max 10 concurrent
None that bite
Sandboxes for your users
  • disk beyond 0 GiB: price unknown
  • Docker Agentic Platform (pay-as-you-go): max 10 concurrent
None that bite
1,000 short jobs at once
  • disk beyond 0 GiB: price unknown
  • Docker Agentic Platform (pay-as-you-go): max 10 concurrent
  • max 2,400 starts/day (needs ~6,667)
  • max 600 starts/hour (needs ~1,000)
  • bursts above 90 starts/min are queued (a burst of 333 takes ~4 min to start)

Which one should you use?

Use Beam when

your work needs GPUs, when you run many short sandboxes or code runs, when you need hundreds at once, or when you want to self-host the runtime.

  • GPUs in the same platform. For work that needs a GPU, Beam offers GPU sandboxes and serverless GPUs from RTX 4090 to H100 and B200.
  • No time cap and room to scale. A Beam sandbox can run until you stop it, and the Team plan allows 1,000 CPU containers at once.
  • Open source runtime. Beam's Beta9 runtime is AGPL-3.0 and free to self-host, or it can run in your own cloud for a fee.

Use Docker Cloud Sandboxes when

you already run agents in sbx on your laptop and want a few to keep going in the cloud for up to a day, with memory kept across stops and strict outbound rules.

  • 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.
  • Agents and keys handled for you. Claude Code, Codex and other agents are ready to run, and a proxy adds API keys so the sandbox sees a placeholder.
  • Stop with memory kept. For agents that pause between steps, a stopped sandbox comes back with its memory and running processes.

Where bochka fits

If your agents do real work for hours or days, look at bochka. Each sandbox is a full VM with Docker, systemd and /dev/kvm, a desktop, and agents you drive from your own code, with no session cap on paid plans. Pick Beam instead if you need GPUs.

A whole machine for the agent

Beam sandboxes are gVisor containers without systemd, and neither Beam nor Docker documents /dev/kvm, so Android emulators and nested VMs have nowhere to run. bochka gives every sandbox its own kernel, systemd and /dev/kvm.

Long runs and many at once

Docker ends each sandbox 24 hours after creation and runs 10 at a time, so your code must stop and resume long jobs. bochka has no session cap on paid plans and runs 100 at once on its $20 plan.

Screen, agents and keys built in

Neither Beam nor Docker has a desktop, so computer-use agents need a separate browser service. Beam has no agents preinstalled and keeps secrets in env vars; bochka ships seven agents with an API, a 60fps desktop and a credentials proxy.

Use bochka when your agents run for days or by the dozen on a full VM, need Docker, systemd, Android emulators, a desktop or a browser, or have to be driven from your own app through an API. Compare it one to one: bochka vs Beam and bochka vs Docker Cloud Sandboxes.

Questions people ask

Is Beam cheaper than Docker Cloud Sandboxes?

In these scenarios, yes. One coding agent on workdays costs $5 a month on Beam against $49 on Docker, and in the other four scenarios Docker does not fit because of its 24-hour cap or its default of 10 sandboxes at once. bochka costs $20 a month for the workday agent.

Which is faster, Beam or Docker Cloud Sandboxes?

We cannot say: neither has a result on the hpc-sandbox-benchmarks CPU test. bochka did 26.69 runs per second on it at 4 vCPU / 8 GB.

Can Beam and Docker Cloud Sandboxes run Docker?

Yes. Beam supports Docker inside a sandbox with docker_enabled, and each Docker cloud sandbox has its own Docker Engine. bochka runs Docker in a full VM with systemd and /dev/kvm.

Can a sandbox run longer than 24 hours?

On Beam, yes: set the time to live to -1 and it runs until you terminate it. On Docker, no: a sandbox cannot go past 24 hours from creation. bochka has no session cap on paid plans.

Which one has GPUs?

Only Beam, with GPU sandboxes and serverless GPUs from RTX 4090 to H100, H200 and B200. Docker Cloud Sandboxes and bochka are CPU only.

Is bochka SOC 2 compliant?

SOC 2 is in progress. We're open about where we stand: live status at status.bochka.xyz and our data retention policy at docs.bochka.xyz/data-retention.

Try bochka

Install the CLI, then run bochka new.

Product preview

More comparisons

Bochka product preview · Pricing, benchmarks and commands are illustrative. Sandbox provisioning is not connected.