Suggestions appear as you type. Use the up and down arrows to choose one and Enter to open it.

Cloudflare Sandboxes

#5 of 26 in AI Agent Sandboxes

Cloudflare Sandboxes: Cloud execution for untrusted code with persistence, streaming and network controls. Ranked #5 of 26 in AI Agent Sandboxes by our editors (9.0/10); pricing: Paid; best for cloud code-execution sandboxes with persistence.

9.0/10Editor score
Cloudflare Sandboxes9.0 Visit Cloudflare

At a glance

  • Editor score
    9.0 / 10
  • Pricing
    Paid
  • Best for
    Cloud code-execution sandboxes with persistence
  • Free plan
    No
  • Paid from
    $0.03/GB usage-based
  • Browser sandbox
    No
  • Facts checked
    16 Nov 2026
  • Where it wins

    • Isolated containers support custom Linux images and dependencies
    • Snapshots and mounted storage provide persistent working state
    • Streaming, interpreters and network interception support agent workflows
  • Where it doesn't

    • Usage-based charges span memory, CPU, disk and network egress
    • Availability is tied to the Cloudflare Workers Paid plan
    • Integrations center on Workers SDK, with documentation as the support channel

Our verdict on Cloudflare Sandboxes

Cloudflare Sandboxes provides isolated environments for running untrusted or AI-generated code, aimed at AI agents and developer tools that need controlled execution. Sandboxes run as Cloudflare Containers with configurable Linux images, runtimes, filesystems and processes. Workers manage container lifecycles through the @cloudflare/sandbox SDK, while repository cloning, shell commands, file operations and directory management support practical development workflows. Python and JavaScript interpreters can return rich outputs, and real-time stdout and stderr streaming exposes execution progress.

Pricing is usage-based through the underlying Cloudflare Containers platform. The published meters are Memory usage for container memory, CPU usage for container CPU, Disk usage for container disk, and Network egress for outbound transfer. Network egress is listed at $0.025 per GB for NA/EU traffic. The product page describes free usage allowances and rates after those allowances, while the documentation states that Sandboxes are available on the Workers Paid plan. This model suits workloads that can track resource consumption, but it requires budgeting across several independent usage dimensions rather than selecting a single flat package.

The strongest technical fit is for agents that need persistence and controlled connectivity: snapshots and mounted storage preserve state, while Workers control outbound access and integrations through network controls and interception. Containers run in Firecracker microVMs with separate kernels and networks, adding isolation for untrusted workloads. Choose Cloudflare Sandboxes when your stack already centers on Workers and you need multi-language execution, streaming output and filesystem persistence in the cloud. Consider another option if you need a browser sandbox, broader integrations beyond the Workers SDK, or support channels beyond documentation.

Your product? Our editors can test Cloudflare Sandboxes in depth and publish a review, labelled as paid · from $149/mo →

Cloudflare Sandboxes pricing

Plans Paid No free plan — trial or paid only. Prices checked 16 Nov 2026.
See plans on cloudflare.com

All 4 Cloudflare Sandboxes plans and prices →

Cloudflare Sandboxes fact sheet

Free planNo
Paid from$0.03/GB usage-based
Browser sandboxNo
Network isolationYes
Persistent storageYes
Max runtimeNot verified
Runtime languagesMulti-language
Deployment modelCloud
GPU supportNot verified
DeploymentCloud
PlatformsWeb
SupportDocs
Built forSmall business, Mid-market, Enterprise (editorial estimate)
PricingPaid (source)
Websitecloudflare.com
Facts checked16 Nov 2026

Alternatives to Cloudflare Sandboxes

See all Cloudflare Sandboxes alternatives →

Cloudflare Sandboxes vs the competition

Compare Cloudflare Sandboxes with any tool side by side →

Used Cloudflare Sandboxes? Be the first to review it

The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used Cloudflare Sandboxes for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.

Write a reviewTwo minutes · verified accounts only · read by an editor before it appears

Reviews come only from verified accounts. Sign in or create an account first — your e-mail is never shown.

Your rating

0 characters · at least 80, up to 3,000

Posted from your verified account. Reviews appear after an editor reads them, usually within two working days.

Featured on iTechGuides

Featured on iTechGuides — Cloudflare Sandboxes 9.0/10

Cloudflare Sandboxes is listed in our AI Agent Sandboxes directory. Add the badge to your site — it links back to this page.

<a href="https://www.itechguides.com/products/cloudflare-sandboxes/"><img src="https://www.itechguides.com/best/badge/cloudflare-sandboxes.svg" alt="Featured on iTechGuides" width="230" height="46"></a>

Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026

Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.

Last updated · How we research and update