Edge-native agent code sandboxes built on Cloudflare Workers, Durable Objects, and Containers with $0.072/vCPU-hr active CPU billing per 10ms.

Visit Cloudflare Sandbox

At a glance

  • From $5/mo
  • DR 94

Best drop-in sandbox for teams already building agents on Cloudflare Workers and Durable Objects.

Edge-native sandboxes on Cloudflare Workers + Containers with 10ms active-CPU billing ($4.80 per 1,000 85%-idle runs).

Pros

  • 10ms active-CPU billing eliminates idle CPU charges while agents wait on LLM tokens
  • Estimated $4.80 per 1,000 five-minute 85%-idle runs at 2 vCPU / 4 GiB
  • Zero extra cloud accounts or IAM plumbing if your stack already runs on Cloudflare Workers

Cons

  • Requires the $5/mo Cloudflare Workers Paid plan and Workers/Durable Objects architecture
  • Not built for H100/B200 GPU RL clusters or full desktop computer-use VMs

Pricing

From $5/mo

$5/mo Workers Paid base + $0.072/active vCPU-hr and $0.009/GiB-hr memory (billed per 10ms)

Cloudflare Sandbox combines Cloudflare Workers, Durable Objects, and Cloudflare Containers to run isolated agent code execution at the edge with 10ms active-CPU billing granularity.

Pricing & Idle-Tax Math

  • Base plan: $5/mo Workers Paid plan (includes baseline monthly vCPU-minutes and GiB-hours).
  • Active CPU: $0.072/vCPU-hr ($0.000020/vCPU-second) metered in 10ms increments.
  • Memory: $0.009/GiB-hr ($0.0000025/GiB-second).
  • Idle-Tax math: Across 1,000 five-minute agent runs (85% LLM-wait idle, 2 vCPU / 4 GiB), active CPU ($1.80) plus memory ($3.00) totals roughly $4.80 before Workers Paid allowances.

Trade-offs

Cloudflare Sandbox shines for teams already deploying agents on Workers and Durable Objects who want low-latency tool execution without managing a separate cloud vendor. It is less suited for GPU-heavy ML/RL training loops or multi-hour stateful Linux desktop workloads.

Verdict

The cleanest low-overhead sandbox add-on if your AI app already runs on Cloudflare Workers and Durable Objects.

Editorial Standards & Proof

Reviewed 2026-11-22
Ilias Ism
Reviewed byIlias IsmFounder & Lead Reviewer

Software engineer and founder (15+ years building web apps). Every listing is verified against live product checks, official pricing pages, and real usage limits before publication.

Product checks
Live domain, active software, and editorial review passed
Editorial independence
Zero paid verdicts; pros, cons, and limits are checked directly
Last updated

Share:

Similar to Cloudflare Sandbox