# E2B Pricing: Plans, Rates and Limits (2026 Guide)

By Bethany Morrison · 2026-10-30 · Source: https://www.activepieces.com/blog/e2b-pricing-plans-rates-and-limits-2026-guide

---
<aside class="tldr"><p class="tldr-label">Summary</p><p>E2B charges $0.166 per hour for 2 vCPU and 4 GiB, with 1,000 monthly sandbox-hours costing $316 on Pro, billed per second and subject to session caps.</p><ul><li>2 vCPU, 4 GiB default sandbox costs $0.166 per hour, billed per second.</li><li>Hobby plan sessions cap at 1 hour, 20 concurrent sandboxes maximum.</li><li>1,000 monthly sandbox-hours on Pro total $316, including a $150 plan base.</li></ul></aside>

## E2B pricing plans, rates and limits

### E2B pricing summary and when checked

**E2B bills compute by the second**, and the plan you pick mostly decides how many sandboxes you can run at once and for how long.

E2B is an open-source cloud runtime that gives AI agents isolated sandboxes for running code, whether they're called from a hand-written script or from a workflow built in a tool like [Activepieces](https://www.activepieces.com).

On 30 October 2026, these figures were checked against e2b.dev/pricing and the docs. The same limits apply whether you drive sandboxes from your own code or from an automation platform.

### E2B Hobby, Pro and Enterprise plans compared

Look at two limits in the table first, the ones that cap a workload before the invoice does: concurrent sandboxes and maximum session length.

Hobby's one-hour ceiling is the one to check first, because any agent task that outlives it gets cut off, whatever it would have cost.

| Plan | Concurrent sandboxes | Max session |
|---|---|---|
| Hobby | 20 | 1 hour |
| Pro | 100–1,100 | 24 hours |
| Enterprise | 1,100+ | Custom |

If your peak sits inside the number you actually have, a burst of parallel runs fits, and Pro's range starts at 100 and tops out at 1,100. Anything beyond that, or any session past 24 hours, means an Enterprise conversation.

### Per-second compute rates for vCPU and memory

If a sandbox lives for 90 seconds, you pay for 90 seconds, not a rounded-up hour, because billing runs per second.

[Boxyard](https://boxyard.dev/providers/e2b/pricing)'s [published conversion](https://boxyard.dev/providers/e2b/pricing) puts a 1 vCPU, 2 GiB sandbox at $0.083 per hour, which is roughly $0.000023 per second, so a full one-hour Hobby session costs about eight cents.

![What an hour of E2B compute costs by sandbox size](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/c0e1e5f0-e13e-49da-adfa-2fd36d439735/e2b-pricing-plans-rates-and-limits-2026-guide-st-b3e1640e.svg "Source: Boxyard")

Step up to 2 vCPU and 4 GiB and **the price doubles to $0.166 per hour**. 4 vCPU with 8 GiB is $0.331, about four times the first.

At 8 vCPU with 8 GiB, the price is $0.533 per hour, 6.4 times the smallest size. That's a poor deal if your code is memory-light, since memory stayed flat while the price rose.

![Activepieces workflow builder showing a five-step competitor price monitoring automation with schedule trigger, Google…](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/0a2a8ed3-423a-4bec-884d-43cb1cb21bcd/cursor-business-plan-pricing-in-2026-costs-vs-pr-e429c609.webp)

At the other extreme, 1,100 smallest-size sandboxes running for an hour come to about $91, which is the ceiling to compare against your Pro credit.

Leave a smallest-size sandbox running for the whole 24-hour Pro maximum and it costs close to $2. An idle one therefore costs little on its own, but **a forgotten fleet of them adds up quickly**.

For the custom session length and the 1,100+ concurrency, you go through E2B's sales contact, because neither is a self-serve setting on Enterprise. Bring your peak concurrent count and your longest expected session, since those are the two numbers the quote depends on.

![Project Settings dialog showing Max Concurrent Jobs field set to Default (5) for the Secret Gadget Labs project.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/e4d68968-5f44-40ab-b8f7-6aa520ddfb8c/monday-mcp-connect-ai-agents-to-your-account-scr-d4e4c522.webp)

## What E2B costs at realistic monthly usage

At 1,000 sandbox-hours a month on Pro, E2B costs about $316, while a prototype of up to roughly 600 hours can run entirely on Hobby's one-time credit.

![Where an E2B sandbox-hour's cost goes: CPU or memory](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/d1526900-fa39-4df6-bc0c-78d3039edc71/e2b-pricing-plans-rates-and-limits-2026-guide-pi-57ec83e0.svg "Source: E2B docs")

### How E2B sandbox pricing is calculated

Start from the default sandbox, 2 vCPU and 4 GiB. The [E2B docs](https://docs.e2b.dev/faq/calculate-sandbox-price) put its CPU at $0.1008 per hour and its memory at $0.0648 per hour.

CPU is about 61% of the $0.1656 hourly total, so trimming vCPUs saves more than trimming memory. The steps below turn those rates into a monthly bill:

![How a month on E2B Pro is built up](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/c6c4cec2-9f53-47ce-8104-defcb6886baf/e2b-pricing-plans-rates-and-limits-2026-guide-wa-886f3558.svg "Source: E2B")

1. Pick the vCPU and GiB for one sandbox.
2. Multiply each by its per-second rate and add the two.
3. Multiply by seconds per session.
4. Multiply by sessions per month.
5. Subtract the $100 one-time credit.
6. Add $150 if you are on Pro.

On every plan, steps 1 to 4 are the same. Steps 5 and 6 decide which plan the result lands on.

Take scenario 1, a prototype on Hobby credits: assume 100 sandbox-hours of testing a month. At $0.1656 per hour that is $16.56, so the $100 credit covers about 600 hours in total.

Because the credit is one-time, you're not getting $100 free every month. Once those hours are spent, the prototype either pays or stops.

### Scenario 2: a production agent on Pro

Assume 1,000 sandbox-hours a month. The usage cost is $166, and the [pricing page](https://e2b.dev/pricing) adds a $150 plan base, so the monthly total is $316 and **nearly half the bill is a fixed fee** you pay even in a quiet month.

![Pizza with half the slices bolted to the plate](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/068cab9a-0690-4ea8-80f8-7aafa6b1ec0f/e2b-pricing-plans-rates-and-limits-2026-guide-il-8a8f2bd7.webp)

If your unspent $100 credit still applies, the first month drops to about $216.

Don't mistake Pro's base fee for a discount: it doesn't make an hour cheaper, it buys the session length and concurrency headroom that Hobby lacks.

### Scenario 3: an always-on sandbox and why it costs the most

Leave one sandbox running all month and it costs about $121 in usage before the plan fee, because a month has about 730 hours. Ten of them cost about $1,209, because per-second billing charges for idle time exactly as it does for work.

Nothing ever stops the meter, and that is why this scenario costs the most, since usage bills the same either way. **If your agent waits on users most of the day, pausing or ending sessions is the cheapest saving available.**

![Parked empty taxi with its meter running](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/dd48e674-909d-43d8-971a-b568cf9c3058/e2b-pricing-plans-rates-and-limits-2026-guide-il-0f10d737.webp)

## Hidden costs and limits E2B users hit first

Four limits bite first: the session cap, the concurrency ceiling, billing that runs for as long as a sandbox is running, and sandbox size. Add to those the cleanup code you end up writing yourself.

Before you design around any of them, read the exact values on E2B's pricing and docs pages for your plan. Each limit moves either your bill or your architecture.

### E2B session length and concurrency limits

When a job outlasts the session cap, which is far shorter on Hobby than on Pro, it can't be one sandbox on Hobby. You have to checkpoint state and start a fresh sandbox, which is extra code and extra startup time per job.

Hobby also limits how many sandboxes can run at once. Past that ceiling, new requests are refused, so a traffic spike becomes failed user requests unless you add a queue. Moving to Pro raises both limits, and that raises your floor cost too.

### E2B charges for idle sandboxes

You pay for the time a sandbox is running, not the time it's doing work. An agent waiting on a user's reply, a slow model call or a human approval step is still on the meter if the sandbox is up.

<blockquote class="pull"><p>You pay for the time a sandbox is running, not the time it's doing work.</p></blockquote>

So a long wait inside a session costs the same as a long computation.

If your workflow pauses often, shut the sandbox down between steps and rebuild state when work resumes, rather than assuming quiet time is free.

### Larger sandboxes multiplying the rate

You can match the machine to the job with custom CPU and RAM sizing, but the per-second rate rises with the size you choose.

Setting every sandbox to the largest size to be safe multiplies your whole bill by the same factor. Size to the heaviest realistic task, then test whether lighter jobs can run smaller.

Because the signup credit is one-time, it won't cover that experimenting for long. Treat it as a trial budget and not a recurring allowance.

### Orphaned E2B sandboxes and cleanup

Lose track of a sandbox and it keeps running and keeps billing. Retries cause most orphans. If a request times out and your code retries, the first sandbox may still be alive while the second starts.

![Two identical lit boxes, one forgotten behind the other](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/a024948d-6f55-4beb-8088-a8c86cd3c670/e2b-pricing-plans-rates-and-limits-2026-guide-il-b7674e94.webp)

Give every sandbox a tag tied to the job that created it, and set a timeout so it ends itself. Run a periodic sweep that lists live sandboxes and kills any with no matching job.

Activepieces can run that sweep on a timer, and if the E2B call you need isn't in its catalogue, you can build the missing integration yourself and keep it in your own instance instead of waiting on a vendor release.

About 60% of its 746 integrations are community-contributed, counted straight from the open-source monorepo on GitHub, and the core is MIT-licensed.

Log creation and teardown for each one, because without those records you can't tell a leak from legitimate load when the invoice arrives.

## E2B, Daytona, Modal and Vercel Sandbox pricing

Once your logs give you real sandbox-hours, E2B and Daytona price level at $0.166 an hour for 2 vCPU and 4 GiB. [Modal](https://modal.com/blog/aws-lambda-price-article) sits higher at $0.238, so the hourly rate alone rarely settles the choice.

### Comparison table on price, limits and self-hosting

Compare the four vendors in the table on the figures that move a bill. Read the session and concurrency column first, because a cheap rate is worth little if the cap forces you onto a higher plan.

| Vendor | Entry price / free credit | 2 vCPU, 4 GiB per hour | Session and concurrency | Self-host |
|---|---|---|---|---|
| E2B | Free tier with starter credit | $0.166 | Caps rise with plan | Yes, open source |
| Daytona | Free credit on signup | $0.166 | Limits set by plan | Yes, open source |
| Modal | Monthly free credit | $0.238 | Limits set by plan | No |
| Vercel Sandbox | Included usage on the free plan | Metered on active CPU, not a flat hourly rate | Limits set by plan | No |

Check each vendor's dated pricing page before you copy any of this into a budget, since entry credit and caps are the cells that change most often.

### When E2B is the cheaper choice

Against Modal, E2B wins on raw compute. At $0.166 against $0.238, **Modal costs about 43% more per hour**, which is roughly $72 extra for every 1,000 sandbox-hours.

If your agents run many short sessions at steady volume, that gap compounds into a line item worth arguing about.

Against Daytona the rates are identical, so E2B is cheaper only if its plan limits fit your workload more tightly.

If your sessions are short and your concurrency is modest, you'll likely stay on a lower plan and never meet the cap that triggers an upgrade.

With either vendor, self-hosting is also open to you, which matters if your volume is high enough that managed rates stop making sense.

### When Modal or Vercel beats E2B

When your workload already lives on Modal, Modal wins. Moving data and functions out to a cheaper sandbox can cost more in engineering time than the $72 per 1,000 hours you save.

If your application already runs on Vercel and you want one invoice, Vercel Sandbox wins. Its metering on active CPU makes it hard to compare with a flat hourly rate, though.

At low volume the gap stops mattering. A few hundred sandbox-hours a month separates these vendors by a sum smaller than one engineer's afternoon, so pick on limits and fit.

## Monitor E2B spend with Activepieces and a Monday checklist

Don't expect Activepieces to make E2B cheaper or lift any of its limits.

It watches your usage so the limit that binds you shows up in an alert rather than on an invoice, and it can do that on the Free plan, which is $0 with 1,000 credits a month.

![Activepieces pricing page showing four subscription tiers with features and monthly costs.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/b5f4b19c-ef62-4a60-90b4-7717913b2053/copy-ai-pricing-2026-plans-costs-and-limits-scre-836b2c9c.webp)

Here the useful part of Activepieces, an automation builder, is small: a scheduled flow that asks E2B what's running and adds up how long it's been running.

Flows are unlimited on every plan, including free, so the monitor doesn't compete with your other automations for a flow quota.

It then tells you when the total looks wrong. Anything it can't see through E2B's API, it can't warn you about.

### The shape of the workflow, from a screenshot

Look at the screenshot for the shape of such a flow in Activepieces' builder. The flow, titled "Site Analysis SEO-ginika," runs four steps in sequence: a weekly schedule trigger, a Firecrawl scrape, an AI page audit and a Google Docs output.

![Activepieces workflow builder showing a four-step SEO analysis automation with scheduling trigger and configuration panel.](https://ap-marketing-media.fra1.cdn.digitaloceanspaces.com/uploads/e6aac0e4-b947-4e9e-9623-f33d924d60f7/activepieces-tutorial-for-building-your-first-wo-579bb200.webp)

A run costs 1 credit however many steps it has, though AI steps cost more.

The trigger's settings panel is open, with day, hour and timezone fields.

It is an SEO job, not an E2B monitor. But the structure is the one you need: a trigger on a timer, work in the middle, a result delivered somewhere you'll see it.

Because each step carries a "Test me" button, you can run one step against live data before publishing. The unpublished-changes warning at the top is a reminder that nothing runs on schedule until you press Publish. Swap the middle steps for the ones below.

### Stage 1: schedule a daily trigger

Use the same schedule trigger shown in the screenshot, but set it to run daily instead of weekly.

A weekly check finds a runaway sandbox only after a week of per-second billing has accrued, so the frequency decides how much a mistake can cost. Pick an hour and timezone when you'll actually read the result.

### Stage 2: list running sandboxes with an HTTP step

Add an HTTP step that calls E2B's API to list currently running sandboxes, authenticated with your E2B API key stored as a connection or secret, not pasted into the step.

Use "Test me" here first. If the response is empty when you know something is running, you have the wrong key or the wrong team, and every later step will report a false all-clear.

### Stage 3: alert when sandboxes run too long

Add a code step that reads each sandbox's start time, works out its age and totals the ages.

Then add a branch: if the total, or any single sandbox, passes the threshold you chose from your own worked example, send a Slack message or an email.

Set the threshold from your expected usage, not from E2B's session limit, because the limit is a ceiling and your budget is lower. Write the sandbox identifiers into the message so you can act without logging in to search.

Each Monday, run through this checklist:

1. Confirm the flow is published and the last scheduled runs completed.
2. Check that the alert still reaches a person who will read it.
3. Compare the week's sandbox time against your worked example.
4. Kill any sandbox no one can account for.
5. Revisit the threshold if your usage pattern has changed.

## Frequently asked questions

Confirm each answer below against E2B's pricing page and docs before you commit; all are as of 30 October 2026.

### Is E2B free to use?

Partly: E2B's free tier comes with a one-time usage credit rather than a recurring allowance, so it covers evaluation, not production. Once the credit is spent, sandboxes bill per second, and the **free tier's session and concurrency limits still apply**.

Read the credit's terms on the pricing page before you plan a month around it. If it carries an expiry, an unused balance is worth nothing after that date.

### Does E2B charge for sandboxes that are paused?

To keep a sandbox's state without keeping it running, the docs describe pause and resume. Per-second compute is billed while a sandbox runs, so a paused one shouldn't accrue it.

Storage is a separate question, and the docs and the pricing page are the place to check how persisted state is treated. Until you have confirmed that, assume paused sandboxes cost something and test with one before you build an idle-sandbox strategy on it.

### Can I self-host E2B to avoid usage fees?

You can: E2B's infrastructure is open source, and the docs describe self-hosting on your own cloud account. That removes E2B's per-second fee but moves the cost elsewhere. You pay your cloud provider for the compute, and your team runs, patches and scales the platform.

Self-hosting only makes sense if you have the platform engineering to run it, or a volume where the hosted bill clearly exceeds that staffing cost.

### Does E2B offer startup or volume discounts?

No volume discount shows in the published tiers, and any discount for startups or heavy users would come through a conversation with E2B's sales team, not a self-serve toggle.

If your worked example lands near a plan boundary, ask before you sign. Get any agreed terms in writing, because the pricing page won't record them.

### What happens when I hit the concurrent sandbox limit?

Once you hit it, new sandbox creation is refused until a running one ends, so your application needs a queue or a retry path, not an assumption that every request gets a sandbox.

The practical consequence is that concurrency, not price per second, is often what forces an upgrade.

Look up your plan's limit in the docs, compare it with your peak load, and treat a rejected request as a case to handle in code, not an edge case.

## Related reading

- [Best AI Agent Templates to Run Today Without Code](https://www.activepieces.com/blog/best-ai-agent-templates-to-run-today-without-code)
- [Jev Agent vs Browser Use: Managed Agent or Free Python Code](https://www.activepieces.com/blog/jev-agent-vs-browser-use-for-ai-automation-in-2026)
- [Best Tools for Citizen Developers in 2026](https://www.activepieces.com/blog/tools-for-citizen-developers-in-2024)

## References

- [Boxyard](https://boxyard.dev/providers/e2b/pricing)
- [E2B](https://e2b.dev/pricing)
- [E2B docs](https://docs.e2b.dev/faq/calculate-sandbox-price)
