Cloudflare Sandbox vs Upstash Box
Upstash Box gives more free usage at 2 vCPU and 4 GiB: about 5 h a month, against 3.8 h a month on Cloudflare Sandbox.
Once free usage is gone, Upstash Box is cheaper to rank: $0.03/h against $0.0792/h.
Both isolate with Container.
| Cloudflare Sandbox | Upstash Box | |
|---|---|---|
| Free usage | $0.68 every month | 5 h every month |
| Free hours at 2 vCPU, 4 GiB | 3.8 h | 5 h |
| Free limits | — | 10 concurrent, 2 vCPU / 4 GB |
| Paid after | $0.072/vCPU-h (active CPU only) + $0.009/GiB-h; 2 vCPU comes with 8 GiB, ≈ $0.22/h busy | $0.05/vCPU-h (active CPU only), memory free: $0.10/h for 2 vCPU / 4 GB busy |
| Ranked at (2 vCPU, 4 GiB) | $0.0792/h | $0.03/h |
| Isolation | Container | Container |
| Longest sandbox | — | 3 d |
| Longest command | no cap | no cap |
| Keys | CLOUDFLARE_SANDBOX_URL, CLOUDFLARE_SANDBOX_TOKEN | UPSTASH_BOX_API_KEY |
| Terms checked | Nov 21, 2026 | Nov 11, 2026 |
| Public ports | no | no |
| Pause and resume | no | no |
| Any OCI image | no | no |
| GPUs | no | no |
| Snapshots | no | yes |
| Native file listing | yes | yes |
| 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
- First: Upstash Box (Free every month, 100% left, resets in 9.5 d)
- Then: Cloudflare Sandbox (Free every month, 100% left, resets in 9.5 d)
cheapest, allowPaid false
- First: Upstash Box (One-time credit, ~$0.0300/h at 30% CPU (up to $0.1000/h))
- Then: Cloudflare Sandbox (One-time credit, ~$0.0792/h at 30% CPU (up to $0.1800/h))
cheapest, allowPaid true
- First: Upstash Box (One-time credit, ~$0.0300/h at 30% CPU (up to $0.1000/h))
- Then: Cloudflare Sandbox (One-time credit, ~$0.0792/h at 30% CPU (up to $0.1800/h))
fastest, allowPaid false
- First: Upstash Box (Free every month, ~10.0 s to ready (not tried yet, so assumed as fast as the fastest))
- 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.