Sandboxes from
every free tier
Ask for a sandbox. sandboxrouting picks one of 108 providers that still has free usage left, fails over when one refuses, and moves your work when a box dies.
npm i sandboxroutingThe panel is the router’s own plan(), run at build time against an example ledger as of Nov 21, 2026: Modal has spent $18.40 of its $30 this month, Freestyle $9.10; Vercel refused with a 402 an hour ago; E2B answered 429 twenty seconds ago; Daytona's key was refused two minutes ago; Northflank failed three creates in a row. Change the request and see where it goes.
sbr route --strategy free-first --cpu 2 --memory 4096 --timeout 60058 in order- 1InstaBoxFree every month, 100% left, resets in 9.5 dfree
- 2Islo MachinesFree every month, 100% left, resets in 9.5 dfree
- 3agentalFree every month, 100% left, resets in 9.5 dfree
- 4Upstash BoxFree every month, 100% left, resets in 9.5 dfree
- 5Fly.io MachinesFree every month, 100% left, resets in 9.5 dfree
- 6CyqleFree every month, 100% left, resets in 9.5 dfree
- 7Cloudflare SandboxFree every month, 100% left, resets in 9.5 dfree
then 51 more, each tried in turn if InstaBox refuses
- The example ledger
- Every provider's key is set.
- Modal has spent $18.40 of its $30 this month, Freestyle $9.10.
- Vercel refused with a 402 an hour ago.
- E2B answered 429 twenty seconds ago.
- Daytona's key was refused two minutes ago.
- Northflank failed three creates in a row.
The panel is the router’s own plan(), run at build time on an example ledger as of Nov 21, 2026: Modal has spent $18.40 of its $30 this month, Freestyle $9.10; Vercel refused with a 402 an hour ago; E2B answered 429 twenty seconds ago; Daytona's key was refused two minutes ago; Northflank failed three creates in a row.
Three calls
First, install it and set the keys you have.
npm i sandboxrouting
export DAYTONA_API_KEY=… E2B_API_KEY=…
npx sbr providers| provider | free usage | isolation | checked |
|---|---|---|---|
| daytona | $200 once | container | 2026-11-11 |
| e2b | $100 once | microvm | 2026-11-11 |
| docker | Unlimited, on your hardware | container | your machine |
and 105 more, each skipped until its key is set
Then ask for a sandbox.
import { createRouter } from "sandboxrouting";
const router = await createRouter();
const sbx = await router.create({
providers: ["modal", "vercel", "upstash", "freestyle"],
});
console.log(sbx.provider, sbx.route);Then let the work move when a box dies.
await router.jobs.run({
sandbox: { image: "python:3.12-slim" },
setup: [{ run: "pip install -q requests" }],
steps: [
{ run: "python main.py > out.txt" },
{ run: "python report.py out.txt" },
{
run: "curl -fsS -X POST https://hooks.example/done",
idempotent: false,
},
],
});- setup, initial files
python main.py > out.txtpython report.py out.txtbox lost
- setup again, then checkpoint of step 0 restored
python report.py out.txtcurl -fsS -X POST https://hooks.example/done
The job’s states, as the router recorded them: queued → placing → preparing → running → migrating → placing → preparing → running → succeeded. Watch it move
Free until you say
allowPaid: false is the default: only providers that won’t bill you are ranked. A request no free tier can take fails, with every provider’s reason.
allowPaid: false58of 108 providers take the default request
- InstaBox
- Islo Machines
- agental
- Upstash Box
- Fly.io Machines
- Cyqle
- Cloudflare Sandbox
- MIOSA
- Tensorlake
- Fly Sprites
- Google Cloud Run sandboxes
- Solari Sandboxes
- LangSmith Sandboxes
- Archil Sandboxes
- Azure Container Apps Sandboxes
- Modal
- Freestyle
- Agent37
- Workpaper
- Zipbox
- Rayrun
- Lizard
- Zode
- Boat
- Munito
- Maritime
- Celesto
- briq
- Runtime Cloud
- Quivvo
- Sandbox0
- VoidRun
- boxd
- Groundbox
- Buddy Sandboxes
- Sandbox as a Service
- Isorun
- Novita Agent Sandbox
- CreateOS Sandbox
- Vers
- Prized Sandboxes
- smol cloud
- Docker Sandboxes (cloud)
- StateSet Sandbox
- Hyperbrowser Sandboxes
- Dedalus Machines
- BoxLite Cloud
- Blaxel
- InstaVM
- PillDrops
- Promigence
- Runta
- Luxor Agent Cloud (was Tenki)
- BoxCompute
- Railway Sandboxes
- Local Docker
- openci (self-hosted)
- OpenSandbox (self-hosted)
- Cathedral (not ranked: paid)
- Orble (not ranked: paid)
- Sandboxer (not ranked: paid)
- Dory (not ranked: paid)
- Koyeb (not ranked: paid)
- Kubi (not ranked: paid)
- Nodus Compute (not ranked: paid)
- tama (not ranked: paid)
- Nirvana Labs Agent Sandboxes (not ranked: paid)
- Tangle Sandbox (not ranked: paid)
- Mosaic Sandbox (not ranked: paid)
- Oblien (not ranked: paid)
- machine0 (not ranked: paid)
- Volcengine AgentKit Sandbox (not ranked: paid)
- DigitalOcean Harness Runtime (not ranked: paid)
- Chalk Sandboxes (not ranked: paid)
- Prime Intellect (not ranked: paid)
- Alibaba Cloud AgentBay (not ranked: paid)
- Morph Cloud (not ranked: paid)
- exe.dev (not ranked: paid)
- Platinum (not ranked: paid)
- GKE Agent Sandbox (Kubernetes agent-sandbox) (not ranked: paid)
- Mandala Computer (not ranked: paid)
- Inngest Sandboxes (not ranked: paid)
- EQVPS Sandboxes (not ranked: paid)
- Tencent Cloud Agent Sandbox (not ranked: paid)
- Beam (not ranked: paid)
- Render Sandboxes (not ranked: paid)
- Together Code Sandbox (not ranked: paid)
- kosa8 Cloud (not ranked: paid)
- Vercel Sandbox (not ranked: paid)
- Keln Sandboxes (not ranked: paid)
- OpenReward (not ranked: paid)
- Superserve (not ranked: paid)
- Thunder Compute (not ranked: paid)
- GMI Agentbox (not ranked: paid)
- Namespace (not ranked: paid)
- Baseten Sandboxes (not ranked: paid)
- SuperHQ Nanite (not ranked: paid)
- Watasu Sandboxes (not ranked: paid)
- OpenPond Sandboxes (not ranked: paid)
- Quave ONE (not ranked: paid)
- AWS Lambda MicroVMs (not ranked: paid)
- Depot Sandboxes (not ranked: paid)
- Lightcone (not ranked: paid)
The router’s own ranking for the example ledger at the top of the page, generated at build time. Providers it skips for other reasons (an open circuit, a refused key, a rate limit, macOS only) are left out of both counts.
108 providers, terms read by hand
All 108 providersEach adapter carries its provider’s free tier and prices, the page they came from and the day they were checked, between Nov 11, 2026 and Nov 21, 2026. This list is generated from those adapters at build time. Paid-only prices are what the router ranks by, at 2 vCPU and 4 GiB.
10 concurrent, 45 min
10 sandboxes
2 vCPU / 4 GiB is tier L
Preview; needs the execd image
2 small at once until the first top-up; tiny and small only
One file per provider
An adapter declares what the router needs to route to it: this is Modal’s, read from its adapter. Only create, exec and kill are code; files, listing and URLs fall back to exec.
src/providers/modal.ts- id
- modal
- env
- MODAL_TOKEN_ID, MODAL_TOKEN_SECRET
- sdk
- npm i modal
- capabilities
- Any OCI image, Public ports, Native file listing, GPUs, Snapshots
- isolation
- gVisor
- os
- linux
- max timeout
- 1 d
- per command
- no cap
- enforces TTL
- yes
- free usage
- $30 every month
- concurrency
- 100
- lifetime cap
- 1 d
- checked
- Nov 11, 2026
- vCPU
- $0.071/h
- GiB
- $0.024/h
- 2 vCPU, 4 GiB
- $0.238/h
- billing
- wall clock
Before you ask
Will it ever bill me?
Not unless you say so. Paid usage is off by default (allowPaid: false): a request no free tier can take fails with every provider's reason. Turn it on globally or per provider, and set maxPaidUsdPerMonth to make the month's spend a hard cap.
How does it know how much free usage is left?
It meters locally. No provider has an API that reports remaining free credit, so every sandbox's running time is recorded in a ledger and priced at the provider's rates. Live sandboxes reserve what they can still spend, so a free tier only takes a request it can cover whole.
What if I already used some credit elsewhere?
The router can't see usage outside it. Set usedBeforeUsd for a one-time credit you have partly spent. If a provider refuses for quota anyway, a 402 marks its free tier as used up and the router moves on.
What happens when a provider refuses?
The router tries the next provider in the plan and marks the one that refused: a 429 is skipped for a minute, a 401 or 403 for 10 minutes, and a 402 until its monthly reset, or for 1, 2, 4 and then 7 days. Network errors and 5xx count toward a circuit breaker: 3 in a row open it for 2 minutes, doubling up to 30.
Can I pick the order myself?
Yes. The default strategy is free-first; 5 are built in (free-first, cheapest, balanced, fastest, spread), you can choose one in config or per request, set a priority per provider, or register your own. No strategy can route around the hard rules: keys, capabilities, isolation, allowPaid and budgets.
What happens to my work when a box dies?
Run it as a job: ordered steps plus a working directory, checkpointed after each step. When a box vanishes, its provider refuses or a limit is about to end it, the job continues on another box from the last checkpoint. Steps with outside effects are marked idempotent: false, so they never run twice.
How are sandboxes isolated?
Each provider declares its isolation: container, gVisor, microVM or VM. Ask for minIsolation and weaker or unknown providers are skipped. Several providers don't publish theirs, and those never match a minIsolation request.
Where is the state kept?
In one ledger file, ~/.sandboxrouting/ledger.json, locked for every update and written whole. The SDK, the CLI, the REST server and the MCP server share it, so they agree on what is live and what is spent.
Is it affiliated with the providers?
No. sandboxrouting isn't affiliated with or endorsed by any provider it supports. Free tiers and prices are as each adapter's source page said on its checked date; check a provider's own terms before you rely on them, and override them in config when yours differ.
Give it
a box
The MCP server gives your agent create_sandbox, run_command, run_job and 14 more tools, on the same ledger as the CLI. Keys come from its environment. Every client
Add sandboxes to your agent
What your agent will call the tools' server.
In a terminal
claude mcp add sandboxes -- npx -y sandboxrouting mcp