Skip to content
sandboxrouting

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.

Quickstartnpm i sandboxrouting
sbr route --strategy free-first --cpu 2 --memory 4096 --timeout 60058 in order
strategy
needs
minIsolation
allowPaid
108 providers, 50 left out by the hard rules, 58 ranked
  1. 1InstaBoxFree every month, 100% left, resets in 9.5 dfree
  2. 2Islo MachinesFree every month, 100% left, resets in 9.5 dfree
  3. 3agentalFree every month, 100% left, resets in 9.5 dfree
  4. 4Upstash BoxFree every month, 100% left, resets in 9.5 dfree
  5. 5Fly.io MachinesFree every month, 100% left, resets in 9.5 dfree
  6. 6CyqleFree every month, 100% left, resets in 9.5 dfree
  7. 7Cloudflare SandboxFree every month, 100% left, resets in 9.5 dfree

then 51 more, each tried in turn if InstaBox refuses

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.

Shell
npm i sandboxrouting
export DAYTONA_API_KEY=… E2B_API_KEY=…
npx sbr providers
providerfree usagechecked
daytona$200 once2026-11-11
e2b$100 once2026-11-11
dockerUnlimited, on your hardwareyour machine

and 105 more, each skipped until its key is set

Then ask for a sandbox.

TypeScript
import { createRouter } from "sandboxrouting";

const router = await createRouter();
const sbx = await router.create({
  providers: ["modal", "vercel", "upstash", "freestyle"],
});
console.log(sbx.provider, sbx.route);
modal402 Payment Required: free tier marked used up, skipped for 9.5 d
vercel429 Too Many Requests: rate limited, skipped for 1 min
upstash401 Unauthorized: key refused, skipped for 10 min
freestylecreated, billed as free

Then let the work move when a box dies.

TypeScript
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,
    },
  ],
});
Box 1: modallost
  1. setup, initial files
  2. python main.py > out.txt
  3. python report.py out.txtbox lost
Box 2: freestylefinished
  1. setup again, then checkpoint of step 0 restored
  2. python report.py out.txt
  3. curl -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: false

58of 108 providers take the default request

  1. InstaBox
  2. Islo Machines
  3. agental
  4. Upstash Box
  5. Fly.io Machines
  6. Cyqle
  7. Cloudflare Sandbox
  8. MIOSA
  9. Tensorlake
  10. Fly Sprites
  11. Google Cloud Run sandboxes
  12. Solari Sandboxes
  13. LangSmith Sandboxes
  14. Archil Sandboxes
  15. Azure Container Apps Sandboxes
  16. Modal
  17. Freestyle
  18. Agent37
  19. Workpaper
  20. Zipbox
  21. Rayrun
  22. Lizard
  23. Zode
  24. Boat
  25. Munito
  26. Maritime
  27. Celesto
  28. briq
  29. Runtime Cloud
  30. Quivvo
  31. Sandbox0
  32. VoidRun
  33. boxd
  34. Groundbox
  35. Buddy Sandboxes
  36. Sandbox as a Service
  37. Isorun
  38. Novita Agent Sandbox
  39. CreateOS Sandbox
  40. Vers
  41. Prized Sandboxes
  42. smol cloud
  43. Docker Sandboxes (cloud)
  44. StateSet Sandbox
  45. Hyperbrowser Sandboxes
  46. Dedalus Machines
  47. BoxLite Cloud
  48. Blaxel
  49. InstaVM
  50. PillDrops
  51. Promigence
  52. Runta
  53. Luxor Agent Cloud (was Tenki)
  54. BoxCompute
  55. Railway Sandboxes
  56. Local Docker
  57. openci (self-hosted)
  58. OpenSandbox (self-hosted)
  59. Cathedral (not ranked: paid)
  60. Orble (not ranked: paid)
  61. Sandboxer (not ranked: paid)
  62. Dory (not ranked: paid)
  63. Koyeb (not ranked: paid)
  64. Kubi (not ranked: paid)
  65. Nodus Compute (not ranked: paid)
  66. tama (not ranked: paid)
  67. Nirvana Labs Agent Sandboxes (not ranked: paid)
  68. Tangle Sandbox (not ranked: paid)
  69. Mosaic Sandbox (not ranked: paid)
  70. Oblien (not ranked: paid)
  71. machine0 (not ranked: paid)
  72. Volcengine AgentKit Sandbox (not ranked: paid)
  73. DigitalOcean Harness Runtime (not ranked: paid)
  74. Chalk Sandboxes (not ranked: paid)
  75. Prime Intellect (not ranked: paid)
  76. Alibaba Cloud AgentBay (not ranked: paid)
  77. Morph Cloud (not ranked: paid)
  78. exe.dev (not ranked: paid)
  79. Platinum (not ranked: paid)
  80. GKE Agent Sandbox (Kubernetes agent-sandbox) (not ranked: paid)
  81. Mandala Computer (not ranked: paid)
  82. Inngest Sandboxes (not ranked: paid)
  83. EQVPS Sandboxes (not ranked: paid)
  84. Tencent Cloud Agent Sandbox (not ranked: paid)
  85. Beam (not ranked: paid)
  86. Render Sandboxes (not ranked: paid)
  87. Together Code Sandbox (not ranked: paid)
  88. kosa8 Cloud (not ranked: paid)
  89. Vercel Sandbox (not ranked: paid)
  90. Keln Sandboxes (not ranked: paid)
  91. OpenReward (not ranked: paid)
  92. Superserve (not ranked: paid)
  93. Thunder Compute (not ranked: paid)
  94. GMI Agentbox (not ranked: paid)
  95. Namespace (not ranked: paid)
  96. Baseten Sandboxes (not ranked: paid)
  97. SuperHQ Nanite (not ranked: paid)
  98. Watasu Sandboxes (not ranked: paid)
  99. OpenPond Sandboxes (not ranked: paid)
  100. Quave ONE (not ranked: paid)
  101. AWS Lambda MicroVMs (not ranked: paid)
  102. Depot Sandboxes (not ranked: paid)
  103. 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 providers

Each 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.

$30 every month
Modal

100 concurrent, 24 h

$30 / monthgVisor, checked Nov 11, 2026
$20 every month
Northflank

2 sandboxes

$20 / monthContainer, checked Nov 11, 2026
$13.22 every month
Freestyle

10 concurrent

200 vCPU-h + 400 GiB-h (≈ $13)microVM, checked Nov 11, 2026
$9.54 every month
Vercel Sandbox

10 concurrent, 45 min

5 CPU-h + 420 GB-h (≈ $9.5)microVM, checked Nov 11, 2026
$8 every month
8 LSU / month ($8, ≈ 42 h)microVM, checked Nov 21, 2026
$5.40 every month
Azure Container Apps Sandboxes

2 vCPU / 4 GiB is tier L

180k vCPU-s + 360k GiB-s (≈ $5.40)microVM, checked Nov 21, 2026
$5.22 every month
Google Cloud Run sandboxes

Preview; needs the execd image

240k vCPU-s + 450k GiB-s (≈ $5.22; billing account)gVisor, checked Nov 21, 2026
$5 every month
agental

2 small at once until the first top-up; tiny and small only

$5 / month (card required)VM, checked Nov 21, 2026

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.

Modal adaptersrc/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