Agent 37 vs Modal VM Sandboxes
Agent 37 gives each user a lasting gVisor sandbox that can sleep when idle and wake with its memory, with a full VM type as an option. Modal VM Sandboxes are real VMs with Docker and systemd, built for many short jobs. Each one runs up to 24 hours, and a filesystem snapshot carries its files to a new sandbox.
The companies and products
Agent 37
Agent 37 hosts AI agents, one isolated, always-on sandbox per user, behind one API.
You create an instance from a template (Hermes, OpenClaw, Claude Code, Codex, OpenCode, Pi, Grok or your own Docker image) and talk to it through a chat API, files, exec, SSH and HTTPS URLs. The default instance is a container enforced by gVisor. A VM type gives a full Linux machine with its own kernel for Docker, Kubernetes and Android emulators. It is built for companies that give each of their customers an agent.
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. “4th cheapest of 365” means 3 of the other 364 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 | Agent 37: 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 Modal VM Sandboxes run Docker in every VM, and a filesystem snapshot keeps the files between sessions. Agent 37 needs its VM type for Docker. boat gives Docker, systemd and a desktop in every sandbox and saves the disk with no code. | 4th cheapest of 365 $551 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 This is what Agent 37 is built for: one always-on assistant per user that sleeps and wakes. A Modal VM stops at 24 hours. You set it up: snapshot the filesystem before the end and boot a new sandbox from it each day; running programs start again. | Cheapest of 361 $279 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 Agent 37's small default sandboxes suit short code runs. Modal bills per second and runs up to 5,000 containers at once on Team. boat's start limits make large bursts of one-minute jobs a poor fit. | Cheapest of 336 $22 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 Agent 37 runs up to 1,000 awake instances after $1,000 of top-ups; sleeping ones do not count. Modal Team runs 5,000 containers at once. boat plans go up to 2,000 at once. | Cheapest of 349 $79 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: Team allows 5,000 containers at once and publishes no per-start fee. Agent 37 runs up to 1,000 awake instances on shared vCPUs. boat's $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail with 429. | 9th of 349, with limits $363 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 | Cheapest of 359 $58 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 Modal VM Sandboxes and boat run Docker builds in every VM. Agent 37 needs its VM type for Docker, which bills compute at 2.5 times its default rate. boat and Agent 37's VM type have /dev/kvm; Modal offers it on Enterprise only. | 227th of 374, with limits $96 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 | 3rd cheapest of 371 $12 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 Agent 37 adds a noVNC desktop through a template build. On Modal you set it up from its runnable example (Xvfb, noVNC, Chromium and a Browser Use agent). boat streams a 60fps desktop out of the box. | 3rd cheapest of 367 $120 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 | 47th of 356, with limits $29 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 | Cheapest of 343 $32 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 | 39th of 327, with limits $648 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 All three can branch one running attempt into many. Agent 37 and boat fork the disk, and the fork boots fresh. Modal snapshots the filesystem into an image and boots any number of new sandboxes from it. | Cheapest of 351 $43 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 | Not ranked: misses a requirement | 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 | Agent 37 | Modal VM Sandboxes | boat |
|---|---|---|---|
| Isolation | gVisor by default; full VM as an opt-in instance type | VM with its own Linux kernel on Cloud Hypervisor | Full VM with its own kernel, on AMD Ryzen 7 9700X and Ryzen 9 9950X hosts dedicated to boat; vCPUs are shared |
| Docker inside | Only on the VM type, at 2.5x the default compute rate | Yes; you start dockerd yourself | Yes, in every sandbox |
| systemd and init | Your entrypoint is PID 1 with no init system, also on the VM type | systemd works | systemd runs as in any Linux server |
| Nested virtualization | /dev/kvm on the VM type, with a ready Android template | Enterprise plan only, as an experimental option | /dev/kvm in every sandbox on every plan |
| CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026) | Not in the public benchmarks we use | VM runtime 15.48 runs/s, gVisor 12.60, both rank 7 of 15 (shared); measured with cpu=4 | 28.06 runs/s, rank 2 of 15 (shared), on a Ryzen 9 9950X host |
| Longest session | No time limit; runs until you stop it or it sleeps | 24 hours (default 5 minutes); continue in a new sandbox from a filesystem snapshot | No cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days |
| Idle and resume | Opt-in auto-sleep after a quiet period; wakes on the next request with memory kept when the restore works | No paused state. You set it up: snapshot_filesystem() before the end, then boot a new sandbox from it (kept 30 days by default, or with no expiry), or keep files in a Volume | Stop saves the disk with no code and keeps it for at least 14 days; a resume is like a reboot |
| Fork and snapshots | Fork a running, stopped or sleeping instance (disk copy, the fork boots fresh); nightly backups in 7 slots plus one on-demand | Filesystem snapshot into an image that boots any number of new sandboxes; memory snapshots in alpha end the sandbox | Fork a running sandbox from its last 1-minute snapshot; disk saved every minute; saved snapshots as templates |
| Custom images | Your own linux/amd64 Docker image as a template | Custom images built in code | Start from boat's image or a saved snapshot; you cannot boot your own Docker image |
| Built-in agents | Hermes, OpenClaw, Claude Code, Codex, Grok, OpenCode, Pi, with a chat API per instance | You install the harness in the image; official examples cover the Claude Agent SDK and OpenCode | Seven harnesses installed, driven from outside with a prompt, steer and events API |
| Keys kept out of the sandbox | Managed LLM, search and Composio through a per-instance token; your own keys go in as env vars | You set it up: run a credential-injecting proxy in a Sidecar (experimental), from an official example | Optional paid proxy ($1 a day plus $1 per 1,000 requests) for model providers and HTTPS APIs you register; other secrets still enter the sandbox |
| Desktop and computer use | You set it up: noVNC desktop through a template build, or the Ubuntu VM template | Not built in. You set it up: Modal's runnable example installs Xvfb, x11vnc, noVNC, Chromium and a Browser Use agent | 60fps desktop, Chrome and computer tools for agents in every sandbox |
| Networking | HTTPS URL per port, custom domains; no public IP; SSH through a WebSocket tunnel | Encrypted and raw TCP tunnels, inbound IP allowlist, outbound allowlists | Up to 50 HTTPS URLs, token-protected by default; SSH; raw ports over IPv6 only on sandboxes with no IPv4 of their own |
| Regions | United States | US, EU and Asia-Pacific; pinning costs 1.15x to 1.75x | Germany, Finland and France; no region choice, no US or Asia region; snapshot copies can be stored outside the EU |
Every feature Battleships tracks (43)
| Feature | Agent 37 | 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 | Not published | Yes | Yes |
| Desktop GUI | With your own setup | With your own setup | Yes |
| Browser | Yes | With your own setup | Yes |
| Computer-use API | No documented way | With your own setup | Yes |
| SSH | Yes | With your own setup | Yes |
| Persistent disk | Yes | With your own setup | Yes |
| Pause/resume | Yes | No documented way | Yes |
| Automatic snapshots | Yes | No documented way | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Not published | Yes |
| Memory fork | No documented way | 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 | Yes | No documented way | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | Not published | Yes | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | Yes | No documented way |
| Secret proxy | Yes | With your own setup | Yes |
| Secret proxy for any API | No documented way | No documented way | Yes |
| Preinstalled agents | Yes | With your own setup | Yes |
| Agent harness API | Yes | No documented way | Yes |
| MCP server | No documented way | No documented way | No documented way |
| GPU | No documented way | 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 | Yes | Not published | Yes |
| Usage per sandbox (API) | Yes | Not published | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | No documented way | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | No documented way | Yes | No documented way |
| EU data residency | No documented way | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
In StarSling's run of 3 October 2026 (run 37073680030), the V8 Web Tooling Benchmark at 4 vCPU / 8 GB did 28.06 runs/s on boat, second of 15. Modal's VM runtime did 15.48 and its gVisor runtime 12.60, both rank 7 (shared). That is about 1.8x the VM runtime. StarSling ran Modal with cpu=4 and the sandbox saw 4 CPUs (PR #121); sized that way, Modal bills 4 cores, $0.76/h. 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. Agent 37 is not in that run, so we cannot say how it compares. Agent 37 says its default instances share host resources and sells a Performance type on dedicated cores.
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 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. Agent 37 is not in the public benchmarks we use, so we cannot say which is faster.
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 | Agent 37, 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 | $6 · Wallet (any top-up) | $0 · Starter | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $12 · Wallet (any top-up) | $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 | $329 · Wallet ($50 lifetime top-ups) | $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 | $33 · Wallet ($1,000 lifetime top-ups) | $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 | $73 · Wallet ($1,000 lifetime top-ups) · with limits | $1,911 · Team · with limits | $8,800 · $2000/mo · with limits |
Agent 37: A prepaid wallet with no plan fee, metered per minute: $0.80 per vCPU and $0.70 per GB of RAM per month while running, and $0.09 per GB of disk per month even while asleep. Performance compute costs 4x and VM compute 2.5x the default rate.
Modal VM Sandboxes: Billed per second for the larger of what you request and what you use, until the sandbox ends. Modal prices CPU per physical core, and one core equals two vCPUs, so 4 vCPU / 8 GiB is $0.476 an hour when the request equals the size. Starter is $0 with $30 of credit a month, 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: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, per second while it runs. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; extra saved snapshots and the AI credentials proxy still charge. A card is required, also for the 7-day trial.
Limits in those scenarios
Agent 37 runs up to 1,000 awake instances after $1,000 of top-ups, and sleeping and stopped ones do not count. The 50-agent fleet needs Docker, so Agent 37 is priced on its VM type there. A Modal VM Sandbox lives at most 24 hours. Its files carry over through a filesystem snapshot (kept 30 days by default, or with no expiry) or a Volume, which your code sets up, so the 24/7 scenario is marked as not fitting as-is. Modal's scenario bills assume a minimal CPU request that bursts above it; that extra CPU is shared and not guaranteed. On boat the limit that bites is starts: the $20 plan includes 12 a minute and 200 a day, and even the $2,000 plan includes only 90 a minute and refuses starts above 270 a minute, so 1,000 jobs at once do not fit boat.
| Scenario | Agent 37 | Modal VM Sandboxes | boat |
|---|---|---|---|
| One coding agent, workdays |
| 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 |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Agent 37 when
you host one mostly idle assistant per customer in the US that should sleep with its memory kept and wake on the next message.
- Sleeps when idle and keeps its memory. For assistants that sit idle most of the day: an instance sleeps, keeps its memory and wakes on the next message.
- No session cap. An Agent 37 instance keeps running until you stop it, so one agent can live on its machine all month.
- Bring a Dockerfile, pick dedicated cores. Agent 37 builds templates from your own Docker image, and sells a Performance type on dedicated cores.
Use Modal VM Sandboxes when
you run huge bursts of short jobs that need Docker and finish within a day, need regions outside Europe or strict outbound rules, or already run your models on Modal.
- Docker and systemd in every VM. Every Modal VM Sandbox has its own Linux kernel, so Docker, FUSE and systemd work without picking a special type.
- Very large bursts. For huge bursts of short jobs: Modal runs 5,000 containers at once on Team, and more on Enterprise.
- Regions, outbound rules and one platform. Modal runs in the US, EU and Asia-Pacific, can limit outbound traffic to chosen domains, and hosts your models too.
Where boat fits
Agent 37 keeps a machine around but makes Docker an extra-cost type with no init system. Modal gives a real VM for up to 24 hours, and your code snapshots it to continue. If your agents need a full VM for hours or days that saves its disk with no code, look at boat. boat has no pause with memory, no US region and caps starts per plan.
A full VM that keeps its disk with no code
On Agent 37 Docker needs the VM type, at 2.5 times the compute rate and with no systemd. A Modal VM ends within 24 hours; to keep going, your code takes a filesystem snapshot and boots a new sandbox from it. boat saves the disk every minute and at each stop.
Desktop and agents ready to go
Agent 37 needs a noVNC template build for a screen, and on Modal you install VNC, a browser and the agent harness from its examples. Every boat sandbox has a 60fps desktop and seven agents you drive through one API.
More CPU work per second in one public run
In StarSling's run of 3 October 2026, boat did 28.06 V8 Web Tooling runs/s at 4 vCPU / 8 GB, against 15.48 on Modal's VM runtime. Agent 37 is not in that run. The boat sandboxes ran on Ryzen 9 9950X hosts, and boat does not promise a CPU model.
Use boat when your agents work for hours or days in a full VM they come back to, with Docker, systemd, /dev/kvm, a desktop and a disk saved every minute with no code. Compare it one to one: boat vs Agent 37 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 Agent 37 cheaper than Modal VM Sandboxes?
In most of our scenarios, yes. One always-on agent costs $12 a month on Agent 37 against $109 on Modal, 50 parallel agents with Docker $329 against $1,480, and 300 user sandboxes $33 against $579. One agent on workdays costs $0 on Modal inside Starter's $30 monthly credit, against $6 on Agent 37. boat costs $26, $317, $200 and $20 for the same four.
Which is faster, Agent 37 or Modal VM Sandboxes?
Agent 37 is not in the public benchmarks we use, so there is no direct comparison. In StarSling's run of 3 October 2026, Modal's VM runtime did 15.48 runs/s and its gVisor runtime 12.60 at 4 vCPU / 8 GB, and boat did 28.06 on a Ryzen 9 9950X host.
Can Agent 37 and Modal VM Sandboxes run Docker?
Every Modal VM Sandbox can run Docker; you start dockerd yourself. Agent 37 runs Docker only on its VM type, which bills compute at 2.5 times the default rate; the default gVisor type cannot run a Docker daemon. boat runs Docker in every sandbox.
How long can a sandbox run on each?
An Agent 37 instance has no time limit and runs until you stop it or it sleeps. A Modal VM Sandbox defaults to 5 minutes and stops at 24 hours; for longer work, Modal recommends a filesystem snapshot and a new sandbox. boat has no session cap once auto-stop is off on a paid plan (the default is 1 hour).
Where do Agent 37 and Modal run?
Agent 37 runs on dedicated servers in the United States. Modal runs in the US, the EU and Asia-Pacific, and pinning a region costs 1.15x to 1.75x. boat runs on machines in Germany, Finland and France; snapshot copies can be stored outside the EU.
Is boat SOC 2 compliant?
SOC 2 is in progress. Modal has SOC 2 on every plan, and Agent 37 says it has SOC 2 Type I. Live status is at status.ascii.dev and our data retention policy at docs.boat.dev/data-retention.
Try boat
Install the CLI, then run boat new.
7-day free trial