Firecracker microVM sandboxes for AI agents. Hobby is $0 plus usage; Pro is $150/month. Open-source SDK on GitHub.

Share:
View alternatives

E2B

E2B is a sandbox platform for running untrusted agent code. The live price table is on e2b.dev/pricing. The old page led with "1B+ sandboxes" and "94% of the Fortune 100".

Compare Modal if you want Python serverless plus GPUs on the same bill, rather than a sandbox-first microVM.

Key Features

  • Firecracker isolation: Each sandbox is a microVM, not a shared container.
  • Code interpreter SDK: e2b-code-interpreter / @e2b/code-interpreter for run_code.
  • Desktop / computer use: Homepage still lists desktop sandboxes for browser and OS agents.
  • Storage meter: Pricing page bills storage at $0.05 / 1 GB / month beyond 10 GB.
  • Enterprise extras: Same page lists custom limits, SOC 2, SSO, SLAs, and on-prem / air-gapped as enterprise, not as Hobby defaults.

Use Cases

  • Coding agents that must exec model-written code outside the orchestrator.
  • Computer-use agents that need a disposable desktop.
  • Products that want a sandbox vendor, not a general GPU cloud.

Limitation: we did not re-verify "sub-200ms", "24-hour sessions", or "100 concurrent on Pro" on a live limits page. Do not treat those as current first-party caps. Isolation is microVM; it is not Modal's container story.

Pricing

e2b.dev/pricing on 2026-08-17:

Plan Price What the page states
Hobby $0 + usage $100 in one-time credits. No concurrent-sandbox cap listed. Community support.
Pro $150 / month + usage Higher limits, dedicated Slack.
Enterprise Custom Custom limits, SOC 2, SSO, SLAs, on-prem / air-gapped, 24/7 support.
Compute Usage $0.000014 / s per vCPU ($0.0504 / vCPU-hour). $0.0000045 / s per GiB ($0.0162 / GiB-hour).
Storage Usage $0.05 / 1 GB / month beyond 10 GB.

Getting Started

  1. Read e2b.dev and create an API key.
  2. pip install e2b-code-interpreter or npm i @e2b/code-interpreter.
  3. Run a sandbox, then run_code.
  4. Add spend alerts before you put it under an agent loop.

Frequently Asked Questions

Is E2B open source?

The E2B GitHub org is public. The hosted cloud is paid usage on top.

Hobby vs Pro?

Hobby is $0 plus usage with $100 one-time credits. Pro is $150 / month plus the same compute meters.

Is this the same as Modal?

No. Modal is a general serverless/GPU platform with a sandbox API. E2B is sandbox-first microVMs.

Alternatives

Tips

  1. Price vCPU, memory, and storage as three meters. The $150 is not a compute cap.
  2. Do not paste old Fortune 100 or 1B-sandbox claims into a deck.
  3. Confirm session length and concurrency on the dashboard. They were not on the pricing table we used.

Conclusion

E2B is still the Firecracker sandbox you buy when the agent must exec code or drive a desktop. Start at e2b.dev/pricing, then decide whether you need Modal's GPUs instead.

Comments

No comments yet. Be the first to comment!