Vercel Sandbox vs Northflank
Vercel Sandbox is built for runs of untrusted code in Firecracker microVMs, with 24-hour sessions that resume from a snapshot. Northflank is a broad cloud platform where sandboxes run as long as you like, boot your own container image, and sit next to GPUs, databases and your own cloud account.
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
Northflank
Northflank is a London developer platform for running services, jobs and databases on Kubernetes, and Sandboxes is its product for running untrusted code.
A Northflank sandbox is a container image deployed as a service. CPU sandboxes run in Kata microVMs with their own kernel, and GPU sandboxes run under gVisor. You create and drive them from the JavaScript or Python SDK, the CLI or the dashboard, on Northflank's cloud or inside your own. It suits teams that want one platform for apps, databases, GPUs and sandboxes.
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 | Northflank: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Both are a compromise for a software factory. Neither has a built-in desktop or browser for an agent to check the app it built. Vercel ends each session at 24 hours; on Northflank you attach volumes or snapshot the filesystem before each pause. boat fits with a built-in desktop and a disk saved every minute. | 259th of 365, with limits $3,351 a month | 186th of 365, with limits $1,413 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Northflank fits an assistant that lives on its machine for weeks: it has no session cap ($2,551 a month in this preset). Vercel is a compromise: each session ends at 24 hours and processes start again. | 75th of 361, with limits $3,657 a month | 44th cheapest of 361 $2,551 a month | 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 fits short code bursts fully: it bills CPU only while code uses it and starts fast. Northflank's small per-second plans cost less here ($114 against $216), but it is a compromise. | 27th cheapest of 336 $216 a month | 91st of 336, with limits $114 a month | 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 fits sandboxes for your users at scale. Northflank does not publish how many can run at once. boat fits at $209 a month in this preset, against $1,267 on Vercel. | 25th cheapest of 349 $1,267 a month | 94th of 349, with limits $810 a month | 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 fits many short parallel rollouts, with high concurrency and fast starts. Northflank's unpublished concurrency makes it a compromise. | 7th cheapest of 349 $15,761 a month | 333rd of 349, with limits $1,742 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 | 81st cheapest of 359 $1,508 a month | 139th of 359, with limits $685 a month | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month All three fit CI: Northflank at $347 a month in this preset, Vercel at $1,144 and boat at $86. boat adds /dev/kvm for Android emulators and VM builds. | 112th cheapest of 374 $1,144 a month | 36th cheapest of 374 $347 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB | 283rd of 371, with limits $145 a month | 124th cheapest of 371 $106 a month | 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 has a built-in desktop. On both you install a desktop, a browser and a screen stream yourself. boat ships a 60 fps desktop with computer tools. | 263rd of 367, with limits $952 a month | 189th of 367, with limits $367 a month | 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 | 83rd of 356, with limits $359 a month | 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 | 94th cheapest of 343 $200 a month | 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 | 83rd of 327, with limits $2,031 a month | 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 | 43rd of 351, with limits $180 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 Northflank has GPU sandboxes from L4 to H100, H200 and B200. Vercel Sandbox and boat are CPU only. | Not ranked: misses a requirement | 5th cheapest of 102 $692 a month | 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 | Vercel Sandbox | Northflank | boat |
|---|---|---|---|
| Isolation | Firecracker microVM with its own kernel | Kata microVM with its own kernel for CPU; gVisor for GPU | Full VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared |
| Longest session | 24 hours per session on Pro and Enterprise, 45 minutes on Hobby; a persistent sandbox then resumes from its snapshot, with no cap on total lifetime | No documented cap; runs until you pause or delete it | No session cap once you turn auto-stop off on a paid plan; auto-stop defaults to 1 hour and goes up to 30 days |
| What survives a stop | Filesystem snapshot at every stop, on by default, $0.08/GB-month; expires 30 days after last use, or never if you set it. Plus Drives | Attached volumes (billed while paused); the rest of the disk resets unless you snapshot the filesystem before the pause and restore from it (microVM sandboxes only) | The disk, saved every minute and at each stop, with no setup and at no charge; a stopped disk is kept at least 14 days; saved snapshots never expire |
| Memory on resume | Not kept; processes start again | Not kept; processes end on pause | Not kept; the machine reboots with its disk |
| Desktop, browser, computer use | No built-in desktop, browser or computer-use API; you install Chromium and agent-browser yourself (root access, Vercel guide) or connect an external cloud browser | No built-in desktop; Northflank's guide runs Playwright browser agents from your own image; a desktop and stream you install yourself | Built in: 1920x1080, 60 fps desktop and Chrome, computer tools and a browser-control API, embeddable stream |
| Nested virtualization | No; Firecracker does not expose /dev/kvm to guests | Not documented inside a sandbox | Yes, /dev/kvm for Android emulators and VMs |
| Docker and custom images | Docker with sudo; your own OCI images from a Dockerfile, via Vercel Container Registry | Own kernel per sandbox; boots any container image | Docker with root and systemd; start from boat's image or a saved snapshot; you cannot boot your own Docker or OCI image |
| Coding agents | Claude Code, Codex, OpenCode and pi preinstalled; you start them as commands | Harnesses with Claude Code, Codex, Cursor, OpenCode, Pi, OMP or Devin CLI and a lifecycle API; you talk to the agent through a terminal or SSH | Seven agents preinstalled, with an API to prompt, steer and stream events |
| Keys kept outside the sandbox | Credentials brokering injects headers for any HTTPS domain you allow | Header injection for listed hosts in the network policy API (documented for your own cluster) | Optional AI credentials proxy ($1 per day while on, plus $1 per 1,000 requests) for model providers and any HTTPS API you add |
| Inbound access | Public URLs for up to 15 ports, no built-in auth; no SSH server, raw TCP or public IP | HTTP ports on a code.run domain or your own, private by default; SSH; public TCP and UDP need a separate load balancer | Up to 50 HTTPS URLs, token-gated by default; SSH; raw ports over IPv6 (some sandboxes have no IPv4 of their own); no static IP |
| Outbound rules | Allow-all, deny-all or a domain and CIDR allowlist, changeable while running, on every plan | Network policies with allow lists by IP, CIDR or domain, documented for your own cluster; static egress IPs | No provider-side allowlist; firewall inside the VM |
| Biggest sandbox | 8 vCPU / 16 GB on Pro, 32 vCPU / 64 GB on Enterprise | Up to 20 vCPU / 40 GB, custom sizes on request; a resize restarts the sandbox | 16 vCPU / 32 GB on the $100 plan and above |
| GPUs | No | L4, A100, H100, H200, B200, RTX PRO 6000 and more | No |
| Regions and your own cloud | 19 regions; Vercel's cloud only | 17 regions in North America, South America, Europe, Asia, Australia and Africa; or your own AWS, GCP or Azure account | Germany, Finland and France; you cannot pick a region; no US or Asia region |
Every feature Battleships tracks (43)
| Feature | Vercel Sandbox | Northflank | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Yes | Yes | Yes |
| Nested virtualization | No documented way | No documented way | Yes |
| Root | Yes | Not published | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | No documented way | No documented way | Yes |
| Browser | With your own setup | With your own setup | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | No documented way | Yes | Yes |
| Persistent disk | Yes | With your own setup | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | Yes | Yes | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | 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 | Yes | 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 | Yes | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | Yes | No documented way |
| Self-hosting | No documented way | Yes | No documented way |
| BYOC | No documented way | Yes | 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 | Yes | Yes |
| Audit logs | Not published | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Yes | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
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). 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. Northflank is not in that benchmark, so we cannot say how its CPU compares. For start time, ComputeSDK's one-at-a-time run of 7 August 2026 measured Vercel at 421 ms and Northflank at 83 ms, each at its default size; boat is not in that benchmark.
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. Northflank 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 | Northflank, 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 | $30 · Developer Sandbox (free tier) | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $236 · Pro · with limits | $106 · Developer Sandbox (free tier) | $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 | $1,290 · Developer Sandbox (free tier) | $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 | $359 · Developer Sandbox (free tier) · with limits | $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 | $684 · Developer Sandbox (free tier) · with limits | $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. The $20 Pro credit is shared with your other Vercel usage.
Northflank: Northflank bills per second for the plan size you pick, from $0.0038 an hour for 0.1 vCPU; 4 vCPU / 8 GB is $0.1333 an hour. There is no monthly fee and no start fee. There is no idle auto-pause, so a sandbox bills until you pause it. Volumes cost $0.11657 per GiB a month, also while paused, and outbound traffic costs $0.06 per GB.
Northflank: 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 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
For one agent that never stops, Vercel ends each session at 24 hours and the processes start again. On Northflank, files outside attached volumes survive a pause only if you snapshot the filesystem first. Northflank does not publish how many sandboxes can run at once, so 300 or 1,000 at a time is not confirmed. Vercel fits the burst of 1,000 short jobs at once. boat does not: even its $2,000 plan includes 90 starts a minute and 2,400 a day, starts above that are paid, and starts above 270 a minute fail with 429. Other boat limits: a stopped disk is kept at least 14 days unless you save a snapshot, no GPU, and no US or Asia region.
| Scenario | Vercel Sandbox | Northflank | boat |
|---|---|---|---|
| One coding agent, workdays | None for this scenario | None for this scenario | None for this scenario |
| One agent that never stops |
| None for this scenario | 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 bursts of untrusted code, like code interpreters or RL rollouts, and want a firewall you can change while the sandbox runs.
- Fast, short bursts. For code interpreters and RL rollouts: Vercel starts sandboxes fast, at high concurrency, and bills CPU only while code uses it.
- A firewall you change live. A running sandbox can be switched to deny-all, or to a list of allowed domains, without a restart.
- Snapshots on by default. Every stop saves the filesystem with no setup, and the next session resumes from it by name.
Use Northflank when
you need GPUs next to the agent, sandboxes with no session cap, your own container image, or sandboxes inside your own cloud account next to the rest of your apps.
- GPU sandboxes. For agents that train or run models: Northflank has GPU sandboxes from L4 to H100, H200 and B200.
- No session cap. A Northflank sandbox runs until you pause it, so long jobs are not cut off after a set number of hours.
- Your own cloud, one platform. For teams that must run in their own AWS, GCP or Azure account, next to their apps, jobs and databases.
Where boat fits
Both Vercel Sandbox and Northflank give each sandbox its own kernel, and neither has a built-in desktop. If your agents work for hours on one machine, building, testing, running Docker and checking their work in a browser, boat gives them a full VM with a built-in desktop, a disk saved every minute with no setup, and an API to drive the agents inside. boat runs only in Europe, has no GPU and caps starts per plan.
The disk comes back with no setup
Vercel snapshots at each stop and restarts every process after 24 hours. On Northflank you attach volumes or snapshot the filesystem before each pause. boat saves the disk every minute and at each stop. Memory is not saved, and a machine failure loses writes after the last good snapshot.
A desktop and a browser inside
Neither has a built-in desktop, so an agent cannot open the web app it built until you install a desktop, a browser and a stream. boat ships a 60 fps desktop, Chrome and computer tools.
Agents you drive from outside
On Vercel you run the agents as plain commands, and on Northflank you reach them through a terminal or SSH, so you build the layer that prompts, steers and reads them. boat gives you one API for that.
Use boat when your agents work on one machine for hours or days and should find their files as they left them with no snapshot setup: installs, Docker, emulators, a built-in desktop and a browser, with the agents driven from your code. Check the start limits of your plan first. Compare it one to one: boat vs Vercel Sandbox and boat vs Northflank.
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 Northflank?
In our five scenarios Northflank costs less: one workday agent is $30 a month against $57, and 50 parallel agents are $1,290 against $2,884. Running 300 or 1,000 at once is not confirmed on Northflank, while Vercel fits those at $828 and $3,152. boat costs $20 and $317 for the first two; it does not fit the 1,000-job burst.
Which is faster?
Vercel Sandbox did 12.66 V8 Web Tooling runs per second at 4 vCPU / 8 GB, and boat did 28.06 on a Ryzen 9 9950X host, in StarSling's run of 3 October 2026. Northflank is not in that run, so we cannot compare its CPU speed. For one-at-a-time starts, ComputeSDK measured Northflank at 83 ms and Vercel at 421 ms.
Can Vercel Sandbox or Northflank run 24/7?
Northflank can: a sandbox runs until you pause it. A pause wipes files outside attached volumes unless you snapshot the filesystem first. Vercel sessions stop after 24 hours; a persistent sandbox resumes from its snapshot, and onResume hooks can restart your processes. boat runs with no session cap once auto-stop is off on a paid plan.
Can both run Docker?
Yes. Both give each sandbox its own kernel, and Vercel documents Docker with sudo. boat runs Docker with root and systemd, and also exposes /dev/kvm for Android emulators and VMs, which neither documents.
Does either have GPUs?
Northflank does, with GPU sandboxes under gVisor from L4 to H100, H200, B200 and more. Vercel Sandbox and boat run on CPUs only.
Do they have a desktop for computer use?
Not built in. On both you install a browser or desktop yourself. Vercel has a guide for agent-browser, and Northflank has a guide for Playwright browser agents. boat includes a 60 fps desktop, Chrome, computer tools and a browser-control API.
Try boat
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs Vercel Sandbox
- boat vs Northflank
- 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 Fly.io Machines