Deno Sandbox vs Modal VM Sandboxes
Both run code in its own Linux VM. Deno Sandbox gives you a 2 vCPU microVM for up to 30 minutes, built for fast, locked-down runs, and it is closed to new customers since November 2026. Modal VM Sandboxes give you a VM with Docker and systemd for up to 24 hours, carry work forward through filesystem snapshots, and sit next to Modal's AI platform.
The companies and products
Deno Sandbox
Deno Sandbox comes from the company behind the Deno runtime and runs untrusted or AI-generated code in Linux microVMs. Since November 2026 it is not part of Deno Deploy plans and is not available to new customers.
Each sandbox is a Firecracker microVM with 2 vCPU, 768 MB to 4 GB of memory and a 10 GB disk that is wiped when it ends, created from a TypeScript or Python SDK. A bootable volume (Chicago only) can be the root disk and keep its files. Deno Deploy can limit outbound traffic to a host allowlist and swap placeholder secrets for real ones. A sandbox can be promoted to a Deno Deploy app.
- Isolation
- Firecracker microVM per sandbox
- Lifetime
- Up to 30 minutes
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. “2nd cheapest of 365” means 1 of the other 364 providers runs 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 | Deno Sandbox: 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 A software factory needs Docker and hours of builds. Modal's VM runtime runs them for up to 24 hours and continues from a filesystem snapshot. Deno's 30-minute, 2 vCPU sandbox does not fit. boat saves its disk with no code and has no session cap once auto-stop is off (default 1 hour). | No published price | 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 An agent that lives on its machine all month outlasts both sessions. Deno ends a sandbox after 30 minutes. On Modal you snapshot the filesystem before 24 hours and boot a new sandbox from it each day. On boat, turn auto-stop off on a paid plan. | No published price | 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 fit Modal: per-second billing and up to 5,000 containers at once on Team. Deno also suits short runs, but it is closed to new customers since November 2026. | No published price | 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 Deno Sandbox is closed to new customers; existing organizations get 5 at once by default. Modal allows 100 containers on Starter and 5,000 on Team. boat plans run 100 to 2,000 at once, with start limits per plan. | No published price | 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 suit Modal's scale, with no per-start fee. boat's $2,000 plan includes 90 starts a minute, charges for extra starts and refuses starts above 270 a minute. | No published price | 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 | No published price | 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 that builds Docker images works in a Modal VM and is not documented on Deno. boat also gives every plan /dev/kvm for Android emulators; Modal offers nested virtualization on Enterprise only, as an experimental option. | No published price | 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 | No published price | 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 Deno nor Modal ships a desktop. Modal's runnable example installs Xvfb, x11vnc, noVNC and Chromium; on Deno you install one yourself. boat ships a 1920x1080, 60 fps desktop with Chrome and computer-use tools. | No published price | 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 | No published price | 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 | No published price | 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 | No published price | 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 Red-team agents need many machines running for a while. Deno's 30-minute cap and default of 5 at once make that hard. Modal VM fits with snapshots between runs, and boat runs them as full VMs with start limits per plan. | No published price | 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 | No published price | 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 | No published price | Not ranked: misses a requirement | Not ranked: misses a requirement |
Key features
| Feature | Deno Sandbox | Modal VM Sandboxes | boat |
|---|---|---|---|
| Isolation | Firecracker microVM with its own kernel | VM with its own Linux kernel on Cloud Hypervisor | Full VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared |
| Machine size | 2 vCPU (no CPU option documented), 768 MB to 4 GB memory, 10 GB disk | You request the CPU and memory you need; fixed 512 GiB root filesystem | 2 to 16 vCPU and 4 to 32 GB, 51 to 251 GB disk; 16 vCPU needs the $100 plan or higher |
| Longest session | Up to 30 minutes; longer work can be promoted to a Deno Deploy app | 24 hours (default 5 minutes); continue in a new sandbox from a filesystem snapshot | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| Files after it ends | Default root disk is wiped at the end; a bootable volume (300 MB to 20 GB, Chicago only) can be the root filesystem and keeps its files | Your code snapshots the filesystem into an image (kept 30 days by default, or with no expiry) and boots a new sandbox from it, or keeps files in a Volume | Disk saved every minute and at each stop with no code, kept at least 14 days; a resume is like a reboot |
| Docker and systemd | Docker not documented | Yes; you start dockerd yourself | Yes, in every sandbox |
| Nested virtualization | Not documented | Enterprise plan only, as an experimental option | /dev/kvm on every plan for Android emulators and VMs |
| Snapshots and fork | On-demand read-only volume snapshots that many new sandboxes can boot from (Chicago only) | Filesystem snapshots that boot any number of new sandboxes; memory snapshots in alpha that end the sandbox | Automatic disk snapshots; fork a running sandbox from its last 1-minute snapshot |
| 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 |
| Start time | Under 200 ms, as stated by Deno | Not in the public start-time runs we use for the VM runtime | Boots a full VM; not in the public start-time benchmarks we use |
| Availability and scale | Not available to new customers since November 2026; existing organizations get 5 at once by default | 100 containers at once on Starter, 5,000 on Team; no per-start fee | 100 to 2,000 at once by plan; the $2,000 plan includes 90 starts a minute, extra starts cost $0.03 to $0.07 |
| Outbound rules | Host allowlist per sandbox (allowNet), enforced by Deno Deploy outside your code | Block all, IP-range allowlist, domain allowlist (beta) | Open internet, no provider-side allowlist |
| Keeping API keys out | Any secret swapped in on outbound HTTPS requests to approved hosts; the sandbox sees a placeholder | You run a credential-injecting proxy in a Sidecar (experimental), from an official example | Optional paid proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers; other secrets enter the sandbox |
| Desktop and coding agents | No desktop documented; an image with Claude Code run through shell commands | Not built in; Modal's runnable example installs Xvfb, x11vnc, noVNC and Chromium; you install the agent harness | 1920x1080, 60 fps desktop with Chrome and computer-use tools, and seven agents with a prompt, steer and events API |
| Regions | Amsterdam and Chicago | US, EU and Asia-Pacific; pinning costs 1.15x to 1.75x | Germany, Finland and France; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Deno Sandbox | Modal VM Sandboxes | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | Yes | Yes |
| Nested virtualization | No documented way | Yes | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Yes | Yes |
| Desktop GUI | No documented way | With your own setup | Yes |
| Browser | No documented way | 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 | No documented way | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | No documented way | Yes | Yes |
| Live fork (no pause) | No documented way | Not published | Yes |
| Memory fork | No documented way | Yes | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | No documented way | Yes | Yes |
| Idle auto-stop | No documented way | 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 | No documented way | Yes | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | Yes | With your own setup | Yes |
| Secret proxy for any API | Yes | No documented way | Yes |
| Preinstalled agents | Yes | 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 | 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) | No documented way | Not published | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | No documented way | Yes | No documented way |
| SOC 2 | Not published | Yes | No documented way |
| HIPAA | Not published | Yes | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
In StarSling's run of 3 October 2026 (run 37073680030), on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, boat did 28.06 runs/s, second of 15. Modal's VM runtime did 15.48 and its gVisor runtime 12.60, both rank 7 (shared). 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. Deno Sandbox is not in the public benchmarks we use, so we cannot compare it.
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. Deno Sandbox 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 | Deno Sandbox, 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 | No published price | $0 · Starter | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | No published price | $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 | No published price | $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 | No published price | $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 | No published price | $1,911 · Team · with limits | $8,800 · $2000/mo · with limits |
Deno Sandbox: Deno Sandbox is no longer included in Deno Deploy plans and is not available to new customers (November 2026). Deno publishes no current sandbox rates, so it has no price in our scenarios. The launch post listed $0.05 per hour of CPU time, $0.016 per GB-hour of memory and $0.20 per GiB-month of volume storage.
Modal VM Sandboxes: Modal bills per second for the larger of the CPU and memory you request and what you use, until the sandbox ends. It prices CPU per physical core, and one core equals two vCPUs, so 4 vCPU / 8 GiB is 2 cores + 8 GiB: $0.476 an hour. 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 default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the AI proxy, if on, still charge. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07.
Limits in those scenarios
Deno Sandbox is closed to new customers, so it has no price in our scenarios; existing organizations get 5 sandboxes at once by default, each living up to 30 minutes on 2 vCPU and up to 4 GB. Modal VM fits the workday agent ($0 inside Starter's credit), 50 agents ($1,480) and sandboxes for your users ($579). The 24/7 agent needs a snapshot and a new sandbox each day, so it is marked as not fitting as-is. For 1,000 short jobs at once Modal Team costs $1,911 on shared burst CPU. Modal's bills assume a minimal CPU request that bursts, which is not guaranteed. boat has limits too: auto-stop defaults to 1 hour, and the $2,000 plan includes 90 starts a minute; extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429, so boat does not fit 1,000 jobs at once.
| Scenario | Deno Sandbox | 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 Deno Sandbox when
Use Deno Sandbox if your organization already has it and you run short pieces of untrusted code that must start in milliseconds and reach only the hosts you allow. New customers cannot sign up since November 2026.
- Fast starts for short code. Good for one sandbox per request: Deno says a sandbox starts in under 200 ms. Only existing organizations can use it since November 2026.
- Secrets the code never sees. Useful for untrusted code: Deno Deploy limits hosts and swaps placeholder secrets for real ones on approved requests, with no code to write.
- A path to Deno Deploy. Fits existing Deno Deploy teams: a sandbox can be promoted to a Deploy app.
Use Modal VM Sandboxes when
your jobs need Docker in a VM for up to a day, come in huge bursts, need regions outside Europe or memory snapshots, or sit next to models you run on Modal.
- A fuller VM for longer jobs. Fits jobs that need Docker, systemd or FUSE for hours: Modal's VM runtime runs them for up to 24 hours and continues from a snapshot.
- Very large bursts. Useful for huge fan-outs of short jobs: Modal Team runs 5,000 containers at once, with no per-start fee.
- Regions and one AI platform. Fits teams that serve models on Modal or need Asia-Pacific: sandboxes, inference and training share one account.
Where boat fits
If your agents do real work for hours or days in a machine they come back to, look at boat. A Deno sandbox ends after 30 minutes, and a Modal VM after 24 hours unless your code snapshots it into a new one. boat gives each agent a full VM that saves its disk with no code, with a desktop and coding agents installed.
A disk kept with no code
On Deno only a volume in Chicago keeps files. On Modal your code snapshots the filesystem and boots a new sandbox, or uses a Volume. boat saves the disk every minute and at each stop; a resume is like a reboot.
/dev/kvm on every plan, and more CPU work in one run
Deno does not document Docker, and Modal offers nested virtualization on Enterprise only. boat has Docker and /dev/kvm on every plan. In StarSling's run of 3 October 2026, boat did 28.06 runs/s against 15.48 on Modal's VM runtime.
Desktop and agents installed
On Deno you run Claude Code through shell commands. On Modal you install VNC, a browser and the harness from its examples. boat has a 60 fps desktop, Chrome and seven agents you drive from outside.
Use boat when your agents work for hours or days in a machine they come back to, with Docker, emulators and a desktop, on a VM that saves its disk with no code. Compare it one to one: boat vs Deno Sandbox 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 Deno Sandbox cheaper than Modal VM Sandboxes?
We cannot compare today. Deno Sandbox is closed to new customers since November 2026 and publishes no current rates. Modal lists $0.476 an hour for 4 vCPU / 8 GiB (2 Modal cores), and boat $0.036. In our scenarios Modal costs $0 for a workday agent inside Starter's credit, against $20 on boat, and $1,480 for 50 agents, against $317.
Which is faster, Deno Sandbox or Modal VM Sandboxes?
Deno is not in the public benchmarks we use, so we cannot compare it. Deno states starts under 200 ms; that is its own figure. In StarSling's run of 3 October 2026, Modal's VM runtime did 15.48 runs/s and gVisor 12.60 at 4 vCPU / 8 GB, and boat did 28.06 on a Ryzen 9 9950X host.
Can Deno Sandbox or Modal VM Sandboxes run Docker?
Modal's VM runtime runs Docker, FUSE and systemd; you start dockerd yourself. Deno's docs do not mention Docker. boat runs Docker and systemd in every sandbox and exposes /dev/kvm on every plan.
How long can each sandbox run?
A Deno sandbox lives up to 30 minutes, unless you promote it to a Deno Deploy app. A Modal VM Sandbox defaults to 5 minutes, with a maximum of 24 hours, and continues from a filesystem snapshot. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).
Do they keep files after the sandbox ends?
Each has a way. Deno keeps files on a volume of 300 MB to 20 GB in Chicago, and a bootable volume can be the root disk. Modal keeps files when your code snapshots the filesystem or writes to a Volume. boat saves the whole disk every minute and at each stop with no code, and keeps a stopped disk at least 14 days; a machine failure loses writes after the last good snapshot.
Is boat SOC 2 compliant?
No SOC 2 report today; SOC 2 is in progress. Modal has SOC 2 on every plan. Live status is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Deno Sandbox
- boat vs Modal VM Sandboxes
- E2B vs Deno Sandbox
- Daytona vs Deno Sandbox
- Modal vs Deno Sandbox
- Vercel Sandbox vs Deno Sandbox
- Cloudflare Sandbox vs Deno Sandbox
- Blaxel vs Deno Sandbox
- Runloop vs Deno Sandbox
- Tensorlake vs Deno Sandbox
- Morph Cloud vs Deno Sandbox
- CodeSandbox SDK vs Deno Sandbox