Compare

Tangle vs Cloudflare Sandbox: which sandbox for coding agents?

Pick Cloudflare Sandbox when you already run on Workers and want microVM containers, in public beta for sandboxes, with the internet off by default and credentials kept in your Worker. Pick Tangle when you want coding agents installed in every sandbox and driven from a TypeScript or Python SDK, with one prompt call that returns the result, usage and cost.

Last checked November 10, 2026: each Cloudflare Sandbox fact links the page it came from, read that day.

Pick Cloudflare Sandbox when

Pick Tangle when

Cloudflare Sandbox and Tangle, row by row

FeatureCloudflare SandboxTangle
Coding agentsDocumented runners for Claude Code, Codex, OpenCode and Pi, plus Devin, Cursor and Claude Managed Agents templates (developers.cloudflare.com/sandbox/coding-agents)Claude Code, Codex, OpenCode, Pi, Hermes, OpenClaw, Kimi Code and Prime Agent installed in every sandbox (tangle.tools)
Model callsThe Claude Code, Codex, OpenCode and Pi guides route model calls through AI Gateway, with your Worker adding the API token (developers.cloudflare.com/sandbox/coding-agents)Tangle Router by default, billed to the same Tangle balance as the sandbox (docs.tangle.tools/sandbox/cloud-agents)
IsolationEach Container instance is a microVM with its own kernel and network; Dynamic Workers isolate JavaScript, Python or WebAssembly; sandbox containers use a scheduling policy in public beta (developers.cloudflare.com/sandbox)A container or a Firecracker microVM, chosen per sandbox (docs.tangle.tools/sandbox/security)
Stop and resumeAn instance runs until it is stopped; its processes and disk end with it unless your app saves a snapshot (developers.cloudflare.com/sandbox/concepts/lifetime)Timers you set stop a sandbox; a stopped sandbox keeps its files until you delete it or its delete timer passes (docs.tangle.tools/sandbox/migrate-e2b)
Snapshots and forksSnapshots of the writable root filesystem (public beta); not memory or processes (developers.cloudflare.com/sandbox/concepts/lifetime)Snapshot, revert, and split a running sandbox into copies (docs.tangle.tools/sandbox/snapshots)
SecretsCredentials stay in your Worker, which adds them to outbound requests (developers.cloudflare.com/sandbox/network)Stored once; you choose whether the sandbox can read a secret or only the network proxy can (docs.tangle.tools/sandbox/secrets)
NetworkInternet access is off by default; only requests your Worker intercepts leave the Container (developers.cloudflare.com/sandbox/concepts/security)Open, a strict allowlist, or blocked, changeable while the sandbox runs (docs.tangle.tools/sandbox/egress)
Getting a shellA browser terminal connected over a WebSocket to a shell in a Linux sandbox (developers.cloudflare.com/sandbox/commands/open-a-terminal-in-the-browser)SSH, a PTY or a browser terminal (docs.tangle.tools/sandbox/terminals)
RegionsContainers deploy to Region:Earth from a single wrangler deploy (developers.cloudflare.com/containers)eu1 and us1 (tangle.tools/benchmarks)
SDKsOrchestration code is TypeScript or JavaScript in a Worker (developers.cloudflare.com/containers)TypeScript, Python (tangle-sandbox on PyPI) and the tangle CLI (docs.tangle.tools/sandbox/sdk-python)

Start times: our measurements, their published claims

Tangle, measuredp50p95RunsFailed
New sandbox, ready to use1.5s12s39356 of 425
Create, then run a first command1.7s8s743 of 77
Claude Code's first reply, from create3.4s12s453 of 48
Codex's first reply, from create3.3s18s443 of 47

Production runs from 2026-11-02 to 2026-11-09, the same rows tangle.tools/benchmarks draws.

These are different tests, and we have not run Cloudflare Sandbox through our benchmark.

Prices are on each pricing page

Tangle: plans and the rate card. Cloudflare Sandbox: developers.cloudflare.com/containers/pricing.