Skip to content
sandboxrouting

Cloudflare Sandbox vs Fly.io Machines

Fly.io Machines gives more free usage at 2 vCPU and 4 GiB: about 72 h a month, against 3.8 h a month on Cloudflare Sandbox.

Once free usage is gone, Fly.io Machines is cheaper to rank: $0.0348/h against $0.0792/h.

Fly.io Machines isolates more strongly (microVM) than Cloudflare Sandbox (Container), so minIsolation: "microvm" keeps only Fly.io Machines.

Cloudflare SandboxFly.io Machines
Free usage$0.68 every month$2.50 every month
Free hours at 2 vCPU, 4 GiB3.8 h72 h
Free limits—3 machines
Paid after$0.072/vCPU-h (active CPU only) + $0.009/GiB-h; 2 vCPU comes with 8 GiB, ≈ $0.22/h busy~$0.035/h (2 shared vCPU / 4 GB)
Ranked at (2 vCPU, 4 GiB)$0.0792/h$0.0348/h
IsolationContainermicroVM
Longest sandbox——
Longest commandno capno cap
KeysCLOUDFLARE_SANDBOX_URL, CLOUDFLARE_SANDBOX_TOKENFLY_API_TOKEN, FLY_APP
Terms checkedNov 21, 2026Nov 21, 2026
Public ports no no
Pause and resume no no
Any OCI image no yes
GPUs no no
Snapshots no no
Native file listing yes no
Extend a live box yes no

Which one the router asks first

The router’s own plan with only these two configured, a 10-minute request at 2 vCPU and 4 GiB, and an empty ledger, generated on Nov 21, 2026.

free-first, allowPaid false

  1. First: Fly.io Machines (Free every month, 100% left, resets in 9.5 d)
  2. Then: Cloudflare Sandbox (Free every month, 100% left, resets in 9.5 d)

cheapest, allowPaid false

  1. First: Fly.io Machines (One-time credit, $0.0348/h)
  2. Then: Cloudflare Sandbox (One-time credit, ~$0.0792/h at 30% CPU (up to $0.1800/h))

cheapest, allowPaid true

  1. First: Fly.io Machines (One-time credit, $0.0348/h)
  2. Then: Cloudflare Sandbox (One-time credit, ~$0.0792/h at 30% CPU (up to $0.1800/h))

fastest, allowPaid false

  1. First: Fly.io Machines (Free every month, ~10.0 s to ready (not tried yet, so assumed as fast as the fastest))
  2. Then: Cloudflare Sandbox (Free every month, ~10.0 s to ready (not tried yet, so assumed as fast as the fastest))

Terms change; each provider’s pricing page is linked from its page here. Neither provider endorses this comparison.