boat vs Cloudflare Workers for Platforms
These are two different kinds of product. boat gives each agent a whole Linux VM with a disk that it saves every minute. Workers for Platforms runs many small pieces of your customers' JavaScript, Python or Wasm code in V8 isolates, one request at a time. For a Linux machine on Cloudflare, use its Sandbox SDK, which we compare on its own page.
Where boat stands out
A whole Linux machine, not a script runner
A boat sandbox is a full VM with root, systemd, Docker and /dev/kvm, from 2 vCPU / 4 GB up to 16 vCPU / 32 GB. A Worker is a JavaScript, Python or Wasm program in an isolate with 128 MB of memory and no shell, so it cannot run git, apt, a compiler or a test suite.
A disk that stays, with snapshots and fork
boat saves each sandbox's disk every minute and at each stop, and can fork a running sandbox. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; a saved snapshot keeps it longer. Memory, running programs and /tmp are not saved. A Worker's /tmp lives in memory and lasts one request.
Coding agents you drive from outside
Seven coding-agent harnesses, including Claude Code, Codex and OpenCode, come installed in every boat sandbox. One API lets you prompt, steer and follow their events. With the optional, paid credentials proxy on, the real keys of supported providers stay outside the sandbox, and a credential can switch to another account when it 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.
- Isolation
- Full VM per sandbox, own kernel
- Regions
- EU: Germany, Finland, France
Cloudflare Workers for Platforms
Workers for Platforms is Cloudflare's way to run untrusted code from your customers or from AI in isolated sandboxes on its global network.
It is a serverless platform, not a VM sandbox. Each of your customers gets their own Worker, a script that runs in a V8 isolate. Your own dispatch Worker decides which customer script handles each request. An optional outbound Worker sees every fetch the customer script makes. It is built for SaaS and AI platforms that host thousands of small customer apps or code snippets with per-customer CPU limits.
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 workload | boat: price rank | Cloudflare Workers for Platforms: price rank |
|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory needs git, package managers and a disk that stays. A Workers for Platforms isolate has none of these. On Cloudflare this workload belongs in the Sandbox SDK, which we compare on its own page. | 5th cheapest of 365 $634 a month | 240th of 365, with limits $2,763 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An always-on assistant keeps files, logins and running processes. A Worker keeps nothing between requests unless you store it in KV, D1, R2 or Durable Objects. On boat the disk stays, and a running sandbox bills at full rate, busy or idle. | 6th cheapest of 361 $657 a month | 296th of 361, with limits $4,879 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month If the code is JavaScript, TypeScript, Python or Wasm and fits in 128 MB and 30 seconds of CPU, an isolate starts almost at once and costs very little per call. Cloudflare's Dynamic Workers target exactly this case. | 189th of 336, with limits $2,000 a month | 287th of 336, with limits $692 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month For letting each user deploy a small web app or function, Workers for Platforms is built for exactly that. For users who need a shell, Docker or a full Linux machine, boat fits. | 3rd cheapest of 349 $209 a month | 287th of 349, with limits $2,295 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month Rollouts that are pure JavaScript or Wasm logic can run cheaply as isolates. Rollouts that build, test or run tools need a full machine. | 39th of 349, with limits $2,000 a month | 324th of 349, with limits $104,164 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 | 356th of 359, with limits $5,778 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month CI jobs install packages, run test suites and build images. That needs a real OS and minutes of CPU, so isolates do not fit. On Cloudflare, Containers and the Sandbox SDK run this kind of job. | 2nd cheapest of 374 $86 a month | 367th of 374, with limits $6,649 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB | 19th cheapest of 371 $26 a month | 299th of 371, with limits $197 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month A Worker has no screen. On Cloudflare, you set it up: drive a headless Chromium through Browser Rendering, or install a desktop in your own Sandbox SDK image. boat ships a desktop and Chrome at 60 fps with computer tools. | 7th cheapest of 367 $200 a month | 247th of 367, with limits $778 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month A Worker does not run Chromium itself. It can drive a headless Chromium through Cloudflare Browser Rendering, a separate product with its own price. boat runs Chrome inside the sandbox. | 7th cheapest of 356 $200 a month | 286th of 356, with limits $398 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 | 335th of 343, with limits $2,308 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 | 312th of 327, with limits $46,098 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 | 337th of 351, with limits $2,891 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 |
| 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 |
Key features
| Feature | boat | Cloudflare Workers for Platforms |
|---|---|---|
| Isolation | Full VM with its own kernel, on a physical host dedicated to boat; vCPUs are shared, not dedicated cores | V8 isolate per Worker, plus a second sandbox layer that uses Linux namespaces and seccomp |
| What code runs | Anything that runs on x86_64 Ubuntu: any language, binaries, Docker, systemd; no GPU | JavaScript, TypeScript, Python and Rust, other languages through WebAssembly |
| Machine size | 2 to 16 vCPU, 4 to 32 GB; 16 vCPU needs the $100 plan or higher | One isolate with up to 128 MB of memory |
| How long code can run | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan | Up to 30 seconds of CPU per request (15 minutes for Cron and Queue); wall time not limited while the client stays connected |
| Files between runs | Disk saved every minute and at each stop; kept at least 14 days after a stop, longer with a saved snapshot; memory and /tmp are not saved | Memory-based /tmp, unique to each request; you keep state in KV, D1, R2 or Durable Objects |
| Fork | Fork a running sandbox from its last 1-minute snapshot | An isolate holds no machine state to copy; each request runs the deployed script fresh |
| Docker, root and nested virtualization | Docker, root, systemd and /dev/kvm; you cannot boot your own Docker image as the sandbox | No OS access inside an isolate; Cloudflare runs Docker in its separate Containers and Sandbox SDK products |
| Desktop and browser | Desktop and Chrome streams at 1920x1080, 60 fps, with computer tools for agents | No desktop inside a Worker; a Worker can drive a headless Chromium through the separate Browser Rendering binding |
| Start time | A VM boots per sandbox; boat is not in the public start-time benchmarks we use | Isolates skip the VM boot; Cloudflare says they start about a hundred times faster than a Node process in a VM |
| Inbound traffic | Up to 50 HTTPS URLs per sandbox, token-gated by default; public IPv6; some sandboxes have no IPv4 of their own, so raw ports there are IPv6 only | HTTP through your dispatch Worker on your domain or customer hostnames; no raw TCP or own IP |
| Outbound control | No provider-side allowlist | An outbound Worker you write sees every fetch and can allow, block, log or change it |
| Keeping keys out of the code | Optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests): real keys of supported providers stay outside; other secrets still enter the sandbox | Your outbound Worker adds credentials to requests, so customer code never sees them; you write and run that code |
| Coding agents | Seven harnesses installed, including Claude Code, Codex and OpenCode, with a prompt, steer and events API | Not in isolates; Cloudflare runs Claude Code and Codex in its separate Sandbox SDK |
| Regions | Germany, Finland and France; no US or Asia region; you cannot pick one | Cloudflare's global network, hundreds of cities |
| Compliance and transparency | SOC 2 is in progress. We're open about where we stand: live status and data retention policy. | SOC 2 |
Every feature Battleships tracks (43)
| Feature | boat | Cloudflare Workers for Platforms |
|---|---|---|
| Full VM (own kernel) | Yes | No documented way |
| Docker inside | Yes | No documented way |
| Nested virtualization | Yes | No documented way |
| Root | Yes | No documented way |
| Systemd | Yes | No documented way |
| Desktop GUI | Yes | No documented way |
| Browser | Yes | No documented way |
| Computer-use API | Yes | No documented way |
| SSH | Yes | No documented way |
| Persistent disk | Yes | No documented way |
| Pause/resume | Yes | No documented way |
| Automatic snapshots | Yes | No documented way |
| Fork/clone | Yes | No documented way |
| Live fork (no pause) | Yes | No documented way |
| Memory fork | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | No documented way |
| ≥24 h sessions | Yes | Yes |
| Idle auto-stop | No documented way | Yes |
| Wake on request | No documented way | Yes |
| HTTPS preview URLs | Yes | Yes |
| Raw TCP inbound | Yes | No documented way |
| Public IPv4 | No documented way | No documented way |
| Egress allowlist | No documented way | Yes |
| Secret proxy | Yes | Yes |
| Secret proxy for any API | Yes | Yes |
| Preinstalled agents | Yes | No documented way |
| Agent harness API | Yes | No documented way |
| MCP server | No documented way | Yes |
| GPU | No documented way | No documented way |
| Windows | No documented way | No documented way |
| Arm64 | No documented way | No documented way |
| Self-hosting | No documented way | No documented way |
| BYOC | No documented way | No documented way |
| Open source | No documented way | Yes |
| Scoped API keys | Yes | Yes |
| Spend limits | Yes | Not published |
| Usage per sandbox (API) | Yes | No documented way |
| Audit logs | No documented way | Yes |
| SSO | No documented way | Yes |
| SOC 2 | No documented way | Yes |
| HIPAA | No documented way | Not published |
| EU data residency | No documented way | Yes |
| Zero data retention | Yes | Not published |
Performance
Workers for Platforms is not in the public benchmarks we use, so we cannot say which is faster. A 128 MB single isolate also could not run a 4 vCPU / 8 GB test. For reference, 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). That boat sandbox ran on an AMD Ryzen 9 9950X host. boat also uses Ryzen 7 9700X 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. Cloudflare Workers for Platforms 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.
| Scenario | boat, a month | Cloudflare Workers for Platforms, 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 | $261 · Workers for Platforms · with limits |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $26 · $20/mo | $1,027 · Workers for Platforms · 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 | $12,183 · Workers for Platforms · 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 | $3,474 · Workers for Platforms · 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 | $20,847 · Workers for Platforms · with limits |
boat: Plans cost $20, $100, $500 or $2,000 a month. The whole plan price comes back as VM time for that month, billed per second while a sandbox runs; a 4 vCPU / 8 GB sandbox costs $0.036 an hour. The $20 plan includes 12 starts a minute, 60 an hour and 200 a day; extra starts cost $0.03 to $0.07 each. A stopped sandbox has no compute charge, but saved snapshots above the plan's count and the AI credentials proxy still charge.
Cloudflare Workers for Platforms: Workers for Platforms costs $25 a month with 20 million requests, 60 million CPU milliseconds and 1,000 scripts included, then $0.30 per million requests, $0.02 per million CPU milliseconds and $0.02 per extra script. Wall time and memory are not billed.
Cloudflare Workers for Platforms: The scenario prices here are an estimate that treats each sandbox as a run of isolates on the $25 Workers for Platforms plan, billed per request and per CPU millisecond. They are only a rough guide, since none of the five scenarios fits a 128 MB isolate. On Cloudflare, these scenarios fit the Sandbox SDK, which has its own page and prices.
Limits in those scenarios
Every scenario on this page assumes a machine with several vCPU, gigabytes of memory and a disk that lasts. A Worker has one isolate with 128 MB of memory and no lasting files, so none of them fit on Workers for Platforms. On Cloudflare they fit the Sandbox SDK instead. The 30-second CPU limit per request also rules out long builds and agent steps. On boat, the 1,000-job burst runs into start limits: the $2,000 plan includes 600 starts an hour, starts above 90 a minute cost extra, and starts above 270 a minute fail with 429. boat never queues a start. boat has no GPU and no region outside Germany, Finland and France.
| Scenario | boat | Cloudflare Workers for Platforms |
|---|---|---|
| One coding agent, workdays | 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 |
|
|
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 Cloudflare Workers for Platforms when
your customers or an AI write small JavaScript, Python or Wasm apps that answer web requests, and you want to host thousands of them near users worldwide.
- Thousands of tiny tenants at the edge. Fits platforms that host many small customer apps or functions, started in milliseconds near each user worldwide.
- Billing by request and CPU time. Fits short, request-shaped code: you pay per request and per CPU millisecond, and time spent waiting is not billed.
- Programmable control around customer code. Platform owners can set per-customer CPU limits and inspect, block or change every outbound request in their own code.
Use boat when
your agents need a full Linux VM: a shell, packages, Docker, a browser and a disk that keeps their work, running for hours.
- A whole Linux machine, not a script runner. Coding agents spend their day running git, package managers, compilers and tests. A Workers for Platforms isolate is the wrong place for that work; Cloudflare points those workloads to its Sandbox SDK.
- A disk that stays, with snapshots and fork. On Cloudflare, agents that need a shell and lasting files use the Sandbox SDK instead. Its disk is wiped when the sandbox sleeps, so the app must take snapshots or mount R2 to keep files. On boat the disk stays as is.
- Coding agents you drive from outside. Workers for Platforms runs code you deploy and has no agent to start. Coding agents also need a shell and minutes of CPU per step, above the 30-second CPU limit per request. On Cloudflare they run in the Sandbox SDK.
Questions people ask
Is Workers for Platforms a sandbox for AI agents?
It is a sandbox for code, not for an agent's whole workspace. It runs JavaScript, TypeScript, Python or Wasm in V8 isolates, one request at a time, with 128 MB of memory. Agents that need a shell, packages or files that last need a full machine: boat, or Cloudflare's own Sandbox SDK.
Is boat cheaper than Cloudflare Workers for Platforms?
For the five agent scenarios on this page, the estimate puts boat lower each time, but none of them fits in a Worker. In the 1,000-job burst, boat also goes past the start limits of its $2,000 plan. For small request-shaped functions, Workers for Platforms bills only per request and CPU millisecond and has no start limit, so it fits that work better.
Can I run Docker or Linux tools in a Worker?
Not in a Worker. An isolate has no shell and no OS; it gets only the JavaScript and Wasm APIs Cloudflare exposes. Cloudflare runs Docker and Linux tools in its separate Containers and Sandbox SDK products. boat sandboxes are full VMs with root, systemd, Docker and /dev/kvm.
Does a Worker keep files between requests?
No. Its file system lives in memory, and /tmp is unique to each request. You keep state in KV, D1, R2 or Durable Objects. boat saves the sandbox disk every minute and at each stop. If a boat machine fails, writes after the last good snapshot are lost.
Can I control what customer code connects to?
On Workers for Platforms, yes: an outbound Worker sees every fetch from customer Workers and can block, log or change it. boat does not offer a provider-side egress allowlist today. With its optional, paid credentials proxy on, boat keeps the real keys of supported model providers outside the sandbox.
Is boat SOC 2 compliant?
SOC 2 is in progress. No HIPAA BAA and no SAML SSO are documented. 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