Skip to content

Head to head

Cloudflare Sandbox vs E2B: agent sandboxes pricing (Nov 2026)

Cloudflare Sandbox and E2B side by side for agent sandboxes: 27 terms differ. 1-hour session (2 vCPU / 4 GB): ≥ $0.18 on Cloudflare Sandbox, ≥ $0.166 on E2B.

Agent sandboxes

Full ranking
Cloudflare Sandbox vs E2B: agent sandboxes pricing (Nov 2026): Agent sandboxes
TermCloudflare SandboxE2B
Price $0.072 /vCPU-h+ $0.009 per GB-hour $0.0504 /vCPU-h+ $0.0162 per GB-hour
1-hour session ≥ $0.182 vCPU / 4 GB · rank 43 of 60 ≥ $0.1662 vCPU / 4 GB · rank 39 of 60
Fleet month ≥ $1,58950 × 8 h × 22 days ≥ $1,60750 × 8 h × 22 days · on Pro
PaymentBilling Metered: usage billed afterwards[1] Metered: usage billed afterwards[2]
Plan minimumBilling $5 a month[1] $0[2]
Billing incrementBilling
unknown (why it is unknown)Billed 'for every 10ms' an instance runs; finer than the whole seconds this table lists
[1]
Per second[2]
Minimum chargeBilling
unknown (why it is unknown)Not published
[1]
unknown (why it is unknown)No minimum billed duration on the pricing page or the billing docs
[2]
Per-job feeBilling No fee[1] No fee[2]
Billed onRuntime Active CPU[1] Running time[2]
IsolationRuntime Firecracker microVM[1] Firecracker microVM[2]
Max sessionRuntime
unknown (why it is unknown)No maximum published; an instance runs while its Durable Object is active plus an inactivity timeout of up to 6 hours, and Cloudflare does not guarantee a run time
[1]
1 h[2]
Concurrent sandboxesRuntime 1,500 vCPU, raisable[1] 10[2]
StartsRuntime
unknown (why it is unknown)No start or create rate limit on the Containers limits, pricing, FAQ, scaling-and-routing pages or the Sandbox limits and lifetime pages
[3]
60/min, then refused[2]
Largest vCPURuntime 4[1] 8[2]
Largest memoryRuntime 12 GB[1] 8 GB[2]
Survives a stopLifecycle Nothing (ephemeral)[4] Disk and memory[5]
SnapshotsLifecycle Yes[4] Yes[5]
Pause and resumeLifecycle No[4] Yes[5]
ForkLifecycle Disk copy[4] Memory and processes[5]
Compute billed while stoppedLifecycle No[4] No[5]
Auto-stopLifecycle
unknown (why it is unknown)No default in minutes; without setInactivityTimeout() the instance stops 'shortly after' its Durable Object becomes inactive (timeout settable up to 6 hours)
[4]
after 5 min[5]
Start time (vendor claim)Lifecycle 3 s[4] 150 ms[5]
GPUCapabilities No[6] No[7]
DesktopCapabilities None[6] Computer-use API[7]
Coding agents installedCapabilities None[6] Amp, Claude Code, Codex, Devin, Droid, Grok Build, Hermes, Muse Code, OpenCode, Pi, Prime Agent[7]
Agent prompt APICapabilities No[6] No[7]
SSHCapabilities No[6] Yes[7]
Docker insideCapabilities Yes[6] Yes[7]
SDKsCapabilities TypeScript[6] Python, TypeScript, CLI, REST[7]
SOC 2Capabilities
unknown (why it is unknown)Cloudflare's SOC 2 FAQ lists Workers and Durable Objects in scope but not Containers or Sandbox
[6]
Yes[7]
Disk includedStorage and network None[1] 10 GB[8]
Extra diskStorage and network
unknown (why it is unknown)Disk is billed at $0.00000007 per GB-second of provisioned disk while the instance runs; no per-month rate
[1]
Free[8]
Snapshot storageStorage and network
unknown (why it is unknown)Container snapshots (public beta) have no published storage price
[1]
unknown (why it is unknown)Pricing page and billing docs give no price for stored snapshots or paused sandboxes; they only say paused sandboxes cost no compute
[8]
EgressStorage and network $0.025 per GB[1]
unknown (why it is unknown)Not on the pricing page or in the billing docs
[8]
RegionsPlatform
unknown (why it is unknown)Cloudflare picks the location from pre-initialized locations across its network; no region list or region choice published
[6]
us-west-1, us-west-2, eu-west-1, ap-southeast-1[9]
Your cloud (BYOC)Platform No[6] Yes[9]
Self-hostPlatform No[6] Yes[9]
Minutes a monthFree allowance
unknown (why it is unknown)Workers Paid includes 375 vCPU-minutes of active CPU, 25 GiB-hours of memory and 200 GB-hours of disk a month, not wall-clock sandbox minutes
[1]
0 min[8]
Credit a monthFree allowance None[1] None[8]
One-time creditFree allowance None[1] $100[8]
Sandbox SDKCross-provider tools Not listed[10] Supported[10]

Terms that are the same for both are greyed. Unknown = not published; open it for where we looked. Method

Cloudflare Sandbox: plans and limits

Cloudflare Sandbox: plans and limits
PlanFee ($)At onceIncluded StartsMax session LargestIncludes
Workers Free0 at once · Containers not available Free[1]
Workers Paid1,500 vCPU, raisable at once · largest 4 vCPU · 375 vCPU-minutes, 25 GiB-hours memory and 200 GB-hours disk of Containers a month; Workers and Durable Objects allowances $5 /month[11]

E2B: plans and limits

E2B: plans and limits
PlanFee ($)At onceIncluded StartsMax session LargestIncludes
Hobby10 at once · starts 60/min · max session 1 h · largest 8 vCPU · $100 one-time usage credit, 10 concurrent sandboxes, 1-hour continuous runtime, 8 vCPU / 8 GiB / 10 GiB disk Free[8]
Pro100 at once · included $0 · starts 300/min · max session 24 h · Usage billed on top; 100 concurrent sandboxes (add-ons to 1,100), 24-hour continuous runtime, custom CPU and RAM, 20 GiB disk $150 /month[8]
Enterprise? at once · Custom limits, multi-day sessions, BYOC on AWS, GCP or Azure unknown[8]Custom; the pricing page says a $2,000 monthly minimum applies to Enterprise usage

Data: Cloudflare Sandbox JSON · E2B JSON · Agent sandboxes JSON CSV · Markdown · API docs

Sources

  1. 1 developers.cloudflare.com/containers/platform/pricing · 14 Nov 2026 · report
  2. 2 docs.e2b.dev/billing · 14 Nov 2026 · report
  3. 3 developers.cloudflare.com/containers/platform/limits · 14 Nov 2026 · report
  4. 4 developers.cloudflare.com/sandbox/concepts/lifetime · 14 Nov 2026 · report
  5. 5 docs.e2b.dev/faq/sandbox-lifetime · 14 Nov 2026 · report
  6. 6 developers.cloudflare.com/containers/faq · 14 Nov 2026 · report
  7. 7 docs.e2b.dev/faq/security-and-compliance · 14 Nov 2026 · report
  8. 8 e2b.dev/pricing · 14 Nov 2026 · report
  9. 9 docs.e2b.dev/byoc · 14 Nov 2026 · report
  10. 10 sandbox-sdk.app/docs/providers · 22 Nov 2026 · report
  11. 11 developers.cloudflare.com/workers/platform/pricing · 14 Nov 2026 · report