E2B

A safe, disposable computer for code your model wrote. The free tier is a one-time $100 credit, not a monthly allowance.

Price
from $150/month
Free tier
Free tier: yes
Updated
Updated Sep 6, 2026
Website
Website

Good for / not for

  • Anyone building a coding agent or a code-interpreter feature that has to execute model-written code somewhere.
  • Trying the idea cheaply: Hobby is $0 plus usage against a one-time $100 credit, and usage is $0.000014 per vCPU-second.
  • Teams that want the option to self-host: it is Apache-2.0, deployable with Terraform, Nomad and Consul on GCP, with AWS in beta.
  • Anyone weighing the vendor: a $21M Series A led by Insight Partners closed on 27 July 2025, and E2B claims 88% of the Fortune 100 have signed up.
  • Long-running batch jobs. Billing is per second, and it adds up.
  • GPU-in-sandbox work.
  • Anyone who needs a machine that stays up: Hobby sessions stop at one hour, and 24-hour sessions start on Pro at $150 a month.

What it actually does

E2B is a sandbox as a service. Your agent writes code, E2B starts a small disposable cloud computer, runs the code there, hands back the output and throws the machine away. It exists because the alternative — letting a model run whatever it just invented on your laptop or your production server — is the thing nobody wants to do twice. That makes it the layer underneath code-interpreter features, data-analysis agents and coding agents that need to execute rather than only suggest. Pricing is usage-based on every tier. Hobby is $0 plus usage and comes with a one-time $100 credit: spend it and you are simply paying by the second, because it does not renew each month. Hobby sessions stop at one hour, with 20 concurrent sandboxes and 10GiB of storage. Pro is $150 a month plus usage and raises that to 24-hour sessions, 100 concurrent sandboxes — extendable to 1,100 — and 20GiB. Usage itself is $0.000014 per vCPU-second and $0.0000045 per GiB-second of RAM, which is cheap per run and less cheap at volume: community estimates put 100,000 runs of 30 seconds each at roughly $504 a month in sandbox time alone, before model costs.

What the $100 credit is, exactly

Sign up for Hobby and run sandboxes against the included credit.

A one-time $100 of usage, not $100 a month. When it is gone, Hobby is $0 plus per-second usage — and sessions still stop at one hour, with 20 sandboxes at a time.

From the vendor's docs

Pricing and free-plan limits

Free tier: A one-time $100 usage credit — not a monthly allowance — with 1-hour maximum sessions and 20 concurrent sandboxes.

PlanPriceWhat you get
HobbyFree
  • A one-time $100 usage credit
  • 20 concurrent sandboxes
  • 10GiB storage

Limits: 1-hour maximum session · The $100 does not renew — after it, you pay per second

The plan is $0 plus usage: $0.000014 per vCPU-second and $0.0000045 per GiB-second of RAM.

Pro$150/month
  • 24-hour sessions
  • 100 concurrent sandboxes, extendable to 1,100
  • 20GiB storage

$150 a month plus usage, at the same per-second rates.

EnterpriseCustom pricing
  • Quoted rather than listed

No figure is published.

Prices checked on Sep 6, 2026 against the vendor's pricing page. Plans change often — confirm before you pay.

Three honest limitations

  1. The free tier is a one-time $100 usage credit rather than a recurring monthly allowance. Once it is spent, Hobby is $0 plus per-second usage, and sessions are still capped at one hour.
  2. Per-second billing is cheap per run and expensive in volume: community estimates on r/LangChain and r/AI_Agents put 100,000 runs of 30 seconds each at roughly $504 a month in sandbox time alone, before model costs.
  3. Open issues on the tracker include unhandled TLS close_notify errors during command streaming (#1726) and stdout stalls after auto-resume (#1352).

Alternatives

  • Browser UseChoose Browser Use instead if the task is operating a website — clicking and typing — rather than running code.
  • FirecrawlChoose Firecrawl instead if you only need the contents of a page, which needs no sandbox at all.
  • LangfuseChoose Langfuse instead if the code already runs and what is missing is a record of what your app did and what it cost.

Getting started in 5 minutes

  1. Sign up for Hobby and treat the $100 as a budget you spend once. It is a one-time credit, and there is no monthly refill.
  2. Run one sandbox end to end — start it, execute something, read the output, let it die — before wiring it into an agent loop.
  3. Size your work against the 1-hour session cap. If a job needs longer, that is Pro at $150 a month, where sessions run to 24 hours.
  4. Do the arithmetic before you scale. At $0.000014 per vCPU-second a single run costs almost nothing; multiply it by your expected run count before committing.
  5. Self-host only with the appetite for it: Apache-2.0, via Terraform, Nomad and Consul on GCP, with AWS in beta.

E2B questions

Why does an AI agent need a sandbox?
Because the code was written by a model rather than by you, and the only way to find out what it does is to run it. A sandbox is a disposable computer somewhere else: the code runs there, you keep the output, the machine is destroyed. Nothing it did reaches your laptop or your production server. That is the standard shape for code-interpreter features and data-analysis agents.
Is E2B free?
Hobby is $0 plus usage and comes with a one-time $100 credit. That is not a monthly allowance and it does not renew. After it is spent you pay per second: $0.000014 per vCPU-second and $0.0000045 per GiB-second of RAM. Hobby also caps sessions at one hour and gives you 20 concurrent sandboxes and 10GiB of storage.
What does it cost at scale?
Cheap per run, real money in volume. Community estimates circulated on r/LangChain and r/AI_Agents put 100,000 runs of 30 seconds each at roughly $504 a month in sandbox time alone, before model costs. Pro at $150 a month is still usage on top; what it buys is 24-hour sessions and 100 concurrent sandboxes, extendable to 1,100.
Can I self-host E2B?
Yes. It is Apache-2.0 and self-hostable through Terraform, Nomad and Consul on GCP, with AWS support in beta. That is infrastructure work rather than a checkbox, so it suits teams already running their own platform.
Is the project active?
13,686 GitHub stars, last pushed on 4 September 2026, with the Python package at v2.46.4 on 2 September 2026. A $21M Series A led by Insight Partners closed on 27 July 2025, with Decibel, Sunflower and Kaya participating. The company claims 88% of the Fortune 100 have signed up — its own figure.

Sources

Research-compiled, not hands-on tested. Compiled from official docs, the vendor's pricing page and community reviews as of Sep 6, 2026. We haven't tested it hands-on yet.

Firecrawl

from $16/month

Turns a web page into clean text an AI can read. A recurring free tier: 1,000 credits a month, no card.

Browser Use

Usage-based

Browser Use is a product, not a phrase: it puts an AI agent in a real browser to click, type and finish web tasks.

Langfuse

from $29/month

Open-source tracing for AI apps: what went out, what came back, what it cost. Free for 50,000 units a month.