Skip to content
Providers · Plate 13

Cloudflare Sandbox

Linux sandboxes on Cloudflare Containers, started from a Worker and billed per 10 ms for active CPU plus provisioned memory and disk, on the $5 Workers Paid plan.

Operated by Cloudflare, Inc. developers.cloudflare.com/sandbox/ Status: active[1] Checked 31 Oct 2026

Agent sandboxes

Cloudflare Sandbox (Containers)

Compare Agent sandboxes
Price
$0.072 /vCPU-h
+ $0.009 per GB-hour
1-hour session
≥ $0.18
2 vCPU / 4 GB · rank 16 of 26
Fleet month
≥ $1,589
50 × 8 h × 22 days
Billed on
Active CPU
increment unknown
Isolation
Firecracker microVM
max session unknown

What to know

  • Active-CPU billingOnly CPU in use is billed, so idle time costs less; the light-use column shows how much.
  • $5/mo planThis price only applies on a plan of at least $5 a month.

Plans

Cloudflare Sandbox (Containers): plans
PlanPriceIncludes
Workers FreeFree[2]Containers not available
Workers Paid$5 /month[5]375 vCPU-minutes, 25 GiB-hours memory and 200 GB-hours disk of Containers a month; Workers and Durable Objects allowances

Prices

Cloudflare Sandbox (Containers): prices per resource
ResourcePricePer hour
per vCPU$0.00002 /s[2]$0.072
per GB of memory$0.0000025 /s[2]$0.009
  • CPU is billed on active usage only; memory and disk are billed on the provisioned instance size for as long as the instance runs, idle or not. Stopped instances are not billed.
  • Memory is priced per GiB-second; the largest custom instance has 12 GiB.
  • Workers requests, Durable Objects and Workers Logs are billed on top of Containers usage.
  • Egress is $0.025/GB in North America and Europe (1 TB a month included), $0.05/GB in Oceania, Korea and Taiwan and $0.04/GB elsewhere (500 GB included each).
  • Disk is ephemeral; snapshotContainer() (public beta) saves the root filesystem, not memory or processes, and expires 30 days after creation or last restore.
  • Instance types: lite 1/16 vCPU, 256 MiB, 2 GB disk; basic 1/4 vCPU, 1 GiB, 4 GB; standard-1 1/2 vCPU, 4 GiB, 8 GB; standard-2 1 vCPU, 6 GiB, 12 GB; standard-3 2 vCPU, 8 GiB, 16 GB; standard-4 4 vCPU, 12 GiB, 20 GB. Custom types: 1-4 vCPU, at least 3 GiB per vCPU, up to 12 GiB and 20 GB disk.
  • Coding agents (Claude Code, Codex, OpenCode, Pi) are installed into your own image following Cloudflare's guides; no agents are preinstalled.

Terms

Billing

Payment
Metered: usage billed afterwards[2]
Plan minimum
$5 a month[2]
Billing increment
unknown[2]Billed 'for every 10ms' an instance runs; the field holds whole seconds
Minimum charge
unknown[2]Not published
Per-job fee
None[2]

Runtime

Billed on
Active CPU[2]
Isolation
Firecracker microVM[2]
Max session
unknown[2]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
Concurrent sandboxes
unknown[2]No instance-count limit published; account limits are 1,500 concurrent vCPU, 6 TiB memory and 30 TB disk
Largest vCPU
4[2]
Largest memory
12 GB[2]

Lifecycle

Survives a stop
Nothing (ephemeral)[4]
Snapshots
Yes[4]
Pause and resume
No[4]
Fork
Disk copy[4]
Compute billed while stopped
No[4]
Auto-stop
unknown[4]No default in minutes; without setInactivityTimeout() the instance stops 'shortly after' its Durable Object becomes inactive (timeout settable up to 6 hours)
Start time (vendor claim)
3 s[4]

Capabilities

GPU
No[3]
Desktop
None[3]
Coding agents installed
None[3]
Agent prompt API
No[3]
SSH
No[3]
Docker inside
Yes[3]
SDKs
TypeScript[3]
SOC 2
unknown[3]Cloudflare's SOC 2 FAQ lists Workers and Durable Objects in scope but not Containers or Sandbox

Storage and network

Disk included
None[2]
Extra disk
unknown[2]Disk is billed at $0.00000007 per GB-second of provisioned disk while the instance runs; no per-month rate
Snapshot storage
unknown[2]Container snapshots (public beta) have no published storage price
Egress
$0.025 per GB[2]

Platform

Regions
unknown[3]Cloudflare picks the location from pre-initialized locations across its network; no region list or region choice published
Your cloud (BYOC)
No[3]
Self-host
No[3]

Free allowance

Minutes a month
unknown[2]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
Credit a month
None[2]
One-time credit
None[2]

Sources

  1. 1 developers.cloudflare.com/sandbox · 31 Oct 2026
  2. 2 developers.cloudflare.com/containers/platform/pricing · 31 Oct 2026
  3. 3 developers.cloudflare.com/containers/faq · 31 Oct 2026
  4. 4 developers.cloudflare.com/sandbox/concepts/lifetime · 31 Oct 2026
  5. 5 developers.cloudflare.com/workers/platform/pricing · 31 Oct 2026

Raw data: JSON