E2B vs Agent 37
E2B gives each job a Firecracker microVM that starts fast, pauses with its memory, and stops one run after 24 hours on Pro. Agent 37 gives each user a lighter gVisor sandbox by default, with no time limit, that sleeps when idle and costs less per hour. It sells a full VM type at 2.5x its default compute rate.
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.
- Isolation
- Firecracker microVM per sandbox
- Open source and self-hosting
- Runtime under Apache-2.0; E2B Embed runs it with Docker Compose, Terraform or Kubernetes
- Bring your own cloud
- Enterprise data plane in your AWS, GCP or Azure account
- Compliance
- SOC 2 Type II; HIPAA BAA on request
Agent 37
Agent 37 hosts AI agents, one isolated, always-on sandbox per user, behind one API.
You create an instance from a template (Hermes, OpenClaw, Claude Code, Codex, OpenCode, Pi, Grok or your own Docker image) and talk to it through a chat API, files, exec, SSH and HTTPS URLs. The default instance is a container enforced by gVisor. A VM type gives a full Linux machine with its own kernel for Docker, Kubernetes and Android emulators. It is built for companies that give each of their customers an 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. “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 workload | E2B: price rank | Agent 37: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month | 20th cheapest of 365 $4,143 a month | 4th cheapest of 365 $551 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Agent 37 ranks first here at $279 a month: its instances have no time limit and sleep between messages. On E2B Pro one run stops at 24 hours, so an always-on assistant pauses and resumes. | 82nd of 361, with limits $5,348 a month | Cheapest of 361 $279 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 Both fit short code runs. Agent 37 ranks first on price ($22 a month against $421), and E2B resumes a paused sandbox with its memory in about a second. | 43rd cheapest of 336 $421 a month | Cheapest of 336 $22 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 Both fit 300 sandboxes for your users: Agent 37 ranks first at $79 a month, E2B comes to $2,354, and boat ranks 3rd at $209. | 33rd cheapest of 349 $2,354 a month | Cheapest of 349 $79 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 fits many short rollouts that branch from one state: it forks a running sandbox with its memory, and Pro allows 5 creates a second. Agent 37 and boat are a compromise here. | 5th cheapest of 349 $9,384 a month | 9th of 349, with limits $363 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 | Cheapest of 359 $58 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 boat ranks 2nd here. E2B is a compromise because its docs list nested virtualization as not supported. Agent 37 is also listed as a compromise. | 338th of 374, with limits $1,429 a month | 227th of 374, with limits $96 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Agent 37 ranks 3rd and boat 19th for a machine kept around the clock. E2B is a compromise: one run stops after 24 hours on Pro, so you pause and resume it once a day. | 208th of 371, with limits $358 a month | 3rd cheapest of 371 $12 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 All three fit. Agent 37 ranks 3rd and boat 7th; on Agent 37 you set up the desktop with a noVNC template or the Ubuntu VM template. E2B has a VNC desktop, and boat streams a 60 fps desktop you can embed. | 34th cheapest of 367 $1,342 a month | 3rd cheapest of 367 $120 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 | 47th of 356, with limits $29 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 | Cheapest of 343 $32 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 | 39th of 327, with limits $648 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 Agent 37 ranks first and boat 3rd. Both fork a machine's disk to try many paths at once, and the fork boots fresh. E2B forks a running sandbox with its memory. | 17th cheapest of 351 $1,043 a month | Cheapest of 351 $43 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 | E2B | Agent 37 | boat |
|---|---|---|---|
| Isolation | Firecracker microVM with its own kernel | gVisor sandbox by default; full VM with its own kernel as an opt-in type | Full VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); shared vCPUs |
| Docker inside | Yes, inside the sandbox | Yes on the VM type, at 2.5x the default compute rate; the default gVisor type cannot run a Docker daemon | Yes, in every sandbox |
| Nested virtualization | Docs list nested-virtualization runtimes as not supported | /dev/kvm on the VM type, with an Android template | /dev/kvm in every sandbox; Android emulator works |
| 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 run | 28.06 runs/s, second of 15 (shared rank 2), on a Ryzen 9 9950X host |
| Session length | One run: up to 1 hour on Hobby, 24 hours on Pro; pausing and resuming resets the clock | No time limit; runs until you stop it or it sleeps | No cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days |
| Sleep with memory | Pause keeps memory; resume in about 1 second, or on the next request | Opt-in auto-sleep checkpoints memory and wakes on the next request; if the restore fails, it boots fresh with its disk | Disk saved every minute and at each stop; resume boots the machine again, like a reboot; no idle timer |
| Fork | Fork a running sandbox with its memory, up to 20 copies per call | Fork a running, stopped or sleeping instance (disk copy; the fork boots fresh); nightly backups restored in place | Fork a running sandbox from its last 1-minute disk snapshot; the fork boots fresh |
| Coding agents | Templates and guides for many agents; you run them through the command API | Hermes, OpenClaw, Claude Code, Codex and more, with a chat API per instance | Seven harnesses installed, with a prompt, steer and events API |
| Keys kept out of the sandbox | Secrets injected into outbound HTTPS headers (private beta) | Its own managed models, search and Composio through a per-instance token; your own keys go in as env vars | Optional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and HTTPS APIs you register |
| Desktop | E2B Desktop sandbox with VNC streaming | You set it up: noVNC desktop through a template build, or the Ubuntu VM template | 1920x1080, 60 fps desktop and Chrome in every sandbox, embeddable stream |
| Inbound access | HTTPS URL per port, public by default unless you turn on a token; no public IP per sandbox | HTTPS URL per port, signed URLs, custom domains; no public IP; SSH through a WebSocket tunnel | Up to 50 HTTPS URLs, token-gated by default; SSH; public IPv6; raw ports over IPv6 on sandboxes with no IPv4 of their own; the IP changes at each resume |
| Outbound rules | Allow and deny lists by IP, CIDR or domain | No provider-side allowlist documented | Open internet; no provider-side allowlist, so you set firewall rules inside the VM |
| Regions | US by default; EU and APAC enabled by support | United States | Germany, Finland and France; you cannot pick one; no US or Asia region |
| Self-hosting | Open-source runtime and E2B Embed; your own cloud on Enterprise | No | No |
Every feature Battleships tracks (43)
| Feature | E2B | Agent 37 | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | No documented way | Yes |
| Docker inside | Yes | No documented way | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Yes | Not published | Yes |
| Desktop GUI | Yes | With your own setup | Yes |
| Browser | Yes | Yes | Yes |
| Computer-use API | Yes | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | Yes |
| Memory fork | Yes | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | Yes | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | Not published | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | No documented way | No documented way |
| Secret proxy | Yes | Yes | Yes |
| Secret proxy for any API | Yes | No documented way | Yes |
| Preinstalled agents | Yes | Yes | Yes |
| Agent harness API | No documented way | Yes | Yes |
| MCP server | Yes | No documented way | 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 | Yes | No documented way | No documented way |
| BYOC | Yes | No documented way | No documented way |
| Open source | Yes | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Yes | Yes | Yes |
| Usage per sandbox (API) | No documented way | Yes | Yes |
| Audit logs | Not published | Not published | No documented way |
| SSO | No documented way | No documented way | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | No documented way | No documented way |
| EU data residency | Yes | No documented way | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
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. On real repos in the same run, Better-Auth took 135.8 s on boat and 295.4 s on E2B. 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. Agent 37 is not in the public benchmarks we use, so we cannot say how it compares. Agent 37 says its default instances share host resources, and sells a Performance type on dedicated cores.
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. Agent 37 is not in the public benchmarks we use, so we cannot say which is faster.
Pricing in five scenarios
Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.
| Scenario | E2B, a month | Agent 37, 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 | $202 · Pro | $6 · Wallet (any top-up) | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $368 · Pro · with limits | $12 · Wallet (any top-up) | $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 | $329 · Wallet ($50 lifetime top-ups) | $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) | $33 · Wallet ($1,000 lifetime top-ups) | $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) | $73 · Wallet ($1,000 lifetime top-ups) · 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.
Agent 37: Agent 37 uses a prepaid wallet with no plan fee, metered per minute: $0.80 per vCPU and $0.70 per GB of RAM per month while running, and $0.09 per GB of disk per month even while stopped or asleep. Performance compute costs 4x and VM compute 2.5x the default rate. New accounts get a one-time $5 credit after adding a card.
Agent 37: 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
E2B caps one run at 24 hours on Pro, so the agent that never stops needs a daily pause and is marked as not fitting as-is. Pro includes 20 GiB of disk. Agent 37 caps awake instances by total top-ups: 200 at $250 and 1,000 at $1,000; sleeping and stopped instances do not count. The 50-agent scenario needs Docker, so Agent 37 is priced on its VM type at 2.5x the compute rate. In the 1,000-job burst, Agent 37's default type runs on shared vCPUs, which the table marks as a compromise. Every Agent 37 type stops at 4 vCPU. boat does not fit the burst as-is: each plan caps starts, the $2,000 plan includes 2,400 a day, and starts above 270 a minute fail with 429. boat never queues a start. A boat resume is like a reboot.
| Scenario | E2B | Agent 37 | boat |
|---|---|---|---|
| One coding agent, workdays |
|
| None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
|
| None for this scenario |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use E2B when
you run many short jobs that pause between requests, fork with their memory, or must run in the US or APAC.
- Pause, wake and fork with memory. For short jobs that sleep between requests: a paused sandbox resumes in about a second, and a running one forks with its memory.
- Big bursts and outbound rules. For many short jobs at once: Pro++ holds 1,100 sandboxes, and you can limit which hosts each one reaches.
- Open source and more regions. Its runtime is Apache-2.0, Enterprise runs in your own cloud, and it serves the US, EU and APAC.
Use Agent 37 when
you host one mostly idle assistant per customer in the US that should sleep with its memory and wake on the next message.
- Always on, asleep when idle. For one assistant per user: an instance has no time limit, sleeps when quiet, keeps its memory and wakes on the next message.
- Low per-minute rates. For small, mostly idle machines: a prepaid wallet with no plan fee, billed by the minute at low rates.
- Your Docker image, dedicated cores. It builds templates from your own Docker image, and sells a Performance type on dedicated cores for steady speed.
Where boat fits
E2B and Agent 37 both do well when sandboxes are short or mostly asleep. If your agents do hours of installs, builds, Docker, emulators and a browser, boat gives each one a full VM by default, with no session cap once auto-stop is off. Agent 37 costs less in most of our scenarios; boat is worth it when you need the full VM on every sandbox.
A full VM is the default
Every boat sandbox has its own kernel, systemd, Docker and /dev/kvm. E2B's docs list nested virtualization as not supported. On Agent 37, Docker and /dev/kvm need the VM type, which bills compute at 2.5x and has no init system.
CPU speed in one public run
In StarSling's run of 3 October 2026, boat did 28.06 V8 Web Tooling runs/s and E2B did 11.08, about 2.5x. The boat sandboxes ran on Ryzen 9 9950X hosts; boat also uses Ryzen 7 9700X hosts, which the run did not measure. Agent 37 is not in that run.
Keys kept outside for APIs you register
With boat's optional credentials proxy on ($1 a day plus $1 per 1,000 requests), real keys for supported model providers and HTTPS APIs you register stay out of the sandbox. On Agent 37 your own keys go in as env vars. E2B's secret injection is in private beta.
Use boat when your agents do hours of installs, builds, tests, Docker and emulators on a full VM by default, with no session cap once auto-stop is off. Compare it one to one: boat vs E2B and boat vs Agent 37.
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 Agent 37?
No. Agent 37 costs less in every scenario on this page, for example $6 against $202 a month for one coding agent on workdays, and $33 against $1,395 for 300 sandboxes for your users. In the 1,000-job burst, Agent 37's default type runs on shared vCPUs, which the table marks as a compromise. boat comes to $20 and $200 in those two scenarios.
Which is faster, E2B or Agent 37?
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. Agent 37 is not in that run, so we cannot say which is faster. boat did 28.06 in the same run, on a Ryzen 9 9950X host.
Can E2B and Agent 37 run Docker?
E2B runs Docker inside its sandboxes; its docs list nested virtualization as not supported. Agent 37 runs Docker on its VM type, at 2.5x the default compute rate; the default gVisor type cannot run a Docker daemon. boat runs Docker and /dev/kvm in every sandbox.
Can a sandbox run for days?
On E2B one run stops after 24 hours on Pro and 1 hour on Hobby; pausing and resuming resets the clock and keeps memory. Agent 37 has no time limit. boat has no session cap once auto-stop is off on a paid plan (the default is 1 hour).
Where do E2B and Agent 37 run?
E2B runs in the US by default, with EU and APAC enabled by support. Agent 37 runs on dedicated servers in the United States. boat runs on machines in Germany, Finland and France, with no US or Asia region.
How many sandboxes can run at once?
E2B goes up to 1,100 at once on its Pro++ self-serve plan. Agent 37 allows up to 1,000 awake instances once you have topped up $1,000; sleeping and stopped ones do not count. boat plans go up to 2,000 at once on the $2,000 plan, with start limits per plan.
Try boat
Install the CLI, then run boat new.
7-day free trial