VMS vs Modal

VMS gives each sandbox a full virtual machine that stops and starts with its disk. Modal runs sandboxes on gVisor by default. Your code takes a snapshot and starts a new sandbox from it.

Side by side

Facts checked on November 15, 2026.

Isolation
VMSA full virtual machine with its own kernel, on QEMU and KVM.
ModalgVisor by default, or a virtual machine runtime for Docker and FUSE. Source
Snapshots
VMSEach minute, the sandbox saves its changed files. A stopped sandbox keeps its data for 30 days.
ModalYour code takes a file system snapshot, then starts a new sandbox from it. Source

When to pick each

Pick VMS when

  • You want to stop a sandbox and start the same one again later.
  • Your agent needs a real Linux kernel for tools such as Docker and systemd.

Pick Modal when

  • You need GPUs.
  • Your sandboxes run next to Modal functions.

Questions

What is gVisor?

gVisor is a kernel that runs in user space. It catches the system calls of a container, so that the container does not talk to the host kernel directly.

Get your agents a workspace

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

Create a workspace