Skip to content

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

E2Bexe.dev
How CPU and memory are sharedEach sandbox has its own size, billed by the second while it runsVMs share a pool. A busy one uses what idle ones leave free
Size2 vCPUs and 512 MiB by default on Hobby. Pro lists custom sizes up to 8 vCPUs and 8 GiBPersonal pools from 2 vCPUs and 4 GiB to 16 and 32, and Work pools up to 512 vCPUs with approval
Disk10 GiB a sandbox on Hobby, 20 on Pro100 GB per 2 vCPUs of plan, shared by the VMs, then $0.08 a GiB-month
Coding agentsA package starts, prompts and streams supported coding agents in a sandboxYesClaude Code, Codex, Pi and exe.dev's Shelley in the default image

Lifecycle

E2Bexe.dev
Longest continuous run1 hour on Hobby, 24 on Pro. A pause and resume starts the clock againYesNo limit
When you set nothingA sandbox made with the SDK is deleted after 10 minutes, unless you extend it or turn on auto-pauseYesThe VM keeps running
Pause with memoryYesKept with no expiry and no compute billYesAnd the paused VM's CPU and memory go back to the pool
Wakes when a request arrivesOpt-in auto-resume for traffic you configureNot needed while it runs. A paused VM resumes by command
Copy a running machine with its processesYesFork into up to 20 copies in one SDK callNoCopies take the disk. Only the same VM resumes its processes
Start from a saved stateYesA template, or a full snapshot with memoryA Docker image, or a copy of a prepared VM's disk

Code and agents

E2Bexe.dev
Run code and keep its state between callsYesThe Code Interpreter SDK keeps variables and returns charts and tablesNoEach run is a new process
Desktop for computer useYesA desktop template with streaming and computer-use supportA recipe sets up an Xfce desktop and Chrome you open in a browser

Serving and networking

E2Bexe.dev
SSHBuild a template with an SSH server and connect through a WebSocket proxyYesBuilt in, with a named address
Who can open the appCallers with the sandbox's token or a signed URL, or everyonePeople you share it with by email or link, after sign-in. Website access is separate from shell access
Limit what the machine can reachYesAllow and deny lists of IP ranges, and allowed hostnamesYesAn integrations-only mode allows only the services you attach

Where it runs

E2Bexe.dev
RegionGoogle Cloud US West by default. AWS US East and West, Europe and Southeast Asia through supportYes8 regions in the US, Europe and Asia-Pacific, chosen for the account or for each Work pool
Run it yourselfYesE2B Embed, open source under Apache 2.0, on one Linux server. Enterprise runs in your AWS, Google Cloud or Azure accountEnterprise 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

PlanPriceWhat you get
E2B Hobby$0 plus usageDefault sandbox of 2 vCPUs and 512 MiB, 10 at once, 1-hour runs, $100 of credit once
E2B Pro$150 a month plus usageCustom sizes, 100 sandboxes at once, 24-hour runs
exe.dev Personal$15 a month2 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 months2 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 secondVMs 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.

See E2B alternatives, exe.dev alternatives, E2B vs Daytona, Daytona vs exe.dev, E2B vs Sprites and boat vs exe.dev.

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

  1. 1E2B pricing
  2. 2E2B billing and plans
  3. 3E2B sandbox sizes
  4. 4E2B sandbox price
  5. 5E2B persistence and pause
  6. 6E2B auto-pause
  7. 7E2B auto-resume
  8. 8E2B snapshots
  9. 9E2B forks
  10. 10E2B templates
  11. 11E2B private registries
  12. 12E2B Docker
  13. 13E2B code contexts
  14. 14E2B desktop
  15. 15E2B computer use
  16. 16E2B coding agents
  17. 17E2B MCP gateway
  18. 18E2B webhooks
  19. 19E2B secrets
  20. 20E2B SSH
  21. 21E2B public URLs
  22. 22E2B private access
  23. 23E2B custom domains
  24. 24E2B internet access
  25. 25E2B workspaces and SSO
  26. 26E2B regions
  27. 27E2B EU region
  28. 28E2B BYOC
  29. 29E2B Embed
  30. 30E2B security and compliance
  31. 31exe.dev Personal
  32. 32exe.dev Work
  33. 33exe.dev plan comparison
  34. 34exe.dev pools
  35. 35exe.dev standalone VMs
  36. 36exe.dev background work
  37. 37exe.dev pause and copy
  38. 38exe.dev Python SDK
  39. 39exe.dev architecture
  40. 40exe.dev images
  41. 41exe.dev private images
  42. 42exe.dev preinstalled agents
  43. 43exe.dev Linux desktop
  44. 44exe.dev MCP
  45. 45exe.dev GitHub integration
  46. 46exe.dev integrations catalog
  47. 47exe.dev internet access
  48. 48exe.dev custom domains
  49. 49exe.dev sharing
  50. 50exe.dev email
  51. 51exe.dev SSO
  52. 52exe.dev regions
  53. 53exe.dev Enterprise

Spot an error? Email support@heaven.dev with the page, the claim and a source.