Cloudflare Sandbox vs Blaxel

Both run each sandbox in a Firecracker microVM with its own kernel, and both sleep when idle. A Cloudflare sandbox comes back from sleep with a fresh disk, and your code keeps files through snapshots, automatic saves or R2. A Blaxel sandbox comes back in under 25 ms with its memory and running processes in place.

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.

Blaxel

Blaxel is a San Francisco company that runs cloud infrastructure for AI agents. Since September 2026 it is part of Baseten.

You get sandboxes, batch jobs, MCP server hosting and a model gateway. Each sandbox is a Firecracker microVM with its own kernel. It goes to standby when nothing is connected and resumes in under 25 ms with its memory and running processes. It is built for agent products that start many sandboxes and keep them asleep most of the time.

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 workloadCloudflare Sandbox: price rankBlaxel: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Long agent sessions need files that stay. Blaxel keeps memory and files in standby. On Cloudflare your code keeps files with snapshots, automatic saves or R2. boat saves a disk with no code and adds /dev/kvm.
192nd of 365, with limits
$1,543 a month
15th cheapest of 365
$2,373 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
43rd cheapest of 361
$2,188 a month
17th cheapest of 361
$2,832 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
Short code-interpreter calls suit both: Cloudflare bills CPU only while busy, and Blaxel sleeps seconds after the last connection. A running boat sandbox bills at full rate, busy or idle, and each plan includes a set number of starts.
17th cheapest of 336
$144 a month
18th cheapest of 336
$144 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
Cloudflare fits 300 user sandboxes at once on Workers Paid. Blaxel's self-serve tiers stop at 200 at once, sleeping ones included. boat fits it on the $100 plan with 2 seats, with start limits per plan.
19th cheapest of 349
$731 a month
105th of 349, with limits
$926 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
82nd of 349, with limits
$4,378 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
Cloudflare runs many eval sandboxes at once within its 1,500 vCPU account limit, higher on request. Blaxel's self-serve tiers cap them at 200, sleeping ones included.
60th cheapest of 359
$818 a month
140th of 359, with limits
$704 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 disk and Docker. Cloudflare has 20 GB of disk at most and turns off iptables. Blaxel has a Docker-in-sandbox image. boat gives a full VM with Docker and BuildKit.
303rd of 374, with limits
$704 a month
55th cheapest of 374
$431 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. On Cloudflare your code keeps them. On Blaxel you set up SSH yourself with Tailscale. boat is a VM you SSH into, and a stopped sandbox has no compute charge.
123rd cheapest of 371
$93 a month
125th cheapest of 371
$114 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
Blaxel offers a desktop image with VNC. Cloudflare removed its built-in desktop; you build one into your image. boat streams a built-in 60 fps desktop with computer tools for agents.
207th of 367, with limits
$460 a month
17th cheapest of 367
$634 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
16th cheapest of 356
$317 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
19th cheapest of 343
$215 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
143rd of 327, with limits
$4,292 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
Blaxel has provider-side egress rules by domain, method and path (public preview). boat gives root, raw ports over IPv6 and /dev/kvm. Cloudflare containers cannot change iptables or take raw TCP from outside.
25th cheapest of 351
$325 a month
5th cheapest of 351
$217 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 requirementNot 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 requirementNot ranked: misses a requirement

Key features

FeatureCloudflare SandboxBlaxelboat
IsolationFirecracker microVM per container, own kernel and networkFirecracker microVM per sandbox, own kernelFull VM with its own kernel, on a physical host dedicated to boat (AMD Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared
Largest machine4 vCPU / 12 GiB / 20 GB diskSized by RAM, CPU included (8 GB comes with 4 cores); writable files in RAM unless you attach a volume16 vCPU / 32 GB / 251 GB disk (needs the $100 plan or higher)
Sleep and wakeStops after inactivity and wakes on the next request, with a fresh diskStandby seconds after the last connection, wakes in under 25 ms with memory and processesAuto-stop timer (default 1 hour), not idle detection; stop keeps the disk, and resume boots the VM again
Files between sessionsDisk is fresh after sleep; keep files with snapshots (public beta, 30 days), scheduled automatic saves, R2 backups or a mounted R2 bucketFiles live in RAM (about half of it) and stay in standby; one block volume at creation, or Agent Drive (private preview)51 GB disk on the default size, saved every minute and at each stop with no code; kept at least 14 days after a stop
ForkSnapshot or back up a running sandbox, then start new sandboxes from it; no one-call forkFork with memory and running processes (private preview)Fork a running sandbox in one call, from its last 1-minute disk snapshot
Docker insidedocker:dind with iptables and IP forwarding turned offYes, with a Docker-in-sandbox imageDocker with BuildKit and Compose, root and systemd
Nested virtualizationNot documentedNot documented; upstream Firecracker does not give guests /dev/kvmYes, /dev/kvm (Android emulators, VMs)
Desktop and browserBuilt-in desktop removed in SDK 0.10.2; headless browsers through the separate Browser Run serviceDesktop image with VNC1920x1080, 60 fps desktop and Chrome, computer tools, embeddable stream
Inbound trafficHTTP and WebSocket previews routed through your Worker; SSH; no raw TCP inbound or public IPPreview URL per port, public or token-protected; SSH through Tailscale (tutorial); no public inbound IPUp to 50 HTTPS URLs, token-gated by default; SSH; raw ports over public IPv6
Outbound rulesallowedHosts deny-by-default list plus outbound handlers you write in Worker codeDomain allow and deny lists with method and path rules (public preview); dedicated egress IPs (free during beta)Open internet; filter inside the VM with nftables; the IP changes at each resume
Keeping keys out of the sandboxYour outbound handler adds the token for any HTTP or HTTPS host; you write the codeProxy fills secrets into outbound HTTPS requests to any host (public preview)Optional paid proxy ($1 a day while on, plus $1 per 1,000 requests) for model providers and custom HTTPS APIs; other secrets enter the sandbox
Coding agentsGuides for Claude Code, Codex, OpenCode and Pi in your imageClaude Code and Codex images you drive from their terminal or your own harnessSeven installed (Claude Code, Codex, OpenCode, pi and more), with a prompt, steer and events API
Sandboxes at onceAccount limit of 1,500 vCPU running at once, higher on request10, 50 or 200 on self-serve tiers, sleeping ones included100 to 2,000 at once by plan; starts per minute are limited (270 at most on $2,000)
RegionsSeveral regions across Cloudflare's network; pin to a region or jurisdictionUS (Oregon, North Virginia), London, FrankfurtGermany, Finland and France; no US or Asia region; you cannot pick one
Every feature Battleships tracks (43)
FeatureCloudflare SandboxBlaxelboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesYesYes
SystemdNot publishedNo documented wayYes
Desktop GUINo documented wayYesYes
BrowserWith your own setupYesYes
Computer-use APINo documented wayYesYes
SSHYesWith your own setupYes
Persistent diskWith your own setupYesYes
Pause/resumeNo documented wayYesYes
Automatic snapshotsWith your own setupYesYes
Fork/cloneWith your own setupYesYes
Live fork (no pause)With your own setupYesYes
Memory forkNo documented wayYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestYesYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayNo documented wayYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyYesYesYes
Secret proxy for any APIYesYesYes
Preinstalled agentsYesYesYes
Agent harness APIWith your own setupNo documented wayYes
MCP serverNo documented wayYesNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayYesNo documented way
Open sourceYesNo documented wayNo documented way
Scoped API keysNot publishedYesYes
Spend limitsNo documented wayNo documented wayYes
Usage per sandbox (API)Not publishedYesYes
Audit logsYesNot publishedNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedYesYes

Performance

Cloudflare SandboxNot measured
Blaxel18.03 runs/s
boat28.06 runs/s

In StarSling's run of 3 October 2026 (run 37073680030), on the V8 Web Tooling Benchmark at 4 vCPU and 8 GB, boat did 28.06 runs/s (second of 15) and Blaxel 18.03 (rank 7, shared). 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 is not in that run, so we cannot compare its CPU. ComputeSDK measured median starts with 100 at once (2026-11-06, default sizes): 364 ms for Blaxel and 671 ms for Cloudflare. boat is not in ComputeSDK. Providers ran on different hardware in different regions.

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. Blaxel measured on: Sandbox (active time, RAM-only pricing, CPU bundled). 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 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.

ScenarioCloudflare Sandbox, a monthBlaxel, a monthboat, 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$33 · Pay-as-you-go Tier 1$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$148 · Workers Paid$120 · Pay-as-you-go Tier 1$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,489 · Pay-as-you-go Tier 1$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$396 · Pay-as-you-go Tier 2 · 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$876 · Pay-as-you-go Tier 2 · 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 until the container sleeps, and 4 vCPU always comes with 12 GiB. Snapshot pricing is not published.

Blaxel: Blaxel charges $0.0000115 per GB of allocated RAM per active second, with CPU included: 8 GB comes with 4 cores, about $0.33 an hour. Active means a connection is open. In standby you pay only snapshot storage ($0.20 per GB-month), and volumes cost $0.12 per GB-month on their full size.

Blaxel: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. 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 included count and the AI proxy, if on, still bill. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07.

Limits in those scenarios

Cloudflare's local disk tops out at 20 GB and resets after sleep, so the scenarios that keep 50 GB of files between days need your own snapshot, automatic-save or R2 code, and its 1,500 vCPU account limit is short of the 2,000 vCPU the 1,000-job burst needs unless Cloudflare raises it. Blaxel's Tier 2 allows 200 sandboxes at once, sleeping ones included, so 300 user sandboxes and 1,000 jobs at once need a sales tier; Tier 0 and Tier 1 delete sandboxes after up to 7 or 30 days. On boat, the $2,000 plan includes 90 starts a minute, extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429, so boat does not fit 1,000 jobs at once.

ScenarioCloudflare SandboxBlaxelboat
One coding agent, workdaysNone for this scenarioNone for this scenarioNone for this scenario
One agent that never stopsNone for this scenarioNone for this scenarioNone for this scenario
50 agents in parallelNone for this scenarioNone for this scenarioNone for this scenario
Sandboxes for your usersNone for this scenario
  • Pay-as-you-go Tier 2: max 200 concurrent
None for this scenario
1,000 short jobs at once
  • Workers Paid: max 1,500 vCPU running at once (needs 2,000)
  • Pay-as-you-go Tier 2: max 200 concurrent
  • 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

Which one should you use?

Use Cloudflare Sandbox when

your app already runs on Workers and you want many short sandboxes that sleep when idle, bill CPU only while busy, and follow egress rules written in your own code.

  • Close to your Workers app. If your app already runs on Workers, sandboxes sit next to Durable Objects and R2, in a region you can pick.
  • Egress rules written as code. An outbound handler in your Worker can inspect and change every HTTP request a sandbox makes.
  • Room for many at once. Concurrency is an account limit of 1,500 vCPU, not a sandbox count, so many small sandboxes fit.

Use Blaxel when

your sandboxes sit idle most of the time and must wake in milliseconds with their memory, must run in the US, or need SOC 2 Type II or a HIPAA BAA today.

  • Wakes with its memory. Useful if sandboxes sit idle most of the time: they wake in under 25 ms with memory and processes intact.
  • Compliance and US regions. Blaxel holds compliance reports, sells a BAA, and runs in Oregon and North Virginia as well as London and Frankfurt.
  • Forks and egress IPs. Blaxel can fork a sandbox with its memory (private preview) and give it dedicated egress IPs and domain rules.

Where boat fits

Cloudflare and Blaxel both suit sandboxes that sleep most of the time. If your agents work for hours on builds, tests, Docker and emulators, boat gives each one a whole Linux machine with a disk saved with no code, and agents installed.

A disk kept with no code

On Cloudflare your code keeps files with snapshots, automatic saves or R2. Blaxel keeps files in RAM, about half of it, unless you attach a volume. boat saves a 51 GB disk every minute and at each stop. A resume is like a reboot.

A whole Linux machine

Neither documents /dev/kvm, so an Android emulator or a VM is not a supported path. Cloudflare runs Docker with iptables turned off, and on Blaxel you set up SSH with Tailscale. boat has root, systemd, Docker, SSH and /dev/kvm.

More CPU work in one public run

In StarSling's run of 3 October 2026, boat did 28.06 runs/s on a Ryzen 9 9950X host and Blaxel 18.03. Cloudflare was not in the run. boat also installs seven coding agents with one API to drive them.

Use boat when your agents do real work for hours: builds, tests, Docker, emulators and a desktop, on a machine that saves its disk with no code and comes with agents installed. Compare it one to one: boat vs Cloudflare Sandbox and boat vs Blaxel.

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 Blaxel?

In all five scenarios we priced, Blaxel's estimate is lower: $33 against $39 for one coding agent on workdays, $120 against $148 for one agent that never stops, and $1,489 against $1,660 for 50 agents in parallel. boat costs $20, $26 and $317 for those three. Cloudflare bills CPU only while busy and Blaxel only while a connection is open, so spiky workloads can pay less than these numbers.

Which is faster?

For CPU, Blaxel did 18.03 V8 Web Tooling runs/s in StarSling's run of 3 October 2026 and boat 28.06; Cloudflare was not in the run. For start time, ComputeSDK measured 364 ms for Blaxel and 671 ms for Cloudflare with 100 at once (2026-11-06).

Which one keeps my files when the sandbox sleeps?

Blaxel keeps memory, processes and files in standby, though Tier 0 and 1 delete sandboxes after up to 7 or 30 days. Cloudflare keeps files when your code saves a snapshot, schedules automatic saves, makes an R2 backup or works in a mounted R2 bucket. boat saves the disk every minute and at each stop with no code; a machine failure loses writes after the last good snapshot.

Can Cloudflare Sandbox or Blaxel run Docker?

Both can. Cloudflare supports docker:dind with iptables and IP forwarding turned off, and Blaxel has a Docker-in-sandbox image. boat runs Docker with BuildKit, root and systemd.

Can either run an Android emulator?

An Android emulator needs /dev/kvm. Blaxel does not document it, and upstream Firecracker does not give guests /dev/kvm; Cloudflare does not document nested virtualization. boat exposes /dev/kvm in every sandbox.

Where do they run?

Cloudflare places containers in several regions of its network, and you can pin a region or jurisdiction. Blaxel runs in Oregon, North Virginia, London and Frankfurt. boat runs on machines in Germany, Finland and France, with no US or Asia region.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons