> Source: https://agentinfraindex.com/compare/e2b-vs-modal/ | Content snapshot: 2026-11-28. Check individual evidence and review deadlines before relying on current claims.

[Sandboxes](https://agentinfraindex.com/c/sandboxes/)  
SAVED BENCHMARK COMPARISON

# E2B vs Modal

E2B completed 10 of 10 samples in 2026-W43 (measured 2026-10-20), with a successful-run median total of 2.06 s; Modal completed 10 of 10 samples in 2026-W43 (measured 2026-10-20), with a successful-run median total of 2.00 s. These are each provider’s latest saved published sandbox batches. Small samples, different default resources and regions, and successful-run timings limit what these results establish; failed and reference-error samples are excluded from timing, total excludes teardown, and costs are unmeasured. These completion counts do not establish provider reliability.

Choose by task

- [Run short Python tasks in a hosted sandbox](https://agentinfraindex.com/jobs/short-python-sandbox/)

- [Start sandboxes for interactive agents](https://agentinfraindex.com/jobs/interactive-sandbox-startup/)

- [Estimate the lowest sandbox compute cost for a short task](https://agentinfraindex.com/jobs/short-sandbox-compute-cost/)

## The measured workflow

Create a fresh sandbox through the official SDK. Install requests, SHA-256 hash 50 MB of generated bytes, then write and read a 100 MB file. Destroy the sandbox.

On a narrow screen, scroll the table sideways to see both providers.

Both providers were measured on the same UTC date.

| Measurement | [E2B](https://agentinfraindex.com/p/e2b/) | [Modal](https://agentinfraindex.com/p/modal/) |
| --- | --- | --- |
| Measured week | 2026-W43 | 2026-W43 |
| Measured date (UTC) | 2026-10-20 | 2026-10-20 |
| Method version | v2 | v2 |
| Successful runs / recorded samples | 10/10 | 10/10 |
| Reference-page errors | 0 | 0 |
| Successful samples with total timing | 10 | 10 |
| p50 total · successful runs | 2.06 s | 2.00 s |
| p95 total · successful runs | 2.24 s | 2.57 s |
| p90 total · share-card metric | 2.24 s | 2.57 s |

p50 is the median; p95 uses the nearest rank (round 0.95 × timing sample count up). With ten or fewer timings, p95 is the largest successful-run total, not a reliable estimate of a population tail. The p90 row matches the share card; p50 and counts match the embed badge. “—” means no successful timing is available.

Reference-page errors remain in recorded sample counts but are excluded from timings and are not provider reliability failures. Other failed samples are also excluded from timings. Missing weeks are not zero-success results. No samples are pooled across weeks or revisions.

### E2B · 2026-W43

Ten runs are a small sample. Default resources and regions differ. Median timings use successful samples only; total excludes teardown. Compare only within the same workflow. Costs are not measured.

Default sandbox image; package installation requires network access.

[Saved batch & raw evidence](https://agentinfraindex.com/benchmarks/results/2026-W43/sandbox-e2b-33190c82fb5d5b5bb8037869bb8adb1f88bb27e9e59a6ce790724edcd2d2708d/)  ·  [2026-W43 week page](https://agentinfraindex.com/benchmarks/weeks/2026-W43/)  ·  [Provider history](https://agentinfraindex.com/p/e2b/#across-weeks)

### Modal · 2026-W43

Ten runs are a small sample. Default resources and regions differ. Median timings use successful samples only; total excludes teardown. Compare only within the same workflow. Costs are not measured.

Debian slim image. Available credits depend on account verification; no cost estimate is included.

[Saved batch & raw evidence](https://agentinfraindex.com/benchmarks/results/2026-W43/sandbox-modal-7df824438f1c312a82b64fefcb3d73fc62f302e81dd3b3ef7c53728482b61a5f/)  ·  [2026-W43 week page](https://agentinfraindex.com/benchmarks/weeks/2026-W43/)  ·  [Provider history](https://agentinfraindex.com/p/modal/#across-weeks)

[Full methodology & limits](https://agentinfraindex.com/benchmarks/#methodology)

## Dated pricing & free access

These source reviews are separate from the benchmark dates. Confirm current plans, eligibility and account allowances before running a workload.

### [E2B](https://agentinfraindex.com/p/e2b/)

#### Starting plan

Hobby $0 + usage ($100 one-time credit); Pro $150/mo + usage
Source confirmed Nov 23, 2026   
Last confirmed Nov 23, 2026. Recheck due Nov 30, 2026.

Reviewed November 23, 2026: Hobby has no base fee and Pro lists $150 per month plus usage. The $100 grant is introductory. The no-card headline now has a footnote describing a possible paid verification step.

plans

Hobby has no base fee; Pro is $150/month plus metered usage.

included

The advertised $100 credit is one-time; usage remains metered.

verification

Some accounts require a one-time $5 card payment for abuse prevention. The payment becomes usage credit and is non-refundable.

[Vendor source](https://e2b.dev/pricing)

#### Free access & caveats

Starter credit
Source confirmed Nov 23, 2026  
Last confirmed Nov 23, 2026. Recheck due Nov 30, 2026.

Reviewed November 23, 2026: The $100 one-time Hobby grant remains advertised. The starred no-card headline is qualified by a footnote: some accounts must make a non-refundable $5 card payment, added as usage credit. Universal no-card access is no longer supported.

included

Hobby includes a $100 one-time usage credit.

eligibility

The pricing page advertises no-card signup but states that some accounts must verify with a one-time $5 card payment.

verification

The $5 payment is non-refundable and added to the project as usage credits.

renewal

The introductory credit does not renew. Remaining balance, grant expiry and whether verification applies to an individual account are unknown.

[Vendor source](https://e2b.dev/pricing)
[E2B details & setup guide](https://agentinfraindex.com/p/e2b/)

### [Modal](https://agentinfraindex.com/p/modal/)

#### Starting plan

Starter $0 + compute; $30/mo included compute (payment method required)
Source confirmed Nov 23, 2026  
Last confirmed Nov 23, 2026. Recheck due Nov 30, 2026.

Reviewed November 23, 2026: Starter retains a zero monthly base and $30 monthly compute credit. The pricing FAQ covers Functions and Sandboxes and excludes Model API tokens. The billing guide requires a payment method.

plan

Starter, published plan terms in USD.

excluded

Model API tokens are billed from the first request. Excess or excluded usage can incur charges.

account

Published terms do not establish actual available credit.

[Vendor source](https://modal.com/pricing)

[Billing and payment requirements](https://modal.com/docs/guide/billing)

#### Free access & caveats

Free allowance
Source confirmed Nov 23, 2026  
Last confirmed Nov 23, 2026. Recheck due Nov 30, 2026.

Reviewed November 23, 2026: Starter includes $30 monthly compute for CPU, memory and GPU workloads. Model API tokens are charged from the first request, and the billing guide requires a payment method.

included

$30/month of included GPU, CPU and memory compute on Starter.

eligibility

The billing guide requires a payment method on file.

excluded

Model API tokens are billed from the first request.

limits

Excess or excluded usage can incur charges. Remaining balance and enforcement settings are unknown.

[Vendor source](https://modal.com/docs/guide/billing)

[Plan allowance and exclusions](https://modal.com/pricing)
[Modal details & setup guide](https://agentinfraindex.com/p/modal/)

## Get weekly agent infrastructure updates

New tools, pricing changes, and benchmark updates. Delivered on Tuesdays.

Free. Every Tuesday. Unsubscribe anytime.
[Or subscribe on Beehiiv](https://agentinfraweekly.beehiiv.com/subscribe?utm_campaign=compare_e2b-vs-modal)
