Home / AI agent sandboxes / Cloudflare Sandbox SDK

Cloudflare Sandbox SDK

Agent sandbox

Linux sandboxes on Cloudflare Containers, started and controlled from a Worker and a Durable Object.

Verdict (2026-11-14): Cloudflare Sandbox SDK scores 56/100, #48 of 63 AI agent sandboxes. Strong on isolation. Weak on free tier. Best for: Apps already on Cloudflare Workers that need a full Linux environment per user or task.

Skip it if: Requires the $5/month Workers Paid plan; no free tier for Containers.

Prices checked 2026-11-15.

List price per month
$18.26 for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%
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.
Isolation
microVM per container instance (own kernel and network)
Pause / snapshots
No / Yes

Cloudflare's Linux sandboxes are Containers instances that a Worker starts through a Durable Object; each instance is a microVM with its own kernel running an image you provide. Billing follows Containers pricing: active CPU time plus provisioned memory and disk, metered every 10 ms while the instance runs, on top of the $5/month Workers Paid plan. Instances stop after an inactivity timeout of up to 6 hours, and files can be carried to the next instance with container snapshots (public beta).

Best for

  • Apps already on Cloudflare Workers that need a full Linux environment per user or task
  • Bursty agent workloads that can stop instances quickly, since CPU is billed only when active
  • Running untrusted code with internet access turned off or outbound traffic routed through the Worker

Watch out for

  • Requires the $5/month Workers Paid plan; no free tier for Containers
  • Idle running instances still pay for provisioned memory and disk
  • Default instance ceiling is 4 vCPU and 12 GiB memory
  • No in-memory pause: instances stop after an inactivity timeout of up to 6 hours, and snapshots (public beta) restore files but not processes

Score breakdown

56/100 in AI agent sandboxes, rank 48 of 63. Parts with no data are left out and the rest is rescaled.

Price18.9/30$18.26 a month; category median $26.22 a month
Free tier0/10No free use
Isolation15/15microVM
Persistence5/10snapshots
Limits4/10session limit not stated, 4 vCPU, 12 GiB
Docs and SDKs5/101 SDKs or interfaces
External benchmarks8.4/15Speed not measured: given the median of the 10 measured providers

Pricing

vCPU
$0.072 per vCPU-hour (active CPU only)
Memory
$0.009 per GiB-hour
Storage
No separate rate published
Billing
per 10 ms
List price per month over timeNo change since 2026-11-13

Full Cloudflare Sandbox SDK pricing: plans and costs at four workloads →

Where Cloudflare Sandbox SDK sits

406080100$1.06$9.40$83List price per month → (log scale)← cheaperAether: 61/100, $75.00Agent37 Cloud: 70/100, $1.06Alibaba Cloud Agent Sandbox: 68/100, $12.57Archil: 74/100, $33.44AWS Bedrock AgentCore Code Interpreter: 60/100, $16.10AWS Lambda MicroVMs: 65/100, $44.39Beam: 45/100, $24.64Blaxel: 63/100, $29.15boat: 71/100, $20.00Cloudflare Dynamic Workers: 48/100, $12.00Cloudflare Sandbox SDK: 56/100, $18.26CodeSandbox: 69/100, $26.40CreateOS Sandbox: 72/100, $20.89Daytona: 64/100, $29.15Depot: 55/100, $83.36DigitalOcean Agent Harness Runtime: 61/100, $50.00E2B: 68/100, $29.15Fly.io Sprites: 69/100, $19.47Freestyle: 61/100, $50.00Hopx: 56/100, $29.15Hyperbrowser: 62/100, $30.00InstaBox: 75/100, $20.00Isorun: 78/100, $19.36kosa8 Cloud: 58/100, $27.74Koyeb Sandboxes: 76/100, $10.14LangSmith Sandboxes: 72/100, $33.26Lizard Sandboxes: 76/100, $19.00Maritime: 59/100, $20.00MIOSA: 75/100, $20.00Modal Sandboxes: 57/100, $41.88Morph Cloud: 67/100, $17.60Mosaic Sandbox: 74/100, $8.80Namespace Devboxes: 62/100, $42.24Northflank: 78/100, $11.73Novita Agent Sandbox: 58/100, $20.53Podflare: 71/100, $28.86Promigence: 55/100, $29.15Railway Sandboxes: 59/100, $56.22Render Sandboxes: 63/100, $26.05Runloop: 62/100, $55.76Superserve: 69/100, $29.15Tenki Sandbox: 67/100, $29.15Tensorlake Sandboxes: 76/100, $17.95Upstash Box: 73/100, $10.56Vercel Sandbox: 76/100, $28.44Workpaper: 67/100, $15.00Cloudflare Sandbox SDKIsorunVercel SandboxMosaic SandboxCreateOS Sandbox
Score against list price per month for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%. Top left is better; a $0 price sits at the left edge. 46 of 63 providers publish a comparable price.

Cloudflare Sandbox SDK alternatives

All 62 alternatives ranked →

Agent sandbox · #1

Isorun

78

$19.36 a month*

  • microVM
  • Free credit
  • Pause and resume
▲ 0
Agent sandbox · #2

Northflank

78

$11.73 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0
Agent sandbox · #3

Koyeb Sandboxes

76

$10.14 a month*

  • microVM
  • Pause and resume
  • Snapshots
▲ 0
Agent sandbox · #4

Lizard Sandboxes

76

$19.00 a month*

  • microVM
  • Free credit
  • Pause and resume
▲ 0
Agent sandbox · #5

Tensorlake Sandboxes

76

$17.95 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0
Agent sandbox · #6

Vercel Sandbox

76

$28.44 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0
Agent sandbox · #7

InstaBox

75

$20.00 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0
Agent sandbox · #8

MIOSA

75

$20.00 a month*

  • microVM
  • Free monthly
  • Pause and resume
▲ 0

Public benchmarks

BenchmarkTestResultRankData from
ComputeSDK benchmarksRepo clone, install and typecheck (one run)107,110 ms24 of 252026-11-13

All facts

Cloudflare Sandbox SDK
Categoryagent sandbox
Our score56/100
IsolationmicroVM per container instance (own kernel and network)
vCPU per hour$0.072 (active CPU only)
Memory per GiB-hour$0.009
Billingper 10 ms
Free tierNone 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.
Pause and resumeNo
SnapshotsYes
GPUNo
Custom imagesYes
Network controlsYes
Max vCPU4 vCPU
Max memory12 GiB
Open sourceNo
Self-hostNo
SDKs and interfacesTypeScript (Workers / @cloudflare/sandbox)
RegionsRuns on Cloudflare's network; the pages checked do not document choosing a region.
Facts checked2026-11-14

Compare Cloudflare Sandbox SDK

User reviews

No reviews yet. Have you used Cloudflare Sandbox SDK? Your review helps other developers choose.

Sign in to review or upvote

Questions

Is Cloudflare Sandbox SDK good?

Cloudflare Sandbox SDK scores 56/100, #48 of 63 AI agent sandboxes. Strong on isolation. Weak on free tier. Best for: Apps already on Cloudflare Workers that need a full Linux environment per user or task. Facts checked 2026-11-14.

How much does Cloudflare Sandbox SDK cost?

$18.26 a month for 2 vCPU, 4 GiB, 176 hours a month (8 h × 22 days), CPU busy 30%. 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.

How is Cloudflare Sandbox SDK isolated?

microVM per container instance (own kernel and network).

What are the best Cloudflare Sandbox SDK alternatives?

In AI agent sandboxes, the top-rated are Isorun (78/100), Northflank (78/100), Koyeb Sandboxes (76/100). Cloudflare Sandbox SDK is #48 of 63.

Sources

CompareTick 2 to 4 providers.