vs Cloudflare Sandbox SDK

homemade vs Cloudflare Sandbox SDK

homemade gives every project its own computers in the cloud, with your repo, your running services, a link for each one, and Claude Code and Codex signed in. Here is how it compares with Cloudflare Sandbox SDK.

Checked 20 Nov 20265 sources

Why people pick homemade over Cloudflare Sandbox SDK

What you get with homemade that Cloudflare Sandbox SDK does not give you in the same way.

  • A sleeping homemade computer keeps its disk and its running memory state. Cloudflare's docs say files persist only while the container is active and are deleted when it stops.
  • homemade is a full cloud computer per project, with the repo cloned and services started. Sandbox SDK needs you to write a Worker and build the environment yourself.
  • Claude Code, Codex, OpenCode, pi, Kimi and Grok are installed and signed in on every computer, so you sign in once. There is also a Chat tab in the dashboard.
  • SSH and VS Code or Cursor over SSH (homemade open) are built in. The Cloudflare pages checked do not state SSH or IDE support.
  • Preview links work without a custom domain or Worker code, and a visit wakes a sleeping computer. In production, Cloudflare previews need a custom domain with wildcard DNS.
  • A free Hobby plan with per-size hourly prices and disk included. Cloudflare's included usage comes with the $5/month Workers Paid plan.

Side by side

The parts that matter when you build with coding agents. Cloudflare Sandbox SDK facts are from their own pages, checked 20 Nov 2026.

homemade and Cloudflare Sandbox SDK side by side
Coding agentshomemadeClaude Code, Codex, OpenCode, pi, Kimi and Grok on every computer. Sign in once and every new computer starts signed in. A Chat tab in the dashboard, and an MCP server (homemade mcp).Cloudflare Sandbox SDKDocs say you can run coding agents such as Claude Code, Codex and Devin in a sandbox dedicated to one task. Workers AI models can generate code to run in a sandbox.
What you gethomemadeA full VM per computer with its own kernel, its own private network and its own firewall. Not a shared container.Cloudflare Sandbox SDKDocs describe each Container instance as a microVM with its own kernel and network. The concepts page calls a sandbox a dedicated Linux container backed by a Durable Object.
Sleep and statehomemadeComputers sleep when idle (after 30 minutes by default, or never on Pro) and keep their disk and running state. Sleeping is free. Kept 7 days on Hobby, 30 on Pro, and forever with the Unlimited sleep add-on.Cloudflare Sandbox SDKFiles persist only while the container is active. When it stops, all files are deleted and the next request starts fresh. Default sleep timeout is 10 minutes (sleepAfter), and keepAlive prevents idle. Directory backups to R2 and R2 bucket mounts can keep files.
Preview linkshomemadeA link for every service port, shared as public, organization or owner only. A visit can wake a sleeping computer. Your own domains with the Custom domains add-on on Pro.Cloudflare Sandbox SDKexposePort() returns a unique HTTPS URL. Production needs a custom domain with wildcard DNS. URLs are public by default but include a token. HTTP, WebSockets and SSE work. Raw TCP/UDP does not.
Editors and SSHhomemadeBrowser terminal and editor, SSH (homemade ssh), VS Code and Cursor over SSH (homemade open), a CLI for macOS and Linux, and an HTTP API.Cloudflare Sandbox SDKGuides cover terminals and running commands. SSH and IDE support were not stated on the pages checked.
TeamshomemadeTeams with projects and members, sharing levels on previews, GitHub pushes as you, PR preview computers and Linear ticket computers.Cloudflare Sandbox SDKNot stated on the Sandbox pages. It runs under a Cloudflare account and Workers plan.
PricinghomemadePro $20/mo includes $20 of usage, then per second by size: nano 0.5 vCPU / 1 GB $0.012/h, tiny 2 vCPU / 4 GB $0.0162/h, small 4 vCPU / 8 GB $0.0324/h, medium 8 vCPU / 16 GB $0.0648/h, large 16 vCPU / 32 GB $0.18/h. Disk included. 1 TB egress a month included, then $0.05/GB.Cloudflare Sandbox SDKContainers pricing, on the $5/month Workers Paid plan: includes 25 GiB-hours memory, 375 vCPU-minutes and 200 GB-hours disk per month. Then $0.0000025 per GiB-second memory, $0.000020 per vCPU-second, $0.00000007 per GB-second disk. Billed per 10ms of active time. Egress $0.025/GB in North America and Europe after 1 TB included.
Free planhomemadeHobby, free: 25 computer-hours a month, 1 computer at a time, nano or tiny size.Cloudflare Sandbox SDKThe Containers pricing page shows N/A for the Free plan. Included usage comes with the $5/month Workers Paid plan.

Cloudflare Sandbox SDK prices are list prices in their own units, and plans change, so check their page before you buy. homemade prices are in US dollars without VAT, see pricing.

Moving from Cloudflare Sandbox SDK

Most projects move in an afternoon.

  1. Sandbox SDK is code in a Worker, so there is no project config to import. Import the repo into homemade and set install commands to recreate the environment.

  2. Container images and Dockerfiles have no direct equivalent. Put the setup in install commands and services.

  3. R2 mounts and directory backups have no equivalent. Your files live on the computer's disk and survive sleep.

  4. Replace exposePort() URLs with services that have a URL enabled. The default preview link needs no custom domain.

  5. Move your secrets into the homemade project, where they are encrypted with AES-256-GCM.

When Cloudflare Sandbox SDK is a good fit

Developers building on Cloudflare Workers who need programmatic, per-task sandboxes for generated code.

  • If you call sandboxes from a Worker in your own code, Cloudflare's Apache 2.0 SDK is built for that.
  • If you want very small instances (from 1/16 vCPU and 256 MiB) billed per 10ms of active time, Cloudflare offers that.
  • If you want S3-compatible bucket mounts and directory backups to R2, Cloudflare documents them.

homemade fits developers who want a persistent cloud computer for each project or branch, where agents and humans work in the same place.

Questions

Is Cloudflare Sandbox SDK free?

Containers pricing ties included usage to the $5/month Workers Paid plan and shows N/A for Free. Usage past the included amounts is billed per second.

Is Cloudflare Sandbox SDK open source?

The SDK repository on GitHub is licensed under Apache 2.0. The sandboxes run on Cloudflare's platform.

Do Cloudflare sandboxes keep files when idle?

Docs say files persist only while the container is active and are deleted when it stops. Directory backups and R2 mounts can be used to keep data.

Is homemade an alternative to Cloudflare Sandbox SDK?

Yes, for running coding agents and dev environments. homemade provides a ready cloud computer per project. If you need to call sandboxes from a Worker in your own code, Cloudflare's SDK is built for that.

How does Cloudflare pricing compare to homemade?

Cloudflare bills vCPU, memory and disk separately per second on top of a $5/month plan. homemade lists fixed hourly sizes with disk included, for example small (4 vCPU, 8 GB) at $0.0324/h.

Try homemade next to Cloudflare Sandbox SDK

Create a computer for your project and see for yourself. The Hobby plan is free, with 25 hours a month.

More comparisons

Sources

Every Cloudflare Sandbox SDK fact on this page comes from these pages, read on 20 Nov 2026. Where they did not say, the table says so.