Head to head
Cloudflare Sandbox vs Modal: pricing and limits (Nov 2026)
Cloudflare Sandbox and Modal side by side for agent sandboxes: 23 terms differ. 1-hour session (2 vCPU / 4 GB): ≥ $0.18 on Cloudflare Sandbox, ≥ $0.238 on Modal.
Agent sandboxes
| Term | Cloudflare Sandbox | Modal |
|---|---|---|
| Price | $0.072 /vCPU-h+ $0.009 per GB-hour | $0.142 /core (2 vCPU)-h+ $0.024 per GB-hour |
| 1-hour session | ≥ $0.182 vCPU / 4 GB · rank 43 of 60 | ≥ $0.2382 vCPU / 4 GB · rank 51 of 60 |
| Fleet month | ≥ $1,58950 × 8 h × 22 days | ≥ $2,09450 × 8 h × 22 days |
| 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 |
Per second[2] |
| Minimum chargeBilling | unknown (why it is unknown)Not published |
unknown (why it is unknown)No minimum billed duration on the pricing page or the Sandbox docs |
| Per-job feeBilling | No fee[1] | No fee[2] |
| Billed onRuntime | Active CPU[1] | Running time[2] |
| IsolationRuntime | Firecracker microVM[1] | gVisor[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 |
24 h[2] |
| Concurrent sandboxesRuntime | 1,500 vCPU, raisable[1] | 100[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 |
unknown (why it is unknown)No Sandbox create rate limit on the pricing page, the Sandboxes product FAQ or the Sandbox guides; the documented 200/s sync and 1,500/s async invocation limits cover Function calls, not Sandboxes |
| Largest vCPURuntime | 4[1] | unknown (why it is unknown)Docs say a maximum CPU request is enforced at creation but do not state it; the default soft CPU limit is 16.125 physical cores |
| Largest memoryRuntime | 12 GB[1] | unknown (why it is unknown)Docs say a maximum memory request is enforced at creation but do not state it |
| Survives a stopLifecycle | Nothing (ephemeral)[4] | Nothing (ephemeral)[5] |
| SnapshotsLifecycle | Yes[4] | Yes[5] |
| Pause and resumeLifecycle | No[4] | No[5] |
| ForkLifecycle | Disk copy[4] | Disk copy[5] |
| Compute billed while stoppedLifecycle | No[4] | unknown (why it is unknown)No paused or stopped state exists; a running idle Sandbox still bills max(request, actual), at least 0.125 cores and 128 MiB |
| 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) |
after 5 min[5] |
| Start time (vendor claim)Lifecycle | 3 s[4] | 1 s[5] |
| GPUCapabilities | No[6] | Yes[7] |
| DesktopCapabilities | None[6] | None[7] |
| Coding agents installedCapabilities | None[6] | None[7] |
| Agent prompt APICapabilities | No[6] | No[7] |
| SSHCapabilities | No[6] | Yes[7] |
| Docker insideCapabilities | Yes[6] | Yes[7] |
| SDKsCapabilities | TypeScript[6] | Python, TypeScript, Go[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 |
Yes[7] |
| Disk includedStorage and network | None[1] | 512 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 |
Free[8] |
| Snapshot storageStorage and network | unknown (why it is unknown)Container snapshots (public beta) have no published storage price |
unknown (why it is unknown)Snapshots are stored as Images; no storage price for Images is published |
| EgressStorage and network | $0.025 per GB[1] | $0.04 per GB[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 |
us, eu, ap, uk, ca, me, sa, af, mx[9] |
| Your cloud (BYOC)Platform | No[6] | unknown (why it is unknown)No bring-your-own-cloud offer on the pricing, Sandbox or security pages |
| Self-hostPlatform | No[6] | No[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 |
0 min[8] |
| Credit a monthFree allowance | None[1] | $30[8] |
| One-time creditFree allowance | None[1] | None[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
| Plan | Fee ($) | At once | Included | Starts | Max session | Largest | Includes |
|---|---|---|---|---|---|---|---|
| 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] |
Modal: plans and limits
| Plan | Fee ($) | At once | Included | Starts | Max session | Largest | Includes |
|---|---|---|---|---|---|---|---|
| Starter100 at once · included $30 · $30/month free compute, 3 seats, 100 containers + 10 GPU concurrency, 1 TiB/month egress | Free[8] | ||||||
| Team5,000 at once · included $100 · $100/month free compute, unlimited seats, 5,000 containers + 50 GPU concurrency, 10 TiB/month egress, static IP proxy | $250 /month[8] | ||||||
| Enterprise? at once · Custom concurrency, 100 TiB/month egress, SSO, audit logs, HIPAA | unknown[8]Custom pricing with volume-based discounts |
Data: Cloudflare Sandbox JSON · Modal JSON · Agent sandboxes JSON CSV · Markdown · API docs
Sources
- 1 developers.cloudflare.com/containers/platform/pricing · 14 Nov 2026 · report
- 2 modal.com/products/sandboxes · 14 Nov 2026 · report
- 3 developers.cloudflare.com/containers/platform/limits · 14 Nov 2026 · report
- 4 developers.cloudflare.com/sandbox/concepts/lifetime · 14 Nov 2026 · report
- 5 modal.com/docs/guide/sandboxes · 14 Nov 2026 · report
- 6 developers.cloudflare.com/containers/faq · 14 Nov 2026 · report
- 7 modal.com/docs/guide/security · 14 Nov 2026 · report
- 8 modal.com/pricing · 14 Nov 2026 · report
- 9 modal.com/docs/guide/region-selection · 14 Nov 2026 · report
- 10 sandbox-sdk.app/docs/providers · 22 Nov 2026 · report
- 11 developers.cloudflare.com/workers/platform/pricing · 14 Nov 2026 · report