
E2B vs exe.dev
On this page
The short version
E2B runs each job in its own sandbox from an SDK and bills only the seconds it runs. Sandboxes pause with their memory for free, fork with their processes, and come with a code interpreter, so E2B suits an app that runs code for its users. exe.dev gives an agent a Linux VM it keeps for weeks, over SSH and at a fixed HTTPS address with sign-in, with no time limit, for a flat $15 a month that several VMs share. Pick E2B for short or occasional jobs. Pick exe.dev for an agent that works on the same code every day.
E2B vs exe.dev features
Both run each machine as a VM with its own kernel and root, start from your own Docker image, including from a private registry, and give you Docker, a browser terminal, HTTPS URLs on your own domain, Python and TypeScript SDKs, an HTTP API and a CLI. Both keep API credentials outside the machine and offer SSO for teams. The rows below are where they differ.
The machine
| E2B | exe.dev | |
|---|---|---|
| How CPU and memory are shared | Each sandbox has its own size, billed by the second while it runs | VMs share a pool. A busy one uses what idle ones leave free |
| Size | 2 vCPUs and 512 MiB by default on Hobby. Pro lists custom sizes up to 8 vCPUs and 8 GiB | Personal pools from 2 vCPUs and 4 GiB to 16 and 32, and Work pools up to 512 vCPUs with approval |
| Disk | 10 GiB a sandbox on Hobby, 20 on Pro | 100 GB per 2 vCPUs of plan, shared by the VMs, then $0.08 a GiB-month |
| Coding agents | A package starts, prompts and streams supported coding agents in a sandbox | YesClaude Code, Codex, Pi and exe.dev's Shelley in the default image |
Lifecycle
| E2B | exe.dev | |
|---|---|---|
| Longest continuous run | 1 hour on Hobby, 24 on Pro. A pause and resume starts the clock again | YesNo limit |
| When you set nothing | A sandbox made with the SDK is deleted after 10 minutes, unless you extend it or turn on auto-pause | YesThe VM keeps running |
| Pause with memory | YesKept with no expiry and no compute bill | YesAnd the paused VM's CPU and memory go back to the pool |
| Wakes when a request arrives | Opt-in auto-resume for traffic you configure | Not needed while it runs. A paused VM resumes by command |
| Copy a running machine with its processes | YesFork into up to 20 copies in one SDK call | NoCopies take the disk. Only the same VM resumes its processes |
| Start from a saved state | YesA template, or a full snapshot with memory | A Docker image, or a copy of a prepared VM's disk |
Code and agents
| E2B | exe.dev | |
|---|---|---|
| Run code and keep its state between calls | YesThe Code Interpreter SDK keeps variables and returns charts and tables | NoEach run is a new process |
| Desktop for computer use | YesA desktop template with streaming and computer-use support | A recipe sets up an Xfce desktop and Chrome you open in a browser |
Serving and networking
| E2B | exe.dev | |
|---|---|---|
| SSH | Build a template with an SSH server and connect through a WebSocket proxy | YesBuilt in, with a named address |
| Who can open the app | Callers with the sandbox's token or a signed URL, or everyone | People you share it with by email or link, after sign-in. Website access is separate from shell access |
| Limit what the machine can reach | YesAllow and deny lists of IP ranges, and allowed hostnames | YesAn integrations-only mode allows only the services you attach |
Where it runs
| E2B | exe.dev | |
|---|---|---|
| Region | Google Cloud US West by default. AWS US East and West, Europe and Southeast Asia through support | Yes8 regions in the US, Europe and Asia-Pacific, chosen for the account or for each Work pool |
| Run it yourself | YesE2B Embed, open source under Apache 2.0, on one Linux server. Enterprise runs in your AWS, Google Cloud or Azure account | Enterprise runs exe.dev-operated hosts in your cloud or on dedicated hardware |
Where E2B is better
E2B suits an app that grades, tests or runs code for each request. Every job gets its own sandbox, and you pay only for the seconds it runs.
- Memory you can keep and copy. Pause a sandbox with its memory for free, for as long as you like, resume it in about a second, or fork a running one into 20 copies with its processes.
- A code interpreter that keeps variables between calls and returns charts and tables as structured results, plus a desktop for computer use.
- Cheap occasional jobs. 120 half-hour jobs cost about $6.53 a month on Hobby, and $100 of credit covers the first 900 hours.
- Built to sit behind a product. Lifecycle webhooks, a spending limit, SOC 2 with a BAA on request, outbound allow lists, and an open-source runtime you can run yourself.
Where exe.dev is better
exe.dev suits an agent that spends a week on one branch. The checkout and test server stay on the VM, the agent returns over SSH, and a teammate signs in to the preview every morning.
- No session limit. The VM keeps running after you disconnect, and no timer stops or deletes it.
- 4 GiB for $15, shared by up to 50 VMs, with 100 GB of disk.
- SSH and a named HTTPS address that stay the same day after day, with sign-in in front, sharing by email and an address for mail.
- A region you choose across the US, Europe and Asia-Pacific, and a hosted MCP server for agents that manage their own VMs.
Pricing
| Plan | Price | What you get |
|---|---|---|
| E2B Hobby | $0 plus usage | Default sandbox of 2 vCPUs and 512 MiB, 10 at once, 1-hour runs, $100 of credit once |
| E2B Pro | $150 a month plus usage | Custom sizes, 100 sandboxes at once, 24-hour runs |
| exe.dev Personal | $15 a month | 2 vCPUs and 4 GiB shared by up to 50 VMs, 100 GB of disk |
| exe.dev Work | $75 a month per team, $37.50 for a new team's first three months | 2 vCPUs and 4 GiB to start, any number of members and pools |
| exe.dev standalone VMs | $0.105 an hour for each 2 vCPUs and 4 GiB, by the second | VMs outside the pool, on top of a plan, that stop billing compute while stopped |
E2B charges $0.0504 a vCPU-hour and $0.0162 a GiB-hour, so its default sandbox costs about $0.11 an hour and one with 2 vCPUs and 4 GiB about $0.17. The work below: an agent's jobs, at rates published on November 19 and 20, 2026.
- 120 half-hour jobs a month at E2B's default size. $6.53 on E2B Hobby and $15 on exe.dev Personal. E2B costs less up to about 138 job-hours a month. Above that, exe.dev does.
- The same jobs needing 4 GiB. $159.94 on E2B, since sizes above the default are listed on Pro: $150 plus $9.94. $15 on exe.dev.
- An agent at work 8 hours a weekday with 2 vCPUs and 4 GiB, paused overnight. $179.15 on E2B Pro: $150 plus $29.15. $15 on exe.dev, which doesn't need the pause.
On exe.dev, jobs that run at the same time share the pool's 2 vCPUs and 4 GiB, while each E2B sandbox has its own. Two jobs at full speed at once need exe.dev's $35 size, or standalone VMs.
Frequently asked questions
Can E2B keep a sandbox overnight?
Yes, paused. A full pause keeps files, memory and processes with no expiry and no compute bill. Running time is capped at 1 hour on Hobby and 24 hours on Pro, and resuming starts the clock again.
Does an exe.dev VM stop when I close SSH?
No. A pooled VM keeps running in the background until you stop or pause it.
Can I SSH into an E2B sandbox?
Yes, with setup: build a template that runs an SSH server, then connect through E2B's WebSocket proxy. exe.dev has SSH built in.
Which costs less for my jobs?
E2B, below about 138 hours a month at its default size. exe.dev above that, or as soon as jobs need more memory than E2B's default, which E2B lists on Pro at $150 a month plus usage.
Also consider Heaven
Heaven, which we make, is cloud infrastructure for software factories. Each agent or app gets a Computer: a full Linux VM with root that keeps running with nobody connected, and a team's Computers share one pool of CPU, memory and storage. Every Computer comes with an HTTPS website with sign-in in front, share links, custom domains, public TCP ports, email, snapshots and hourly off-site backups, and integrations keep GitHub and API credentials outside the machine. Plans start at $20 a month for 2 vCPUs and 8 GiB, with any number of members. See pricing.
Related comparisons
See E2B alternatives, exe.dev alternatives, E2B vs Daytona, Daytona vs exe.dev, E2B vs Sprites and boat vs exe.dev.
- AlternativesE2B alternatives for agent codeE2B alternatives for agent code: how long a run can last, what survives it, idle billing, GPUs, what a month of runs costs and where built apps get served.
- Alternativesexe.dev alternatives for persistent agent machinesexe.dev alternatives for agents on persistent VMs: what keeps running, memory per dollar, public ports and addresses, regions, team pricing and when to stay.
- ComparisonE2B vs DaytonaE2B and Daytona side by side: run limits, pausing with memory, sizes on the free plan, Windows, macOS and GPUs, and what short and long runs cost.
- ComparisonDaytona vs exe.devDaytona and exe.dev for coding agents: clean sandboxes per job with Windows, macOS and GPUs, or Linux VMs that stay up in a $15 pool and serve the app.
- ComparisonE2B vs SpritesE2B and Fly.io Sprites for agent work: sandboxes your code pauses and forks with memory, or workspaces that sleep, wake on a request and bill what they use.
- Comparisonboat vs exe.devboat and exe.dev for coding agents: per-second VMs with an agent API, desktop and minute snapshots, or always-on VMs in a $15 pool on your own domain.
Run your agents on Heaven
Persistent Linux Computers that share CPU, memory and storage in one pool. Tiny is $20 a month.
Sources and corrections
- 1E2B pricing
- 2E2B billing and plans
- 3E2B sandbox sizes
- 4E2B sandbox price
- 5E2B persistence and pause
- 6E2B auto-pause
- 7E2B auto-resume
- 8E2B snapshots
- 9E2B forks
- 10E2B templates
- 11E2B private registries
- 12E2B Docker
- 13E2B code contexts
- 14E2B desktop
- 15E2B computer use
- 16E2B coding agents
- 17E2B MCP gateway
- 18E2B webhooks
- 19E2B secrets
- 20E2B SSH
- 21E2B public URLs
- 22E2B private access
- 23E2B custom domains
- 24E2B internet access
- 25E2B workspaces and SSO
- 26E2B regions
- 27E2B EU region
- 28E2B BYOC
- 29E2B Embed
- 30E2B security and compliance
- 31exe.dev Personal
- 32exe.dev Work
- 33exe.dev plan comparison
- 34exe.dev pools
- 35exe.dev standalone VMs
- 36exe.dev background work
- 37exe.dev pause and copy
- 38exe.dev Python SDK
- 39exe.dev architecture
- 40exe.dev images
- 41exe.dev private images
- 42exe.dev preinstalled agents
- 43exe.dev Linux desktop
- 44exe.dev MCP
- 45exe.dev GitHub integration
- 46exe.dev integrations catalog
- 47exe.dev internet access
- 48exe.dev custom domains
- 49exe.dev sharing
- 50exe.dev email
- 51exe.dev SSO
- 52exe.dev regions
- 53exe.dev Enterprise
Spot an error? Email support@heaven.dev with the page, the claim and a source.