E2B vs Namespace

E2B is an agent sandbox API: each job gets a Firecracker microVM that starts fast and can pause and resume with its memory. Namespace is a build and dev platform: CI runners, build caches and Devboxes on Linux, macOS and Windows, which coding agents can also use.

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.

Namespace

Namespace is a dev platform for fast builds, tests and coding environments: CI runners, build caches and Devboxes, on its own hardware.

Most of Namespace is CI: a faster drop-in for GitHub Actions runners, with Docker, Bazel, Turborepo and Nix caching. Its Devboxes are remote Linux and macOS machines with persistent storage, made for people and AI coding agents. You run Claude Code, Codex, OpenCode, Amp, Copilot or Cursor in persistent Devbox sessions, and Namespace also hosts sessions for Claude Managed Agents, Cursor Cloud Agents, Devin and Amp. It is a different kind of product from boat, so this page compares the part where they overlap: a machine an agent works on.

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 rankNamespace: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
E2B fits: one run lasts up to 24 hours on Pro. A Namespace Devbox is a compromise: it stops at 3 hours on Developer, 5 on Team and 24 on Business. boat fits too, with /dev/kvm and no session cap once auto-stop is off.
20th cheapest of 365
$4,143 a month
74th of 365, with limits
$3,745 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Both are a compromise for an assistant that never stops. E2B Pro stops one run at 24 hours, but a pause and resume resets the clock and keeps memory. A Namespace Devbox stops at its plan's limit, 24 hours at most. boat has no session cap once auto-stop is off on a paid plan.
82nd of 361, with limits
$5,348 a month
316th of 361, with limits
$6,645 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
E2B suits this: short code runs that start fast, pause with their memory and wake on the next request. Namespace is a compromise: it caps Devboxes at 50 per workspace. boat is a compromise too: each start counts against the plan's start cap.
43rd cheapest of 336
$421 a month
244th of 336, with limits
$250 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
E2B fits and can wake a paused sandbox on the next request. Namespace is a compromise because of its 50-Devbox cap per workspace. boat fits with larger full VMs, but each start counts against the plan's start cap.
33rd cheapest of 349
$2,354 a month
279th of 349, with limits
$2,068 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
E2B suits many short rollouts that branch from one state: it forks a running sandbox with its memory, up to 20 copies per call. Namespace documents no fork. boat forks from the disk only, and each fork counts as a start.
5th cheapest of 349
$9,384 a month
345th of 349, with limits
$9,012 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
87th cheapest of 359
$1,975 a month
282nd of 359, with limits
$1,093 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 runners are Namespace's main product, with caches for Docker, Bazel and more. E2B is a compromise: its docs list nested-virtualization runtimes as not supported. boat runs CI jobs on full VMs with /dev/kvm, but sells no managed runner or build cache.
338th of 374, with limits
$1,429 a month
87th cheapest of 374
$765 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
208th of 371, with limits
$358 a month
201st of 371, with limits
$250 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
E2B has a Linux desktop for computer use, streamed over VNC. Namespace's screenshot and click API works on macOS Devboxes; on a Linux Devbox you install a desktop and VNC in your image. boat streams a built-in Linux desktop with Chrome at 60 fps.
34th cheapest of 367
$1,342 a month
108th of 367, with limits
$1,032 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
126th of 356, with limits
$746 a month
191st of 356, with limits
$789 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
62nd cheapest of 343
$554 a month
191st of 343, with limits
$332 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
226th of 327, with limits
$9,223 a month
225th of 327, with limits
$9,012 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
17th cheapest of 351
$1,043 a month
112th of 351, with limits
$339 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
Only Namespace fits: it runs macOS on Apple Silicon. E2B and boat run Linux only.
Not ranked: misses a requirement6th cheapest of 35
$1,255 a month
Not ranked: misses a requirement

Key features

FeatureE2BNamespaceboat
IsolationFirecracker microVM with its own kernelLinux Devboxes run a container image on Namespace's own hardware; the docs do not say if each has its own kernel (a third-party benchmark reports Firecracker)Full VM with its own kernel on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
CPU benchmark (Node.js V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)11.08 runs/s, rank 7 of 15 (shared)24.90 runs/s, rank 2 of 15 (shared)28.06 runs/s, rank 2 of 15 (shared), on a Ryzen 9 9950X host
Price, 4 vCPU / 8 GB while running$0.33 an hour; $0 while paused; Pro ($150 a month) buys limits, not usage$0.24 an hour (1 Devbox Minute a minute at $0.004); longer sessions need Team ($100) or Business ($250)$0.036 an hour, billed per second, from a $20 monthly plan (all of it VM time for that month)
How long a session can runOne run: 1 hour on Hobby, 24 hours on Pro; pausing and resuming resets the clockDevboxes stop at 3 hours on Developer and Devbox Plus, 5 on Team, 24 on Business, even while you work; support can raise it to 24 at mostNo cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days
Pause and resumeSaves memory and disk; resumes in about 1 second with processes still running; a paused sandbox costs nothingDevboxes stop when idle and start again when you connect; compute instances can suspend with RAM keptDisk saved every minute and at each stop; resume boots the machine again, like a reboot
ForkFork a running sandbox with its memory, up to 20 copies per callNo fork documentedFork a running sandbox from its last 1-minute disk snapshot; writes from the last minute or so can be missing
Docker and nested virtualizationDocker inside; docs list nested-virtualization runtimes as not supportedDocker in Linux Devboxes; /dev/kvm on Linux compute instancesDocker, root, systemd and /dev/kvm on every sandbox
Desktop and computer useE2B Desktop sandbox with VNC streamingmacOS Devboxes: screenshot and click API and a VNC desktop; Linux Devboxes: install a desktop and VNC in your image; compute instances: VNC and RDPBuilt-in desktop and Chrome at 1920x1080 and 60 fps, with computer tools for agents and an embeddable stream
Reaching the sandboxHTTPS URL per port, public unless you turn on a token; no public IP per sandboxHTTPS URLs that need a Namespace login; TCP through a CLI port-forward; no public IPUp to 50 HTTPS URLs, token-gated by default; public IPv6; SSH over IPv4 through a shared host and port; no dedicated IPv4
Outbound rulesAllow and deny lists by IP, CIDR or domainEgress policies by domain: block, advisory or allowOpen internet, no provider-side allowlist
Keeping API keys out of the sandboxSecrets injected into outbound HTTPS headers (private beta)Egress rules inject a header from Namespace Vault, outside the workloadOptional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for model providers and HTTPS APIs; can switch a credential to another account when credits run out
Coding agentsTemplates and guides for many agents, run through the command APIYou run Claude Code, Codex, OpenCode, Amp, Copilot or Cursor in Devbox sessions; hosts Claude Managed Agents, Cursor, Devin and Amp sessions; an MCP server lets your agent create DevboxesSeven harnesses installed, with a prompt, steer and events API
Operating systemsLinux onlyLinux, macOS on Apple Silicon, and Windows on Team plans and upLinux only; Windows programs run through Wine
RegionsUS by default; EU and APAC, enabled by supportSeveral regions; keeping a workload in one region needs EnterpriseGermany, Finland and France; you cannot pick one; no US or Asia region
Self-hostingOpen-source runtime (Apache-2.0) and E2B Embed; your own cloud on EnterpriseNoNo
Every feature Battleships tracks (43)
FeatureE2BNamespaceboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationNo documented wayYesYes
RootYesYesYes
SystemdYesNot publishedYes
Desktop GUIYesYesYes
BrowserYesWith your own setupYes
Computer-use APIYesYesYes
SSHYesYesYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesYesYes
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 sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestYesYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayYesYes
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 serverYesYesNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayYesNo documented way
Arm64No documented wayYesNo 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 publishedYesNo documented way
SSONo documented wayYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

E2B11.08 runs/s
Namespace24.90 runs/s
boat28.06 runs/s

In StarSling's run of 3 October 2026 (run 37073680030), the Node.js V8 Web Tooling benchmark at 4 vCPU / 8 GB did 28.06 runs/s on boat, 24.90 on Namespace and 11.08 on E2B. boat and Namespace share rank 2 of 15, so the run cannot separate them; E2B shares rank 7. Namespace did about 2.2 times E2B's CPU work, and boat about 2.5 times. StarSling does not name the Namespace product it tested. A Namespace Devbox's vCPU count is a ceiling it can boost to, not a guaranteed share. 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. Providers ran on different hardware in different regions. For start time, E2B's median was 576 ms one at a time (ComputeSDK, 2026-08-07); Namespace 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. Namespace measured on: Linux compute instance (unit-minutes, PAYG/overage $0.0015). 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.

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 monthNamespace, 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 · Pro$300 · Devbox on Business$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$368 · Pro · with limits$426 · Devbox on Business · with limits$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 · Pro$2,448 · Devbox on Business$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)$1,264 · Devbox Plus · 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
$2,797 · Pro++ (1,100 concurrent)$3,287 · Devbox Plus · with limits$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. Pro+ ($650) and Pro++ ($1,150) raise concurrency to 600 and 1,100 sandboxes.

Namespace: Namespace bills Devboxes in Devbox Minutes at $0.004 each; a 4 vCPU / 8 GB Devbox uses one a minute. Pay as you go, or Devbox Plus at $250 a month for 50,000 minutes. Team ($100) and Business ($250) plan minutes do not cover Devboxes, but you need those plans for longer sessions and more Devboxes. Storage costs $0.20 per GB-month used. New sign-ups get a 30-day Developer trial with no card.

Namespace: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month; 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, 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 each. A card is required, also for the 7-day trial.

Limits in those scenarios

Time is the limit that bites on both. E2B Pro stops one run at 24 hours; a pause and resume resets the clock. A Namespace Devbox stops at 3 hours on Developer and Devbox Plus, 5 on Team and 24 on Business, so an 8-hour workday session needs Business. Namespace also caps Devboxes at 50 per workspace, stopped ones included, so 300 user sandboxes or 1,000 jobs at once do not fit. E2B Pro includes 20 GiB of disk and queues bursts above 300 starts a minute. Neither E2B nor Namespace publishes an egress price. boat's limits: auto-stop defaults to 1 hour; each plan caps starts (the $20 plan includes 12 a minute and 200 a day), and starts above 3 times the per-minute limit fail with 429. For 1,000 short jobs at once, even boat's $2,000 plan needs paid extra starts. A boat resume is like a reboot, and a machine failure loses the writes after the last 1-minute snapshot.

ScenarioE2BNamespaceboat
One coding agent, workdays
  • disk beyond 20 GiB: price unknown
  • egress price not published
  • egress price not published
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
  • Devbox on Business: sessions capped at 24 h
  • egress price not published
None for this scenario
50 agents in parallel
  • egress price not published
  • egress price not published
None for this scenario
Sandboxes for your users
  • egress price not published
  • Devbox Plus: max 50 concurrent
  • egress price not published
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)
  • Devbox Plus: max 50 concurrent
  • egress price not published
  • 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 jobs that pause between requests, need memory forks for rollouts, or want an open-source runtime in your own cloud.

  • Memory pause and wake on request. For short jobs that sleep between requests, a paused E2B sandbox wakes on the next call in about a second, processes still running, and costs nothing while paused.
  • Memory forks for branching work. For RL rollouts and parallel tries, E2B forks a running sandbox with its memory, up to 20 copies per call.
  • Open source and your own cloud. For teams that want control of the stack, the runtime is Apache-2.0, E2B Embed runs it on your machines, and Enterprise can run it in your AWS, GCP or Azure account.

Use Namespace when

you need macOS or Windows machines, faster GitHub Actions runners with build caches, or Devboxes for people that stop when idle.

  • macOS and Windows. For agents that build iOS or Mac apps or test on Windows, Namespace runs macOS on Apple Silicon and Windows machines.
  • CI runners and build caches. For faster GitHub Actions, Namespace is a drop-in runner with Docker, Bazel, Turborepo and Nix caching.
  • Faster CPU and Devboxes that stop when idle. Namespace did 24.90 V8 Web Tooling runs/s against E2B's 11.08 in StarSling's run of 3 October 2026. A Devbox stops after an idle timeout and starts again when you connect.

Where boat fits

If what you run is coding agents that work for hours on Linux, both E2B and Namespace stop a run within a day: E2B Pro at 24 hours, a Namespace Devbox at 3 to 24 hours by plan. boat gives each agent a full VM with /dev/kvm and no session cap once auto-stop is off, at a lower list price per hour. boat has no macOS, no memory pause and no US or Asia region.

No clock on the session once auto-stop is off

E2B Pro ends a run at 24 hours, so your code pauses and resumes it. A Namespace Devbox stops at 3, 5 or 24 hours by plan, even while it works. On a boat paid plan you turn auto-stop off (it defaults to 1 hour), and the sandbox runs until you stop it.

CPU and nested virtualization

In StarSling's run of 3 October 2026, boat did 28.06 V8 Web Tooling runs/s, Namespace 24.90 and E2B 11.08. boat and Namespace share rank 2, so the run cannot separate them. Every boat sandbox in this run ran on a Ryzen 9 9950X host; boat also places some sandboxes on other hosts. E2B's docs list nested virtualization as not supported; every boat sandbox has /dev/kvm.

Agents and keys built in

On E2B you run agents through its command API, and on Namespace through a Devbox session or a partner service. boat installs seven harnesses you drive through one API. Its optional credentials proxy ($1 a day while on, plus $1 per 1,000 requests) keeps real keys of supported providers out of the sandbox.

Use boat when your agents work on Linux for hours or days: a full VM with no session cap once auto-stop is off, Docker and /dev/kvm, a built-in desktop, and coding agents you drive through an API, at $0.036 an hour for 4 vCPU / 8 GB. Compare it one to one: boat vs E2B and boat vs Namespace.

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

It depends on the scenario. One coding agent on workdays costs $202 a month on E2B Pro and $300 on Namespace, because an 8-hour Devbox session needs the Business plan. 50 agents in parallel cost $2,773 on E2B and $2,448 on Namespace. 300 user sandboxes ($1,395 on E2B) and 1,000 short jobs at once ($2,797 on E2B) do not fit Namespace's 50-Devbox cap. boat costs $20 and $317 a month for the first two, but 1,000 jobs at once exceed its start limits ($8,800 with paid extra starts).

Which is faster, E2B or Namespace?

On CPU work, Namespace. In StarSling's run of 3 October 2026 at 4 vCPU / 8 GB, Namespace did 24.90 V8 Web Tooling runs/s and E2B did 11.08. boat did 28.06 on a Ryzen 9 9950X host and shares rank 2 with Namespace. Providers ran on different hardware in different regions. This measures CPU work only, not start time.

Can E2B and Namespace run Docker?

Both run Docker inside. E2B's docs list nested-virtualization runtimes as not supported, so Android emulators and VMs need another provider. Namespace offers /dev/kvm on Linux compute instances. boat has Docker, systemd and /dev/kvm on every sandbox.

How long can a session run on E2B or Namespace?

E2B stops one run after 1 hour on Hobby and 24 hours on Pro; pausing and resuming resets the clock and keeps memory. A Namespace Devbox stops after 3 hours on Developer and Devbox Plus, 5 on Team and 24 on Business, even while you work; support can raise it to 24 hours at most. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).

Do E2B or Namespace run macOS or Windows?

Namespace does: macOS on Apple M4 Pro and M5 Max chips, and Windows on Team plans and up. E2B runs Linux only, and so does boat, with Wine for Windows programs.

Where do E2B, Namespace and boat run?

E2B runs in the US by default, with EU and APAC enabled by support. Namespace runs in several regions and keeps a workload in one region only on Enterprise. boat runs on machines in Germany, Finland and France, you cannot pick a region, and snapshot copies can be stored outside the EU.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons