boat vs UCloud Agent Sandbox

Both give each agent its own Linux machine with its own kernel. boat gives a bigger full VM, saves its disk every minute and has no session cap once you turn auto-stop off. UCloud Agent Sandbox is E2B-based: a sandbox pauses with its memory and resumes in about a second, in mainland China, Vietnam and the US.

Where boat stands out

A disk saved for you, and no session cap once auto-stop is off

boat saves the disk every minute while a sandbox runs, and once more at each stop. A stopped sandbox has no compute charge, and boat keeps its disk for at least 14 days; a saved snapshot keeps it longer. With auto-stop off on a paid plan (it defaults to 1 hour), there is no session cap. If a host fails, writes after the last snapshot are lost. UCloud's docs call its 10 GB local disk temporary and stop continuous running at 24 hours.

A bigger machine

boat machines go up to 16 vCPU / 32 GB with 251 GB of disk on the $100 plan and above, with /dev/kvm for Android emulators and VMs, Docker, systemd and root. They serve HTTPS on up to 50 ports and have a public IPv6 address. vCPUs are shared, not dedicated cores. UCloud tops out at 8 vCPU / 8 GB with 10 GB of local disk.

Agents and keys built in

Claude Code, Codex and five other agents come preinstalled, and you drive them from outside with one prompt, steer and events API. With the optional paid proxy on, the real keys of supported providers stay outside the sandbox, and a credential can switch to another account when one runs out of credits.

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.

UCloud Agent Sandbox

UCloud Agent Sandbox is a sandbox service from the Chinese cloud provider UCloud, sold through its AstraFlow platform, that gives AI agents an isolated Linux machine.

Each sandbox runs its own LTS 6.1 Linux kernel and starts from a saved snapshot of a template, so it loads in about 80 ms with its processes already running. The SDK is built on E2B's open-source project, and the existing E2B SDK works against it in a compatibility mode. It is aimed at agent-generated code, automated tests and data analysis, with regions in mainland China, Vietnam and the US.

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 workloadboat: price rankUCloud Agent Sandbox: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A software factory runs builds and tests for hours on a disk it keeps, so boat's lasting disk, larger machines and lack of a session cap fit better than UCloud's 10 GB local disk and 24-hour continuous-run limit, which needs a pause to reset. On boat, turn auto-stop off first; it defaults to 1 hour.
5th cheapest of 365
$634 a month
41st of 365, with limits
$1,563 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An assistant that runs all month hits UCloud's 24-hour continuous-run limit, so you set it up to pause and resume, which resets the clock. On boat you turn auto-stop off on a paid plan and it keeps running.
6th cheapest of 361
$657 a month
64th of 361, with limits
$2,021 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
UCloud is built for this: short code runs that start from a snapshot, pause with their memory and come back in about a second.
189th of 336, with limits
$2,000 a month
87th of 336, with limits
$106 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
UCloud allows 20 running sandboxes by default; more needs a quota request to its team. boat runs 300 at once on the $100 plan and 1,000 on the $500 plan, with included starts per plan and paid extra starts above them.
3rd cheapest of 349
$209 a month
80th of 349, with limits
$665 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
39th of 349, with limits
$2,000 a month
61st of 349, with limits
$3,201 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
126th of 359, with limits
$515 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. Every boat sandbox has it. UCloud documents Docker in a sandbox but does not document /dev/kvm.
2nd cheapest of 374
$86 a month
281st of 374, with limits
$464 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A dev box needs a disk that lasts. On UCloud you set it up: pause the sandbox, which keeps disk and memory until you delete it, or mount a Volume (closed beta). boat saves the disk every minute and at each stop, keeps a stopped sandbox's disk for at least 14 days, and a saved snapshot keeps it longer.
19th cheapest of 371
$26 a month
134th of 371, with limits
$81 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
Both have a Linux desktop an agent can drive; boat streams it at 60fps with Chrome included, while on UCloud you add a browser to the desktop template yourself.
7th cheapest of 367
$200 a month
75th of 367, with limits
$464 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
7th cheapest of 356
$200 a month
66th of 356, with limits
$232 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
124th of 343, with limits
$157 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
117th of 327, with limits
$3,138 a month
Parallel red teaming
200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month
UCloud's outbound allow and deny lists help fence in attack agents. boat has no provider-side outbound allowlist, but gives each agent a full VM with /dev/kvm and no session cap once auto-stop is off.
3rd cheapest of 351
$200 a month
39th of 351, with limits
$153 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 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 requirement

Key features

FeatureboatUCloud Agent Sandbox
IsolationFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are sharedSandbox with its own LTS 6.1 Linux kernel, restored from a memory and disk snapshot; built on E2B's open-source project
Biggest machineUp to 16 vCPU / 32 GB with 251 GB of disk, on the $100 plan and aboveUp to 8 vCPU / 8 GB with 10 GB of local disk
Session lengthAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap24 hours of continuous running; a pause resets the clock
Disk51 GB on the default size, saved every minute and at each stop; a stopped sandbox keeps it for at least 14 days, a saved snapshot longer; a host failure loses writes since the last snapshot10 GB local disk, temporary and lost if the sandbox is destroyed or the host fails; a paused sandbox keeps disk and memory until deleted, and Volumes (beta) and long-lived service sandboxes (closed beta) keep data
Pause and resumeDisk is saved; memory and running programs are not, so a resume is like a rebootSaves memory and disk; resume takes about 1 second with processes still running
ForkFork a running sandbox from its last 1-minute disk snapshotSnapshot a running sandbox with its memory and start many new sandboxes from it
Custom imagesStart from boat's Ubuntu 24.04 image or a saved snapshot; you cannot boot your own Docker imageTemplates built from your own Debian-based Docker image
Nested virtualizationYes, /dev/kvm for Android emulators and VMsNot documented; Docker inside the sandbox is supported
Inbound accessHTTPS URLs for up to 50 ports, token-protected by default; SSH; public IPv6; no dedicated IPv4HTTPS URL per port on UCloud's domain, public unless you require a token at creation; no dedicated IP
Outbound rulesOpen internet, no provider-side allowlistAllow lists by IP, CIDR or domain and deny lists by IP or CIDR, changeable on a running sandbox
Desktop and browser60fps Linux desktop with Chrome and computer use toolsXFCE desktop driven by mouse and keyboard calls, viewed over noVNC; you add a browser to your own template
Coding agentsSeven agents preinstalled, with a prompt, steer and events APIClaude Code template that installs it with npm, run through the command API
Keeping API keys out of the sandboxOptional paid proxy ($1 per day on, plus $1 per 1,000 requests) for model providers and any HTTPS API; switch a credential to another account when credits run outSecrets injected into outbound HTTPS headers by a proxy outside the sandbox (closed beta, off by default)
RegionsGermany, Finland and France; you cannot pick a region; no US or Asia regionUlanqab and Shanghai in mainland China, Ho Chi Minh City in Vietnam, Los Angeles and Denver in the US; no EU region
Compliance and transparencySOC 2 is in progress. We're open about where we stand: live status and data retention policy.Not published
Every feature Battleships tracks (43)
FeatureboatUCloud Agent Sandbox
Full VM (own kernel)YesYes
Docker insideYesYes
Nested virtualizationYesNo documented way
RootYesYes
SystemdYesNot published
Desktop GUIYesYes
BrowserYesWith your own setup
Computer-use APIYesYes
SSHYesYes
Persistent diskYesYes
Pause/resumeYesYes
Automatic snapshotsYesYes
Fork/cloneYesYes
Live fork (no pause)YesYes
Memory forkNo documented wayYes
Custom image (Docker or snapshot)YesYes
≥24 h sessionsYesYes
Idle auto-stopNo documented wayYes
Wake on requestNo documented wayYes
HTTPS preview URLsYesYes
Raw TCP inboundYesNot published
Public IPv4No documented wayNo documented way
Egress allowlistNo documented wayYes
Secret proxyYesYes
Secret proxy for any APIYesYes
Preinstalled agentsYesYes
Agent harness APIYesNo documented way
MCP serverNo documented wayNo documented way
GPUNo documented wayNo documented way
WindowsNo documented wayNo documented way
Arm64No documented wayNot published
Self-hostingNo documented wayNo documented way
BYOCNo documented wayNo documented way
Open sourceNo documented wayNo documented way
Scoped API keysYesNot published
Spend limitsYesNot published
Usage per sandbox (API)YesNo documented way
Audit logsNo documented wayNot published
SSONo documented wayNot published
SOC 2No documented wayNot published
HIPAANo documented wayNo documented way
EU data residencyNo documented wayNo documented way
Zero data retentionYesNot published

Performance

boat28.06 runs/s
UCloud Agent SandboxNot measured

UCloud Agent Sandbox is not in the public benchmarks we use, so we cannot say which is faster. boat did 28.06 runs per second on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15 in StarSling's run of 3 October 2026 (run 37073680030). Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places sandboxes on Ryzen 7 9700X hosts and does not promise a CPU model. UCloud's quota page lists a disk I/O limit of 20 MB/s and public bandwidth of 5 MB/s.

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. UCloud Agent Sandbox 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.

Scenarioboat, a monthUCloud Agent Sandbox, 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$20 · Pay as you go · with limits
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$26 · $20/mo$85 · Pay as you go · with limits
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$1,020 · Pay as you go · with limits
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$290 · Pay as you go · 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$640 · Pay as you go · 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. Unused time does not carry over. You pay per second while a sandbox runs; the default 4 vCPU / 8 GB size costs $0.036 an hour. A stopped sandbox costs no machine time and keeps its disk for at least 14 days; saved snapshots above the included count and the AI credentials proxy still bill. The $20 plan includes 12 sandbox starts a minute, 60 an hour and 200 a day; extra starts cost $0.03 to $0.07 each. The xlarge size needs the $100 plan or higher. A card is required, also for the 7-day free trial.

UCloud Agent Sandbox: UCloud bills per second in yuan for the vCPU cores and RAM you set, with no monthly fee, and stops billing when the sandbox stops. New real-name-verified accounts get 480 CPU core-hours and 960 GiB-hours free for 30 days. The 10 GB local disk is free; paused sandboxes, snapshots and templates count as persistent storage, free up to 60 GB per account and billed by the hour above that. No egress price is published.

Limits in those scenarios

UCloud's pay-as-you-go account runs 20 sandboxes at once by default, so the 50-agent, user-sandbox and burst scenarios need a quota raise from its team. Its 24-hour continuous-run cap means an agent that never stops has to pause and resume. A UCloud account needs real-name verification, and public bandwidth is capped at 5 MB/s. boat's auto-stop defaults to 1 hour; turn it off on a paid plan for no session cap. boat's $20 plan runs 100 sandboxes at once and includes 12 starts a minute and 200 a day; extra starts cost $0.03 to $0.07, and starts above 6 times the included number fail with 429. boat never queues a start, so at 1,000 short jobs at once its start limits refuse part of the burst even on the $2,000 plan.

ScenarioboatUCloud Agent Sandbox
One coding agent, workdaysNone for this scenario
  • mainland-China region (local account / ICP rules)
  • disk beyond 10 GiB: price unknown
  • egress price not published
  • outbound bandwidth capped at 40 Mbps
One agent that never stopsNone for this scenario
  • Pay as you go: sessions capped at 24 h
  • mainland-China region (local account / ICP rules)
  • disk beyond 10 GiB: price unknown
  • egress price not published
50 agents in parallelNone for this scenario
  • Pay as you go: max 20 concurrent
  • mainland-China region (local account / ICP rules)
  • disk beyond 10 GiB: price unknown
  • egress price not published
Sandboxes for your usersNone for this scenario
  • Pay as you go: max 20 concurrent
  • mainland-China region (local account / ICP rules)
  • egress price not published
  • outbound bandwidth capped at 40 Mbps
1,000 short jobs at once
  • 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
  • Pay as you go: max 20 concurrent
  • mainland-China region (local account / ICP rules)
  • egress price not published
  • outbound bandwidth capped at 40 Mbps
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 UCloud Agent Sandbox when

your users are in mainland China, Vietnam or the US, you want no monthly fee, or you run short E2B-style jobs that pause with their memory between requests.

  • Memory pause and snapshots. Useful for short jobs that sleep between requests: a paused sandbox comes back in about a second with its processes running.
  • Outbound rules. UCloud can limit which IPs, CIDR blocks and domains a sandbox may reach, and change the rules while it runs.
  • Regions in China, Vietnam and the US, with E2B compatibility. For products serving users in Asia or the US, it runs in five regions and accepts existing E2B SDK code.
  • No monthly fee, and your own images. UCloud bills only the seconds you run, with a free quota for new accounts, and builds templates from your own Docker image.

Use boat when

your agents do long work: installs, builds, tests, Docker, emulators and a browser, on a bigger VM whose disk boat saves every minute, with no session cap once auto-stop is off.

  • A disk saved for you, and no session cap once auto-stop is off. On UCloud you keep files by pausing the sandbox, taking a snapshot or mounting a Volume (closed beta). A sandbox that times out without a pause set is deleted with its disk.
  • A bigger machine. A big monorepo build or a few containers can run out of 8 GB of RAM and 10 GB of disk, and Android emulators or VMs need /dev/kvm, which UCloud does not document.
  • Agents and keys built in. On UCloud you set the agent up yourself: its Claude Code template installs the agent with npm and you drive it through commands. Its secret injection is a closed beta, off by default.

Questions people ask

Is boat cheaper than UCloud Agent Sandbox?

It depends on the workload. For one agent on workdays both come to $20 a month. For an agent that never stops, boat is $26 a month against UCloud's $85, and UCloud needs a pause every 24 hours. For 50 agents in parallel, boat is $317 against $1,020, and for sandboxes for your users boat is $200 against $290; on UCloud both need a quota raise above 20 sandboxes. For 1,000 short jobs at once, UCloud's rates come to $640 a month against boat's $8,800 on the $2,000 plan, and boat still refuses starts above its per-minute limit. Below about $20 of use a month, UCloud's free quota and lack of a monthly fee cost less.

Is UCloud Agent Sandbox based on E2B?

Yes. UCloud's SDK says it is built on E2B's open-source project, and the E2B SDK can connect to it in a compatibility mode. It is a separate service with its own prices, limits and regions.

Can a UCloud sandbox run for days?

Not in one stretch. UCloud stops continuous running at 24 hours, though pausing and resuming resets the clock. boat has no session cap on paid plans once you turn auto-stop off; it defaults to 1 hour.

Does a UCloud sandbox keep its files?

Yes, if you pause it, snapshot it or mount a Volume (closed beta). A paused sandbox keeps its disk and memory until you delete it. Without that, UCloud's docs say the local disk is temporary and is lost when the sandbox is destroyed or its host fails. boat saves the disk every minute and at each stop, without memory; a host failure loses writes since the last snapshot.

Can I use UCloud Agent Sandbox outside China?

It has Los Angeles, Denver and Ho Chi Minh City regions besides its two mainland China regions, and you pick one with an environment variable. It has no EU region. boat runs in Germany, Finland and France, with no US or Asia region.

Is boat SOC 2 compliant?

SOC 2 is in progress, so there is no SOC 2 report today. 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