# Cloudflare Sandboxes vs Run Cloud: Sandbox pricing, uptime and tradeoffs.

> Cloudflare Sandboxes costs $0.126 an hour at 1 vCPU and 6 GiB, 6.0× Run Cloud's $0.021. Its pricing suits CI/CD.

Canonical: https://run.cloud/compare/cloudflare-sandbox-vs-run-cloud/ · Updated 2026-11-30

Cloudflare Sandboxes costs $0.126 an hour at 1 vCPU and 6 GiB, 6.0× Run Cloud's $0.021. Its pricing suits CI/CD.

| Sizes Sandcovery lists | 1 vCPU · 6 GiB: $0.126/h; 2 vCPU · 8 GiB: $0.216/h; 4 vCPU · 12 GiB: $0.396/h |
| --- | --- |
| Largest sandbox | 4 vCPU and 12 GiB, from the vendor's own pricing, read 2026-11-30 |
| Billing | Usage-based; increment not stated. Rate card read 2026-11-08. |
| Isolation | microVM |
| Regions | Not stated |
| Compliance stated | PCI, SOC 2, ISO |
| GPUs | None listed |
| Best fit by price | CI/CD |
| Live uptime (7 days) | 99.75%, Sandcovery live checks, read 2026-11-28 |

Data read 2026-11-28 · Published 2026-11-28 · Updated 2026-11-30

## What Cloudflare Sandboxes is

Cloudflare Sandboxes run untrusted or generated code on Cloudflare, in one of two environments that your Worker starts. A Container runs a Linux image you provide, so any language and long-running processes work. A Dynamic Worker runs JavaScript, Python or WebAssembly and reaches your application only through the methods your Worker passes in.

Each Container instance is a microVM with its own kernel and network, and your image runs as a Linux container inside it. A Durable Object, reached by a name such as a session ID, starts the instance, runs commands in it and stops it. Files and processes end with the instance. Snapshots, in public beta, carry the root filesystem to the next instance and expire 30 days after they are created or last restored. An R2 bucket can be mounted for files that must outlive it.

It needs the $5 a month Workers Paid plan, which includes some usage. Containers bill for every 10 ms an instance runs: memory and disk on the provisioned size, CPU on active use only. Worker requests, Durable Objects and egress bill on top. Cloudflare aims it at agent-written code, user uploads, data analysis, development previews and build pipelines, for teams that already build on Workers.

Read on 2026-11-30: [Cloudflare Sandboxes overview](https://developers.cloudflare.com/sandbox/) · [Choose a sandbox environment](https://developers.cloudflare.com/sandbox/concepts/) · [Sandbox lifetime](https://developers.cloudflare.com/sandbox/concepts/lifetime/) · [Credentials and network access](https://developers.cloudflare.com/sandbox/network/) · [@cloudflare/sandbox reference](https://developers.cloudflare.com/sandbox/reference/) · [Containers pricing](https://developers.cloudflare.com/containers/platform/pricing/) · [Containers limits](https://developers.cloudflare.com/containers/platform/limits/) · [Lifecycle of a Container](https://developers.cloudflare.com/containers/concepts/architecture/)

## Price per hour at the same sizes

Cloudflare Sandboxes's listed prices where it lists the size, otherwise its per-resource rates; Run Cloud's published per-second rates. Rate card: [Cloudflare Sandboxes pricing](https://developers.cloudflare.com/containers/pricing/), read 2026-11-08.

| Size | Cloudflare Sandboxes | Run Cloud | Cloudflare Sandboxes ÷ Run Cloud |
| --- | --- | --- | --- |
| 1 vCPU · 2 GiB | $0.126 · listed · as 1 vCPU, 6 GiB | $0.015 | 8.5× |
| 1 vCPU · 4 GiB | $0.126 · listed · as 1 vCPU, 6 GiB | $0.021 | 6.0× |
| 2 vCPU · 4 GiB | $0.198 · from rates · as 2 vCPU, 6 GiB | $0.030 | 6.7× |
| 4 vCPU · 8 GiB | $0.360 · from rates | $0.059 | 6.1× |
| 8 vCPU · 16 GiB | Max 4 vCPU · 12 GiB | $0.119 | n/a |

## What each workload costs

Best fit by price: **CI/CD**. Its rate card is cheaper than 26% of priced providers for 1,000 builds × 10 minutes on 4 vCPU, 8 GiB.

| Workload | Cloudflare Sandboxes | Run Cloud | Cheaper than |
| --- | --- | --- | --- |
| RL tasks: 100,000 rollouts × 3 minutes on 1 vCPU, 2 GiB | $630.00 | $74.22 | 23% of priced providers |
| CI/CD: 1,000 builds × 10 minutes on 4 vCPU, 8 GiB | $60.00 | $9.90 | 26% of priced providers |
| Dev boxes: 22 working days × 8 hours on 2 vCPU, 4 GiB | $34.85 | $5.23 | 25% of priced providers |

## Where Cloudflare Sandboxes is stronger

- States PCI, SOC 2, ISO compliance.
- Two environments in one product: microVM containers for Linux work, and Dynamic Workers that run JavaScript, Python or WebAssembly in V8 isolates with only the methods your Worker passes in.
- CPU bills on active use only. Memory and disk bill on the provisioned size while the instance runs, so a sandbox that waits on a model pays little for CPU.
- The sandbox never has to hold a token: your Worker intercepts its outbound requests and adds credentials, and a container started without Internet access reaches only the hostnames you intercept.

## Where Run Cloud is stronger

- Lower list price: $0.021 an hour for 1 vCPU and 4 GiB, against $0.126 for 1 vCPU and 6 GiB, its nearest size on Cloudflare Sandboxes (6.0×).
- iOS simulators, Android emulators and Xcode builds on the same account, key and bill.
- Drive sandboxes from anywhere with the CLI or the TypeScript, Python and Go SDKs. Cloudflare Sandboxes are started from a Durable Object in a Worker that you write and deploy.
- A Run Cloud sandbox starts in well under a second. Cloudflare's docs put container cold starts often at 1 to 3 seconds, depending on image size.
- Persistent sandboxes with a URL and SSH, plus pause and resume. A Cloudflare instance stops once its Durable Object has been inactive past a timeout of at most 6 hours, and Cloudflare does not guarantee how long one runs.

## Uptime, from live trackers only

No SLA promises and no marketing figures: only trackers that measure. Readings are from 2026-11-28; the links have the current figure.

- **Sandcovery live checks:** 100.00% over 24 hours, 99.75% over 7 days. [Live page](https://www.sandcovery.com/providers/cloudflare)
- **Cloudflare Sandboxes status page:** [www.cloudflarestatus.com](https://www.cloudflarestatus.com/)
- **Run Cloud status page:** [status.run.cloud](https://status.run.cloud/)

## Modeled delivery margin

Priced on the same booked workload, Cloudflare Sandboxes's bill gives a customer value of 1.76× (the median bill across modeled providers divided by Cloudflare Sandboxes's). Delivering it on rented hosts leaves a modeled gross margin of **+13.7%** at 60% host occupancy and **+35.3%** at 80%, which puts it in **Sustainable**. Run Cloud models at −13.5% and +14.9%. Hand-modeled: Rate extrapolated · Shape raise.

See every provider on one chart, and how the model works, in [every sandbox provider compared](https://run.cloud/compare/sandbox-providers/).

## Frequently asked questions

### Is Cloudflare Sandboxes cheaper than Run Cloud?

No, at list price. Cloudflare Sandboxes costs $0.126 an hour for 1 vCPU and 6 GiB; Run Cloud costs $0.021 for 1 vCPU and 4 GiB, billed per second, with CPU that bursts above the reservation at the same rate.

### What is Cloudflare Sandboxes best for?

Going by its pricing, CI/CD. Its rate card is cheaper than 26% of priced providers for 1,000 builds × 10 minutes on 4 vCPU, 8 GiB.

### How reliable is Cloudflare Sandboxes?

Sandcovery's live checks measured 100.00% over 24 hours and 99.75% over 7 days, read 2026-11-28. The live figure is on Sandcovery's provider page and Cloudflare Sandboxes's status page.

### How does Cloudflare isolate code in a sandbox?

A Container instance runs in a microVM with its own kernel and network, which no other workload on Cloudflare's network shares, and your image runs as a Linux container inside it. A Dynamic Worker runs in a V8 isolate, with a process-level sandbox from the Workers runtime around it.

### Can I keep a Cloudflare sandbox running?

Within limits. An instance runs while its Durable Object is active, then for an inactivity timeout of up to 6 hours. Code running inside the instance does not count as activity, so long jobs need a Durable Object alarm, and a running instance bills for memory and disk even when idle. When it stops, processes end; a snapshot brings back the files, not the processes.

### Do I need a Cloudflare Worker to use Cloudflare Sandboxes?

Yes. Both environments are started from a Worker on the Workers Paid plan. For a Container, a Durable Object in that Worker calls start() and exec(), and HTTP from the Internet reaches the instance only through the Worker. The @cloudflare/sandbox npm package adds file, directory backup and bucket mount helpers on top.

## Give your agent its own machine.

Create an account, run runcloud sandbox create, and pay per second. $5 of usage is on us, no card needed.

[Start free](https://run.cloud/login/) [AI sandbox guide](https://run.cloud/ai-sandbox/)
