Deno Sandbox vs Upstash Box

Deno Sandbox gives code a small Firecracker microVM that Deno says starts in under 200 ms and lives up to 30 minutes; it is closed to new customers since November 2026. Upstash Box gives an agent a container that bills only busy CPU, pauses when idle, keeps its files and wakes on the next request.

The companies and products

Deno Sandbox

Deno Sandbox comes from the company behind the Deno runtime and runs untrusted or AI-generated code in Linux microVMs. Since November 2026 it is not part of Deno Deploy plans and is not available to new customers.

Each sandbox is a Firecracker microVM with 2 vCPU, 768 MB to 4 GB of memory and a 10 GB disk that is wiped when it ends, created from a TypeScript or Python SDK. A bootable volume (Chicago only) can be the root disk and keep its files. Deno Deploy can limit outbound traffic to a host allowlist and swap placeholder secrets for real ones. A sandbox can be promoted to a Deno Deploy app.

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. “2nd cheapest of 365” means 1 of the other 364 providers runs that workload, with every feature it needs, for less. “With limits” means the provider runs it but misses something, so it is listed after every full match. Open a use case for its whole ranking and what each provider misses.

Use case and its workloadDeno Sandbox: price rankUpstash Box: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A software factory runs builds for hours, which outlasts Deno's 30-minute lifetime, and needs Docker. Upstash does not document Docker inside a box, which is itself a container. boat runs Docker in every sandbox.
No published price98th 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 assistant that stays on all month fits an Upstash keep-alive box at a flat price. A Deno sandbox ends after 30 minutes. boat gives it a full VM with systemd and a desktop, billed per second while it runs.
No published price170th 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
Upstash fits short code runs: an idle box costs no CPU. Deno also suits short runs, but it is closed to new customers since November 2026.
No published price13th 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
Upstash allows 1,000 boxes at once and wakes a paused box on a request. Deno Sandbox is closed to new customers; existing organizations get 5 at once by default. boat plans run 100 to 2,000 at once, with start limits per plan.
No published price4th 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
No published price343rd 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
No published price67th 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
CI jobs that build containers or boot Android emulators need Docker and /dev/kvm, which neither Deno nor Upstash documents and boat has.
No published price122nd 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 dev box that stays on needs files that survive. An Upstash keep-alive box gives that at a flat price, with up to 30 GB of disk. Deno keeps files only on a volume in Chicago. boat keeps a 51 GB disk at the default size.
No published price8th 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 Deno nor Upstash has a desktop: Deno documents no browser, and Upstash has a managed Chromium with a view-only live view. boat streams a 1920x1080, 60 fps Linux desktop with computer-use tools.
No published price123rd 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
Upstash ships a managed Chromium with AI page actions and CDP. On Deno you install a browser yourself with apt-get, within 4 GB of memory. boat runs Chrome on a desktop the agent can see and click.
No published price48th 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
No published price41st 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
No published price201st 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
No published price255th 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
No published priceNot ranked: misses a requirementNot ranked: misses a requirement
macOS agents
5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month
No published priceNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureDeno SandboxUpstash Boxboat
IsolationFirecracker microVM with its own kernelDocker container per box on AWSFull VM with its own kernel, on hosts dedicated to boat (AMD Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared
Machine size2 vCPU (no CPU option documented), 768 MB to 4 GB memorySmall 2 vCPU / 4 GB, Medium 4 vCPU / 8 GB, Large 8 vCPU / 16 GB; custom on Enterprise2 to 16 vCPU and 4 to 32 GB; 16 vCPU needs the $100 plan or higher
Disk10 GB; default root disk wiped at the end; a bootable volume (300 MB to 20 GB, Chicago only) can be the root filesystem and keeps its files10, 20 or 30 GB by size, kept while paused, billed per GB-month51 GB at the default size, 51 to 251 GB by size, saved every minute and at each stop
Session lengthUp to 30 minutes; longer work can be promoted to a Deno Deploy appNo cap documented; pauses after it sits idle; keep-alive boxes stay on all monthAuto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap
Stop, idle and wakeNo pause; a new sandbox starts freshNo CPU charge while idle; pauses itself and wakes when a request reaches its URLFull rate while running, busy or idle; stopped by auto-stop or API; no compute charge while stopped, disk kept at least 14 days
Snapshots and forkOn-demand read-only volume snapshots that many new sandboxes can boot from (Chicago only)Snapshot a running box and start many new boxes from itAutomatic disk snapshots; fork a running sandbox from its last 1-minute snapshot
Docker and nested virtualizationDocker and nested virtualization not documentedNot documented; the box is itself a Docker container, and custom images are listed as coming soonDocker with BuildKit and Compose, systemd and /dev/kvm for Android emulators and VMs
Desktop and browserNo desktop documented; a VS Code editor in the browser and SSHManaged Chromium with AI page actions, CDP, screenshots, recordings and a view-only live view; no desktop or VNCLinux desktop and Chrome streamed at 1920x1080, 60 fps, with computer-use tools
Coding agentsA root image with Claude Code, run through the shell command APIClaude Code, Codex, OpenCode and Cursor built in, with run and stream APIs, webhooks and scheduled promptsSeven agents installed, with a prompt, steer and events API
Inbound accessHTTPS URL per exposed port, public without authentication; SSHHTTPS URL per port, public unless you add a token or basic auth; SSH through a gatewayHTTPS URLs on up to 50 ports, token-gated by default; SSH; raw ports over public IPv6
Outbound rulesHost allowlist per sandbox (allowNet), enforced by Deno Deploy outside your codeAllow all, deny all, or allow and deny by domain and CIDR, changeable on a running boxOpen internet, no provider-side allowlist
Keeping API keys out of the sandboxAny secret swapped in on outbound HTTPS requests to approved hosts; the sandbox sees a placeholderHost proxy injects headers into outbound HTTPS on port 443 for any host; set when the box is createdOptional paid proxy ($1 a day while on, plus $1 per 1,000 requests) for supported model providers; other secrets enter the sandbox
Availability and scaleNot available to new customers since November 2026; existing organizations get 5 at once by default10 boxes on Free, 1,000 on Pay as You Go, raised on request; no start limit published100 to 2,000 at once by plan; the $2,000 plan includes 90 starts a minute, and starts above 270 a minute fail
RegionsAmsterdam and ChicagoAWS us-east-1; custom regions on EnterpriseGermany, Finland and France; no US or Asia region
Every feature Battleships tracks (43)
FeatureDeno SandboxUpstash Boxboat
Full VM (own kernel)YesNo documented wayYes
Docker insideNot publishedNot publishedYes
Nested virtualizationNo documented wayNo documented wayYes
RootYesNot publishedYes
SystemdNot publishedNot publishedYes
Desktop GUINo documented wayNo documented wayYes
BrowserNo documented wayYesYes
Computer-use APINo documented wayNo documented wayYes
SSHYesYesYes
Persistent diskYesYesYes
Pause/resumeNo documented wayYesYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneNo documented wayYesYes
Live fork (no pause)No documented wayYesYes
Memory forkNo documented wayNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsNo documented wayYesYes
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 serverNo documented wayYesNo 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
SSONo documented wayNo documented wayNo documented way
SOC 2Not publishedYesNo documented way
HIPAANot publishedNo documented wayNo documented way
EU data residencyYesNo documented wayNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

Deno SandboxNot measured
Upstash BoxNot measured
boat28.06 runs/s

Neither Deno Sandbox nor Upstash Box is in StarSling's CPU benchmark, so we cannot say which computes faster. ComputeSDK measured Upstash Box at its default size: a median of 2.34 s to the first command with 100 at once (2026-11-06), and 445 ms one at a time (2026-08-07). Deno states starts under 200 ms; that is its own figure. boat is not in ComputeSDK. In StarSling's run of 3 October 2026 (run 37073680030), boat did 28.06 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, second of 15. 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.

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 and Upstash Box are not in the public benchmarks we use, so we cannot say which is faster.

Pricing in five scenarios

Each bill is priced from the providers' public price lists by the open Battleships engine, with the cheapest plan that runs the scenario. Start limits, per-start fees and plan minimums are in the price, boat's included.

ScenarioDeno Sandbox, a 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
No published price$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
No published price$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
No published price$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
No published price$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
No published price$1,822 · Pay as You Go$8,800 · $2000/mo · with limits

Deno Sandbox: Deno Sandbox is no longer included in Deno Deploy plans and is not available to new customers (November 2026). Deno publishes no current sandbox rates, so it has no price in our scenarios. The launch post listed $0.05 per hour of CPU time, $0.016 per GB-hour of memory and $0.20 per GiB-month of volume storage.

Upstash Box: No monthly fee on Pay as You Go. A standard box bills $0.10, $0.20 or $0.40 per active CPU hour for Small, Medium and Large, plus $0.10 per GB-month of storage, snapshots included; RAM is free. A keep-alive box costs a flat $8, $16 or $32 a month, busy or not. Egress prices are not published.

Upstash Box: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A default sandbox (4 vCPU / 8 GB) costs $0.036 an hour, billed per second while it runs, busy or idle. A stopped sandbox has no compute charge and keeps its disk for at least 14 days; saved snapshots above the included count and the AI proxy, if on, still charge. The $20 plan includes 200 starts a day; extra starts cost $0.03 to $0.07.

Limits in those scenarios

Deno Sandbox is closed to new customers, so it has no price in our scenarios; existing organizations get 5 sandboxes at once by default, each living up to 30 minutes on 2 vCPU and up to 4 GB. Upstash fits four of the five scenarios: $21 a month for a workday agent, $21 always-on, $306 for user sandboxes and $1,822 for 1,000 short jobs at once. It does not fit 50 agents with Docker inside, and its egress price is not published. boat costs $20, $26, $200 and $317 (50 agents). The $2,000 plan includes 90 starts a minute, extra starts cost $0.03 to $0.07, and starts above 270 a minute fail with 429, so boat does not fit 1,000 jobs at once.

ScenarioDeno SandboxUpstash Boxboat
One coding agent, workdays
  • discontinued / closed to new customers
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
One agent that never stops
  • discontinued / closed to new customers
  • flat pool: the tier is billed whether used or not
  • egress price not published
None for this scenario
50 agents in parallel
  • discontinued / closed to new customers
  • 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 users
  • discontinued / closed to new customers
  • egress price not published
None for this scenario
1,000 short jobs at once
  • discontinued / closed to new customers
  • 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 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 inside their own microVM and reach only hosts you allow. New customers cannot sign up since November 2026.

  • Fast starts for short code. Good for one sandbox per request: Deno says a sandbox starts in under 200 ms. Only existing organizations can use it since November 2026.
  • A VM boundary with a strict allowlist. For untrusted code that needs its own kernel: each Firecracker microVM can be limited to a list of hosts, enforced outside your code.
  • Two regions and a path to Deno Deploy. Fits existing Deno Deploy teams: sandboxes run in Amsterdam or Chicago and can be promoted to a Deploy app.

Use Upstash Box when

your agents mostly wait, need their files kept between runs, should wake on an incoming request, start in big bursts, or run in the US.

  • Idle costs no CPU, and a request wakes the box. Good for agents that wait a lot: a box bills only busy CPU, pauses when idle, keeps its files and wakes when a request arrives.
  • Many boxes at once. Fits fleets and bursts: 1,000 boxes can run at once by default, with no published start limit.
  • Agents built in. For teams that want an agent API: Claude Code, Codex, OpenCode and Cursor come with run, stream, webhook and scheduled prompt APIs.

Where boat fits

Deno Sandbox is built for short, locked-down runs, and Upstash Box for light agents that sleep between requests. If your agents run builds, Docker, emulators or a desktop app for hours at a time, look at boat: a full VM whose disk is saved every minute.

A whole Linux machine

Neither Deno nor Upstash documents Docker inside or nested virtualization. boat runs Docker, systemd and /dev/kvm in every sandbox.

Room for long, big work

A Deno sandbox ends after 30 minutes on a 10 GB disk, and only a volume in Chicago keeps files. Upstash keeps files, and disks stop at 30 GB. boat saves a disk of 51 to 251 GB every minute, with no cap once auto-stop is off.

A screen the agent can see

Deno documents no browser, and Upstash has a managed Chromium with a view-only live view and no desktop. boat streams a Linux desktop at 60 fps with Chrome and computer-use tools.

Use boat when your agents do real work for hours: Docker, emulators, a desktop and a disk above 30 GB, on a full VM whose disk is saved every minute. Compare it one to one: boat vs Deno 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 Deno Sandbox cheaper than Upstash Box?

We cannot compare today. Deno Sandbox is closed to new customers since November 2026 and publishes no current rates. In our scenarios Upstash costs $21 a month for one agent that never stops, and boat $26. A nearly idle box can cost less on Upstash, which bills only busy CPU.

Which is faster, Deno Sandbox or Upstash Box?

Neither is in StarSling's CPU benchmark, so we cannot compare CPU speed. ComputeSDK measured a 445 ms median start for Upstash one at a time (2026-08-07); Deno states starts under 200 ms, its own figure.

Can Deno Sandbox or Upstash Box run Docker?

Deno's docs do not mention Docker inside a sandbox. An Upstash box is itself a Docker container, its docs do not mention Docker inside, and custom images are listed as coming soon. boat runs Docker, systemd and /dev/kvm.

How long can each one run?

A Deno sandbox lives up to 30 minutes; a volume in Chicago keeps files after it ends. An Upstash box has no documented cap: it pauses when idle and resumes with its files, and a keep-alive box stays on all month. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).

Where do they run?

Deno Sandbox runs in Amsterdam and Chicago, with volumes only in Chicago. Upstash Box runs in AWS us-east-1, with custom regions on Enterprise. boat runs in Germany, Finland and France; you cannot pick a region, and snapshot copies can be stored outside the EU.

Is boat SOC 2 compliant?

No SOC 2 report today; SOC 2 is in progress. No HIPAA BAA is documented. Live status is at status.ascii.dev and our data retention policy is at docs.boat.dev/data-retention.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons