boat vs Alibaba Cloud Agent Sandbox

Both give each agent its own isolated Linux machine that speaks the E2B way of working. boat gives it a whole VM in the EU, with no session cap once auto-stop is off and coding agents built in. Alibaba's Agent Sandbox is strongest at short jobs that sleep and wake with their memory, in China, Asia and the US.

Where boat stands out

A whole machine with no session cap

A boat sandbox is a full VM with root, Docker, systemd and /dev/kvm, up to 16 vCPU / 32 GB and 251 GB of disk, with SSH. Once you turn auto-stop off (default 1 h) on a paid plan, it has no session cap. An Alibaba sandbox runs up to 24 hours active on Eco and Std, or 7 days on Pro, and then pauses.

Coding agents you drive from outside

Claude Code, Codex and five other agents come preinstalled in every boat sandbox. You drive the agents from outside: prompt them, steer them and follow their events through one API. A credential can also switch to another account when one runs out of credits.

Machines in the EU

boat sandboxes run on machines in Germany, Finland and France. You cannot pick a region, and snapshot copies can be stored outside the EU. Alibaba's Agent Sandbox runs in mainland China, Hong Kong, Singapore and the US, with no EU region documented.

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.

Alibaba Cloud Agent Sandbox

Alibaba Cloud Agent Sandbox (also sold as FC Agent Sandbox, and replacing the older AgentRun Sandbox) is Alibaba Cloud's sandbox service for AI agents, built on Function Compute.

It comes in two editions. Flash Edition is a serverless service you drive with the E2B SDK and CLI, sold in Eco, Std and Pro plans. Its second-generation runtime (MicroVM, in beta) adds Docker, snapshots, forks and Windows. Container Edition runs sandboxes as pods in your own Alibaba Container Compute Service cluster. It suits teams on Alibaba Cloud that want E2B-compatible sandboxes close to their other Alibaba services.

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 rankAlibaba Cloud Agent Sandbox: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A coding agent on Alibaba runs up to 24 hours active on Eco and Std (7 days on Pro), then pauses and resumes. You set up the agent yourself: install it in a custom image template. boat gives it a full VM with 51 GB of disk or more and seven coding agents preinstalled.
5th cheapest of 365
$634 a month
11th cheapest of 365
$1,861 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An assistant that lives on its machine all month pauses and resumes every day on Alibaba's Eco and Std plans, or every 7 days on Pro. On boat it keeps running once auto-stop is off, for $26 a month at 4 vCPU / 8 GB.
6th cheapest of 361
$657 a month
66th of 361, with limits
$2,288 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Alibaba is built for this: short runs billed per second, ready-made Code Interpreter sandboxes, and on the Pro plan a wake from light hibernation in about 1 ms. boat charges for starts above the plan's included starts.
189th of 336, with limits
$2,000 a month
8th cheapest of 336
$90 a month
Sandboxes for your users
300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month
Alibaba's public URLs are open to anyone by default; a token can be required at creation, and custom domains are available. boat gives up to 50 HTTPS URLs per sandbox, token-gated by default.
3rd cheapest of 349
$209 a month
15th cheapest of 349
$584 a month
RL rollouts
1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month
Alibaba's snapshots keep memory and fork one running state into many sandboxes (preview, allowlist). This suits rollouts that branch from the same point. boat forks from the last 1-minute disk snapshot, without memory.
39th of 349, with limits
$2,000 a month
50th of 349, with limits
$2,732 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
29th cheapest of 359
$445 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 in every sandbox; Alibaba does not document it. For short CI jobs, Alibaba bills per second with no monthly plan fee.
2nd cheapest of 374
$86 a month
21st cheapest of 374
$283 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A dev box needs SSH and long sessions. Alibaba documents no SSH access, and runs a sandbox up to 24 hours active (7 days on Pro). boat gives SSH and no session cap once auto-stop is off; the IP address changes at each resume.
19th cheapest of 371
$26 a month
262nd of 371, with limits
$87 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
Both fit. Alibaba offers Windows sandboxes on its second-generation runtime and a ready-made Browser sandbox (CDP, Playwright). boat streams a Linux desktop and Chrome at 1920x1080, 60 fps; Windows programs run through Wine.
7th cheapest of 367
$200 a month
11th cheapest of 367
$400 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
63rd of 356, with limits
$198 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
11th cheapest of 343
$134 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
103rd of 327, with limits
$2,678 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
36th of 351, with limits
$137 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

FeatureboatAlibaba Cloud Agent Sandbox
What it isA sandbox platform: each agent gets its own full Linux VMA hyperscaler's sandbox service on Function Compute, driven with the E2B SDK, plus a Container Edition in your own Kubernetes cluster
IsolationFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are sharedLightweight VM on the second-generation runtime (beta); first-generation isolation not documented
Session lengthNo cap once auto-stop is off (default 1 h) on paid plans; or set auto-stop up to 30 daysUp to 24 hours active at a time on Eco and Std, 7 days on Pro; pause and resume to continue
Per-sandbox limitsUp to 16 vCPU / 32 GB on the $100 plan and above; disk fixed per size, 51 to 251 GBLocal disk set per template (first 15 GiB free, more billed per GiB); 1 to 5 Gbit/s bandwidth, not adjustable
Keeping filesBlock disk saved every minute and at each stop; a stopped sandbox keeps its disk at least 14 days, a saved snapshot has no scheduled expiryLocal disk lasts while the sandbox runs or stays paused (7 days on Std, 30 days on Pro; Eco cannot hibernate). Files that must outlive it go on OSS bucket mounts (object storage, up to 5, can be added while running) or saved OSS or AgenticFS volumes; NAS is reachable over VPC
Pause and wakeStop and resume by API; memory and running programs are not saved, so a resume is like a rebootOn Pro, idle sandboxes sleep with their memory and wake in about 1 ms; on Std, deep hibernation resumes in hundreds of ms to 3 s; Eco has no hibernation
Snapshots and forkAutomatic disk snapshots every minute; fork a running sandbox from its last 1-minute snapshot (disk only)Snapshot of memory and files, 1:N fork; preview on the MicroVM runtime, allowlist access, kept 7 days by default
Docker, systemd and /dev/kvmRoot, Docker, systemd and nested virtualization for Android emulators and VMsDocker on the second-generation runtime only (beta); images must keep systemd and sudo; /dev/kvm not documented
Inbound accessUp to 50 HTTPS URLs per sandbox, token-gated by default; SSH; no dedicated IPv4, and the IP changes at each resumePublic URL per port, open to anyone by default; a token can be required at creation; custom domains (5 per account by default); SSH not documented
Outbound rulesOpen internet, no provider-side allowlistAllow and deny lists by IP, CIDR or domain, changeable while running; VPC access to your own resources
Keeping API keys out of the sandboxOptional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests); real keys of supported model providers stay out of the sandbox; a credential can switch to another account when credits run outEgress proxy adds headers or swaps placeholders for real credentials on chosen domains, so keys never enter the sandbox
Coding agentsClaude Code, Codex and five more preinstalled, with a prompt, steer and events APINo preinstalled coding agents; you set it up: install one in a custom image template. AgentRun works with frameworks like LangChain and CrewAI, and has ready-made Code Interpreter and Browser (CDP, Playwright) sandboxes
WindowsNo Windows VM; Windows programs run through Wine on the Linux desktopWindows sandboxes on the second-generation runtime, for computer use and OSWorld tasks
RegionsGermany, Finland and France; you cannot pick a region; no US or Asia regionChinese mainland, Hong Kong, Singapore and the US; no EU region documented
Compliance and transparencySOC 2 is in progress. We're open about where we stand: live status and data retention policy.SOC 2
Every feature Battleships tracks (43)
FeatureboatAlibaba Cloud Agent Sandbox
Full VM (own kernel)YesYes
Docker insideYesYes
Nested virtualizationYesNo documented way
RootYesNot published
SystemdYesNot published
Desktop GUIYesYes
BrowserYesYes
Computer-use APIYesYes
SSHYesNo documented way
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 agentsYesNo documented way
Agent harness APIYesNo documented way
MCP serverNo documented wayYes
GPUNo documented wayNo documented way
WindowsNo documented wayYes
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 wayYes
SOC 2No documented wayYes
HIPAANo documented wayYes
EU data residencyNo documented wayNo documented way
Zero data retentionYesNot published

Performance

boat28.06 runs/s
Alibaba Cloud Agent SandboxNot measured

Alibaba Cloud Agent Sandbox is not in the public benchmarks we use, so we cannot say which is faster. On the V8 Web Tooling Benchmark in StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs per second 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.

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. Alibaba Cloud 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 monthAlibaba Cloud 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$24 · 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$87 · 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$916 · 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$247 · Pay as you go
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$546 · Pay as you go

boat: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month, and unused 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; saved snapshots above the plan's count and the AI credentials proxy still charge. Starts above the plan's included starts cost $0.03 to $0.07 each. boat does not bill egress.

Alibaba Cloud Agent Sandbox: Alibaba bills per second for the vCPU and memory you set, plus disk above a free 15 GiB, with no monthly plan fee and a bill every hour. A sleeping sandbox on Pro pays for memory and disk. Deep hibernation and snapshots pay for memory plus disk size at the disk rate. Mainland China regions cost less. Egress pricing is not published.

Limits in those scenarios

Alibaba runs a sandbox up to 24 hours active on Eco and Std and 7 days on Pro, so an always-on agent pauses and resumes at that limit. Alibaba allows 300 sandboxes per region by default and raises quotas on request through the console or support. Egress pricing is not published. boat has no session cap once auto-stop is off (default 1 h), but its start limits are lower. The $2,000 plan includes 90 starts a minute, charges for extra starts and refuses starts above 270 a minute, so 1,000 short jobs at once does not fit. boat keeps a stopped sandbox's disk for at least 14 days; a saved snapshot keeps it longer. If a machine fails, you lose what was written after the last good 1-minute snapshot.

ScenarioboatAlibaba Cloud Agent Sandbox
One coding agent, workdaysNone for this scenario
  • files survive a stop only in mounted OSS bucket: packages installed elsewhere reset
  • egress price not published
One agent that never stopsNone for this scenario
  • Pay as you go: sessions capped at 168 h
  • files survive a stop only in mounted OSS bucket: packages installed elsewhere reset
  • egress price not published
50 agents in parallelNone for this scenario
  • files survive a stop only in mounted OSS bucket: packages installed elsewhere reset
  • egress price not published
Sandboxes for your usersNone for this scenario
  • egress price not published
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
  • egress price not published
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 Alibaba Cloud Agent Sandbox when

you already build on Alibaba Cloud, serve users in China, Asia or the US, need Windows desktops, or run short jobs that sleep between requests and must wake with their memory.

  • Sleep and wake with memory. Useful for agents that sit idle between requests: on the Pro plan a sleeping sandbox wakes in about a millisecond with its processes still running.
  • Network controls, your own VPC and storage mounts. Teams can limit outbound traffic by IP, CIDR or domain, reach private databases through their own VPC, and mount object storage.
  • Windows, and regions in China, Asia and the US. Fits agents that need a Windows desktop, or that serve users in mainland China, Hong Kong, Singapore or the US.

Use boat when

your agents do real work on a machine for hours or days: installs, builds, tests, Docker, emulators and a browser, with coding agents built in and machines in Germany, Finland and France.

  • A whole machine with no session cap. A long agent task on Alibaba pauses and resumes at that limit. Android emulators and VMs need /dev/kvm, which Alibaba does not document.
  • Coding agents you drive from outside. On Alibaba you set it up: install the agent in a custom image template, keep it updated, and build your own way to send it work and read its output.
  • Machines in the EU. Teams with European users can run their agents' compute in the EU on boat. On Alibaba's sandbox today, that compute runs outside the EU.

Questions people ask

Is boat cheaper than Alibaba Cloud Agent Sandbox?

In four of the five scenarios on this page, boat's monthly bill is lower: $20 vs $24 (one coding agent on workdays), $26 vs $87 (one agent that never stops), $317 vs $916 (50 agents in parallel) and $200 vs $247 (sandboxes for your users). Our model keeps Alibaba's files between sessions in a mounted OSS bucket, and Alibaba's bills leave out egress, which it does not publish. For 1,000 short jobs at once Alibaba costs $546 a month, and boat does not fit: its $2,000 plan refuses starts above 270 a minute.

How long can an Alibaba Agent Sandbox run?

Up to 24 hours active at a time on Eco and Std, and 7 days on Pro. On Std and Pro you can pause it into deep hibernation (kept 7 or 30 days) and resume where it stopped. boat has no session cap once auto-stop is off (default 1 h) on a paid plan.

Can I move my E2B code to boat or to Alibaba?

Alibaba's Flash Edition works with the E2B SDK and CLI, with gaps listed in its docs, such as volumes and the metrics API, and SDK versions below 2.51.0. boat has its own API and CLI, so moving means rewriting the calls that create and drive sandboxes.

Can I run Docker or an Android emulator on Alibaba's sandbox?

Docker runs inside a sandbox on the second-generation runtime, which is in beta. Alibaba does not document /dev/kvm, which Android emulators and VMs need. boat runs Docker and exposes /dev/kvm in every sandbox.

Is Alibaba Cloud Agent Sandbox available in Europe?

No EU region is documented today. It runs in four mainland China regions, Hong Kong, Singapore, Virginia and Silicon Valley. boat runs on machines in Germany, Finland and France; you cannot pick a region, and snapshot copies can be stored outside the EU.

Is boat SOC 2 compliant?

SOC 2 is in progress, and boat has no SOC 2 report today. Alibaba Cloud publishes a SOC 2 Type 2 report at the platform level. 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