E2B logo

E2B: Pricing, Features & Alternatives

E2B is the sandbox layer many agent products and code-interpreter features call when a model writes code that has to actually run. Each sandbox is an isolated microVM that starts in well under a second, with SDKs for Python and JavaScript and filesystem, process and network access. Compute is billed per second on every plan ($0.000014 per vCPU-second, $0.0000045 per GiB-second). Plans change the limits: Hobby is free with $100 of one-time credit, 1-hour sessions and 20 concurrent sandboxes. Pro is $150/month for 24-hour sessions and 100 concurrent sandboxes, with add-ons up to 1,100. Enterprise starts at $3,000/month and adds bring-your-own-cloud.

Category

Agent Sandboxes & Code Execution

Pricing

Free tier available

Free tier

Yes

Best for

Agent Sandboxes & Code Execution — sandbox, agents

E2B Pricing Plans (2026)

PlanPrice
Hobby$0 + $100 one-time usage credit
ProPopular$150 / month + usage
EnterpriseFrom $3,000 / month

Pricing summary: Free · paid from $150/mo. Always confirm current pricing on the official site.

Key E2B Features

  • Sessions up to 24 hours
  • 100 concurrent sandboxes
  • Add-ons to 600 or 1,100 concurrent

Pros

  • +Purpose-built for agents, with SDKs designed around tool calls
  • +Fast microVM startup with real isolation
  • +Open-source core

Cons

  • −$150/month before any compute on the first paid tier
  • −Hobby sessions cap at one hour
  • −Usage billing on top of the plan makes costs harder to forecast

Best E2B Alternatives

Compare all

E2B Compared

E2B FAQ

What is E2B used for?⌄

E2B is a agent sandboxes & code execution tool. Open-source cloud sandboxes built for AI agents to run code in. The Hobby tier is free with $100 in credits, and Pro is $150/month plus usage.

Is E2B free?⌄

Yes — E2B has a free tier you can start with, and paid plans for more usage and features.

How much does E2B cost?⌄

E2B offers a free tier, with paid plans starting at $150/month. Some plans are usage-based (pay-as-you-go).

What are the best E2B alternatives?⌄

Popular E2B alternatives include Modal, Vercel Sandbox. Compare pricing and features on our E2B alternatives page.

Not sure if E2B fits your stack?

Get a free, AI-powered tech stack tailored to your budget, app type, and team size — including the best agent sandboxes & code execution pick for you.

Build my stack free