Modal vs Modal VM Sandboxes
Modal Sandboxes and Modal VM Sandboxes share one API and one price list. The default gVisor runtime can use GPUs. The VM runtime gives each sandbox its own Linux kernel, so Docker, FUSE and systemd work, but it has no GPUs. On both, a sandbox ends within 24 hours, and filesystem snapshots carry its files into a new one.
The companies and products
Modal
Modal is a serverless cloud for AI work: inference, training, batch jobs and sandboxed code, all driven from Python, TypeScript or Go code.
Modal Sandboxes are containers you create from code, run commands in, and then terminate. By default they run under gVisor, a user-space kernel from Google. Since October 2026 you can also pick a VM runtime with its own Linux kernel for Docker and FUSE (Battleships tracks that as a separate card, Modal VM Sandboxes). Your code can save a sandbox's disk as a filesystem snapshot and start new sandboxes from it. It suits teams that already run models on Modal and want scalable code execution next to their GPUs.
Modal VM Sandboxes
Modal is a serverless cloud for AI work, and VM Sandboxes are the version of its sandboxes that run in a virtual machine with their own Linux kernel.
You create a VM Sandbox from Python, TypeScript or Go code with runtime="vm", run commands in it, and terminate it when the job is done. Modal built the runtime on the Rust-based Cloud Hypervisor, so Docker, FUSE, systemd and nested cgroups work, with the same API, images and prices as its gVisor sandboxes. It became generally available on 1 October 2026. It suits teams that want many agent machines next to Modal's inference and training.
- Funding
- Over $1.2B raised
- Generally available
- 1 October 2026; early customers launched over 20 million VMs before that
- Compliance
- SOC 2 on every plan; HIPAA on Enterprise
Which use cases each one fits
For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “15th cheapest of 336” means 14 of the other 335 providers run that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.
| Use case and its workload | Modal: price rank | Modal VM Sandboxes: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Software factories need Docker, so the VM runtime fits and gVisor does not. Modal VM ranks 27th here at $633 a month, with a desktop you install and a filesystem snapshot between sessions. boat ranks 5th at $634, keeps its disk with no code and has a desktop built in. | 106th of 365, with limits $633 a month | 27th cheapest of 365 $633 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Both Modal runtimes stop a sandbox at 24 hours, so your code snapshots the filesystem and starts a new sandbox each day. On boat, turn auto-stop off on a paid plan (default 1 hour) and there is no session cap. | 61st of 361, with limits $1,574 a month | Not ranked: misses a requirement | 6th cheapest of 361 $657 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Short code runs rarely need Docker, so Modal's default gVisor runtime fits them well and ranks 15th here at about $140 a month. | 15th cheapest of 336 $140 a month | Not ranked: misses a requirement | 189th of 336, with limits $2,000 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Both Modal runtimes cost the same here. Users who come back to the same sandbox also fit boat: a stopped boat sandbox has no compute charge and keeps its disk for at least 14 days with no code. | 18th cheapest of 349 $671 a month | Not ranked: misses a requirement | 3rd cheapest of 349 $209 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month Huge bursts of short rollouts are what Modal is built for. The gVisor runtime ranks 6th here and the VM runtime 163rd as a compromise. boat's per-plan start limits slow big bursts. | 6th cheapest of 349 $11,982 a month | 163rd of 349, with limits $11,982 a month | 39th of 349, with limits $2,000 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month | 62nd cheapest of 359 $889 a month | Not ranked: misses a requirement | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month CI jobs that build Docker images need Modal's VM runtime. boat ranks 2nd here at $86 a month, with Docker in every sandbox and /dev/kvm on every plan. | 110th cheapest of 374 $1,112 a month | 170th of 374, with limits $655 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB | 129th of 371, with limits $9.07 a month | Not ranked: misses a requirement | 19th cheapest of 371 $26 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month Neither Modal runtime ships a desktop. Modal's official example installs Xvfb, Chromium and noVNC in a VM sandbox. boat has a 60 fps desktop, Chrome and computer tools built in. | 45th cheapest of 367 $153 a month | Not ranked: misses a requirement | 7th cheapest of 367 $200 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month | 57th of 356, with limits $121 a month | Not ranked: misses a requirement | 7th cheapest of 356 $200 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 98th cheapest of 343 $252 a month | Not ranked: misses a requirement | 6th cheapest of 343 $90 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 171st of 327, with limits $5,957 a month | Not ranked: misses a requirement | 73rd of 327, with limits $1,800 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month | 289th of 351, with limits $464 a month | 27th cheapest of 351 $464 a month | 3rd cheapest of 351 $200 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month Only Modal's default gVisor runtime has GPUs. Modal VM Sandboxes and boat have none. | 18th cheapest of 102 $1,116 a month | Not ranked: misses a requirement | Not ranked: misses a requirement |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month | Not ranked: misses a requirement | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Modal | Modal VM Sandboxes | boat |
|---|---|---|---|
| Isolation | gVisor, a user-space kernel from Google | VM with its own Linux kernel on Cloud Hypervisor | Full VM with its own kernel on hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Docker inside | Not documented on gVisor | Yes; start dockerd yourself as the entrypoint | Yes, in every sandbox |
| FUSE and kernel features | Not documented on gVisor | Yes: FUSE, eBPF, systemd and nested cgroups | Yes: own kernel with Docker and systemd |
| Nested virtualization | No | Enterprise plan only, as an experimental option | Yes, /dev/kvm on every plan |
| GPUs | T4 to B300; 10 at once on Starter, 50 on Team | None; GPU sandboxes need gVisor | None |
| CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026) | 12.60 runs/s, rank 7 of 15 (shared) | 15.48 runs/s, rank 7 of 15 (shared) | 28.06 runs/s, rank 2 of 15 (shared), on a Ryzen 9 9950X host |
| Longest session | 24 hours (default 5 minutes); for longer work, a filesystem snapshot and a new sandbox | 24 hours (default 5 minutes); for longer work, a filesystem snapshot and a new sandbox | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| Stop and resume | No paused state; files kept through filesystem snapshots (30 days by default, or no expiry) or Volumes | No paused state; files kept through filesystem snapshots (30 days by default, or no expiry) or Volumes | Disk saved every minute and at each stop with no code; no compute charge while stopped; kept at least 14 days, longer with a saved snapshot |
| Memory snapshots | Yes, in alpha: snapshotting ends the sandbox, snapshots expire after 7 days | Yes, in alpha, with the same limits | No; resume boots the VM again |
| Fork | One filesystem snapshot boots many identical sandboxes | One filesystem snapshot boots many identical sandboxes | Fork a running sandbox from its last 1-minute disk snapshot |
| Desktop, browser, computer use | Not built in; Modal's runnable example targets the VM runtime | Not built in; a runnable example installs Xvfb, VNC and Chromium | 1920x1080, 60 fps desktop, Chrome and computer tools built in |
| Coding agents and key proxy | You install the harness in the image; secrets are environment variables or your own sidecar proxy | You install the harness in the image; secrets are environment variables or your own sidecar proxy | Seven agents installed, driven from outside; optional AI credentials proxy ($1 a day plus $1 per 1,000 requests) keeps supported providers' keys out |
| Outbound network rules | Block all, IP-range allowlist, domain allowlist (beta) | Block all, IP-range allowlist, domain allowlist (beta) | Open internet, no provider-side allowlist |
| Regions | US, EU and Asia-Pacific; pinning costs 1.15x to 1.75x | US, EU and Asia-Pacific; pinning costs 1.15x to 1.75x | Germany, Finland and France; no region choice, no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Modal | Modal VM Sandboxes | boat |
|---|---|---|---|
| Full VM (own kernel) | No documented way | Yes | Yes |
| Docker inside | No documented way | Yes | Yes |
| Nested virtualization | No documented way | Yes | Yes |
| Root | Yes | Yes | Yes |
| Systemd | No documented way | Yes | Yes |
| Desktop GUI | With your own setup | With your own setup | Yes |
| Browser | With your own setup | With your own setup | Yes |
| Computer-use API | With your own setup | With your own setup | Yes |
| SSH | With your own setup | With your own setup | Yes |
| Persistent disk | With your own setup | With your own setup | Yes |
| Pause/resume | No documented way | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Not published | Not published | Yes |
| Memory fork | Yes | Yes | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | Yes |
| Idle auto-stop | Yes | Yes | No documented way |
| Wake on request | No documented way | No documented way | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | Yes | Yes | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | No documented way | With your own setup | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | With your own setup | With your own setup | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | No documented way | No documented way | No documented way |
| GPU | Yes | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | No documented way | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | No documented way | No documented way | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Not published | Not published | Yes |
| Usage per sandbox (API) | Not published | Not published | Yes |
| Audit logs | Yes | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
StarSling's run of 3 October 2026 (run 37073680030) ran the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, median of 5 sandboxes. Modal's VM runtime did 15.48 runs/s and its gVisor runtime 12.60; StarSling ranks both 7th (shared), so that test cannot separate them. On real repos in the same run, the VM runtime was faster: Better-Auth 180.8 s against 326.9 s, Mastra 1,205 s against 1,767 s, OpenClaw 659 s against 861 s. boat did 28.06 runs/s, second of 15, and 135.8 s, 980 s and 428 s on those repos. StarSling ran Modal with cpu=4 and the sandbox saw 4 CPUs (PR #121). Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host; boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Providers ran on different hardware in different regions.
V8 Web Tooling Benchmark at a 4 vCPU / 8 GB target, runs per second, higher is better. Source: StarSling's run of 3 October 2026 (run 37073680030), median of 5 sandboxes. Providers ran on different hardware in different regions. StarSling gives a shared rank when the run cannot separate two providers. Modal measured on: Sandbox (gVisor), request = size, any region. Modal VM Sandboxes measured on: VM Sandbox, request = size. Every boat sandbox in this run ran on an AMD Ryzen 9 9950X host. boat also places some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure.
Pricing in five scenarios
Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.
| Scenario | Modal, a month | Modal VM Sandboxes, a month | boat, a month |
|---|---|---|---|
| One coding agent, workdays 4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days | $0 · Starter | $0 · Starter | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $109 · Starter · with limits | $109 · Starter · with limits | $26 · $20/mo |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $1,480 · Starter · with limits | $1,480 · Starter | $317 · $20/mo × 3 seats |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $579 · Team | $579 · Team | $200 · $100/mo × 2 seats |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $1,911 · Team · with limits | $1,911 · Team · with limits | $8,800 · $2000/mo · with limits |
Modal: Modal bills by the second for whichever is higher, the CPU and memory you request or what you use, until the sandbox is terminated. Modal prices CPU per physical core, and one core equals 2 vCPU, so a 4 vCPU / 8 GiB sandbox is $0.476 an hour at a full request. StarSling ran Modal with cpu=4 and the sandbox saw 4 CPUs (PR #121); sized that way, Modal bills 4 cores, $0.76 an hour. Starter is free with $30 of monthly credit, Team is $250 a month with $100 of credit, and pinning a region multiplies the price by 1.15x to 1.75x.
Modal VM Sandboxes: VM Sandboxes use the same rates and plans as the gVisor sandboxes, so every scenario costs the same on both. Egress above the plan allowance (1 TiB on Starter, 10 TiB on Team) costs $0.04 per GiB on either runtime.
Modal VM Sandboxes: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month (no rollover). A default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs. A stopped sandbox has no compute charge and keeps its disk for at least 14 days, but saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 12 starts a minute, 60 an hour and 200 a day; each extra start costs $0.03 to $0.07.
Limits in those scenarios
On both Modal runtimes a sandbox lives at most 24 hours. The always-on scenario keeps only files your code saves to a filesystem snapshot or a Volume, so it does not fit as-is. The 50-agent fleet needs Docker, which the VM runtime has and the gVisor runtime does not document. The 1,000-job burst is priced on Team with a small CPU request whose extra CPU is shared, on either runtime. On boat, the $2,000 plan includes 90 starts a minute and 2,400 a day, bills extra starts at $0.03 to $0.07, and refuses starts above 3 times the included rate per minute, so 1,000 jobs at once do not fit.
| Scenario | Modal | Modal VM Sandboxes | boat |
|---|---|---|---|
| One coding agent, workdays | None for this scenario | None for this scenario | None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
| None for this scenario | None for this scenario |
| Sandboxes for your users | None for this scenario | None for this scenario | None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Modal when
your sandboxes need GPUs, or run short code that needs no Docker, FUSE or nested virtualization.
- GPUs in the sandbox. If your sandbox must run models itself, only the gVisor runtime can attach GPUs, from T4 up to B300.
- The default that just works. For short code runs that need no Docker or FUSE, leaving the runtime at gVisor keeps setup simple.
- A published start time at scale. With 100 sandboxes started at once at the default size, ComputeSDK measured a median of 796 ms to first command (6 November 2026). It has no VM runtime row.
Use Modal VM Sandboxes when
your short-lived agents need Docker, FUSE or systemd, at the same price as gVisor.
- Docker, FUSE and systemd. If your agent builds images or mounts filesystems, the VM runtime gives it a real Linux kernel to do it.
- Faster on real repos, same price. In StarSling's run of 3 October 2026, the VM runtime built and tested Better-Auth in 180.8 s against 326.9 s on gVisor, at the same rates.
- Nested virtualization on Enterprise. On the Enterprise plan, the VM runtime offers nested virtualization as an experimental option. The gVisor runtime does not.
Where boat fits
Choosing between Modal's runtimes means trading GPUs for Docker, and both end every sandbox within 24 hours. If your agents work for hours or days in a machine they come back to, boat gives every sandbox a full VM with Docker, /dev/kvm and a desktop, with a disk saved with no code. boat has no GPUs, so GPU work still belongs on Modal.
A disk kept with no code
Both Modal runtimes end a sandbox within 24 hours. You write code to snapshot the filesystem and boot a new sandbox, or keep files in a Volume. boat saves the disk every minute and at each stop, and has no session cap once auto-stop is off on a paid plan. If a machine fails, boat loses writes made after the last snapshot.
Docker and /dev/kvm in every sandbox
On Modal, gVisor has no documented Docker, and the VM runtime offers nested virtualization only on Enterprise, as an experimental option. Every boat sandbox runs Docker and systemd and exposes /dev/kvm for Android emulators on every plan.
A desktop and agents ready to drive
On either Modal runtime you install the desktop from Modal's example and the agent harness yourself, and keys sit in environment variables unless you run a sidecar proxy. boat has a 60 fps desktop, seven agents driven from outside, and an optional paid credentials proxy.
Use boat when your agents work for hours or days in a machine they come back to: Docker, emulators and a desktop, on a VM that saves its disk with no code. Turn auto-stop off on a paid plan for long work (default 1 hour). Compare it one to one: boat vs Modal and boat vs Modal VM Sandboxes.
boat's own limits
- Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
- Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
- A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
- Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
- boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
- Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
- Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
- Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source
Questions people ask
Is Modal cheaper than Modal VM Sandboxes?
No, they share one price list, so every scenario costs the same. One always-on agent costs about $109 a month on either, against $26 on boat, and Modal ends a sandbox every 24 hours. 50 parallel agents cost $1,480 a month on either, against $317 on boat; only the VM runtime runs Docker for them.
Which is faster, Modal or Modal VM Sandboxes?
In StarSling's run of 3 October 2026 at 4 vCPU / 8 GB, the VM runtime did 15.48 runs/s and the gVisor runtime 12.60 on the V8 Web Tooling Benchmark, a gap the run ranks as shared. On real repos the VM runtime was faster, for example Better-Auth in 180.8 s against 326.9 s. boat did 28.06 runs/s and 135.8 s in the same run.
Can Modal run Docker?
Yes, with the VM runtime, which you choose with runtime="vm" and then start dockerd yourself. The default gVisor runtime does not document Docker support. Every boat sandbox runs Docker with no extra setting.
Can Modal VM Sandboxes use GPUs?
No. Modal says GPU sandboxes are only supported with the gVisor runtime. boat has no GPUs either.
How long can each run?
Both runtimes default to 5 minutes and stop at 24 hours; for longer work Modal suggests a filesystem snapshot and a new sandbox. boat auto-stop defaults to 1 hour; on a paid plan you can turn it off, and then there is no session cap.
Which runtime do I get by default?
gVisor is the default. Set runtime="vm" for VM Sandboxes.
Try boat
Install the CLI, then run boat new.
7-day free trial