PLATINUM DOCS

AI agent sandbox providers compared (2026)

Compare AI agent sandbox providers for production code execution by microVM isolation, memory pause, fork, session limits, deployment and price.

Last updated

For production AI agent code, choose E2B for memory-preserving forks, Modal for GPU execution, or Platinum for Cloud Hypervisor microVMs with explicit stop/start; the best sandbox depends on the workload.

E2B, Daytona, Docker Sandboxes, Modal, Vercel Sandbox, Northflank, Cloudflare Sandbox SDK, Fly.io Sprites, Beam and Platinum support different combinations of those requirements. Choose a runtime before comparing prices. A provider can offer both containers and VMs, with different GPU and persistence capabilities.

Compare public capabilities

Criteria: isolation means the boundary around the executing code; memory pause means RAM and running processes survive suspension; fork means creating a separate environment from captured state. A disk copy is not a memory fork. Session length means one continuous execution, not how long a stored workspace exists.

Public facts checked November 2026, on November 18. Rows are alphabetical, not ranked. This comparison is published by Platinum, one of the providers listed. “Not documented” means the linked pages do not establish the capability, not that the provider cannot offer it. Deployment cells distinguish advertised BYOC from a self-service installation.

Prices are USD list rates for CPU sandboxes, excluding storage, network, subscriptions and taxes. Per-second prices are multiplied by 3,600. Memory prices retain the vendor's GB or GiB unit rather than silently treating them as equal. GPU prices are separate. Each linked cell is checked November 2026.

Identify microVM providers

E2B and Vercel Sandbox use Firecracker microVMs. Cloudflare's Linux Containers also run inside Firecracker microVMs, despite the product name. Platinum uses Cloud Hypervisor microVMs on KVM. Firecracker vs Cloud Hypervisor compares the two monitors. Northflank uses microVMs for CPU sandboxes, but gVisor for GPU sandboxes. The isolation cells above link each provider's description.

Docker Sandboxes runs each agent in a microVM on a VMM Docker built, on the operating system's hypervisor locally or on Docker's cloud. Fly.io Sprites supplies KVM isolation. Beam offers an opt-in microVM sandbox runtime. Daytona offers VM classes alongside its default containers. Modal offers VM and gVisor runtimes. Do not infer a particular hypervisor from “VM” alone, or assume GPU support applies to the same runtime.

NVIDIA OpenShell is a runtime you operate rather than a provider: it runs each agent in a container or a libkrun microVM on your own hardware, under a default-deny policy (OpenShell alternatives). Google's Agent Substrate is another runtime you operate. It runs agents in gVisor or Cloud Hypervisor sandboxes on your Kubernetes cluster (Agent Substrate on Kubernetes).

Compare bills and saved state

Active-CPU pricing and reserved-CPU pricing answer different questions. A sandbox waiting on a model may consume little active CPU but still reserve memory. Vercel and Cloudflare bill provisioned memory while the instance runs. Sprites meters actual memory. Modal's requested and actual resource usage affects its bill. Read the linked price pages before estimating a workload.

Platinum stop/start can retain processes, but its fork cannot. A volume-backed root disk and the other documented stop exceptions produce a disk-only restart. E2B's default snapshot can create another sandbox with memory intact. Modal's memory snapshots are alpha and have GPU and process restrictions. Beam's sandbox memory snapshots depend on runtime support. Those distinctions matter more than a generic “snapshot supported” checkbox.

Vendor startup claims are not comparable measurements. Platinum describes a sub-second boot; Cloudflare says cold starts can often take 1–3 seconds, depending on image and code. These are each vendor's claims from the linked homepage and lifecycle page (checked November 2026), not a benchmark or a latency ranking.

When to pick each provider

  • Choose Beam when sandbox GPU access and separately managed persistent VMs fit your workload. Its named VMs retain RAM on pause, while its sandbox snapshot API supports branching captured state on supported runtimes (VMs, snapshots; checked November 2026).
  • Choose Cloudflare Sandbox SDK when your application already routes work through Workers and Durable Objects. Choose its Linux Containers environment for full Linux code, rather than confusing it with Dynamic Workers (environment choices; checked November 2026).
  • Choose Daytona when Windows VM classes or GPU sandboxes are required. Select a VM class explicitly for memory pause and fork (sandbox classes; checked November 2026).
  • Choose Docker Sandboxes when developers run coding agents on their own machines for free. Its cloud sessions last up to 24 hours, and 10 run at once by default (cloud usage, limits; checked November 2026). See Docker Sandboxes alternative.
  • Choose E2B when copying a sandbox's memory into a new sandbox is required. Its default snapshots preserve memory and filesystem (snapshots; checked November 2026). See the E2B migration page for Platinum's compatibility and lifecycle differences.
  • Choose Fly.io Sprites when a persistent filesystem with automatic idle suspension fits better than explicit session management. Do not depend on warm memory surviving a cold wake (lifecycle; checked November 2026).
  • Choose Modal when GPU code execution or a selectable gVisor runtime fits your application. See the Modal comparison for memory snapshots versus stop/start and Sandbox rates. GPU sandboxes require gVisor; memory snapshots cannot use GPUs (runtimes, snapshot restrictions; checked November 2026).
  • Choose Northflank when its free allowance across two services, two jobs and a database fits a small application alongside sandbox execution. Its listed cloud CPU rate is lower than the other CPU list rates in this table, but pause ends processes and discards ephemeral files. BYOC is shared with other providers; include its management fee and your cloud bill (pricing; checked November 2026).
  • Choose Platinum when Cloud Hypervisor isolation, explicit memory-preserving stop/start and disk-only forks fit the agent. For existing Daytona integrations, read the Daytona SDK compatibility docs and Daytona comparison. On-prem deployment requires an arrangement, not a self-service download.
  • Choose Vercel Sandbox when Firecracker isolation with Vercel's managed environment and active-CPU billing fits the application. Persistent sandboxes can resume across sessions; the session ceiling is not a workspace lifetime ceiling (overview, limits; checked November 2026).