Vercel Sandbox vs Namespace

Vercel Sandbox runs untrusted or agent-written code in Firecracker microVMs in 19 regions, with 24-hour sessions that resume from a snapshot. Namespace is mainly a CI and build platform, and its Devboxes are remote Linux, macOS and Windows machines for people and coding agents.

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.

Namespace

Namespace is a dev platform for fast builds, tests and coding environments: CI runners, build caches and Devboxes, on its own hardware.

Most of Namespace is CI: a faster drop-in for GitHub Actions runners, with Docker, Bazel, Turborepo and Nix caching. Its Devboxes are remote Linux and macOS machines with persistent storage, made for people and AI coding agents. You run Claude Code, Codex, OpenCode, Amp, Copilot or Cursor in persistent Devbox sessions, and Namespace also hosts sessions for Claude Managed Agents, Cursor Cloud Agents, Devin and Amp. It is a different kind of product from boat, so this page compares the part where they overlap: a machine an agent works on.

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 workloadVercel Sandbox: price rankNamespace: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
259th of 365, with limits
$3,351 a month
74th of 365, with limits
$3,745 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An assistant that never stops is a compromise on both, because each session ends within 24 hours. On a boat paid plan, turn auto-stop off and there is no session cap.
75th of 361, with limits
$3,657 a month
316th of 361, with limits
$6,645 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 Sandbox fits short code bursts, since it bills CPU only while code uses it. Namespace and boat are a compromise here.
27th cheapest of 336
$216 a month
244th of 336, with limits
$250 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 Sandbox fits sandboxes you give your users. Namespace is a compromise: it caps Devboxes at 50 per workspace. boat fits at $209 a month in this preset, against $1,267 on Vercel.
25th cheapest of 349
$1,267 a month
279th of 349, with limits
$2,068 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 Sandbox fits RL rollouts, with high concurrency and fast starts. Namespace is a compromise, and boat's start limits make it one too.
7th cheapest of 349
$15,761 a month
345th of 349, with limits
$9,012 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
282nd of 359, with limits
$1,093 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 runners with build caches are Namespace's main product ($765 a month in this preset), Vercel runs test jobs in microVMs ($1,144), and boat runs them on full VMs with Docker and /dev/kvm ($86).
112th cheapest of 374
$1,144 a month
87th cheapest of 374
$765 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Both are a compromise for a 24/7 dev box. A Vercel session stops every 24 hours. A Namespace Devbox stops at 3 to 24 hours by plan, and it also wakes when you connect. A boat sandbox stays up once auto-stop is off (default 1 hour).
283rd of 371, with limits
$145 a month
201st of 371, with limits
$250 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
Both are a compromise for a Linux computer-use agent. Vercel has no built-in desktop, and Namespace's click API and VNC desktop work on macOS Devboxes only. boat streams a 60 fps Linux desktop with Chrome.
263rd of 367, with limits
$952 a month
108th of 367, with limits
$1,032 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
191st of 356, with limits
$789 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
191st of 343, with limits
$332 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
225th of 327, with limits
$9,012 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
112th of 351, with limits
$339 a month
3rd cheapest of 351
$200 a month
GPU eval jobs
10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month
Not ranked: misses a requirementNot 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
Only Namespace fits: it runs macOS on Apple Silicon, while Vercel Sandbox and boat are Linux only.
Not ranked: misses a requirement6th cheapest of 35
$1,255 a month
Not ranked: misses a requirement

Key features

FeatureVercel SandboxNamespaceboat
IsolationFirecracker microVM with its own kernelLinux Devboxes run a container image on Namespace's own hardware; the docs do not say if each has its own kernelFull VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
CPU speed (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)12.66 runs/s, rank 7 of 15 (shared)24.90 runs/s, rank 2 of 15 (shared)28.06 runs/s, rank 2 of 15 (shared), on a Ryzen 9 9950X host
Longest session24 hours per session on Pro and Enterprise, 45 minutes on Hobby; a persistent sandbox then resumes from its snapshot, with no cap on total lifetimeDevboxes stop at 3 hours on Developer and Devbox Plus, 5 on Team, 24 on Business, even while you work; support can raise it to 24 at mostNo session cap once you turn auto-stop off on a paid plan; auto-stop defaults to 1 hour and goes up to 30 days
Files after a stopFilesystem snapshot at every stop, on by default, $0.08/GB-month; expires 30 days after last use, or never if you set it. Plus DrivesA stopped Devbox keeps its storage until you delete it, billed at $0.20 per GB-month usedDisk saved every minute and at each stop, at no charge; a stopped disk is kept at least 14 days; saved snapshots never expire
Idle stop and wakeNo idle stop; runs until its timeout or until you stop itDevboxes stop after an idle timeout (15 minutes to 8 hours) and start again when you connectAuto-stop is a timer, not an idle check; a running sandbox bills busy or idle
Docker and nested virtualizationDocker with sudo; no nested virtualizationDocker in Linux Devboxes; /dev/kvm on Linux compute instancesDocker, root, systemd and /dev/kvm on every sandbox
Desktop and computer useNo built-in desktop, browser or computer-use API; you install Chromium and agent-browser yourself (root access, Vercel guide) or connect an external cloud browserScreenshot and click API and VNC desktop on macOS Devboxes; on Linux Devboxes you install a desktop and VNC yourself; VNC and RDP on compute instancesBuilt in: 1920x1080, 60 fps Linux desktop and Chrome, computer tools and a browser-control API, embeddable stream
Operating systemsLinux onlyLinux, macOS on Apple Silicon, and Windows on Team plans and upLinux only; Windows programs run through Wine
Custom imagesYour own OCI images from a Dockerfile, via Vercel Container RegistryAny container image you choose, plus Devbox blueprintsStart from boat's image or a saved snapshot (template), shareable by code; you cannot boot your own Docker or OCI image
Reaching the sandboxPublic URLs for up to 15 ports, no built-in auth; no SSH server, raw TCP or public IPHTTPS URLs that need a Namespace login, TCP through a running CLI port-forward; no public IPUp 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 rulesAllow-all, deny-all or a domain and CIDR allowlist, changeable while running, on every planEgress policies per Devbox blueprint, runner or instance: block, advisory or allow by domainNo provider-side allowlist; firewall inside the VM
Keeping keys out of the sandboxCredentials brokering injects headers for any HTTPS domain you allowEgress rules inject a header from Namespace Vault, resolved outside the workloadOptional AI credentials proxy ($1 per day while on, plus $1 per 1,000 requests) for model providers and any HTTPS API you add
Coding agentsClaude Code, Codex, OpenCode and pi preinstalled; you start them as commandsYou run Claude Code, Codex, OpenCode, Amp, Copilot or Cursor in Devbox sessions; hosts Claude Managed Agents, Cursor, Devin and Amp sessionsSeven harnesses installed, with an API to prompt, steer and stream events
Regions19 regions across the US, Europe, Asia, South America, Africa and AustraliaSeveral regions, nearest by default; region-exclusive residency on EnterpriseGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureVercel SandboxNamespaceboat
Full VM (own kernel)YesYesYes
Docker insideYesYesYes
Nested virtualizationNo documented wayYesYes
RootYesYesYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayYesYes
BrowserWith your own setupWith your own setupYes
Computer-use APINo documented wayYesYes
SSHNo documented wayYesYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesYesYes
Fork/cloneYesNo documented wayYes
Live fork (no pause)YesNo documented wayYes
Memory forkNo documented wayNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopNo documented wayYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistYesYesNo documented way
Secret proxyYesYesYes
Secret proxy for any APIYesYesYes
Preinstalled agentsYesYesYes
Agent harness APINo documented wayNo documented wayYes
MCP serverYesYesNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayYesNo documented way
Arm64No documented wayYesNo 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 limitsYesYesYes
Usage per sandbox (API)No documented wayNo documented wayYes
Audit logsNot publishedYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Vercel Sandbox12.66 runs/s
Namespace24.90 runs/s
boat28.06 runs/s

On the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, in StarSling's run of 3 October 2026 (run 37073680030), Vercel Sandbox did 12.66 runs per second, Namespace did 24.90 and boat did 28.06. Namespace did about twice Vercel's runs. boat and Namespace share rank 2, so the run cannot separate them; on real repo builds in the same run, boat took 135.8 s for Better-Auth against 150.5 s on Namespace and 266.3 s on Vercel. 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. This measures CPU speed only, not start time.

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. Namespace measured on: Linux compute instance (unit-minutes, PAYG/overage $0.0015). 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.

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.

ScenarioVercel Sandbox, a monthNamespace, 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
$57 · Pro$300 · Devbox on Business$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$236 · Pro · with limits$426 · Devbox on Business · 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
$2,884 · Pro$2,448 · Devbox on Business$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$1,264 · Devbox Plus · 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$3,287 · Devbox Plus · with limits$8,800 · $2000/mo · with limits

Vercel Sandbox: Vercel bills CPU only while your code uses it ($0.128 per vCPU-hour in iad1), and 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.

Namespace: Devboxes are billed in Devbox Minutes at $0.004 each; a 4 vCPU / 8 GB Devbox uses one a minute, $0.24 an hour. Pay as you go, or Devbox Plus at $250 a month for 50,000 minutes. Team ($100) and Business ($250) plan minutes do not cover Devboxes, but you need those plans for longer sessions and more Devboxes. Storage costs $0.20 per GB-month used. New sign-ups get a 30-day trial with no card.

Namespace: 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, neither fits as one session: Vercel ends each session at 24 hours, and a Namespace Devbox stops at 3, 5 or 24 hours by plan. Namespace caps Devboxes at 50 per workspace, stopped ones included, so 300 user sandboxes and 1,000 short jobs at once do not fit it; Vercel fits both. On Pro one Vercel sandbox is at most 8 vCPU / 16 GB, and Namespace does not publish an egress price. boat does not fit the 1,000-job burst: 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, no macOS, and no US or Asia region.

ScenarioVercel SandboxNamespaceboat
One coding agent, workdaysNone for this scenario
  • egress price not published
None for this scenario
One agent that never stops
  • Pro: sessions capped at 24 h
  • Devbox on Business: sessions capped at 24 h
  • egress price not published
None for this scenario
50 agents in parallelNone for this scenario
  • egress price not published
None for this scenario
Sandboxes for your usersNone for this scenario
  • Devbox Plus: max 50 concurrent
  • egress price not published
None for this scenario
1,000 short jobs at onceNone for this scenario
  • Devbox Plus: max 50 concurrent
  • egress price not published
  • 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 Vercel Sandbox when

you run many short bursts of untrusted code, give sandboxes to your own users, or need to run close to users outside Europe.

  • Short bursts billed by active CPU. Useful for code interpreters and many quick jobs: CPU is billed only while your code uses it.
  • Regions all over the world. Useful if your users are spread out: Vercel Sandbox runs in 19 regions, from Virginia to Tokyo and Sydney.
  • Many sandboxes at once. Useful for RL rollouts and user sandboxes: Pro allows up to 10,000 sandboxes running at the same time.

Use Namespace when

you need macOS or Windows machines, faster GitHub Actions runners with build caches, or dev boxes for people that stop when idle.

  • macOS and Windows. Useful if your agents build iOS or Mac apps or test on Windows: Namespace runs macOS on Apple Silicon and Windows machines.
  • CI runners and build caches. Useful if you want faster GitHub Actions: Namespace is a drop-in runner with Docker, Bazel and Turborepo caching.
  • Dev boxes that sleep and wake. Useful for people's dev machines: a Devbox stops when idle and starts again when you connect.

Where boat fits

If you run agents that work for hours on one Linux machine, both Vercel Sandbox and Namespace end the session within 24 hours. boat gives each agent a full VM with no session cap once auto-stop is off, Docker and /dev/kvm, a built-in 60 fps desktop, and coding agents you drive from outside. boat runs only in Europe, has no macOS and caps starts per plan.

No clock on the session

Vercel stops a session at 24 hours, and Namespace stops a Devbox at 3, 5 or 24 hours by plan, even mid-task. Processes end, and your code restarts and resumes the work. A boat resume is also a reboot, so this matters only for runs longer than the cap.

A Linux desktop for computer use

Vercel has no built-in desktop, and Namespace's click API works only on macOS Devboxes. A Linux agent that must check the app it built needs a desktop and VNC you set up yourself, or macOS minutes.

Agents driven from outside

Vercel installs agents, but you run them as plain commands. On Namespace you start each agent in a Devbox session, or use a partner such as Cursor or Devin. Either way you write the code that prompts, steers and watches each agent.

Use boat when your agents work on Linux for hours or days: a full VM with no session cap once auto-stop is off, Docker and /dev/kvm, a built-in desktop, and coding agents you drive from outside. Check the start limits of your plan first. Compare it one to one: boat vs Vercel Sandbox and boat vs Namespace.

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 Namespace?

In most of our scenarios, yes. One workday agent costs $57 a month on Vercel and $300 on Namespace, which needs its Business plan for an 8-hour session. Namespace costs less for 50 agents in parallel ($2,448 against $2,884). 300 user sandboxes and 1,000 jobs at once do not fit Namespace's 50-Devbox cap; Vercel fits them at $828 and $3,152. boat came to $20, $317 and $200 for the first three; it does not fit the 1,000-job burst.

Which is faster, Vercel Sandbox or Namespace?

On the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, in StarSling's run of 3 October 2026, Namespace did 24.90 runs per second and Vercel Sandbox did 12.66. boat did 28.06 on a Ryzen 9 9950X host, a rank the run shares with Namespace.

Can Vercel Sandbox and Namespace run Docker?

Yes. Vercel Sandbox runs Docker with sudo inside its microVM, and Namespace Linux Devboxes include Docker. For nested VMs, Namespace offers /dev/kvm on Linux compute instances, and Vercel has none. boat has Docker, systemd and /dev/kvm on every sandbox.

Can either run 24/7?

Not as one session. Vercel Pro and Enterprise sessions stop at 24 hours, and Namespace Devboxes stop at 3, 5 or 24 hours by plan, even while you work. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).

Do they support macOS or computer use?

Namespace runs macOS on Apple Silicon and has a screenshot and click API on macOS Devboxes. Vercel Sandbox has no built-in desktop; you install a browser with root or connect a cloud browser. boat streams a 60 fps Linux desktop with Chrome and computer tools, but has no macOS.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons