Cloudflare vs ModalSandbox Benchmark Comparison

Cloudflare
Faster in 0 of 2
vs
Modal
Faster in 1 of 2

Modal was faster in 1 of 2 shared sandbox benchmarks, and 1 was roughly even.

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.

BenchmarkCloudflareModalResultRatio
Burst TTI
Time to interactive · Run October 30, 2026
779ms
100% success
751ms
100% success
Roughly even
1.04x
DAX
Total workload time · Run October 30, 2026
189.88s
100% success
105.55s
100% success
Modal faster
1.80x

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

Cloudflare

100% success
Median
779ms
P95
1.21s
P99
1.36s
Cloudflare Burst TTI results →

Modal

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

The medians are within 5% of each other (779ms vs 751ms), so this counts as roughly even.

Median time to interactive over time

131 runs from March 13, 2026 to October 30, 2026.

CloudflareModal
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

Cloudflare

100% success
Median
189.88s
P95
189.88s
P99
189.88s
Cloudflare DAX results →

Modal

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

Modal had a 1.80x lower median total workload time (105.55s vs 189.88s for Cloudflare).

Median total workload time over time

3 runs from October 16, 2026 to October 30, 2026.

CloudflareModal
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.

Cloudflare

Active CPU + provisioned memory
$0.038per run
189.88s median at $0.7200/hr

$0.000020/vCPU-s active-CPU + $0.0000025/GiB-s provisioned memory. CPU upper bound at 100% utilization. Requires $5/mo Workers Paid plan.

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.

Modal was faster in 1 of 2 shared sandbox benchmarks, and 1 was roughly even. In Burst TTI (October 30, 2026), Cloudflare had a median time to interactive of 779ms and Modal 751ms, which counts as roughly even. In DAX (October 30, 2026), Modal had a median total workload time of 105.55s versus 189.88s for Cloudflare, 1.80x faster.

PartnersGoogle Cloud Run