Railway vs Deno Sandbox
Railway is an app platform whose sandboxes are Linux VMs up to 32 vCPU that live until their idle timeout. Deno Sandbox runs small Firecracker microVMs that Deno says start in under 200 ms, live up to 30 minutes and can be limited to a list of hosts. Deno Sandbox is closed to new customers since November 2026.
The companies and products
Railway
Railway is a cloud platform for deploying web apps, servers and databases. It also sells Sandboxes and Cloud Agents.
Railway's main product is app hosting: you deploy services and databases as containers on its own hardware. In 2026 it added Sandboxes: isolated Linux VMs that you create from the CLI or a TypeScript SDK, run commands in and destroy. It also added Cloud Agents: a personal VM for a coding agent that keeps its disk and sleeps or wakes. Cloud Agents are in Priority Boarding, and breaking changes may occur. Railway suits teams that already host on Railway and want sandboxes next to their apps.
Deno Sandbox
Deno Sandbox comes from the company behind the Deno runtime and runs untrusted or AI-generated code in Linux microVMs. Since November 2026 it is not part of Deno Deploy plans and is not available to new customers.
Each sandbox is a Firecracker microVM with 2 vCPU, 768 MB to 4 GB of memory and a 10 GB disk that is wiped when it ends, created from a TypeScript or Python SDK. A bootable volume (Chicago only) can be the root disk and keep its files. Deno Deploy can limit outbound traffic to a host allowlist and swap placeholder secrets for real ones. A sandbox can be promoted to a Deno Deploy app.
- Isolation
- Firecracker microVM per sandbox
- Lifetime
- Up to 30 minutes
Which use cases each one fits
For each use case, Battleships prices every sandbox provider on the same workload and sorts them from the cheapest monthly bill up. “28th cheapest of 365” means 27 of the other 364 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 | Railway: price rank | Deno Sandbox: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory runs builds for hours, past Deno's 30-minute lifetime. Railway ranks 13th with your own setup: it can run that long, and you keep work in checkpoints. boat saves the disk every minute and ranks 8th. | 28th cheapest of 365 $1,481 a month | No published price | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB An always-on assistant fits Railway (30th) with the idle timeout set to 0 or a Cloud Agent. A Deno sandbox ends after 30 minutes; a bootable volume in Chicago can keep its files for the next one. | 21st cheapest of 361 $3,977 a month | No published price | 6th cheapest of 361 $657 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Short code runs are where Deno fits: Deno says a sandbox starts in under 200 ms, and CPU bills only while code runs. Railway (43rd) also bills CPU used. Deno is closed to new customers. | 42nd cheapest of 336 $413 a month | No published price | 189th of 336, with limits $2,000 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Deno Sandbox is closed to new customers; existing organizations get 5 at once by default. Railway Pro allows 100 per environment, so 300 user sandboxes need several environments. boat ranks 3rd. | 46th of 349, with limits $290 a month | No published price | 3rd cheapest of 349 $209 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month | 84th of 349, with limits $4,450 a month | No published price | 39th of 349, with limits $2,000 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month | 113th of 359, with limits $364 a month | No published price | 10th cheapest of 359 $200 a month |
| CI runners 40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month CI jobs that build containers need Docker. Neither Railway nor Deno documents it, so you install and verify it yourself. boat documents Docker and /dev/kvm on every machine and ranks 2nd. | 116th cheapest of 374 $1,210 a month | No published price | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB A dev box that stays on all month rules out Deno's 30-minute lifetime. Railway (71st) has SSH, and its Cloud Agents keep a disk but are in Priority Boarding and fixed at 4 vCPU / 4 GB on Pro. | 69th cheapest of 371 $89 a month | No published price | 19th cheapest of 371 $26 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month Neither includes a desktop. On Railway (15th) you add Xvfb and noVNC; on Deno you set one up with apt-get within 2 vCPU and 4 GB. boat includes a 60 fps desktop and ranks 10th. | 47th cheapest of 367 $407 a month | No published price | 7th cheapest of 367 $200 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month | 53rd of 356, with limits $93 a month | No published price | 7th cheapest of 356 $200 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 65th cheapest of 343 $570 a month | No published price | 6th cheapest of 343 $90 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 111th of 327, with limits $2,988 a month | No published price | 73rd of 327, with limits $1,800 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month Parallel red teaming needs many machines at once. Deno allows 5 at once by default for existing organizations, and Railway 100 per environment on Pro. boat allows 100 to 2,000 by plan, with start limits. | 71st of 351, with limits $574 a month | No published price | 3rd cheapest of 351 $200 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month | Not ranked: misses a requirement | No published price | Not ranked: misses a requirement |
| macOS agents 5 at once · 4 vCPU / 8 GB · 1,000 sessions of 20 min a month | Not ranked: misses a requirement | No published price | Not ranked: misses a requirement |
Key features
| Feature | Railway | Deno Sandbox | boat |
|---|---|---|---|
| Isolation | Sandboxes are isolated Linux VMs; app services are containers | Firecracker microVM with its own kernel | Full VM with its own kernel on a physical host dedicated to boat (Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared |
| Machine size | 8 vCPU / 8 GB on Hobby; on Pro up to 32 vCPU / 32 GB per the docs (24 vCPU / 24 GB per the pricing page) | 2 vCPU (no CPU option documented), 768 MB to 4 GB memory, 10 GB disk | 2 to 16 vCPU and 4 to 32 GB; 8 vCPU / 16 GB on the $20 plan, 16 vCPU / 32 GB from the $100 plan |
| How long a sandbox lives | Until destroyed or its idle timeout fires (30 minutes by default, or never if set to 0) | Up to 30 minutes; longer work can be promoted to a Deno Deploy app | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| Files after the sandbox ends | Disk checkpoints you take boot new sandboxes; Cloud Agents keep their disk | Default root disk is cleared at the end; a bootable volume (300 MB to 20 GB, Chicago only) can be the root disk and keeps its files | Disk saved every minute and at each stop, kept at least 14 days; memory is not saved |
| Fork and snapshots | Fork a running sandbox's filesystem; named disk checkpoints boot new ones | Read-only volume snapshots that many new sandboxes can boot from (Chicago only) | Fork from the last 1-minute snapshot; automatic and saved disk snapshots |
| Docker and nested virtualization | Root shell on Ubuntu; Docker and /dev/kvm are not documented: you install and verify them yourself | Root access; Docker and nested virtualization not documented | Docker, root, systemd and /dev/kvm on every machine |
| Desktop and browser | No desktop included; you can add Xvfb and noVNC with the template builder and publish the port | No desktop documented; a VS Code editor in the browser and SSH; you can install a browser with apt-get | Built-in Linux desktop and Chrome stream at 1920x1080, 60 fps, with computer-use tools |
| Inbound access | Up to 10 public HTTPS domains, set at creation, with no built-in auth; SSH and port forwarding | HTTPS URL per exposed port, public without authentication; SSH | Up to 50 HTTPS URLs, token-gated by default; SSH; public IPv6 for raw ports |
| Outbound rules | Open internet; no host allowlist for sandboxes | Host allowlist per sandbox, enforced outside your code | Open internet, no provider-side allowlist |
| Keeping API keys out of the sandbox | Secrets go in as environment variables or a signed-in checkpoint | Any secret swapped in on outbound HTTPS requests to the hosts you approve; the sandbox sees a placeholder | Optional paid credentials proxy ($1 per day on, plus $1 per 1,000 requests) for supported model providers; other secrets still enter |
| Coding agents | Claude Code, Codex, OpenCode and Pi preinstalled, run through exec | A root image with Claude Code, run through the shell command API | Seven harnesses installed, with a prompt, steer and events API |
| Sandboxes at once | Per environment: 50 on Hobby, 100 on Pro; Enterprise can ask for more | 5 at once by default for existing organizations | 100 to 2,000 by plan; starts limited per minute, hour and day (12 / 60 / 200 on $20) |
| Start time | Not published | Under 200 ms, as stated by Deno | Boots a full VM; not in the public start-time benchmarks we use |
| Availability | Self-serve: Free, Hobby ($5) and Pro ($20) plans | Not available to new customers since November 2026 | Self-serve plans from $20 a month; 7-day trial with a card |
| Regions | California, Virginia, Amsterdam and Singapore | Amsterdam and Chicago; volumes and snapshots only in Chicago | Germany, Finland and France; no US or Asia region, and you cannot pick one |
Every feature Battleships tracks (43)
| Feature | Railway | Deno Sandbox | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | Not published | Yes |
| Nested virtualization | Not published | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | With your own setup | No documented way | Yes |
| Browser | Yes | No documented way | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | Yes | No documented way | Yes |
| Live fork (no pause) | Yes | No documented way | Yes |
| Memory fork | No documented way | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | No documented way | Yes |
| Idle auto-stop | Yes | No documented way | No documented way |
| Wake on request | No documented way | No documented way | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | No documented way | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | Yes | No documented way |
| Secret proxy | No documented way | Yes | Yes |
| Secret proxy for any API | No documented way | Yes | Yes |
| Preinstalled agents | Yes | Yes | Yes |
| Agent harness API | Yes | No documented way | Yes |
| MCP server | Yes | No documented way | No documented way |
| GPU | No documented way | No documented way | No documented way |
| Windows | No documented way | No documented way | No documented way |
| Arm64 | No documented way | No documented way | No documented way |
| Self-hosting | No documented way | No documented way | No documented way |
| BYOC | Yes | No documented way | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Yes | Yes | Yes |
| Usage per sandbox (API) | No documented way | No documented way | Yes |
| Audit logs | Yes | Not published | No documented way |
| SSO | Yes | No documented way | No documented way |
| SOC 2 | Yes | Not published | No documented way |
| HIPAA | Yes | Not published | No documented way |
| EU data residency | Yes | Yes | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Railway nor Deno Sandbox is in the public benchmarks we use, so we cannot say which is faster. Deno says a sandbox starts in under 200 ms, and Railway offers bigger machines. 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 that 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. Railway and Deno Sandbox 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.
| Scenario | Railway, a month | Deno Sandbox, a month | boat, a month |
|---|---|---|---|
| One coding agent, workdays 4 vCPU / 8 GB, 50 GB disk, 8 hours a day, 22 days a month, files kept between days | $16 · Hobby · with limits | No published price | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $70 · Hobby · with limits | No published price | $26 · $20/mo |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $739 · Hobby · with limits | No published price | $317 · $20/mo × 3 seats |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $223 · Pro · with limits | No published price | $200 · $100/mo × 2 seats |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $781 · Pro · with limits | No published price | $8,800 · $2000/mo · with limits |
Railway: Railway bills sandboxes per second at about $50 per vCPU-month on CPU actually used and $50 per GB-month on memory in use, plus $0.05 per GB out. Memory keeps billing while a sandbox waits, until it is destroyed. The Hobby ($5) and Pro ($20) fees count toward usage. Railway publishes no price for sandbox disk, so our bills leave it out.
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.
Deno Sandbox: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A running sandbox bills per second at full rate, busy or idle: $0.036 an hour for 4 vCPU / 8 GB. A stopped sandbox has no compute charge, but saved snapshots above the included count and the AI credentials proxy still charge. The $20 plan includes 12 starts per minute and 200 per day; extra starts cost $0.03 to $0.07 each.
Limits in those scenarios
Railway is marked as a different kind of product in every scenario: an app platform with no published sandbox disk price. It caps sandboxes at 100 per environment on Pro. Deno Sandbox is closed to new customers, so it has no price or rank in our scenarios. For existing organizations, a Deno sandbox lives up to 30 minutes on 2 vCPU with up to 4 GB, and 5 run at once by default. boat's $2,000 plan charges for starts above 90 a minute and refuses them above 270, so boat does not fit 1,000 short jobs at once.
| Scenario | Railway | Deno Sandbox | boat |
|---|---|---|---|
| One coding agent, workdays |
|
| None for this scenario |
| One agent that never stops |
|
| None for this scenario |
| 50 agents in parallel |
|
| None for this scenario |
| Sandboxes for your users |
|
| None for this scenario |
| 1,000 short jobs at once |
|
|
|
Which one should you use?
Use Railway when
your apps and databases already live on Railway, you need bigger sandboxes that can stay up for hours, or you want regions in the US and Asia.
- Bigger machines that can stay up. Useful for heavy builds: Railway Pro sandboxes go up to 32 vCPU / 32 GB per the docs, and can run with no idle timeout.
- Your apps and databases in one place. Useful if your app already runs on Railway: sandboxes can join the private network of your Postgres and services.
- Open to new customers. Railway Sandboxes are self-serve. Deno Sandbox is not available to new customers since November 2026.
Use Deno Sandbox when
Use Deno Sandbox if your organization already has it and you run short pieces of untrusted code that must start in milliseconds and reach only the hosts you allow. New customers cannot sign up.
- Locked-down outbound traffic. Useful for untrusted code: each sandbox can reach only the hosts you list, enforced outside your code.
- Starts in under 200 ms. Good for one sandbox per request: Deno says a sandbox starts in under 200 ms.
- Secrets the code never sees. Useful when agents call paid APIs: the sandbox holds a placeholder, and the real secret is added only for approved hosts.
Where boat fits
If you run agents that work for hours, look at boat. Railway destroys an idle sandbox unless you take a checkpoint, and Deno ends one after 30 minutes. A boat sandbox stops, saves its disk every minute and comes with Docker, a desktop and coding agents you drive by API. boat runs only in the EU and limits starts by plan.
A disk that stays
A Deno sandbox clears its default root disk after at most 30 minutes; only a volume in Chicago keeps files. A Railway sandbox is destroyed at its idle timeout unless you took a checkpoint. boat saves the disk every minute and at stop, and keeps it at least 14 days. Memory is not saved.
Docker, KVM and a desktop
Neither Railway nor Deno documents Docker or /dev/kvm, and neither includes a desktop; you install them yourself. boat documents root, systemd, Docker, /dev/kvm and a 60 fps desktop with Chrome on every machine.
Agents you drive from outside
Railway and Deno both make you run Claude Code through shell commands and parse its output. boat's prompt, steer and events API lets your app start an agent, correct it mid-task and stream what it does.
Use boat when your agents work for hours or days: a full VM that saves its disk every minute, with Docker, /dev/kvm, a desktop, and coding agents you drive by API. boat runs only in the EU. Compare it one to one: boat vs Railway and boat vs Deno Sandbox.
boat's own limits
- Plans start at $20 a month. The plan price comes back as VM time for that month. Unused time does not carry over. Source
- Starts (create, fork, resume): the $20 plan includes 12 a minute, 60 an hour and 200 a day. The $2,000 plan includes 90 a minute, 600 an hour and 2,400 a day. Extra starts cost $0.03 to $0.07. A start fails with 429 above 3 times the included starts per minute, or 6 times per hour or per day. Source
- A stopped sandbox has no compute charge. boat keeps its disk for at least 14 days. A saved snapshot keeps it longer; extra saved snapshots and the AI credentials proxy are paid. Source
- Auto-stop defaults to 1 hour. You can turn it off on a paid plan. The trial allows 2 hours at most. Source
- boat saves the disk every minute and at each stop. Memory, running programs and /tmp are not saved: a resume is like a reboot. A machine failure loses writes after the last good snapshot. Source
- Machines run in Germany, Finland and France only. Snapshot copies can be stored outside the EU. Source
- Public IPv6 and outbound IPv4. No dedicated IPv4. The IP changes at each resume. Source
- Hosts are AMD Ryzen 7 9700X and Ryzen 9 9950X. vCPUs are shared. No GPU. You cannot boot your own Docker image. Source
Questions people ask
Is Railway cheaper than Deno Sandbox?
We cannot compare today. Deno Sandbox is closed to new customers since November 2026 and publishes no current rates. In our scenarios Railway comes to $70 a month for one agent running all month and $739 for 50 agents in parallel, without disk. boat comes to $26 and $317 for the same two.
Which is faster, Railway or Deno Sandbox?
Neither is in the public benchmarks we use, so we cannot say. Deno says a sandbox starts in under 200 ms, and Railway offers bigger machines, up to 32 vCPU on Pro against Deno's 2 vCPU. In StarSling's run of 3 October 2026, boat did 28.06 runs/s at 4 vCPU / 8 GB on a Ryzen 9 9950X host.
Can Railway or Deno Sandbox run Docker?
Neither provider's sandbox docs say Docker works inside, and neither mentions nested virtualization, so you install and verify them yourself. boat documents Docker and systemd and exposes /dev/kvm for Android emulators and VMs.
How long can a sandbox run on each?
A Deno sandbox lives up to 30 minutes, and longer work can be promoted to a Deno Deploy app. A Railway sandbox runs until you destroy it or its idle timeout fires, 30 minutes by default, or never if you set it to 0. On boat, auto-stop defaults to 1 hour; turn it off on a paid plan for no cap.
Do they keep files when the sandbox ends?
Deno clears the default root disk, but a volume in Chicago keeps files, and a bootable volume can be the whole root disk. Railway keeps the checkpoints you take before it destroys a sandbox, and Cloud Agents keep their disk. boat saves the disk every minute and at each stop, and keeps it at least 14 days. If a boat machine fails, you lose what was written after the last good snapshot.
Where do Railway and Deno Sandbox run?
Railway has regions in California, Virginia, Amsterdam and Singapore. Deno Sandbox runs in Amsterdam and Chicago, with volumes only in Chicago. boat runs in Germany, Finland and France, and you cannot pick a region.
Try boat
Install the CLI, then run boat new.
7-day free trial