E2B vs smol machines
Both give each agent its own small Linux VM that can pause and fork with its memory. E2B is a hosted Firecracker cloud with US, EU and APAC regions and a 24-hour run cap on Pro. smol machines has no session cap, bills the CPU and memory a guest actually uses, and runs the same open-source VM on your laptop or your own servers.
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
smol machines
smol machines makes isolated Linux microVMs that run the same way on your laptop, in their hosted cloud, or on your own servers.
The core is smolvm, an open-source microVM engine built on libkrun. Each machine has its own guest kernel. smol cloud is the paid hosted service. It runs machines behind a REST API, Node, Python and Rust SDKs, and a managed agents API. It is for developers who want one VM model from local development to production, with live branching of running machines.
- Uptime SLA
- 99.95% on Pro, Startup and Enterprise
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 | smol machines: 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 | 105th of 365, with limits $604 a month | 5th 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: E2B Pro stops one run at 24 hours, and a pause and resume resets the clock. smol machines has no cap; you set up a desktop and browser in your own image. boat has no cap once auto-stop is off, and a desktop and Chrome built in. | 82nd of 361, with limits $5,348 a month | 41st cheapest of 361 $1,038 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 suit short code runs. smol machines has a one-minute minimum, bills used CPU and memory, and has a /code endpoint for Python and JavaScript. E2B pauses a sandbox with its memory and wakes it on the next request. | 43rd cheapest of 336 $421 a month | 16th cheapest of 336 $140 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 wake a paused or stopped machine on the next request. boat adds a desktop and up to 50 HTTPS URLs for each user, with start limits per plan. | 33rd cheapest of 349 $2,354 a month | 12th cheapest of 349 $531 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 Both fork a running machine with its memory. E2B forks up to 20 copies per call; smol branches pay the one-minute minimum once, not per clone. | 5th cheapest of 349 $9,384 a month | 119th of 349, with limits $6,978 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 | 49th cheapest of 359 $670 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 jobs that build Android apps or boot VMs need nested virtualization. E2B's docs list it as not supported. smol cloud exposes it on Startup ($150 a month plus usage) and Enterprise. boat exposes /dev/kvm on every plan. | 338th of 374, with limits $1,429 a month | 69th cheapest of 374 $514 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A dev box that runs all month: E2B pauses and resumes once a day to pass its 24-hour cap. smol machines keeps running but documents no SSH route. boat has SSH and no session cap once auto-stop is off. | 208th of 371, with limits $358 a month | 230th of 371, with limits $29 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. On smol cloud you install a desktop and a screen stream in your own image. boat streams its desktop at 60 fps and can embed it in your app. | 34th cheapest of 367 $1,342 a month | 135th of 367, with limits $156 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 smol's guide runs Chromium from an OCI image and drives it with Playwright or Puppeteer. boat ships Chrome ready for agents. | 126th of 356, with limits $746 a month | 58th of 356, with limits $136 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 | 97th cheapest of 343 $242 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 | 145th of 327, with limits $4,344 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 | 59th of 351, with limits $377 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 | smol machines | boat |
|---|---|---|---|
| Isolation | Firecracker microVM with its own kernel | libkrun microVM with its own guest kernel | Full VM with its own kernel on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| 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 benchmark | 28.06 runs/s, rank 2 of 15 (shared), on a Ryzen 9 9950X host |
| Biggest machine | Up to 8 vCPU / 8 GiB self-serve, more on request | Up to 32 vCPU / 32 GB on Startup, 16 vCPU / 24 GB on Pro | Up to 16 vCPU / 32 GB on the $100 plan and above |
| Session length | Up to 1 hour on Hobby, 24 hours on Pro; pausing resets the clock | No provider cap; you can set your own time to live | No cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour |
| Pause and wake | Pause with memory, resume in about 1 second, wake on the next HTTP request or SDK call | Checkpoints capture RAM to durable storage; a command starts a stopped machine, and idle apps wake on the next request | Disk saved every minute and at each stop; no compute charge while stopped; you start it by API; memory is not kept |
| Fork | Fork a running sandbox with its memory, up to 20 copies per call | Branch a running machine with its memory and processes; the one-minute minimum is paid once | Fork a running sandbox from its last 1-minute disk snapshot; the fork boots fresh |
| Nested virtualization | Docs list nested-virtualization runtimes as not supported | Yes on Startup ($150 a month plus usage) and Enterprise; refused on Standard and Pro | Yes on every plan: /dev/kvm for Android emulators and VMs |
| Shell access | SDK command API and terminal | Command API, sessions and a WebSocket terminal capped at one hour per connection; no SSH route documented | SSH, plus a command API and terminal |
| Inbound access | HTTPS URL per port, public by default unless you turn on a token; no public IP per sandbox | Up to 16 published ports through token URLs or an authenticated connect route, plus a TCP tunnel route; no dedicated IP | Up to 50 HTTPS URLs, token-gated by default; public IPv6; no dedicated IPv4, and the IP changes at each resume |
| Outbound rules | Allow and deny lists by IP, CIDR or domain | Blocked, open, or an allowlist of hosts and CIDR ranges | Open internet, no provider-side allowlist |
| Desktop and computer use | E2B Desktop sandbox with VNC streaming | No hosted desktop; you set it up: run Chromium from an OCI image and add a desktop and stream yourself | Built-in desktop and Chrome at 1920x1080 and 60 fps, with computer tools for agents |
| Coding agents | Templates and guides for many agents, run through the command API | Managed agents API: Claude Code, Codex, OpenCode or any command, with turns, cancel, events, pause, rewind and branch | Seven harnesses installed, with a prompt, steer and events API |
| Keeping API keys out of the sandbox | Secrets injected into outbound HTTPS headers (private beta) | Stored credentials bound to a machine: the guest sees a placeholder, and the real value goes only to allowed hosts | Optional AI credentials proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers and HTTPS APIs |
| Regions | US by default; EU and APAC enabled by support | No region choice in the cloud API | Germany, Finland and France; you cannot pick one; no US or Asia region |
| Self-hosting | Apache-2.0 runtime and E2B Embed on your own machines, plus your own cloud on Enterprise | Open-source smolvm on macOS, Linux and Windows hosts, with the same .smolmachine artifact | No; hosted service only |
Every feature Battleships tracks (43)
| Feature | E2B | smol machines | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | No documented way | Yes | Yes |
| Root | Yes | Not published | Yes |
| Systemd | Yes | Not published | Yes |
| Desktop GUI | Yes | No documented way | Yes |
| Browser | Yes | With your own setup | Yes |
| Computer-use API | Yes | No documented way | Yes |
| SSH | Yes | No documented way | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | No documented way | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | Yes |
| Memory fork | Yes | Yes | 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 | Yes | No documented way |
| Secret proxy | Yes | Yes | Yes |
| Secret proxy for any API | Yes | Yes | Yes |
| Preinstalled agents | Yes | Yes | Yes |
| Agent harness API | No documented way | Yes | Yes |
| MCP server | Yes | 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 | Yes | No documented way |
| Self-hosting | Yes | Yes | No documented way |
| BYOC | Yes | Yes | No documented way |
| Open source | Yes | Yes | 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 | 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 | No documented way | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
E2B and boat ran in StarSling's run of 3 October 2026 (run 37073680030), on 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). 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. smol machines is not in the public benchmarks we use, so we cannot say how it compares. smol publishes a boot time under 200 ms for smolvm; that is a start time, not CPU speed.
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. smol machines 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 | smol machines, 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 | $25 · Standard | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $368 · Pro · with limits | $93 · Standard | $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 | $1,139 · Pro | $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) | $465 · Startup | $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) | $1,389 · Startup | $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.
smol machines: smol cloud charges $0.04 for every hour a machine runs, plus $0.05 per active vCPU-hour and $0.0162 per active GB-hour of memory, with a one-minute minimum. Disk bills also while stopped, and egress costs $0.05 per GB. Standard is $0; Pro ($20 a month) and Startup ($150 a month) are fees on top of usage. New accounts get $100 of credit once.
smol machines: 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.
Limits in those scenarios
E2B Pro stops one run at 24 hours, so the 24/7 scenario needs a daily pause and resume; Pro includes 20 GiB of disk. smol machines caps how many machines you hold by plan: 20 on Standard, 100 on Pro and 1,000 on Startup, and a stopped machine still holds a slot. For 1,000 short jobs at once, E2B needs Pro++ and queues bursts above 300 starts a minute, and smol needs Startup. boat's $2,000 plan includes 90 starts a minute and 2,400 a day; extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429, so boat cannot start that whole burst at once.
| Scenario | E2B | smol machines | 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 |
| Sandboxes for your users |
| None for this scenario | None for this scenario |
| 1,000 short jobs at once |
| None for this scenario |
|
Which one should you use?
Use E2B when
you run many short jobs that pause between requests and wake fast, need a desktop for computer use, or must run in the US or APAC.
- Regions in the US, EU and APAC. Teams that must run close to users in the US or APAC can pick a region; smol cloud has no region choice in its API.
- Wake in about a second. For jobs that sleep between requests, a paused sandbox resumes in about a second with its processes still running, and costs nothing while paused.
- A desktop for computer use. Computer-use agents get a Linux desktop sandbox on E2B. On smol cloud you build and run your own.
Use smol machines when
you want one open-source VM engine from your laptop to your own servers, no session cap, and billing on the CPU and memory you actually use.
- No session cap. An agent can keep its machine running for days. E2B Pro stops one run at 24 hours, and your code pauses and resumes it.
- One VM from laptop to servers. Teams that want the same open-source VM locally, in a hosted cloud and on their own servers can use smolvm everywhere.
- Pay for what the guest uses. smol bills the CPU and memory a guest actually uses, plus a base fee per running hour, so mostly idle machines cost less than their full size.
Where boat fits
E2B and smol machines are both built around small VMs that pause, fork and wake fast. If your agents do long, heavy work like builds, Docker, emulators and a browser, boat gives each one a full VM with /dev/kvm and a desktop on every plan, and coding agents built in. boat has no memory fork, no self-hosting and no region choice.
A whole machine on every plan
E2B's docs list nested virtualization as not supported. smol cloud exposes it on Startup and Enterprise only, and documents no SSH route. boat has /dev/kvm and SSH on every plan.
Runs as long as the work does
On E2B a long task hits the 24-hour cap, and your code pauses and resumes it. smol has no cap, but a stopped machine bills its disk and holds a plan slot. A stopped boat sandbox has no compute charge and keeps its disk at least 14 days; saved snapshots above the included count and the optional credentials proxy still charge.
Agents and desktop built in
boat installs seven coding agents you drive from outside, and streams a 60 fps desktop with Chrome. In StarSling's run of 3 October 2026, boat did 28.06 V8 Web Tooling runs/s and E2B 11.08; smol is not in that benchmark.
Use boat when your agents do hours of installs, builds, tests, Docker, emulators and browser work, on a full VM with /dev/kvm and a desktop on every plan, and coding agents you drive from outside. Compare it one to one: boat vs E2B and boat vs smol machines.
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 smol machines?
No, smol machines costs less in all five scenarios on this page. One coding agent on workdays is $202 a month on E2B and $25 on smol, and 50 agents in parallel are $2,773 on E2B and $1,139 on smol. boat costs less than both in four of the five scenarios ($20 and $317 for those two). For 1,000 short jobs at once, boat's start limits do not fit.
Which is faster, E2B or smol machines?
We cannot say: smol machines is not in StarSling's CPU benchmark. In StarSling's run of 3 October 2026, E2B did 11.08 V8 Web Tooling runs/s at 4 vCPU / 8 GB, and boat did 28.06 on a Ryzen 9 9950X host.
Can E2B and smol machines run Docker?
Yes, both run Docker inside the VM; smol's guide says Docker data must live on the machine's ext4 disk. E2B's docs list nested virtualization as not supported. smol cloud exposes it on Startup and Enterprise. boat exposes /dev/kvm on every plan.
Can a sandbox run for days on E2B or smol machines?
E2B stops one run after 24 hours on Pro and 1 hour on Hobby; pausing and resuming resets the clock and keeps memory. smol machines has no provider cap. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).
Are E2B and smol machines open source?
Both are. E2B's runtime is Apache-2.0, and E2B Embed runs it on your own infrastructure. smol's smolvm engine runs on macOS, Linux and Windows hosts. boat is a hosted service only.
Is boat SOC 2 compliant?
SOC 2 is in progress, so there is no SOC 2 report today. E2B has a SOC 2 Type II report. boat's live status is at status.ascii.dev and its data retention policy is at docs.boat.dev/data-retention.
Try boat
Install the CLI, then run boat new.
7-day free trial