Cloudflare Sandbox vs exe.dev
Cloudflare Sandbox gives you a container inside the Workers platform. It sleeps when idle, wakes on the next request, and keeps files through snapshots or R2 that your code sets up. exe.dev gives you a Linux VM that keeps its disk and runs until you stop it, billed mostly as a reserved pool.
The companies and products
Cloudflare Sandbox
Cloudflare Sandbox SDK runs untrusted or AI-generated code in Linux containers on Cloudflare's network, driven from a Cloudflare Worker.
Each sandbox is a Cloudflare Container backed by a Durable Object. Each container runs in its own Firecracker microVM with its own kernel and network. You build a linux/amd64 image, pick an instance type of up to 4 vCPU and 12 GiB, and reach the sandbox through your own Worker. The disk resets when the container stops, and your code keeps files with snapshots, automatic saves, R2 backups or R2 bucket mounts. It suits teams already on Workers who want sandboxes that sleep when idle. For code that only calls known methods, Cloudflare also offers Dynamic Workers, which run JavaScript in V8 isolates.
- Largest instance
- 4 vCPU, 12 GiB memory, 20 GB disk
- Compliance
- Cloudflare holds a SOC 2 Type II report
exe.dev
exe.dev, made by Bold Software, Inc., rents Linux VMs for developers and AI agents that you reach over SSH and HTTPS.
You reserve a pool of vCPUs and memory, and your VMs share it. You can also start standalone VMs billed by the second. Each VM is KVM-isolated with Cloud Hypervisor, boots from a container image in about two seconds, and has root, systemd and Docker. It comes with Claude Code, Codex, Pi and exe.dev's own Shelley agent. It suits developers who want a persistent dev box or a sandbox for their agents.
- Company
- Bold Software, Inc.
- Preinstalled agents
- claude, codex, pi and the Shelley web agent
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. “43rd cheapest of 361” means 42 of the other 360 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 | Cloudflare Sandbox: price rank | exe.dev: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory needs big disks, full Docker and a screen for checking UIs. Cloudflare has 20 GB of disk at most. On exe.dev you install a desktop and VNC yourself. boat ships a desktop and up to 251 GB of disk. | 192nd of 365, with limits $1,543 a month | 267th of 365, with limits $3,721 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Always-on assistants need files that stay put. exe.dev keeps the disk with no code. boat keeps it with no code once auto-stop is off. On Cloudflare your code saves snapshots, schedules automatic saves or mounts R2. | 43rd cheapest of 361 $2,188 a month | 20th cheapest of 361 $3,833 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 For many short code-interpreter calls Cloudflare fits best of the three: it wakes on the next request and bills CPU only while busy. exe.dev pools bill whether used or not, and a running boat sandbox bills at full rate, busy or idle. | 17th cheapest of 336 $144 a month | 231st of 336, with limits $175 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 For sandboxes you hand to your users, Cloudflare fits, and exe.dev Personal stops at 50 VMs in total; a Work pool holds up to 1,000. boat fits too, with 100 to 2,000 at once by plan, usage per sandbox and spend limits. | 19th cheapest of 349 $731 a month | 252nd of 349, with limits $1,234 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 | 147th of 349, with limits $9,428 a month | 260th of 349, with limits $5,250 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 | 60th cheapest of 359 $818 a month | 280th of 359, with limits $1,050 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 CI that builds Docker images needs room and full Docker. Cloudflare has 20 GB of disk and runs Docker with iptables off. exe.dev standalone VMs bill per second, but pools bill idle time. boat bills per second while running and includes 200 starts a day on the $20 plan. | 303rd of 374, with limits $704 a month | 289th of 374, with limits $504 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A dev box should keep its files when you log off. exe.dev and boat both keep the disk with no code. Cloudflare starts from a fresh disk after sleep unless your code snapshots it or works in a mounted R2 bucket. | 123rd cheapest of 371 $93 a month | 24th cheapest of 371 $35 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 Computer-use agents need a screen. On Cloudflare you build a desktop into your own image. On exe.dev you install a desktop and VNC on the VM. boat streams a built-in 60 fps desktop. | 207th of 367, with limits $460 a month | 270th of 367, with limits $1,055 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 | 68th of 356, with limits $233 a month | 187th of 356, with limits $530 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 | 102nd cheapest of 343 $286 a month | 187th of 343, with limits $278 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 | 168th of 327, with limits $5,741 a month | 165th of 327, with limits $5,490 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 Red-team runs often want raw networking. Cloudflare containers cannot change iptables, and exe.dev has no raw TCP inbound and gives /dev/kvm on request. boat has raw ports over public IPv6 and /dev/kvm on every sandbox. | 25th cheapest of 351 $325 a month | 51st of 351, with limits $264 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 requirement | 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 | Not ranked: misses a requirement |
Key features
| Feature | Cloudflare Sandbox | exe.dev | boat |
|---|---|---|---|
| Isolation | Firecracker microVM per container, own kernel and network | KVM VM with Cloud Hypervisor; you cannot choose the kernel | Full VM with its own kernel, on a physical host dedicated to boat (AMD Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared |
| Files between sessions | Disk is fresh after sleep; keep files with snapshots (public beta, 30 days), scheduled automatic saves, R2 backups or a mounted R2 bucket | Disk persists and is replicated across the regional cluster; on-demand backups to your own S3 bucket (preview) | Disk saved every minute and at each stop, with no code; kept at least 14 days after a stop, longer as a saved snapshot; memory is not saved |
| Largest machine | 4 vCPU / 12 GiB / 20 GB disk | Pools up to 16 vCPU on Personal; above 32 vCPU on Work with support approval | 16 vCPU / 32 GB / 251 GB disk (needs the $100 plan or higher) |
| Fork | Snapshot or back up a running sandbox, then start new sandboxes from it; no one-call fork | cp copies a VM's disk and config into a new VM | Fork a running sandbox in one call, without stopping it; the fork uses the last 1-minute snapshot |
| Docker inside | docker:dind with iptables and IP forwarding turned off | Docker with root and systemd | Docker with BuildKit and Compose, root and systemd |
| Nested virtualization | Not documented | Off by default; available on request from support | Yes, /dev/kvm on every sandbox |
| Desktop and computer use | Built-in desktop removed in SDK 0.10.2; build one into your own image, or use the separate Browser Run service for headless browsers | No built-in desktop; install a desktop and VNC yourself; Shelley's browser tool screenshots a headless Chromium | 1920x1080, 60 fps desktop and Chrome, computer tools, embeddable stream; no GPU |
| Inbound traffic | HTTP and WebSocket previews routed through your Worker; SSH; no raw TCP inbound or public IP | HTTPS proxy for ports 3000 to 9999, one of them public; SSH; no public IP or raw TCP | Up to 50 HTTPS URLs, token-gated by default; SSH; raw ports over public IPv6 (some sandboxes have no IPv4 of their own) |
| Egress control | allowedHosts deny-by-default list plus outbound handlers you write in Worker code | Open by default; an egress policy can block everything but attached integrations | No provider-side allowlist |
| Keeping keys out of the sandbox | Your outbound handler adds the token for any HTTP or HTTPS host; you write the code | Integrations inject secrets at the network edge for any HTTP host, S3, GitHub and more | Optional paid proxy ($1 a day while on, plus $1 per 1,000 requests) for model providers and HTTPS APIs you register |
| Coding agents | Guides for Claude Code, Codex, OpenCode and Pi in your image, plus integrations | Claude Code, Codex, Pi and Shelley installed; prompt Shelley by API, run other agents through the exec API | Seven installed (Claude Code, Codex, pi, OpenCode and more), with a prompt, steer and events API |
| Custom images | Any linux/amd64 container image | Boot from your own Docker image | No; start from boat's Ubuntu 24.04 image or a saved snapshot |
| Idle behavior | Stops after inactivity and wakes on the next request | Runs until you stop it; pools bill whether busy or idle | Auto-stop 1 h after create or resume by default (up to 30 days, or off on paid plans); full rate while running |
| Regions | Several regions across Cloudflare's network; pin to a region or jurisdiction | 9 regions in the US, Europe, Asia and Australia | Germany, Finland and France; no US or Asia region; you cannot pick one |
Every feature Battleships tracks (43)
| Feature | Cloudflare Sandbox | exe.dev | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | No documented way | With your own setup | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Yes | Yes |
| Desktop GUI | No documented way | No documented way | Yes |
| Browser | With your own setup | Yes | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | With your own setup | Yes | Yes |
| Pause/resume | No documented way | Yes | Yes |
| Automatic snapshots | With your own setup | No documented way | Yes |
| Fork/clone | With your own setup | Yes | Yes |
| Live fork (no pause) | With your own setup | Yes | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | Yes | No documented way | No documented way |
| Wake on request | Yes | No documented way | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | With your own setup | No documented way |
| Secret proxy | Yes | Yes | Yes |
| Secret proxy for any API | Yes | Yes | Yes |
| Preinstalled agents | Yes | Yes | Yes |
| Agent harness API | With your own setup | Yes | Yes |
| MCP server | No documented way | Yes | No documented way |
| GPU | No documented way | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | No documented way | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | Yes | No documented way |
| Open source | Yes | No documented way | No documented way |
| Scoped API keys | Not published | Yes | Yes |
| Spend limits | No documented way | Not published | Yes |
| Usage per sandbox (API) | Not published | Yes | Yes |
| Audit logs | Yes | Not published | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | No documented way | No documented way |
| HIPAA | Yes | No documented way | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Cloudflare Sandbox nor exe.dev is in StarSling's run of 3 October 2026 (run 37073680030), so we cannot say which has faster CPU. In that run boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15, on an AMD Ryzen 9 9950X host. boat also places some sandboxes on other hosts. ComputeSDK measured a 671 ms median start for Cloudflare with 100 at once (2026-11-06, default size). exe.dev 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. Cloudflare Sandbox and exe.dev 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.
| Scenario | Cloudflare Sandbox, a month | exe.dev, a month | boat, 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 | $39 · Workers Paid | $35 · Personal | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $148 · Workers Paid | $35 · Personal | $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 | $1,660 · Workers Paid | $1,848 · Personal | $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 | $476 · Workers Paid | $530 · Personal · 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 | $1,889 · Workers Paid · with limits | $1,050 · Personal · with limits | $8,800 · $2000/mo · with limits |
Cloudflare Sandbox: You need Workers Paid ($5 a month minimum). CPU is billed only while busy, at $0.072 per vCPU-hour. Memory and disk are billed on the instance size in 10 ms steps until the container sleeps. 4 vCPU always comes with 12 GiB. Snapshot pricing is not published.
exe.dev: Pools are reserved capacity that your VMs share, and they bill the same whether busy or idle. Personal is a flat fee, $15 to $155 a month for 2 to 16 vCPU; the 4 vCPU / 8 GiB pool is $35. Standalone VMs bill per second at $0.105 per 2 vCPU / 4 GiB per hour, and a stopped one still keeps its disk.
exe.dev: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A default 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs, busy or idle. The $20 plan includes 12 starts a minute, 60 an hour and 200 a day; extra starts cost $0.03 to $0.07. A stopped sandbox has no compute charge and keeps its disk at least 14 days. Saved snapshots above the included count ($0.056 a day each) and the AI proxy, if on, still bill while stopped.
Limits in those scenarios
Cloudflare tops out at 20 GB of disk and keeps files between days only through snapshots, automatic saves or R2 that your code sets up. Its account runs 1,500 vCPU at once by default, short of the 2,000 vCPU the 1,000-job burst needs, though Cloudflare raises it on request. exe.dev Personal stops at 50 VMs in total, so the 300-at-once and 1,000-at-once scenarios do not fit there. boat does not fit the burst as is: the $2,000 plan includes 90 starts a minute and 600 an hour, charges $0.03 to $0.07 for extra starts, and refuses starts above 270 a minute.
| Scenario | Cloudflare Sandbox | exe.dev | boat |
|---|---|---|---|
| One coding agent, workdays | None for this scenario |
| None for this scenario |
| One agent that never stops | None for this scenario |
| None for this scenario |
| 50 agents in parallel | None for this scenario | None for this scenario | None for this scenario |
| Sandboxes for your users | None for this scenario |
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Cloudflare Sandbox when
your app already runs on Workers and you want short sandboxes that sleep when idle, wake on the next request and follow egress rules you write.
- Sleeps when idle, wakes on request. Useful for many short, spiky sessions: a sandbox sleeps when idle, wakes on the next request, and bills CPU only while busy.
- Egress rules you can program. Cloudflare can block every host except the ones you list, and run your own code on each outbound request.
- Next to the rest of Workers. If your app already runs on Workers, sandboxes sit next to Durable Objects and R2, in a region you can pick.
Use exe.dev when
you want a VM that keeps its disk and runs until you stop it, in a region outside Europe or booted from your own Docker image.
- A VM that keeps running. Useful for a dev box or a long agent: each VM keeps its disk and runs until you stop it.
- Regions around the world. Useful if your users are far from Europe: exe.dev runs in nine regions across the US, Europe, Asia and Australia.
- Team controls and an MCP server. Its Work plan covers a whole team with SSO and roles, and it serves an MCP server for controlling VMs.
Where boat fits
Cloudflare suits short sandboxes that sleep, and exe.dev suits VMs that stay up. If your agents work for hours on builds, Docker, emulators and UIs, boat gives them a full VM that keeps its files with no code, a built-in desktop and a disk snapshot every minute. boat runs only in the EU and bills a running sandbox at full rate, busy or idle.
State saved every minute
On Cloudflare your code saves snapshots, automatic saves or R2 to keep files across sleep. exe.dev keeps the disk and offers on-demand backups to your own S3 bucket, in preview. boat saves the disk every minute and at each stop, and forks running sandboxes. Memory is not saved.
A screen and a full machine
Neither ships a built-in desktop: on Cloudflare you build one into your image, and on exe.dev you install a desktop and VNC. Cloudflare runs Docker with iptables off, and exe.dev gives /dev/kvm on request. boat has a 60 fps desktop, Docker and /dev/kvm on every sandbox.
Agents driven from outside
On Cloudflare you bake each agent into your image and write the outbound code that adds every token. On exe.dev you prompt Shelley by API and run other agents through the exec API. boat lets you prompt, steer and stream seven built-in agents.
Use boat when your agents do real work for hours: builds, tests, full Docker, emulators and a desktop, with the disk saved every minute and one API to drive the agents inside. Compare it one to one: boat vs Cloudflare Sandbox and boat vs exe.dev.
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 Cloudflare Sandbox cheaper than exe.dev?
It depends on the shape. For one agent that never stops, exe.dev's flat pool is $35 a month against $148 on Cloudflare. For 30,000 ten-minute user sandboxes Cloudflare is $476 and fits, while exe.dev Personal is $530 and stops at 50 VMs. boat costs $26 and $200 for those two, and is lower than both in four of our five scenarios. For 1,000 short jobs at once boat costs more, $8,800, because it bills extra starts.
Which is faster?
Neither Cloudflare Sandbox nor exe.dev is in StarSling's run of 3 October 2026, so we cannot say. In that run boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, on an AMD Ryzen 9 9950X host. boat also places some sandboxes on other hosts.
Does Cloudflare Sandbox keep my files like exe.dev?
Not on its own. A Cloudflare sandbox starts from a fresh disk after it sleeps. Your code keeps files with a snapshot (public beta, kept 30 days), scheduled automatic saves, an R2 backup or a mounted R2 bucket. exe.dev keeps each VM's disk with no code. boat saves the disk every minute and at each stop, and keeps it at least 14 days after a stop.
Can Cloudflare Sandbox and exe.dev run Docker?
Yes, both. Cloudflare supports docker:dind with iptables and IP forwarding turned off, because containers cannot change iptables. exe.dev VMs run Docker with root and systemd. boat runs Docker with BuildKit and Compose.
Do either of them have a desktop for computer use?
Not built in. On Cloudflare you build a desktop into your own image, or use Browser Run for headless browsers. On exe.dev you install a desktop and VNC yourself, and Shelley's browser tool drives a headless Chromium. boat gives every sandbox a built-in 60 fps desktop with Chrome and computer tools.
Where do they run?
Cloudflare places containers in several regions of its network and lets you pin one. exe.dev has nine regions in the US, Europe, Asia and Australia. boat runs on machines in Germany, Finland and France, and you cannot pick a region.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Cloudflare Sandbox
- boat vs exe.dev
- E2B vs Cloudflare Sandbox
- Daytona vs Cloudflare Sandbox
- Modal vs Cloudflare Sandbox
- Vercel Sandbox vs Cloudflare Sandbox
- Cloudflare Sandbox vs Blaxel
- Cloudflare Sandbox vs Runloop
- Cloudflare Sandbox vs Tensorlake
- Cloudflare Sandbox vs Morph Cloud
- Cloudflare Sandbox vs CodeSandbox SDK
- Cloudflare Sandbox vs Northflank