Cloudflare Sandbox
cloudflare, free every month, Container isolation.
$0.68 every month
About 3.8 h of a 2 vCPU, 4 GiB sandbox a month, at $0.18/h with every vCPU busy. The router reserves that much for each live box, so it never runs past the tier.
Terms
- Free usage
- 375 vCPU-min + 25 GiB-h (≈ $0.68) with Workers Paid ($5/mo)
- Free limits
- —
- Paid after
- $0.072/vCPU-h (active CPU only) + $0.009/GiB-h; 2 vCPU comes with 8 GiB, ≈ $0.22/h busy
- Card
- required
- Adapter's note
- Usage included with Workers Paid ($5/mo): 375 vCPU-min + 25 GiB-h memory + 200 GB-h disk a month. Needs the bridge Worker.
- Checked
- Nov 21, 2026 against developers.cloudflare.com/containers/pricing/
The adapter
Cloudflare Sandboxes (Containers + Durable Objects). Cloudflare has no hosted sandbox API: you deploy the bridge Worker in templates/cloudflare-worker, and this adapter talks to it. No free plan: Workers Paid ($5/mo) includes 375 vCPU-min, 25 GiB-h memory and 200 GB-h disk every month, which the router treats as monthly credit you already pay for. Sizes are fixed per Worker (instance_type in wrangler.jsonc): the template's standard-1 is 1/2 vCPU with 4 GiB; the smallest with 2 vCPU is standard-3 with 8 GiB, about $0.22/h busy.
- Keys
CLOUDFLARE_SANDBOX_URL,CLOUDFLARE_SANDBOX_TOKEN- Connects through
- REST, to the bridge Worker in templates/cloudflare-worker
- Capabilities
- Native file listing, Extend a live box
- Isolation
- Container
- Operating system
- Linux
- Longest sandbox
- no limit declared
- Longest command
- no cap declared
- Timeout
- The provider stops it at the deadline
- Billing
- vCPUs billed only while busy; memory every second
- Source
- src/providers/cloudflare.ts, and the provider’s site
const sbx = await router.create({ providers: ["cloudflare"] });{
"providers": {
"cloudflare": {
"freeTier": {
"kind": "monthly-credit",
"usd": 0.68
},
"priority": 10
}
}
}