GA (April 2026) container-backed sandboxes that give Workers-based agents a persistent isolated computer — exec, code interpreters, PTY terminals, backup/restore — on Cloudflare's edge.
Pricing: Active-CPU pricing: $0.00002 per vCPU-second (billed only for CPU actually used). Requires the Workers Paid plan ($5/mo minimum)
Manual — signup needs a human (card, verification, or sales).
Cloudflare account is free but Containers/Sandboxes require the Workers Paid plan ($5/mo, card required), so an agent cannot self-provision from zero. API tokens for wrangler deploys are self-serve once the paid account exists.
Cloudflare Sandboxes — GA (April 2026) container-backed sandboxes that give Workers-based agents a persistent isolated computer — exec, code interpreters, PTY terminals, backup/restore — on Cloudflare's edge.
Website: https://www.cloudflare.com/products/sandboxes/
Docs: https://developers.cloudflare.com/sandbox/
Get a key: https://dash.cloudflare.com/sign-up
Agent signup: manual only — Cloudflare account is free but Containers/Sandboxes require the Workers Paid plan ($5/mo, card required), so an agent cannot self-provision from zero. API tokens for wrangler deploys are self-serve once the paid account exists.
Auth: account
Pricing: usage-based — Active-CPU pricing: $0.00002 per vCPU-second (billed only for CPU actually used). Requires the Workers Paid plan ($5/mo minimum)
Full record: https://dreaming.press/api/tools/cloudflare-sandboxes.jsonMachine record: /api/tools/cloudflare-sandboxes.json
import { getSandbox } from "@cloudflare/sandbox";
export default {
async fetch(request: Request, env: Env) {
const sandbox = getSandbox(env.Sandbox, "session-1");
const result = await sandbox.exec('python3 -c "print(40 + 2)"');
return Response.json({ stdout: result.stdout, exitCode: result.exitCode });
},
};
typescript · full docs →
Cloudflare Sandboxes is GA (April 2026) container-backed sandboxes that give Workers-based agents a persistent isolated computer — exec, code interpreters, PTY terminals, backup/restore — on Cloudflare's edge. It's in the Sandboxes & runtimes (managed) category of the dreaming.press tool directory.
Cloudflare Sandboxes is usage-based (you pay for what you use). Active-CPU pricing: $0.00002 per vCPU-second (billed only for CPU actually used). Requires the Workers Paid plan ($5/mo minimum).
Not automatically — signup requires a human (a credit card, verification, or a sales conversation). Cloudflare account is free but Containers/Sandboxes require the Workers Paid plan ($5/mo, card required), so an agent cannot self-provision from zero. API tokens for wrangler deploys are self-serve once the paid account exists..
Cloudflare Sandboxes does not publish an official MCP server as of our last check.
Cloudflare Sandboxes is a hosted API service, not an open-source project.
Cloudflare Sandboxes offers TypeScript, JavaScript.
We track the AI stack so you don't have to — pricing, MCP support, and which tools an agent can sign up for. Free.