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.

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.

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 workloadDeno Sandbox: price rankModal VM Sandboxes: price rankboat: 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 price27th 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 priceNot ranked: misses a requirement6th 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 priceNot ranked: misses a requirement189th 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 priceNot ranked: misses a requirement3rd 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 price163rd 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 priceNot ranked: misses a requirement10th 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 price170th 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 priceNot ranked: misses a requirement19th 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 priceNot ranked: misses a requirement7th 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 priceNot ranked: misses a requirement7th 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 priceNot ranked: misses a requirement6th 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 priceNot ranked: misses a requirement73rd 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 price27th 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 priceNot ranked: misses a requirementNot ranked: misses a requirement
macOS agents
5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month
No published priceNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureDeno SandboxModal VM Sandboxesboat
IsolationFirecracker microVM with its own kernelVM with its own Linux kernel on Cloud HypervisorFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared
Machine size2 vCPU (no CPU option documented), 768 MB to 4 GB memory, 10 GB diskYou request the CPU and memory you need; fixed 512 GiB root filesystem2 to 16 vCPU and 4 to 32 GB, 51 to 251 GB disk; 16 vCPU needs the $100 plan or higher
Longest sessionUp to 30 minutes; longer work can be promoted to a Deno Deploy app24 hours (default 5 minutes); continue in a new sandbox from a filesystem snapshotAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap
Files after it endsDefault 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 filesYour 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 VolumeDisk saved every minute and at each stop with no code, kept at least 14 days; a resume is like a reboot
Docker and systemdDocker not documentedYes; you start dockerd yourselfYes, in every sandbox
Nested virtualizationNot documentedEnterprise plan only, as an experimental option/dev/kvm on every plan for Android emulators and VMs
Snapshots and forkOn-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 sandboxAutomatic 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 useVM runtime 15.48 runs/s, gVisor 12.60, both rank 7 of 15 (shared); measured with cpu=428.06 runs/s, rank 2 of 15 (shared), on a Ryzen 9 9950X host
Start timeUnder 200 ms, as stated by DenoNot in the public start-time runs we use for the VM runtimeBoots a full VM; not in the public start-time benchmarks we use
Availability and scaleNot available to new customers since November 2026; existing organizations get 5 at once by default100 containers at once on Starter, 5,000 on Team; no per-start fee100 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 rulesHost allowlist per sandbox (allowNet), enforced by Deno Deploy outside your codeBlock all, IP-range allowlist, domain allowlist (beta)Open internet, no provider-side allowlist
Keeping API keys outAny secret swapped in on outbound HTTPS requests to approved hosts; the sandbox sees a placeholderYou run a credential-injecting proxy in a Sidecar (experimental), from an official exampleOptional 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 agentsNo desktop documented; an image with Claude Code run through shell commandsNot built in; Modal's runnable example installs Xvfb, x11vnc, noVNC and Chromium; you install the agent harness1920x1080, 60 fps desktop with Chrome and computer-use tools, and seven agents with a prompt, steer and events API
RegionsAmsterdam and ChicagoUS, EU and Asia-Pacific; pinning costs 1.15x to 1.75xGermany, Finland and France; no US or Asia region
Every feature Battleships tracks (43)
FeatureDeno SandboxModal VM Sandboxesboat
Full VM (own kernel)YesYesYes
Docker insideNot publishedYesYes
Nested virtualizationNo documented wayYesYes
RootYesYesYes
SystemdNot publishedYesYes
Desktop GUINo documented wayWith your own setupYes
BrowserNo documented wayWith your own setupYes
Computer-use APINo documented wayWith your own setupYes
SSHYesWith your own setupYes
Persistent diskYesWith your own setupYes
Pause/resumeNo documented wayNo documented wayYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneNo documented wayYesYes
Live fork (no pause)No documented wayNot publishedYes
Memory forkNo documented wayYesNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsNo documented wayYesYes
Idle auto-stopNo documented wayYesNo documented way
Wake on requestNo documented wayNo documented wayNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyYesWith your own setupYes
Secret proxy for any APIYesNo documented wayYes
Preinstalled agentsYesWith your own setupYes
Agent harness APINo documented wayNo documented wayYes
MCP serverNo documented wayNo documented wayNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNo documented wayNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCNo documented wayNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesNot publishedYes
Usage per sandbox (API)No documented wayNot publishedYes
Audit logsNot publishedYesNo documented way
SSONo documented wayYesNo documented way
SOC 2Not publishedYesNo documented way
HIPAANot publishedYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Deno SandboxNot measured
Modal VM Sandboxes15.48 runs/s
boat28.06 runs/s

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.

ScenarioDeno Sandbox, a monthModal VM Sandboxes, a monthboat, 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.

ScenarioDeno SandboxModal VM Sandboxesboat
One coding agent, workdays
  • discontinued / closed to new customers
None for this scenarioNone for this scenario
One agent that never stops
  • discontinued / closed to new customers
  • Starter: sessions capped at 24 h
None for this scenario
50 agents in parallel
  • discontinued / closed to new customers
None for this scenarioNone for this scenario
Sandboxes for your users
  • discontinued / closed to new customers
None for this scenarioNone for this scenario
1,000 short jobs at once
  • discontinued / closed to new customers
  • shared vCPUs on this tier (Modal (VM Sandboxes) sells dedicated cores separately as “VM Sandbox, request = size”): heavy, sustained CPU use can be slowed by other tenants
  • 2,400 starts/day included, paid above that (needs ~6,667)
  • 600 starts/hour included, paid above that (needs ~1,000)
  • starts above 90/min are paid, and starts above 270/min fail with 429

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