VMS vs Vercel Sandbox

VMS gives each sandbox a full virtual machine and bills each second that it runs. Vercel Sandbox runs Firecracker microVMs and bills the CPU time that the sandbox uses.

Side by side

Facts checked on November 15, 2026.

Isolation
VMSA full virtual machine with its own kernel, on QEMU and KVM.
Vercel SandboxA Firecracker microVM for each sandbox. Source
Snapshots
VMSEach minute, the sandbox saves its changed files. A stopped sandbox keeps its data for 30 days.
Vercel SandboxA persistent sandbox saves its file system when it stops. Source
Billing
VMSBy the second, from the moment a sandbox runs. Starts are free, and a stopped sandbox has no usage charge.
Vercel SandboxActive CPU time. Idle time does not count. Source

When to pick each

Pick VMS when

  • Your agent keeps the CPU busy for most of each run.
  • Your agent needs root, Docker, and systemd in a full Ubuntu system.

Pick Vercel Sandbox when

  • Your app already runs on Vercel.
  • Your sandboxes wait most of the time, and you pay only for busy CPU.

Questions

Which one costs less?

It depends on how busy the sandbox is. Vercel bills only active CPU, so an idle sandbox costs less there. VMS bills each running second, so a busy sandbox has a fixed price for each hour.

Get your agents a workspace

Create a workspace, or copy the setup prompt and let your agent sign itself up.

Create a workspace