E2B vs Deno Sandbox

Both run code in Firecracker microVMs. E2B gives each sandbox up to 8 vCPU and runs of up to 24 hours on Pro that it can pause with memory. Deno Sandbox runs short, locked-down 2 vCPU jobs that Deno says start in under 200 ms and end after 30 minutes. Deno Sandbox is not available to new customers since November 2026.

The companies and products

E2B

E2B calls itself the AI agent cloud: an API that gives each agent session its own isolated Linux machine.

Every E2B sandbox is a Firecracker microVM that boots from a snapshot, so it starts fast and can be paused and resumed with its memory. You build custom sandboxes from templates based on a Docker image, and drive them from Python or JavaScript SDKs. It is built for teams that run many short code, data or agent jobs. Its runtime is open source, and E2B Embed runs it on your own infrastructure.

Deno Sandbox

Deno Sandbox comes from the company behind the Deno runtime and runs untrusted or AI-generated code in Linux microVMs. Since November 2026 it is not part of Deno Deploy plans and is not available to new customers.

Each sandbox is a Firecracker microVM with 2 vCPU, 768 MB to 4 GB of memory and a 10 GB disk that is wiped when it ends, created from a TypeScript or Python SDK. A bootable volume (Chicago only) can be the root disk and keep its files. Deno Deploy can limit outbound traffic to a host allowlist and swap placeholder secrets for real ones. A sandbox can be promoted to a Deno Deploy app.

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. “20th cheapest of 365” means 19 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 workloadE2B: price rankDeno Sandbox: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
E2B fits a software factory (20th) with runs of up to 24 hours on Pro. A Deno sandbox lives up to 30 minutes on 2 vCPU, and Deno does not document Docker inside it. boat ranks 5th and adds /dev/kvm.
20th cheapest of 365
$4,143 a month
No published price5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An assistant that lives on its machine all month outlasts both: E2B Pro needs a pause and resume every 24 hours, and a Deno sandbox ends after 30 minutes; a bootable volume in Chicago can keep its files for the next one. boat fits with auto-stop off.
82nd of 361, with limits
$5,348 a month
No published price6th cheapest of 361
$657 a month
Code interpreter bursts
100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month
Both suit short code runs: E2B pauses with memory and wakes on the next request, and Deno says a sandbox starts in under 200 ms. Deno Sandbox is closed to new customers, so it has no rank here.
43rd cheapest of 336
$421 a month
No published price189th 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
E2B's Pro+ plan allows 600 sandboxes at once ($1,395 a month for 300 users). Deno Sandbox is closed to new customers; existing organizations get 5 at once by default. boat ranks 3rd at $209.
33rd cheapest of 349
$2,354 a month
No published price3rd 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
E2B ranks 5th: its memory forks and high start rate suit many short rollouts from one state. Deno boots new sandboxes from read-only volume snapshots, with no fork of a running sandbox.
5th cheapest of 349
$9,384 a month
No published price39th 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
87th cheapest of 359
$1,975 a month
No published price10th cheapest of 359
$200 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 nested virtualization. E2B's docs list it as not supported, and Deno does not document Docker or /dev/kvm. boat ranks 2nd with both.
338th of 374, with limits
$1,429 a month
No published price2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A dev box that stays on all month needs no lifetime cap and a disk that persists. On boat, turn off auto-stop (default 1 hour) on a paid plan; the disk is saved every minute and its IP changes at each resume.
208th of 371, with limits
$358 a month
No published price19th cheapest of 371
$26 a month
Computer-use agents
50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month
E2B ships a Linux desktop sandbox for computer use. Deno documents no desktop; you install one with apt-get in a bootable volume, within 2 vCPU and 4 GB. boat streams its desktop at 60 fps with Chrome.
34th cheapest of 367
$1,342 a month
No published price7th cheapest of 367
$200 a month
Browser-use agents
50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month
126th of 356, with limits
$746 a month
No published price7th 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
62nd cheapest of 343
$554 a month
No published price6th 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
226th of 327, with limits
$9,223 a month
No published price73rd 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
17th cheapest of 351
$1,043 a month
No published price3rd 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 requirementNo published priceNot 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 requirementNo published priceNot ranked: misses a requirement

Key features

FeatureE2BDeno Sandboxboat
IsolationFirecracker microVM with its own kernelFirecracker microVM with its own kernelFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); shared vCPUs
Machine size1 to 8 vCPU and up to 8 GiB RAM self-serve; 20 GiB disk on Pro2 vCPU (no CPU option documented), 768 MB to 4 GB memory, 10 GB disk2 to 16 vCPU and 4 to 32 GB, with 51 to 251 GB of disk; 16 vCPU needs the $100 plan or higher
Session lengthOne run: up to 1 hour on Hobby, 24 hours on Pro; pausing resets the clockUp to 30 minutes; longer work can be promoted to a Deno Deploy appNo cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days
Files after a runPause saves memory and disk; resume takes about 1 second with processes still runningDefault root disk is wiped at the end; a bootable volume (300 MB to 20 GB, Chicago only) can be the root disk and keeps its filesDisk saved every minute and at each stop, kept at least 14 days; resume is like a reboot
ForkFork a running sandbox with its memory, up to 20 copies per callRead-only volume snapshots that many new sandboxes boot from (Chicago only); no fork of a running sandboxFork a running sandbox from its last 1-minute disk snapshot
Wake on requestYes, when you turn it on: a paused sandbox resumes on the next HTTP request or SDK callNoNo; a stopped sandbox is started by API, CLI or dashboard
Docker and nested virtualizationDocker inside; docs list nested-virtualization runtimes as not supportedRoot access; Docker and nested virtualization not documentedDocker with BuildKit and Compose, systemd and /dev/kvm for Android emulators and VMs
Desktop and computer useE2B Desktop sandbox with VNC streamingNo desktop documented; a VS Code editor in the browser and SSH; you can install a browser with apt-get1920x1080, 60 fps desktop with Chrome and computer-use tools
Inbound accessHTTPS URL per port, public by default unless you turn on a tokenHTTPS URL per exposed port, public without authentication; SSHUp to 50 HTTPS URLs, token-gated by default; SSH; public IPv6; raw ports over IPv6 on sandboxes with no IPv4 of their own
Outbound rulesAllow and deny lists by IP, CIDR or domainHost allowlist per sandbox, enforced by Deno Deploy outside the VMOpen internet; no provider-side allowlist, so you set firewall rules inside the VM
Keeping API keys out of the sandboxSecrets injected into outbound HTTPS headers (private beta)Any secret swapped in on requests to approved hosts; the sandbox only sees a placeholderOptional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and HTTPS APIs you register
Coding agentsTemplates and guides for many agents; you run them through the command APIA root image with Claude Code, run through the shell command APISeven harnesses installed, with a prompt, steer and events API
CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)11.08 runs/s, rank 7 of 15 (shared)Not in this run28.06 runs/s, second of 15 (shared rank 2), on a Ryzen 9 9950X host
Regions and availabilityUS by default, EU and APAC enabled by support; open-source runtime; self-serve sign-upAmsterdam and Chicago; closed to new customers since November 2026Germany, Finland and France; no US or Asia region; self-serve plans from $20 a month
Every feature Battleships tracks (43)
FeatureE2BDeno Sandboxboat
Full VM (own kernel)YesYesYes
Docker insideYesNot publishedYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesYesYes
SystemdYesNot publishedYes
Desktop GUIYesNo documented wayYes
BrowserYesNo documented wayYes
Computer-use APIYesNo documented wayYes
SSHYesYesYes
Persistent diskYesYesYes
Pause/resumeYesNo documented wayYes
Automatic snapshotsYesNo documented wayYes
Fork/cloneYesNo documented wayYes
Live fork (no pause)YesNo documented wayYes
Memory forkYesNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesNo documented wayYes
Idle auto-stopYesNo documented wayNo documented way
Wake on requestYesNo documented wayNo 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 APINo documented wayNo documented wayYes
MCP serverYesNo documented wayNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingYesNo documented wayNo documented way
BYOCYesNo documented wayNo documented way
Open sourceYesNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesYesYes
Usage per sandbox (API)No documented wayNo documented wayYes
Audit logsNot publishedNot publishedNo documented way
SSONo documented wayNo documented wayNo documented way
SOC 2YesNot publishedNo documented way
HIPAAYesNot publishedNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

E2B11.08 runs/s
Deno SandboxNot measured
boat28.06 runs/s

In StarSling's run of 3 October 2026 (run 37073680030), the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, boat did 28.06 runs/s (second of 15) and E2B did 11.08 (rank 7, shared), about 2.5x. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host; boat also places sandboxes on Ryzen 7 9700X hosts, which this run did not measure. Providers ran on different hardware in different regions. Deno Sandbox is not in the public benchmarks we use, so we cannot say how it compares. Deno says a sandbox starts in under 200 ms.

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. Deno 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.

ScenarioE2B, a monthDeno Sandbox, 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
$202 · ProNo published price$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$368 · Pro · with limitsNo published price$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
$2,773 · ProNo published price$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
$1,395 · Pro+ (600 concurrent)No published price$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
$2,797 · Pro++ (1,100 concurrent)No published price$8,800 · $2000/mo · with limits

E2B: E2B bills per second for the vCPU and RAM you set, idle time included, until you pause or kill the sandbox: $0.33 an hour for 4 vCPU / 8 GiB. A paused sandbox costs nothing. Hobby costs $0 with a one-time $100 credit. Pro costs $150 a month for higher limits, with no usage credit.

Deno Sandbox: Deno Sandbox is no longer included in Deno Deploy plans and is not available to new customers (November 2026). Deno publishes no current sandbox rates, so it has no price in our scenarios.

Deno Sandbox: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. Included 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, and boat keeps its disk for at least 14 days. Saved snapshots above the included count and the optional AI credentials proxy still charge while sandboxes are stopped. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07. A card is required, also for the 7-day trial.

Limits in those scenarios

Deno Sandbox is closed to new customers since November 2026 and publishes no current rates, so it has no price in our scenarios. For existing organizations, a sandbox lives up to 30 minutes on 2 vCPU with up to 4 GB of memory, and 5 run at once by default. E2B fits four of the five scenarios; its 24-hour cap per run on Pro needs a daily pause for the agent that never stops, and Pro includes 20 GiB of disk. boat fits four of the five too. For 1,000 short jobs at once, the $2,000 plan includes 2,400 starts a day, charges for starts above 90 a minute and refuses them above 270 with 429; E2B Pro++ fits and queues bursts above 300 starts a minute.

ScenarioE2BDeno Sandboxboat
One coding agent, workdays
  • disk beyond 20 GiB: price unknown
  • egress price not published
  • discontinued / closed to new customers
None for this scenario
One agent that never stops
  • Pro: sessions capped at 24 h
  • disk beyond 20 GiB: price unknown
  • egress price not published
  • discontinued / closed to new customers
None for this scenario
50 agents in parallel
  • egress price not published
  • discontinued / closed to new customers
None for this scenario
Sandboxes for your users
  • egress price not published
  • discontinued / closed to new customers
None for this scenario
1,000 short jobs at once
  • egress price not published
  • bursts above 300 starts/min are queued (a burst of 333 takes ~2 min to start)
  • discontinued / closed to new customers
  • 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 E2B when

you run many short or medium jobs that pause between requests, fork from the same state, or need more than 2 vCPU and more than 30 minutes.

  • Memory pause, fork and wake on request. For jobs that sleep between requests: a paused sandbox resumes in about a second with its processes still running.
  • Bigger machines and longer runs. For builds and agent tasks past 30 minutes: up to 8 vCPU, 8 GiB and runs of up to 24 hours on Pro.
  • Open to new customers, more regions. E2B takes new sign-ups, its runtime is Apache-2.0, and it runs in the US, EU and APAC.

Use Deno Sandbox when

Use Deno Sandbox if your organization already has it and you run short pieces of untrusted code that must start fast and reach only the hosts you allow. New customers cannot sign up since November 2026.

  • Fast starts. For short bursts of code: Deno says a sandbox starts in under 200 ms.
  • Locked-down outbound traffic. For untrusted code: each sandbox reaches only the hosts you allow, and real secrets never enter the VM.
  • A path to Deno Deploy. For teams that already have it: a sandbox can be promoted to a Deno Deploy app.

Where boat fits

If your agents do real work for hours, both E2B and Deno Sandbox make you work around their run limits, and Deno Sandbox takes no new customers. boat gives each agent a full VM with no session cap once auto-stop is off, a disk saved every minute, Docker and /dev/kvm, and coding agents you drive from outside.

Long runs with a disk that stays

E2B Pro stops one run at 24 hours unless your code pauses and resumes it. A Deno sandbox ends after 30 minutes, and only a bootable volume in Chicago keeps its files. boat saves the disk every minute and keeps a stopped disk at least 14 days.

A fuller machine

E2B's docs list nested virtualization as not supported, and Deno does not document Docker. Deno is fixed at 2 vCPU and 4 GB. In StarSling's run of 3 October 2026, boat did 28.06 V8 Web Tooling runs/s on a Ryzen 9 9950X host, and E2B 11.08.

Agents and a desktop built in

On E2B and Deno you run Claude Code through a command API and parse its output yourself. boat ships seven agents with a prompt, steer and events API, plus a 60 fps desktop with Chrome.

Use boat when your agents do hours of installs, builds, tests, Docker, emulators and a browser on a full VM whose disk is saved every minute. Compare it one to one: boat vs E2B and boat vs Deno Sandbox.

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 E2B cheaper than Deno Sandbox?

We cannot compare today. Deno Sandbox is closed to new customers since November 2026 and Deno publishes no current sandbox rates. E2B costs $0.33 an hour for 4 vCPU / 8 GiB, and a default boat sandbox costs $0.036 an hour from the $20 plan.

Which is faster, E2B or Deno Sandbox?

For CPU work we cannot say, because Deno Sandbox is not in the benchmark. E2B did 11.08 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, and boat did 28.06. For start time, Deno says a sandbox starts in under 200 ms.

How long can each sandbox run?

One E2B run lasts up to 1 hour on Hobby and 24 hours on Pro; pausing and resuming resets the clock. A Deno sandbox lives up to 30 minutes, and longer work can be promoted to a Deno Deploy app. boat has no session cap once auto-stop is off on a paid plan (the default is 1 hour).

Can E2B or Deno Sandbox run Docker?

E2B runs Docker inside the sandbox; its docs list nested virtualization as not supported. Deno's docs do not mention Docker or nested virtualization. boat runs Docker and systemd and exposes /dev/kvm for Android emulators and VMs.

Do they keep files between runs?

E2B can pause a sandbox with its memory and disk and resume it in about a second. A Deno sandbox wipes its default root disk when it ends; a bootable volume in Chicago can be the root disk and keep its files. boat saves the disk every minute and at each stop, and keeps a stopped disk at least 14 days. If a boat machine fails, writes after the last good snapshot are lost.

Is boat SOC 2 compliant?

SOC 2 is in progress; boat has no SOC 2 report today. E2B has a SOC 2 Type II report. Live status is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons