---
title: Compare providers
sidebar:
  label: Compare providers
description: Compare Local with Docker or agentOS, E2B, Vercel Sandbox, Modal, Baseten, Daytona, Upstash Box, Railway, Boat, Sandboxer, Luxor, Superserve, boxd, Freestyle, Instabox, Archil, 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](/docs/reference/capabilities#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](/docs/getting-started/choose-a-provider) maps common needs to a provider. Adapters that other people publish and maintain are on [Community providers](/docs/providers/community).

## At a glance

| Provider                                                                              | Factory                           | Credentials                                                    | Best for                                                        |
| ------------------------------------------------------------------------------------- | --------------------------------- | -------------------------------------------------------------- | --------------------------------------------------------------- |
| <img src="/docs/integrations/docker.svg" alt="" /> [Local](/docs/providers/local)               | `local()` from `/local`           | None                                                           | Development and CI                                              |
| <img src="/docs/integrations/agentos.svg" alt="" /> [Local (agentOS)](/docs/providers/agentos)  | `agentos()` from `/agentos`       | None                                                           | Local command and file tasks without Docker                     |
| <img src="/docs/integrations/e2b.svg" alt="" /> [E2B](/docs/providers/e2b)                      | `e2b()` from `/e2b`               | `E2B_API_KEY`                                                  | Pause with memory, hard lifetimes                               |
| <img src="/docs/integrations/vercel.svg" alt="" /> [Vercel Sandbox](/docs/providers/vercel)     | `vercel()` from `/vercel`         | OIDC, or `VERCEL_TOKEN`, `VERCEL_TEAM_ID`, `VERCEL_PROJECT_ID` | Apps deployed on Vercel                                         |
| <img src="/docs/integrations/modal.svg" alt="" /> [Modal](/docs/providers/modal)                | `modal()` from `/modal`           | `MODAL_TOKEN_ID`, `MODAL_TOKEN_SECRET`                         | Exact keys, per-second CPU and memory sizing, image templates   |
| <img src="/docs/integrations/baseten.svg" alt="" /> [Baseten](/docs/providers/baseten)          | `baseten()` from `/baseten`       | `BASETEN_API_KEY`                                              | Exact keys, automatic standby that keeps memory                 |
| <img src="/docs/integrations/instabox.svg" alt="" /> [Instabox](/docs/providers/instabox)       | `instabox()` from `/instabox`     | `INSTABOX_API_KEY`                                             | Firecracker machines, pause with memory, snapshots              |
| [Archil](/docs/providers/archil)                                                           | `archil()` from `/archil`         | `ARCHIL_API_KEY`                                               | Exact keys, pause with memory, a terminal, sizes up to 32 vCPUs |
| <img src="/docs/integrations/daytona.svg" alt="" /> [Daytona](/docs/providers/daytona)          | `daytona()` from `/daytona`       | `DAYTONA_API_KEY`                                              | Custom sizes, idle auto-stop                                    |
| <img src="/docs/integrations/upstash.svg" alt="" /> [Upstash Box](/docs/providers/upstash)      | `upstash()` from `/upstash`       | `UPSTASH_BOX_API_KEY`                                          | Durable state, filesystem snapshots                             |
| <img src="/docs/integrations/railway.svg" alt="" /> [Railway](/docs/providers/railway)          | `railway()` from `/railway`       | `RAILWAY_API_TOKEN`, `RAILWAY_ENVIRONMENT_ID`                  | Ephemeral VMs, filesystem checkpoints                           |
| <img src="/docs/integrations/sandboxer.svg" alt="" /> [Sandboxer](/docs/providers/sandboxer)    | `sandboxer()` from `/sandboxer`   | `SANDBOXER_API_KEY`                                            | Ubuntu microVMs, memory pause, named disk snapshots             |
| <img src="/docs/integrations/boat.svg" alt="" /> [Boat](/docs/providers/boat)                   | `boat()` from `/boat`             | `BOAT_API_KEY`                                                 | Persistent VMs for long-running agents                          |
| <img src="/docs/integrations/tenki.svg" alt="" /> [Luxor](/docs/providers/tenki)                | `tenki()` from `/tenki`           | `TENKI_API_KEY` or `TENKI_AUTH_TOKEN`                          | Full VMs, disk and memory snapshots                             |
| <img src="/docs/integrations/superserve.svg" alt="" /> [Superserve](/docs/providers/superserve) | `superserve()` from `/superserve` | `SUPERSERVE_API_KEY`                                           | Firecracker microVMs, pause, snapshots                          |
| <img src="/docs/integrations/boxd.svg" alt="" /> [boxd](/docs/providers/boxd)                   | `boxd()` from `/boxd`             | `BOXD_API_KEY`                                                 | Persistent isolated VMs, memory pause                           |
| <img src="/docs/integrations/freestyle.svg" alt="" /> [Freestyle](/docs/providers/freestyle)    | `freestyle()` from `/freestyle`   | `FREESTYLE_API_KEY`                                            | Persistent VMs, default-deny firewall, memory snapshots         |
| <img src="/docs/integrations/memory.svg" alt="" /> [Memory](/docs/providers/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](/docs/reference/capabilities) 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](/docs/concepts/sandboxes-and-keys#exact-and-best-effort-keys) for the fix.

## Provider pages

**[Local](/docs/providers/local)**

Docker for real Linux or agentOS for a small runtime without Docker. No cloud account.

**[E2B](/docs/providers/e2b)**

MicroVMs that pause with memory, network allow lists, and a lifetime a reconnect can't extend.

**[Vercel Sandbox](/docs/providers/vercel)**

Named sandboxes with exact keys, OIDC inside Vercel, and up to 15 declared ports.

**[Modal](/docs/providers/modal)**

gVisor sandboxes with exact keys, exact CPU and memory sizes, snapshots, and image templates.

**[Baseten](/docs/providers/baseten)**

Sandboxes with exact keys that go on standby by themselves and keep memory, files, and
processes.

**[Instabox](/docs/providers/instabox)**

Firecracker machines with a persistent disk that pause with memory and take snapshots.

**[Archil](/docs/providers/archil)**

VMs with exact keys that pause with memory, open a terminal, and take network policies.

**[Daytona](/docs/providers/daytona)**

Exact machine sizes, idle auto-stop, and previews protected by a token header.

**[Upstash Box](/docs/providers/upstash)**

Durable cloud containers with filesystem snapshots and protected previews.

**[Railway](/docs/providers/railway)**

Ephemeral Linux VMs with filesystem checkpoints and declared public preview ports.

**[Boat](/docs/providers/boat)**

Persistent cloud VMs with size presets and token-protected previews.

**[Sandboxer](/docs/providers/sandboxer)**

Ubuntu microVMs in two regions with memory pause, named snapshots, and cookie-authenticated
previews.

**[Luxor](/docs/providers/tenki)**

Full Linux VMs with disk and memory snapshots, pause, and exact machine sizes.

**[Superserve](/docs/providers/superserve)**

Firecracker microVMs with pause, snapshots, and authenticated HTTPS previews.

**[boxd](/docs/providers/boxd)**

Persistent isolated Linux machines with pause and HTTPS proxies.

**[Freestyle](/docs/providers/freestyle)**

Persistent VMs with default-deny networking and memory snapshots.

**[Memory](/docs/providers/memory)**

An in-process fake with files, scripted commands, and fake preview URLs.

**[Community providers](/docs/providers/community)**

Adapters their authors publish on npm, such as Raft for Incus containers on your own hosts.

**[Write a provider](/docs/providers/custom)**

Implement a small set of primitives and get the whole API on top.
