E2B vs ModalSandbox Benchmark Comparison

E2B
Faster in 1 of 2
vs
Modal
Faster in 1 of 2

E2B and Modal were each faster in 1 of 2 shared sandbox benchmarks.

Shared benchmarks
2
Last run
October 30, 2026
Want the full run details?Sign up free →

Scorecard

Median of each benchmark's primary metric; lower is better. Medians within 5% count as roughly even, and a benchmark gets no speed verdict when either provider completed fewer than 50% of runs.

BenchmarkE2BModalResultRatio
Burst TTI
Time to interactive · Run October 30, 2026
1.27s
100% success
751ms
100% success
Modal faster
1.69x
DAX
Total workload time · Run October 30, 2026
75.86s
100% success
105.55s
100% success
E2B faster
1.39x

Burst TTI

Run October 30, 2026

Time from sandbox creation to the first successful command, with 100 sandboxes launched at the same time.

Time to interactive

E2B

100% success
Median
1.27s
P95
1.47s
P99
1.70s
E2B Burst TTI results →

Modal

100% success
Median
751ms
P95
972ms
P99
996ms
Modal Burst TTI results →

Modal had a 1.69x lower median time to interactive (751ms vs 1.27s for E2B).

Median time to interactive over time

145 runs from March 8, 2026 to October 30, 2026.

E2BModal
View the full Burst TTI leaderboard →

DAX

Run October 30, 2026

A real developer workload: install system packages, download Bun, clone the opencode repo, then run bun install and bun typecheck.

Total workload time

E2B

100% success
Median
75.86s
P95
75.86s
P99
75.86s
E2B DAX results →

Modal

100% success
Median
105.55s
P95
105.55s
P99
105.55s
Modal DAX results →

E2B had a 1.39x lower median total workload time (75.86s vs 105.55s for Modal).

Median total workload time over time

10 runs from July 21, 2026 to October 30, 2026.

E2BModal
View the full DAX leaderboard →

Cost per DAX run

Each provider's DAX median total workload time (run October 30, 2026) multiplied by its published rate at the 8 vCPU / 16 GiB benchmark spec. Workload time excludes sandbox create and destroy, and subscription floors and included credits are not modeled.

E2B

Per-second wall clock
$0.014per run
75.86s median at $0.6624/hr

$0.000014/vCPU-s + $0.0000045/GiB-s. Disk (20 GiB Pro) included.

Source pricing page

Modal

Per-second, max(request, actual)
$0.028per run
105.55s median at $0.9518/hr

Sandbox rate $0.00003942/core-s (4 cores = 8 vCPU) + $0.00000667/GiB-s. Regional multipliers (1.25–2.5x) not included.

Source pricing page
Compare sandbox costs across all providers →

Methodology

  • One workload, every provider. The same script, payload, and model hit every provider, addressed the way its own API expects. Nobody gets a tuned or special path.
  • Repeated on a schedule. Every suite runs many iterations per provider, automated on a recurring schedule, so results reflect steady state rather than one lucky request.
  • Raw results published. Every run is committed as JSON to the public benchmarks repo, next to the code that produced it. Nothing is cherry-picked or held back.
  • How this comparison is built. Each benchmark compares the two providers' medians; results within 5% count as roughly even. A comparison is published only when both providers completed at least 50% of runs in 2 or more shared benchmarks run in the last 30 days.

Frequently asked questions

Have another question? Email us.

E2B and Modal were each faster in 1 of 2 shared sandbox benchmarks. In Burst TTI (October 30, 2026), Modal had a median time to interactive of 751ms versus 1.27s for E2B, 1.69x faster. In DAX (October 30, 2026), E2B had a median total workload time of 75.86s versus 105.55s for Modal, 1.39x faster.

PartnersGoogle Cloud Run