Vercel Sandbox vs Upstash Box

Vercel Sandbox runs each sandbox in a Firecracker microVM with its own kernel, in 19 regions; a persistent sandbox resumes from its snapshot across 24-hour sessions. Upstash Box gives each agent a Docker container in AWS us-east-1 that costs no CPU when idle, pauses, wakes on the next request, and can stay on all month.

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.

Upstash Box

Upstash Box is a cloud computer for AI agents from Upstash, the company known for serverless Redis, Vector and QStash.

Each box is a Docker container with its own filesystem, shell, git and an optional coding agent such as Claude Code, Codex, OpenCode or Cursor, which you drive from TypeScript or Python SDKs. A box pauses when it sits idle, keeps its files, and you pay for the CPU it actually uses. Upstash built it to run its own Context7 service and opened it to everyone in March 2026.

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 rankUpstash Box: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Neither fits fully: on Vercel you install a browser yourself and processes start again every 24 hours, and Upstash does not document Docker inside a box. boat has Docker and a desktop built in.
259th of 365, with limits
$3,351 a month
98th of 365, with limits
$464 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
An always-on agent fits Upstash's flat-price keep-alive box. On Vercel a persistent sandbox resumes across 24-hour sessions, and an onResume hook restarts your processes. boat runs one session with no cap once auto-stop is off.
75th of 361, with limits
$3,657 a month
170th of 361, with limits
$450 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
Both fit short code bursts, since both bill CPU only while code uses it.
27th cheapest of 336
$216 a month
13th cheapest of 336
$119 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
All three fit sandboxes for your users. In this preset's default settings, boat costs $209 a month, Upstash Box $222 and Vercel Sandbox $1,267.
25th cheapest of 349
$1,267 a month
4th cheapest of 349
$222 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 many short parallel rollouts fully, while Upstash Box fits only as a compromise.
7th cheapest of 349
$15,761 a month
343rd of 349, with limits
$8,000 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
67th cheapest of 359
$1,011 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
Both fit CI runners. Vercel runs Docker inside; Upstash does not document it. boat adds /dev/kvm for Android builds.
112th cheapest of 374
$1,144 a month
122nd cheapest of 374
$1,480 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A 24/7 dev box fits Upstash's flat-price keep-alive box, with up to 30 GB of disk. On Vercel the files stay across sessions, but running processes start again every 24 hours.
283rd of 371, with limits
$145 a month
8th cheapest of 371
$19 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 desktop: Upstash runs Chromium on a virtual display with a view-only live view, and on Vercel you install a browser yourself. boat streams a full Linux desktop at 60 fps.
263rd of 367, with limits
$952 a month
123rd of 367, with limits
$76 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
48th of 356, with limits
$38 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
41st cheapest of 343
$400 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
201st of 327, with limits
$8,000 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
255th of 351, with limits
$259 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
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureVercel SandboxUpstash Boxboat
IsolationFirecracker microVM with its own kernelDocker container per box on AWS, with its own filesystem, process tree and network stackFull VM with its own kernel, on physical hosts dedicated to boat (AMD Ryzen 7 9700X and Ryzen 9 9950X); vCPUs are shared
Docker insideYes, with sudoNot documented; the box is itself a Docker containerYes, Docker and systemd run as on any Linux server
Nested virtualizationNo; Firecracker does not expose /dev/kvmNot documented; boxes are containersYes, /dev/kvm for Android emulators and VMs
Longest session24 hours per session on Pro and Enterprise, 45 minutes on Hobby; the sandbox then resumes from its snapshot, with no cap on total lifetimeNo cap documented; a box pauses after 6 idle hours on paid plans, and a keep-alive box stays on all monthNo session cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour and goes up to 30 days
Stop and resumeFilesystem snapshot at every stop ($0.08/GB-month), kept 30 days after last use by default or set to never; Drives keep mounted storage until you delete themPauses itself when idle and keeps its files; storage keeps billing while pausedDisk saved every minute and at each stop; no compute charge while stopped; disk kept at least 14 days, longer with a saved snapshot
Billing while idleNo CPU charge while idle; memory bills the whole time the sandbox runsNo CPU charge while idle; RAM is not billedFull rate while the sandbox runs, busy or idle
Wake on requestNoYes; a request to a public URL resumes a paused boxNo; a stopped sandbox is started by API
ForkSandbox.fork() starts copies from a sandbox's latest snapshotSnapshot a running box and start many new boxes from itFork a running sandbox from its last 1-minute disk snapshot
Custom imagesYour own OCI images from a Dockerfile, via Vercel Container RegistryListed as coming soon; environments are reused through snapshotsboat's image or a saved snapshot (template), shareable by code; you cannot boot your own Docker image
Biggest machine8 vCPU / 16 GB on Pro, 32 vCPU / 64 GB on EnterpriseLarge: 8 vCPU / 16 GB with a 30 GB disk on self-serve plans; custom sizes on EnterpriseUp to 16 vCPU / 32 GB with 251 GB of disk on the $100 plan and above
Desktop, browser, computer useNo built-in desktop or computer-use API; you install Chromium and agent-browser yourself (Vercel guide) or connect an external browserManaged Chromium with AI page actions, CDP, screenshots, recordings and a view-only live view; no desktop or VNC1920x1080, 60 fps desktop and Chrome, computer tools and a browser-control API
Coding agentsClaude Code, Codex, OpenCode and pi preinstalled; you start them as commandsClaude Code, Codex, OpenCode and Cursor built in, with run and stream APIs, webhooks and scheduled promptsClaude Code, Codex, pi, OpenCode, Prime Agent, Kimi Code, Mistral Vibe, with an API to prompt, steer and stream events
Inbound accessPublic URLs for up to 15 ports, no built-in auth; no SSH server, raw TCP or public IPHTTPS URL per port, public unless you add a token or basic auth; SSH through a gateway; no raw TCP documentedUp 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; static IPs on EnterpriseAllow all, deny all, or allow and deny by domain and CIDR, changeable on a running boxOpen internet, no provider-side allowlist; firewall inside the VM
Keys kept outside the sandboxCredentials brokering injects headers for any HTTPS domain you allowHost proxy injects headers into outbound HTTPS for any host; set when the box is createdOptional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests) for model providers and any HTTPS API you add
Regions19 regions across the US, Europe, Asia, South America, Africa and AustraliaAWS us-east-1 on self-serve plans; custom regions on EnterpriseGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureVercel SandboxUpstash Boxboat
Full VM (own kernel)YesNo documented wayYes
Docker insideYesNot publishedYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesNot publishedYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayNo documented wayYes
BrowserWith your own setupYesYes
Computer-use APINo documented wayNo documented wayYes
SSHNo documented wayYesYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsYesNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
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 wayNo documented wayYes
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 wayYesYes
MCP serverYesYesNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayNo documented wayNo 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 limitsYesNot publishedYes
Usage per sandbox (API)No documented wayYesYes
Audit logsNot publishedNot publishedNo documented way
SSOYesNo documented wayNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Vercel Sandbox12.66 runs/s
Upstash BoxNot measured
boat28.06 runs/s

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 sandboxes on Ryzen 7 9700X hosts and does not promise a CPU model. Providers ran on different hardware in different regions. Upstash Box is not in that CPU benchmark. For start time at each provider's default size, ComputeSDK measured Vercel at 533 ms and Upstash at 2.34 s with 100 at once (6 November 2026), and 421 ms against 445 ms one at a time (7 August 2026). boat is not in ComputeSDK.

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. Upstash Box 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.

ScenarioVercel Sandbox, a monthUpstash Box, 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$21 · Pay as You Go$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$236 · Pro · with limits$21 · Pay as You Go$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$900 · Pay as You Go · with limits$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$306 · Pay as You Go$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$1,822 · Pay as You Go$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.

Upstash Box: A standard box is billed for the CPU it uses, at $0.10, $0.20 or $0.40 per active CPU hour for Small, Medium and Large, plus $0.10 per GB-month of storage. RAM is free, and Pay as You Go has no monthly fee. A keep-alive box costs a flat $8, $16 or $32 a month whether it is busy or not. The egress price is not published.

Upstash Box: 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

For one agent that never stops, Vercel does not fit cleanly: each session ends at 24 hours and running processes start again. For 50 agents in parallel, Upstash does not fit because its docs do not mention Docker inside a box, and its egress price is not published. For 1,000 short jobs at once both fit (Vercel $3,152, Upstash $1,822 a month). boat does not: the $2,000 plan includes 600 starts an hour and 2,400 a day, extra starts are paid (about $8,800 a month), and starts above 270 a minute fail with 429.

ScenarioVercel SandboxUpstash Boxboat
One coding agent, workdaysNone for this scenario
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
One agent that never stops
  • Pro: sessions capped at 24 h
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
50 agents in parallelNone for this scenario
  • not confirmed: Docker inside
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
Sandboxes for your usersNone for this scenario
  • egress price not published
None for this scenario
1,000 short jobs at onceNone for this scenario
  • 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, need Docker or your own image, or need to run close to users around the world.

  • A real microVM with Docker. Each sandbox has its own kernel and can run Docker with sudo; Upstash does not document Docker inside its containers.
  • Regions all over the world. Useful if your users are spread out: Vercel Sandbox runs in 19 regions, while self-serve Upstash Box runs in us-east-1.
  • Images from your Dockerfile. Useful if you already have a Dockerfile: build it into an image and boot sandboxes straight into it.

Use Upstash Box when

your agents mostly wait, need to wake on an incoming request or stay on all month cheaply, and do not need Docker inside, in the US.

  • Idle costs no CPU, and a request wakes the box. Good for agents that wait a lot: RAM is not billed, idle costs no CPU, and a request wakes a paused box.
  • Boxes that stay on. A keep-alive box stays on all month for a flat $8, $16 or $32, as one session.
  • Agent APIs built in. Claude Code, Codex, OpenCode and Cursor come with run and stream APIs, webhooks and scheduled prompts.

Where boat fits

Look at boat when your agents need a whole machine for hours: Docker, emulators, a desktop and services that keep running. boat bills its full size while it runs, runs only in the EU and limits starts per plan.

A full VM with Docker and /dev/kvm

Upstash boxes are containers, and its docs do not mention Docker inside, so the 50-agent scenario does not fit there. Vercel runs Docker, but Firecracker has no nested virtualization, so Android emulators and VMs do not run on either.

One long session, disk saved every minute

On Vercel each session stops at 24 hours; the sandbox resumes, but processes start again. Upstash keeps a box on with a flat-price keep-alive box. On boat, turn auto-stop off on a paid plan (default 1 hour) for no session cap; boat saves the disk every minute.

A desktop the agent can see

Vercel Sandbox has no built-in desktop, and Upstash offers Chromium over CDP with a view-only live view. boat streams a 60 fps desktop with Chrome and computer tools, so an agent can open the app it built and check it.

Use boat when your agents work for hours on one machine: Docker, emulators, a desktop with a browser and services that keep running, 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 Upstash Box.

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 Upstash Box?

No, Upstash costs less in all five of our scenarios. One workday agent costs $21 a month on Upstash against $57 on Vercel, and sandboxes for your users cost $306 against $828. For 50 agents in parallel Upstash is $900 a month, but it does not fit because its docs do not mention Docker inside a box. boat costs $20 for the workday agent and $200 for the user sandboxes.

Which is faster, Vercel Sandbox or Upstash Box?

On CPU we cannot compare them: Vercel did 12.66 V8 Web Tooling Benchmark runs per second in StarSling's run of 3 October 2026, and Upstash is not in that benchmark. boat did 28.06 in the same run, on an AMD Ryzen 9 9950X host. For start time with 100 at once, ComputeSDK measured Vercel at 533 ms and Upstash at 2.34 s (6 November 2026).

Can Upstash Box run Docker?

Its docs do not mention it: each box is itself a Docker container, and custom images are listed as coming soon. Vercel Sandbox runs Docker inside its microVM with sudo, and boat runs Docker and systemd as on any Linux server.

Can Vercel Sandbox or Upstash Box run 24/7?

Upstash can: a keep-alive box stays on all month for a flat price. Vercel sessions last up to 24 hours on Pro, then the sandbox resumes from its snapshot, and an onResume hook can restart your processes. boat has no session cap once auto-stop is off (default 1 hour).

Do they have a desktop for computer use?

No desktop on either. Upstash offers managed Chromium with AI page actions, CDP and a view-only live view. On Vercel you install Chromium and agent-browser yourself or connect an external browser. boat streams a 60 fps Linux desktop with computer tools.

Where do they run?

Vercel Sandbox runs in 19 regions, with iad1 in the US as the default. Upstash Box runs in AWS us-east-1 on self-serve plans, with custom regions on Enterprise. boat runs on machines in Germany, Finland and France, and you cannot pick a region.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons