Home / AI agent sandboxes / Cloudflare Sandbox SDK / Pricing
Cloudflare Sandbox SDK pricing
In short (2026-11-14): $0.072 per vCPU-hour of active CPU, $0.009 per GiB-hour of memory, plans from $5.00 a month. Free tier: None for sandboxes: Containers require the Workers Paid plan ($5/month), which includes 375 vCPU-minutes, 25 GiB-hours of memory and 200 GB-hours of disk each month. Source: official pricing page. Prices checked 2026-11-15.
Usage rates
- vCPU
- $0.072 per vCPU-hour, billed only while the CPU is active
- Memory
- $0.009 per GiB-hour
- Storage
- No separate monthly rate published
- Billing
- per 10 ms. While the container instance runs: CPU only for active usage; memory and disk for the provisioned instance size, even when idle.
Plans
| Plan | Per month | Included credit | Limits |
|---|---|---|---|
| Workers Paid | $5.00 | $0.00 | Includes 375 vCPU-minutes, 25 GiB-hours of memory and 200 GB-hours of disk per month (allowances, not a dollar credit). Default per-instance max 4 vCPU, 12 GiB memory, 20 GB disk; account max 15,000 concurrent vCPU and 60 TiB concurrent memory. |
What it costs in practice
| Workload | Usage | Cheapest plan | Total per month |
|---|---|---|---|
| Hobby agent: 1 vCPU, 1 GiB, 20 hours a month | $0.61 | Workers Paid | $5.00 |
| One dev agent: 2 vCPU, 4 GiB, 8 h a day for 22 days | $13.94 | Workers Paid | $18.26 |
| Team: 10 sandboxes of 2 vCPU, 4 GiB, 8 h a day for 22 days | $139.39 | Workers Paid | $143.72 |
| Always on: 4 vCPU, 8 GiB, 730 hours a month | $157.68 | Workers Paid | $162.01 |
CPU busy 30% (50% always on), which matters only where CPU is billed by active time. Storage, network and GPU are not included. Try your own numbers in the cost calculator.
Billing details that change the bill
- Rates converted from per-second list prices: $0.000020/vCPU-s = $0.072/vCPU-hour; $0.0000025/GiB-s = $0.009/GiB-hour; disk $0.00000007/GB-s = $0.000252/GB-hour.
- CPU is billed on active usage only; memory and disk are billed on the provisioned instance type for as long as the instance runs, so an idle running instance still costs memory and disk.
- Disk is not a persistent volume: it is billed per GB-second only while the instance runs, so we show no monthly storage rate. Snapshots are free during the public beta (pricing to be announced at general availability) and expire 30 days after creation or last restore.
- Workers Paid included usage is worth about $0.73/month at list rates (375 vCPU-min = $0.45, 25 GiB-h = $0.225, 200 GB-h disk = $0.0504); it is a resource allowance, not a dollar credit, and our calculator subtracts it from usage.
- Egress: $0.025/GB in North America & Europe (1 TB/month included), $0.05/GB Oceania, Korea, Taiwan (500 GB included), $0.04/GB elsewhere (500 GB included).
- Each sandbox also uses a Worker and a Durable Object, which are billed at Workers and Durable Objects rates on top of Containers usage.
- Instance types are fixed sizes (lite 1/16 vCPU 256 MiB up to standard-4 4 vCPU 12 GiB 20 GB) or custom sizes; per-instance maximums are defaults that can be raised on request.
- Session length: after the Durable Object becomes inactive, the instance keeps running for at most the inactivity timeout (up to 6 hours); Cloudflare does not guarantee an instance runs for a set time, so we show no maximum session.
Price history
List price per month over timeNo change since 2026-11-13
No price change found since we started tracking on 2026-11-13. We check every pricing page daily.
Cheaper or better-fit Cloudflare Sandbox SDK alternatives →
Sources
- https://developers.cloudflare.com/containers/platform/pricing/, checked 2026-11-14:
Containers are billed for every 10ms that they are actively running ... 375 vCPU-minutes/month + $0.000020 per additional vCPU-second ... 25 GiB-hours/month included +$0.0000025 per additional GiB-second
- https://developers.cloudflare.com/containers/platform/pricing/, checked 2026-11-14:
Memory and disk usage are based on the provisioned resources for the instance type you select, while CPU usage is based on active usage only.
- https://developers.cloudflare.com/containers/platform/pricing/, checked 2026-11-14:
Snapshots are available at no charge during the public beta.
- https://developers.cloudflare.com/workers/platform/pricing/, checked 2026-11-14:
The Workers Paid plan includes Workers, Pages Functions, Workers KV, Hyperdrive, and Durable Objects usage for a minimum charge of $5 USD per month for an account.
- https://developers.cloudflare.com/containers/platform/limits/, checked 2026-11-14:
vCPU per instance | 4 ... Memory per instance | 12 GiB
- https://developers.cloudflare.com/sandbox/, checked 2026-11-14:
Each instance is a microVM with its own kernel and network, so no other workload shares it.
- https://developers.cloudflare.com/sandbox/concepts/lifetime/, checked 2026-11-14:
After the Durable Object becomes inactive, the instance keeps running for the time set with setInactivityTimeout(), up to 6 hours.
- https://developers.cloudflare.com/containers/platform/limits/, checked 2026-11-14:
Snapshot retention | 30 days from creation or the most recent restore