Dory and E2B compared

E2B and Dory both give AI agents a Linux machine to work in, but they are built for different jobs. An E2B sandbox can run for up to 1 hour (Hobby) or 24 hours (Pro) without a pause, and a paused sandbox can be kept and resumed later (billing, sandbox lifetime). Dory is a computer an agent keeps: SSH, Docker, a desktop and files that stay put, billed per second with a cap on each computer every month.

This page sets out public facts from both sides so you can pick the right one. E2B facts come from E2B's own pages, read on 25 November 2026 (run limits and pausing re-read on 26 November); prices and limits change, so check the linked pages before you decide. Dory facts come from our pricing, tiers and honest limits pages.

Price for the same size

E2B bills per second for vCPU and RAM separately ($0.000014 per vCPU-second and $0.0000045 per GiB-second, disk included, e2b.dev/pricing). Dory bills per second for a whole size. Per hour, at sizes both offer:

Size E2B (from published rates) Dory
2 vCPU, 4 GB RAM $0.1656 an hour $0.0288 an hour (ac-2, 40 GB disk)
4 vCPU, 8 GB RAM $0.3312 an hour $0.0576 an hour (ac-4, 80 GB disk)

Dory's vCPUs are shared, and each Dory computer stops charging for compute and its own storage once it reaches its monthly cap ($13.50 for ac-2, $26.10 for ac-4). E2B lets you set spending limits in its console (billing), and its Pro plan adds a $150 monthly fee on top of usage (e2b.dev/pricing).

Side by side

E2B Dory
Plans Hobby: free, one-time $100 usage credit. Pro: $150 a month plus usage. Enterprise: custom (pricing) No plans or monthly fee. Prepaid credit, $20 to $100 per PayPal payment; no trial (pricing)
Longest continuous run 1 hour on Hobby, 24 hours on Pro; pausing resets the window (billing) Run timer up to 30 days, default pause on expiry; always-on mode runs with no timer (timeouts)
Pause and resume Saves memory and files; resume in about a second; paused sandboxes are kept until you delete them (persistence) Saves memory to disk; resuming restores the whole virtual machine; saved memory is kept 30 days, then the computer is stopped with its disk (honest limits)
Largest machine Up to 8 vCPU and 8 GiB on Hobby; larger on Pro by arrangement (billing) Up to 64 vCPU, 128 GB RAM and 1,280 GB disk (Tier 2) (tiers)
Disk 10 GiB on Hobby, 20 GiB on Pro (pricing) 40 GB to 1,280 GB, by size (pricing)
Running at once 10 on Hobby, 100 on Pro, more as paid add-ons (billing) 2 at Tier 1, 6 at Tier 2, more by agreement at Tier 3 (tiers)
Pause and resume speed Pause about 4 seconds per GiB of RAM; resume about 1 second (persistence) A whole virtual machine boots; creation takes tens of seconds (honest limits)
Run it yourself Bring-your-own-cloud on AWS, Google Cloud and Azure for Enterprise, and an open-source single-machine runtime (BYOC) Hosted only

When E2B is the better choice

  • You run many short tasks at once: E2B allows 10 to 100+ concurrent sandboxes; Dory runs 2 or 6 computers at once by tier, more only by agreement.
  • You need resumes in about a second for every request.
  • You want to try it before paying: E2B's Hobby plan starts with $100 of credit; Dory has no trial.
  • You need it inside your own cloud account.

When Dory is the better choice

  • Your agent keeps one machine for days or weeks: a dev box, an always-on agent, a long crawl or build.
  • You want each machine capped automatically: every computer has a monthly cap, so a machine left running all month costs at most its cap for compute and its own storage.
  • You need more room: bigger disks and up to 64 vCPU and 128 GB of memory.
  • You want a full computer: SSH, Docker, a desktop stream, a computer-use API and a Playwright endpoint on the same machine.

Moving over

Dory has its own API; an unmodified E2B SDK cannot point at it. The porting guide maps each E2B call to its Dory equivalent and lists where the meaning differs.

E2B is a trademark of its owner and is named here only to compare published facts. Dory is not affiliated with or endorsed by E2B.