E2B logo

E2B

Open-source sandboxes for AI-generated code.

E2B runs each sandbox in a Firecracker microVM. It costs $0.0504 per vCPU-hour and $0.0162 per GiB-hour, billed per second. New accounts get a $100 credit, one time.

Updated

$0.050
vCPU per hour
$0.016
RAM per GiB-hour
24 hours
Max session
8 vCPU · 8 GiB
Largest sandbox

Specifications

List prices and limits for E2B

vCPU per hour
$0.0504
RAM per GiB-hour
$0.0162
Storage
Free
Billing
Per second
Free tier
$100 credit, one time
Paid plan from
$150 / month
Max session
24 hours1 hour on Hobby
Idle stop
Not listed
Sandbox size
1 to 8 vCPU, 1 to 8 GiBCustom sizes on Enterprise
Default size
2 vCPU · 4 GiB
Concurrent sandboxes
Up to 1,10020 on Hobby, up to 1,100 on Pro, tens of thousands on Enterprise
Storage
10 GiB on Hobby, 20 GiB on Pro

Platform

e2b.dev/docs
Isolation
Firecracker microVM
GPU
No
Snapshots
Pause and resume
Keeps files and memory
Desktop
Ubuntu desktop with VNC
Regions
4EU and APAC on Pro plan and above

Developer

e2b.dev/docs
SDKs
Python, JavaScript / TypeScript
Integrations
LangChain, OpenAI Agents SDK, Vercel AI SDK, MCP
License
Apache-2.0
Self-hosting
E2B Embed on one machine, Google Cloud, AWS, Azure, or Linux host
BYOC
Enterprise plan
Compliance
SOC 2 Type II (Report on request), HIPAA (BAA on request)

Plans

Hobby

$0
Credit
$100, one time
Concurrent sandboxes
20
Max session
1 hour
Sandbox CPU and RAM
Default

Pro

$150per month, plus usage
Usage
Billed by the second
Concurrent sandboxes
100, expandable to 1,100
Max session
24 hours
Custom CPU and RAM

Enterprise

Custom
Concurrent sandboxes
Tens of thousands
Max session
Multi-day
BYOC

Hourly cost

E2B next to other providers

One sandbox with 2 vCPU and 4 GiB of RAM for one hour, at list price.

Agent37 Cloud
x
Hugging Face Sandboxes
x
Lizard Sandboxes
x
boat
x
Koyeb Sandboxes
x
Celesto Cloud
x
tama
x
E2B
x

Compute only. Storage and network are not included.

Open the calculator

Compare E2B

Alternatives to E2B

Recent changes

Related

More pages that include E2B