Vercel Sandbox vs Deno Sandbox
Both run code in Firecracker microVMs. Vercel Sandbox gives bigger machines in 19 regions, with sessions of up to 24 hours that resume from a snapshot. Deno Sandbox gives a 2 vCPU machine that Deno says starts in under 200 ms and lives up to 30 minutes. Deno Sandbox is closed to new customers since November 2026.
The companies and products
Vercel Sandbox
Vercel is a cloud platform for web apps and agents, and Vercel Sandbox is its product for running untrusted or agent-written code in isolated Linux microVMs.
Each sandbox is a Firecracker microVM with its own kernel, started from a Vercel image, your own OCI image, or a saved snapshot. You drive it with the JavaScript or Python SDK or the sandbox CLI: run commands, move files, open ports, fork sandboxes, mount Drives and set network rules. Sandboxes are persistent by default: each stop saves the filesystem, and the next session resumes from it. Vercel aims it at code interpreters, app builders, test runs, developer environments and agent workspaces. Its docs suggest a VM for 24/7 hosting.
- Default image
- Ubuntu; the universal image adds Node.js 24, Python 3.14, Bun, and Claude Code, Codex, OpenCode and pi preinstalled
- Longest session
- 24 hours on Pro and Enterprise, 45 minutes on Hobby; a persistent sandbox resumes from its last snapshot with no cap on total lifetime
- Biggest sandbox
- 8 vCPU / 16 GB on Pro, 32 vCPU / 64 GB on Enterprise
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
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. “27th cheapest of 336” means 26 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 | Vercel Sandbox: price rank | Deno Sandbox: 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 runs installs, builds and Docker for hours. That outlasts Deno's 30 minutes, and Vercel is listed with limits ($3,351): no built-in desktop or /dev/kvm. boat fits at $634. | 259th of 365, with limits $3,351 a month | No published price | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An assistant that lives on its machine all month fits neither well: Vercel sessions stop at 24 hours ($3,657, with limits), and a Deno sandbox ends after 30 minutes. boat fits at $657 with auto-stop off. | 75th of 361, with limits $3,657 a month | No published price | 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 Vercel Sandbox fits short code bursts at $216 a month and bills CPU only while code runs. Deno Sandbox suits them too, but it is closed to new customers and has no current price, so it is not ranked. boat's start limits make it a compromise here. | 27th cheapest of 336 $216 a month | No published price | 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 Vercel Sandbox fits sandboxes for your users at $1,267 a month. Deno Sandbox is closed to new customers; existing organizations get 5 at once by default. boat fits at $209. | 25th cheapest of 349 $1,267 a month | No published price | 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 Vercel Sandbox is a full match for many short parallel rollouts at $15,761 a month. Deno Sandbox is not ranked because it is closed to new customers. boat's start limits make it a compromise. | 7th cheapest of 349 $15,761 a month | No published price | 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 | 81st cheapest of 359 $1,508 a month | No published price | 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 runs Docker fits Vercel at $1,144 a month, with Docker through sudo. Deno does not document Docker. boat fits at $86 and adds /dev/kvm for Android emulators. | 112th cheapest of 374 $1,144 a month | No published price | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A dev box that stays on needs no lifetime cap. Vercel sessions stop every 24 hours ($145, with limits), and a Deno sandbox lasts 30 minutes; a bootable volume in Chicago keeps its files. boat fits at $26 with auto-stop off. | 283rd of 371, with limits $145 a month | No published price | 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 Vercel nor Deno has a built-in desktop, so computer use means setting one up yourself. boat streams a 60 fps desktop with Chrome and computer tools at $200 a month. | 263rd of 367, with limits $952 a month | No published price | 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 | 100th of 356, with limits $486 a month | No published price | 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 | 109th cheapest of 343 $468 a month | No published price | 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 | 234th of 327, with limits $9,960 a month | No published price | 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 | 31st cheapest of 351 $554 a month | No published price | 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 | No published price | 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 | No published price | Not ranked: misses a requirement |
Key features
| Feature | Vercel Sandbox | Deno Sandbox | boat |
|---|---|---|---|
| Availability | Self-serve on Hobby, Pro and Enterprise | Closed to new customers and no longer part of Deno Deploy plans since November 2026 | Self-serve plans from $20 a month; 7-day trial with a card |
| Isolation | Firecracker microVM with its own kernel | Firecracker microVM with its own kernel | Full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Machine size | Up to 8 vCPU / 16 GB on Pro, 32 vCPU / 64 GB on Enterprise | 2 vCPU (no CPU option documented), 768 MB to 4 GB memory, 10 GB disk | 4 vCPU / 8 GB by default, up to 16 vCPU / 32 GB on the $100 plan or higher |
| Longest session | 24 hours on Pro and Enterprise, 45 minutes on Hobby; a persistent sandbox resumes from its snapshot in a new session | Up to 30 minutes; for longer work, start a new sandbox or promote it to a Deno Deploy app | No session cap once you turn auto-stop off on a paid plan; auto-stop defaults to 1 hour |
| Disk between runs | Filesystem snapshot at every stop, $0.08/GB-month, kept 30 days after last use by default; Drives for storage that outlives sandboxes | 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 | Disk saved every minute and at each stop, kept at least 14 days after a stop, longer with a saved snapshot |
| Docker and nested virtualization | Docker with sudo; no nested virtualization | Docker and nested virtualization not documented | Docker, systemd and /dev/kvm for Android emulators and VMs |
| Images and snapshots | Your own OCI images from a Dockerfile, via Vercel Container Registry | On-demand read-only snapshots of a volume; many new sandboxes can boot from one (Chicago only) | Start from boat's image or a saved snapshot; you cannot boot your own Docker or OCI image |
| Desktop and browser | No built-in desktop or computer-use API; you install Chromium and agent-browser yourself (Vercel guide) or connect an external browser | No desktop documented; a VS Code editor in the browser and SSH; you install a browser yourself with apt-get | Built in: 1920x1080, 60 fps desktop and Chrome, computer tools and a browser-control API |
| Coding agents | Claude Code, Codex, OpenCode and pi preinstalled; you start them as commands | A root image with Claude Code, run through the shell command API | Claude Code, Codex, pi, OpenCode, Prime Agent, Kimi Code and Mistral Vibe, with an API to prompt, steer and stream events |
| Inbound access | Public URLs for up to 15 ports, no built-in auth; no SSH server or raw TCP | HTTPS URL per exposed port, public without authentication; SSH | Up to 50 HTTPS URLs, token-gated by default; SSH; raw ports over IPv6 (some sandboxes have no IPv4 of their own) |
| Outbound rules | Allow-all, deny-all or a domain and CIDR allowlist, changeable while running; static IPs on Enterprise | Host allowlist per sandbox (allowNet), enforced by Deno Deploy outside your code | No provider-side allowlist; firewall inside the VM |
| Keeping API keys out of the sandbox | Credentials brokering injects headers for any HTTPS domain you allow | Any secret swapped in on outbound HTTPS requests to the hosts you approve; the sandbox only sees a placeholder | Optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests) for model providers and any HTTPS API you add |
| Sandboxes at once | Up to 10,000 on Pro; vCPU allocation starts at 150 a minute and climbs toward 5,000 with steady use | 5 at once by default for existing organizations | 100 at once on $20 up to 2,000 on $2,000; 12 to 90 starts a minute included; extra starts are paid |
| Regions | 19 regions across the US, Europe, Asia, South America, Africa and Australia | Amsterdam or Chicago; volumes and snapshots only in Chicago | Germany, Finland and France; you cannot pick a region; no US or Asia region |
| CPU speed (V8 Web Tooling Benchmark) | 12.66 runs per second at 4 vCPU / 8 GB (StarSling, 3 October 2026) | Not in that run | 28.06 runs per second at 4 vCPU / 8 GB on a Ryzen 9 9950X host (StarSling, 3 October 2026) |
Every feature Battleships tracks (43)
| Feature | Vercel Sandbox | Deno Sandbox | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Not published | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | No documented way | No documented way | Yes |
| Browser | With your own setup | No documented way | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | No documented way | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | No documented way | Yes |
| Automatic snapshots | Yes | No documented way | Yes |
| Fork/clone | Yes | No documented way | Yes |
| Live fork (no pause) | Yes | No documented way | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | No documented way | Yes |
| Idle auto-stop | No documented way | No documented way | 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 | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | Yes | Yes | No documented way |
| Secret proxy | Yes | Yes | Yes |
| Secret proxy for any API | Yes | Yes | Yes |
| Preinstalled agents | Yes | Yes | Yes |
| Agent harness API | No documented way | No documented way | Yes |
| MCP server | Yes | 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 | Yes | Yes |
| Usage per sandbox (API) | No documented way | No documented way | Yes |
| Audit logs | Not published | Not published | No documented way |
| SSO | Yes | No documented way | No documented way |
| SOC 2 | Yes | Not published | No documented way |
| HIPAA | Yes | Not published | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
On the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, boat did 28.06 runs per second and Vercel Sandbox did 12.66 (about 2.2x), in StarSling's run of 3 October 2026 (run 37073680030). boat was second of 15; Vercel shared rank 7. 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 that run, so we cannot say how fast it is. Deno states a start time under 200 ms; that is its own figure.
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. 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 | Vercel Sandbox, a month | Deno Sandbox, 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 | $57 · Pro | No published price | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $236 · Pro · with limits | No published price | $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 | $2,884 · Pro | No published price | $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 | $828 · Pro | No published price | $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 | $3,152 · Pro | No published price | $8,800 · $2000/mo · with limits |
Vercel Sandbox: Vercel charges for CPU only while your code uses it ($0.128 per vCPU-hour in iad1), and for memory for the whole time the sandbox runs ($0.0212 per GB-hour). It adds $0.60 per million sandboxes created, $0.08 per GB-month of snapshots, and $0.05 per GB-month for Drives plus reads and writes. Rates are up to 1.73x higher outside the US. The $20 Pro credit is shared with your other Vercel usage.
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. 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.
Deno Sandbox: boat charges a flat price per size, per second, while the sandbox runs, busy or idle: $0.036 an hour for 4 vCPU / 8 GB. Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A card is required, also for the 7-day trial. A stopped sandbox has no compute charge, but saved snapshots above the plan's count and the optional AI credentials proxy still charge. Starts above the plan's included number cost $0.03 to $0.07 each.
Limits in those scenarios
Deno Sandbox is closed to new customers, so it has no price in our scenarios. For existing organizations, a sandbox lives up to 30 minutes on 2 vCPU with up to 4 GB of memory, and 5 run at once by default. Vercel fits four of the five scenarios; only the always-on agent breaks, because each session ends at 24 hours and processes start again on resume. boat fits four of the five, but not 1,000 short jobs at once: the $2,000 plan includes 90 starts a minute and 2,400 a day, extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429. boat also keeps a stopped disk at least 14 days unless you save a snapshot, and a machine failure loses what was written after the last 1-minute snapshot.
| Scenario | Vercel Sandbox | Deno Sandbox | 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 | None for this scenario |
|
|
Which one should you use?
Use Vercel Sandbox when
you run many short or day-long jobs that need more than 2 vCPU, Docker or your own Dockerfile image, regions outside Europe and the US Midwest, or a provider that is open to new customers.
- Open to new customers, with bigger machines. You can sign up today, and Pro sessions last up to 24 hours on machines of up to 8 vCPU / 16 GB.
- Regions all over the world. Useful if your users are spread out: Vercel Sandbox runs in 19 regions, from Virginia to Tokyo and Sydney.
- Images from your Dockerfile. Useful if you already have a Dockerfile: build it into an OCI image and boot sandboxes straight into it.
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.
- Fast starts. Good for short bursts of code: Deno says a sandbox starts in under 200 ms, fast enough to create one per request.
- Locked-down outbound traffic. Useful for untrusted code: each sandbox can be limited to a list of hosts, enforced outside your code.
- A path to Deno Deploy. Fits organizations that already have Deno Sandbox: a sandbox can be promoted to a Deno Deploy app.
Where boat fits
Vercel Sandbox and Deno Sandbox are both built for runs of code. If you run agents that work for hours on one machine, with Docker, a desktop and a disk that is still there tomorrow, look at boat. Check its start limits first: each create, fork and resume counts as a start.
A machine that stays
A Deno sandbox ends after 30 minutes, and its default root disk is wiped unless it boots from a volume in Chicago. Vercel stops every session at 24 hours; the sandbox resumes from its snapshot, and processes start again. boat runs with no session cap once auto-stop is off, and saves the disk every minute.
Docker, emulators and a desktop
Neither has nested virtualization or a built-in desktop, and Deno does not document Docker. On boat an agent gets Docker, systemd, /dev/kvm for Android emulators, and a 60 fps desktop with Chrome to check the app it built.
Agents you drive from outside
Both ship Claude Code, but you run it as shell commands and parse its output yourself. boat runs seven coding agents and gives you one API to prompt them, steer them and stream their events.
Use boat when your agents work for hours on one machine: builds, tests, Docker, emulators and a built-in desktop with a browser, with an API to drive the agents inside. Check the start limits of your plan first. Compare it one to one: boat vs Vercel Sandbox and boat vs Deno Sandbox.
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 Vercel Sandbox cheaper than Deno Sandbox?
We cannot compare today. Deno Sandbox is closed to new customers since November 2026 and Deno publishes no current sandbox rates. Vercel costs $57 a month for one workday agent at 4 vCPU / 8 GB, and boat costs $20.
Which is faster, Vercel Sandbox or Deno Sandbox?
Deno says a sandbox starts in under 200 ms. For CPU work there is no head-to-head number: Vercel Sandbox did 12.66 runs per second on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, and Deno is not in that run. boat did 28.06 in the same run, on an AMD Ryzen 9 9950X host.
How long can each one run?
A Vercel sandbox session lasts up to 24 hours on Pro and Enterprise and 45 minutes on Hobby, then resumes from a snapshot with processes started again. A Deno sandbox lives up to 30 minutes. A boat sandbox has no session cap once you turn auto-stop off (default 1 hour) on a paid plan.
Can Vercel Sandbox or Deno Sandbox run Docker?
Vercel Sandbox runs Docker with sudo, but has no nested virtualization. Deno's docs do not document Docker or nested virtualization. boat runs Docker and systemd and exposes /dev/kvm for Android emulators and VMs.
Do they keep files between runs?
Vercel saves a filesystem snapshot at every stop and keeps it 30 days after last use by default. Deno wipes the default root disk when a sandbox ends; a bootable volume, only in Chicago, keeps its files. boat saves the disk every minute and at each stop, and keeps a stopped disk at least 14 days, longer with a saved snapshot.
Where do they run?
Vercel Sandbox runs in 19 regions around the world. Deno Sandbox runs in Amsterdam and Chicago. boat runs on machines in Germany, Finland and France, and you cannot pick a region. Snapshot copies can be stored outside the EU.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Vercel Sandbox
- boat vs Deno Sandbox
- E2B vs Vercel Sandbox
- Daytona vs Vercel Sandbox
- Modal vs Vercel Sandbox
- Vercel Sandbox vs Cloudflare Sandbox
- Vercel Sandbox vs Blaxel
- Vercel Sandbox vs Runloop
- Vercel Sandbox vs Tensorlake
- Vercel Sandbox vs Morph Cloud
- Vercel Sandbox vs CodeSandbox SDK
- Vercel Sandbox vs Northflank