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.
More comparisons
- VMS vs E2BVMS gives each sandbox a full virtual machine that keeps its files when it stops. E2B runs Firecracker microVMs that pause with their memory.
- VMS vs DaytonaVMS gives each sandbox a full virtual machine. Daytona starts with containers and adds virtual machine classes.
- VMS vs Vercel SandboxVMS gives each sandbox a full virtual machine, billed by the second. Vercel Sandbox runs Firecracker microVMs and bills active CPU.
- VMS vs boatBoth give each sandbox a full Ubuntu virtual machine. VMS costs less, bills only while a sandbox runs, and gives free starts, free seats, and a 14-day trial.
Get your agents a workspace
Create a workspace, or copy the setup prompt and let your agent sign itself up.