Skip to content
Sandbox SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Compare providers

Compare Local with Docker or agentOS, E2B, Vercel Sandbox, Daytona, Upstash Box, Railway, Boat, Sandboxer, Tenki, Superserve, boxd, Freestyle, and Memory side by side. Factories, credentials, and what each one is best for.

A provider is where sandboxes actually run. You pick one by importing its factory from a subpath and passing it to createSandbox. The rest of your code stays the same when you switch.

E2B, Daytona, Freestyle, Superserve, Boat, and Sandboxer call the provider’s HTTP API directly, so they need no package besides Sandbox SDK. The others use the provider’s own SDK, which you install next to Sandbox SDK; Peer packages names the package and version range for each one. It loads on the provider’s first operation, so unused providers cost nothing. Either way, calls use your credentials.

Not sure where to start? Choose a provider maps common needs to a provider. Adapters that other people publish and maintain are on Community providers.

At a glance

Provider Factory Credentials Best for
Local local() from /local None Development and CI
Local (agentOS) agentos() from /agentos None Local command and file tasks without Docker
E2B e2b() from /e2b E2B_API_KEY Pause with memory, hard lifetimes
Vercel Sandbox vercel() from /vercel OIDC, or VERCEL_TOKEN, VERCEL_TEAM_ID, VERCEL_PROJECT_ID Apps deployed on Vercel
Daytona daytona() from /daytona DAYTONA_API_KEY Custom sizes, idle auto-stop
Upstash Box upstash() from /upstash UPSTASH_BOX_API_KEY Durable state, filesystem snapshots
Railway railway() from /railway RAILWAY_API_TOKEN, RAILWAY_ENVIRONMENT_ID Ephemeral VMs, filesystem checkpoints
Sandboxer sandboxer() from /sandboxer SANDBOXER_API_KEY Ubuntu microVMs, memory pause, named disk snapshots
Boat boat() from /boat BOAT_API_KEY Persistent VMs for long-running agents
Tenki tenki() from /tenki TENKI_API_KEY or TENKI_AUTH_TOKEN Full VMs, disk and memory snapshots
Superserve superserve() from /superserve SUPERSERVE_API_KEY Firecracker microVMs, pause, snapshots
boxd boxd() from /boxd BOXD_API_KEY Persistent isolated VMs, memory pause
Freestyle freestyle() from /freestyle FREESTYLE_API_KEY Persistent VMs, default-deny firewall, memory snapshots
Memory memory() from /memory None Unit tests

What each provider supports

Providers differ in key mode, pause, snapshots, size, network policy, idle and lifetime limits, declared ports, and preview URLs. The capability matrix puts all of them side by side, with a note on each limit that matters. A script checks it against the adapters’ source on every CI run.

Key mode in one sentence

Exact providers guarantee that concurrent createSandbox calls with the same key land on one sandbox. Best-effort providers find sandboxes by searching, so two requests at the same moment can create two. Read Exact and best-effort keys for the fix.

Provider pages

Was this page helpful?