E2B by E2B (FoundryLabs)
Secure cloud sandboxes (microVMs) where agents run code, start in under a second.
Code sandboxes Official MCP server Open source
Price
Free plan
paid plans from $150/mo
Free tier
Yes
Hobby: $100 one-time usage credit, sessions up to 1...
SDK downloads
3.4M
npm e2b · PyPI e2b
Status
Up
2 incidents in 30 days
Pricing
| Free tier | Hobby: $100 one-time usage credit, sessions up to 1 hour, 20 concurrent sandboxes |
|---|---|
| Cheapest paid plan | $150 a month |
| Usage price | $0.000014/s per vCPU ($0.0504 per vCPU-hour) + $0.0000045/s per GiB RAM; default sandbox 2 vCPU / 4 GiB |
| Good to know | Billed per second of running sandbox. Pro $150/month + usage (24-hour sessions, 100 concurrent; +$500/mo for 600, +$1,000/mo for 1,100). Enterprise requires $3,000/month minimum. Code-interpreter SDK: e2b-code-interpreter / @e2b/code-interpreter. |
From the official pricing page, checked Oct 9, 2026. Prices change: confirm before you buy.
Use it from an agent
| MCP server | Official: @e2b/mcp-server |
|---|---|
| npm | npm install e2b |
| PyPI | pip install e2b |
| GitHub | e2b-dev/E2B · 14.3K stars · last push Oct 9, 2026 |
Alternatives to E2B
| API | Free | Price | SDK downloads / wk | GitHub stars | MCP |
|---|---|---|---|---|---|
| Modal Sandboxes Serverless isolated containers for coding agents and untrusted code, with GPUs available. |
Starter: $30/month of free compute, no monthly fee | Free plan · paid from $250/mo | 11.5M | 522 | MCP (community) |
| Vercel Sandbox Ephemeral Linux microVMs on Vercel for running untrusted or AI-generated code. |
Hobby: 5 active-CPU hours, 420 GB-hours... | Free plan · paid from $20/mo | 6.3M | 210 | MCP |
| Daytona Fast-starting sandboxes (CPU, GPU, Windows) for running AI-generated code, billed per second. |
$200 in free compute, no credit card | Free plan then vCPU $0.0504/hour; memory $0.0162 per GiB-hour; storage... |
2.3M | 71.6K | MCP |
| CodeSandbox SDK Programmatic microVM sandboxes with snapshot/fork, for running agent and user code. |
Build plan: free, 10 concurrent VMs... | Free plan · paid from $170/mo | 119K | 112 | |
| Riza Code Interpreter API that runs untrusted Python, JavaScript, TypeScript, Ruby and PHP in WebAssembly isolation. |
Hobby: up to 100,000 requests/month,... | Free plan · paid from $250/mo | 3,874 | 5 | MCP |