boat vs Railway
Railway is a platform for deploying apps and databases. Its Sandboxes are Linux VMs that Railway destroys after an idle timeout, unless you save a checkpoint first. Its Cloud Agents keep their disk, but they are in Priority Boarding. boat gives each agent a full VM that stops instead of being destroyed. boat saves the disk every minute and at each stop, and includes a desktop and coding agents you drive by API. boat runs only in Germany, Finland and France, and limits starts by plan.
Where boat stands out
A disk that stays
A boat sandbox stops instead of being destroyed. boat saves its disk every minute and at each stop, and keeps it for at least 14 days, or longer in a saved snapshot. A stopped sandbox has no compute charge. A Railway sandbox is destroyed when its idle timeout runs out, and only the checkpoints you took survive. Railway's Cloud Agents keep their disk, but they are in Priority Boarding and fixed in size.
Coding agents you drive from outside
Both put Claude Code, Codex and OpenCode in the image. boat adds a prompt, steer and events API, so your app can start an agent, correct it mid-task and stream what it does. boat's optional credentials proxy ($1 per day on, plus $1 per 1,000 requests) keeps the real keys of supported model providers outside the sandbox.
A desktop, Docker and KVM, documented
Every boat sandbox has a desktop and Chrome stream at 60 fps with computer-use tools, plus root, systemd, Docker and /dev/kvm. Railway includes no desktop, and its docs do not mention Docker or nested virtualization. You can install a desktop there yourself, for example Xvfb and noVNC on a sandbox domain.
The companies and products
boat
boat.dev runs sandboxes for AI agents: each one is a full Linux VM with its own kernel.
You start a machine with one command or one API call, then SSH in, run Docker, open a desktop, or let a built-in agent (Claude Code, Codex, OpenCode and others) work in it. The disk stays between sessions, and a stopped sandbox costs nothing.
- Isolation
- Full VM per sandbox, own kernel
- Regions
- EU: Germany, Finland, France
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.
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. “5th cheapest of 365” means 4 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 | boat: price rank | Railway: price rank |
|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month A software factory needs machines that keep their work between sessions. Railway Sandboxes are destroyed at the idle timeout, so you keep work with checkpoints you take, or use a Cloud Agent, which keeps its disk. Docker is not documented there: you install and verify it yourself. | 5th cheapest of 365 $634 a month | 28th cheapest of 365 $1,481 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Both fit. On Railway an always-on agent needs the idle timeout set to 0, or a Cloud Agent, and memory bills the whole time. On boat you turn auto-stop off (the default is 1 hour), and a running sandbox bills at full rate, busy or idle. | 6th cheapest of 361 $657 a month | 21st cheapest of 361 $3,977 a month |
| Code interpreter bursts 100 at once · 1 vCPU / 2 GB · 200,000 sessions of 1 min a month Railway fits short code runs better: a sandbox bills for CPU used, ends when the job ends, and Railway publishes no limit on starts per minute. boat's $20 plan includes 12 starts per minute and 200 per day. | 189th of 336, with limits $2,000 a month | 42nd cheapest of 336 $413 a month |
| Sandboxes for your users 300 at once · 2 vCPU / 4 GB · 30,000 sessions of 23 min a month Railway allows 100 sandboxes per environment on Pro, so 300 sandboxes for your users mean several environments or an Enterprise limit. boat allows 300 at once from the $100 plan, with start limits per plan. | 3rd cheapest of 349 $209 a month | 46th of 349, with limits $290 a month |
| RL rollouts 1,000 at once · 2 vCPU / 4 GB · 1,000,000 sessions of 3 min a month | 39th of 349, with limits $2,000 a month | 84th of 349, with limits $4,450 a month |
| Agent evals 250 at once · 4 vCPU / 8 GB · 15,000 sessions of 20 min a month Both fork a running sandbox and boot many from one saved disk. Railway caps how many run at once per environment. boat caps them per plan and limits starts per minute, hour and day. | 10th cheapest of 359 $200 a month | 113th of 359, with limits $364 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. boat documents Docker on every machine. Railway's sandbox docs do not mention Docker: you install and verify it yourself (we have not tested this). | 2nd cheapest of 374 $86 a month | 116th cheapest of 374 $1,210 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Railway's Cloud Agents keep their disk and sleep or wake. They are in Priority Boarding (breaking changes may occur) and fixed at 4 vCPU / 4 GB on Pro. A boat dev machine can be any size up to your plan's maximum. | 19th cheapest of 371 $26 a month | 69th cheapest of 371 $89 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month Railway includes no desktop. You set it up: add Xvfb and noVNC with the template builder and publish the port on a sandbox domain. boat includes a desktop and Chrome stream with computer-use tools. | 7th cheapest of 367 $200 a month | 47th cheapest of 367 $407 a month |
| Browser-use agents 50 at once · 2 vCPU / 4 GB · 30,000 sessions of 10 min a month | 7th cheapest of 356 $200 a month | 53rd of 356, with limits $93 a month |
| Scraping & bots (startup scale) 50 at once · 1 vCPU / 2 GB · 100,000 sessions of 3 min a month | 6th cheapest of 343 $90 a month | 65th cheapest of 343 $570 a month |
| Mass scraping & bots (undetectable) 1,000 at once · 1 vCPU / 2 GB · 3,000,000 sessions of 2 min a month | 73rd of 327, with limits $1,800 a month | 111th of 327, with limits $2,988 a month |
| Parallel red teaming 200 at once · 2 vCPU / 4 GB · 5,000 sessions of 30 min a month | 3rd cheapest of 351 $200 a month | 71st of 351, with limits $574 a month |
| GPU eval jobs 10 at once · 8 vCPU / 32 GB · 500 sessions of 30 min a month | Not ranked: misses a requirement | 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 |
Key features
| Feature | boat | Railway |
|---|---|---|
| Isolation | Every sandbox is a full VM with its own kernel | Sandboxes and Cloud Agents are isolated Linux VMs; app services are containers |
| When the sandbox goes idle | Auto-stop after 1 hour by default (up to 30 days, or off on paid plans). The disk is saved every minute and at stop, and kept at least 14 days. No compute charge while stopped. | Sandboxes are destroyed after the idle timeout (30 minutes by default, or 0 for never); files survive in checkpoints you take, which boot new sandboxes. Cloud Agents sleep and keep their disk. |
| Docker and nested virtualization | Docker, root, systemd and /dev/kvm documented on every machine | Root shell on an Ubuntu VM. Docker and /dev/kvm are not documented: you install and verify them yourself (we have not tested this). |
| Fork and checkpoints | Fork a running sandbox from its last 1-minute snapshot; saved snapshots start new ones (disk only, no memory) | Fork a running sandbox's filesystem; named disk checkpoints boot new ones (disk only, no memory) |
| Base images | Saved snapshots (templates), shareable by code; no custom Docker or OCI image | Templates built from ordered steps (apt packages, env, commands) and cached; no custom Docker or OCI image for sandboxes |
| Reaching the sandbox | Up to 50 public HTTPS URLs, token-gated by default; SSH; public IPv6 for raw ports. No dedicated IPv4, and the IP changes at each resume. | Up to 10 public HTTPS domains, set only at creation, with no built-in auth; SSH and port forwarding |
| Coding agents | Seven harnesses installed, including Claude Code, Codex, OpenCode and pi, with a prompt, steer and events API | Sandboxes include Claude Code, Codex, OpenCode and Pi, run through exec. Cloud Agents launch them with railway code, keep terminal sessions you reattach to, and connect to Claude Desktop or Codex Desktop. |
| Keeping keys out of the sandbox | Optional AI credentials proxy ($1 per day on, plus $1 per 1,000 requests): real keys of supported model providers stay outside. Other environment variables and the GitHub token still enter. | Secrets enter the sandbox as environment variables, or you sign in and save it in a checkpoint |
| Desktop and computer use | Built-in desktop and Chrome stream at 1920x1080, 60 fps, with computer-use tools | No desktop included. You set it up: add Xvfb and noVNC with the template builder and publish the port on a sandbox domain. Chromium is in the Cloud Agent image. |
| Long-lived dev machine | Any size can run for weeks with auto-stop off, then stop and resume with its disk. A resume is like a reboot. | Cloud Agents keep a disk and sleep or wake; in Priority Boarding (breaking changes may occur), fixed at 4 vCPU / 4 GB on Pro, 25 created per user per day |
| Apps and databases next to the sandbox | No hosted databases or app services; host your own inside a sandbox | Deploy Postgres, Redis and services in the same project; a sandbox can join their private network |
| Biggest sandbox | 8 vCPU / 16 GB / 111 GB disk on the $20 plan; 16 vCPU / 32 GB / 251 GB disk from the $100 plan | 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); disk size not published |
| Sandboxes at once | 100 on the $20 plan up to 2,000 on the $2,000 plan; starts limited per minute, hour and day (12 / 60 / 200 on $20) | Per environment: 10 on Free, 50 on Hobby, 100 on Pro; Enterprise can ask for more. No published start limit. |
| Regions | Germany, Finland and France; you cannot pick a region; no US or Asia region | US West, US East, Amsterdam and Singapore; new sandboxes start in US West unless you pick a region |
| Compliance and transparency | SOC 2 is in progress. We're open about where we stand: live status and data retention policy. | SOC 2 |
Every feature Battleships tracks (43)
| Feature | boat | Railway |
|---|---|---|
| Full VM (own kernel) | Yes | Yes |
| Docker inside | Yes | Not published |
| Nested virtualization | Yes | Not published |
| Root | Yes | Yes |
| Systemd | Yes | Not published |
| Desktop GUI | Yes | With your own setup |
| Browser | Yes | Yes |
| Computer-use API | Yes | No documented way |
| SSH | Yes | Yes |
| Persistent disk | Yes | Yes |
| Pause/resume | Yes | Yes |
| Automatic snapshots | Yes | No documented way |
| Fork/clone | Yes | Yes |
| Live fork (no pause) | Yes | Yes |
| Memory fork | No documented way | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes |
| ≥24 h sessions | Yes | Yes |
| Idle auto-stop | No documented way | Yes |
| Wake on request | No documented way | No documented way |
| HTTPS preview URLs | Yes | Yes |
| Raw TCP inbound | Yes | No documented way |
| Public IPv4 | No documented way | No documented way |
| Egress allowlist | No documented way | No documented way |
| Secret proxy | Yes | No documented way |
| Secret proxy for any API | Yes | No documented way |
| Preinstalled agents | Yes | Yes |
| Agent harness API | Yes | Yes |
| MCP server | No documented way | Yes |
| GPU | No documented way | No documented way |
| Windows | No documented way | No documented way |
| Arm64 | No documented way | No documented way |
| Self-hosting | No documented way | No documented way |
| BYOC | No documented way | Yes |
| Open source | No documented way | No documented way |
| Scoped API keys | Yes | Not published |
| Spend limits | Yes | Yes |
| Usage per sandbox (API) | Yes | No documented way |
| Audit logs | No documented way | Yes |
| SSO | No documented way | Yes |
| SOC 2 | No documented way | Yes |
| HIPAA | No documented way | Yes |
| EU data residency | No documented way | Yes |
| Zero data retention | Yes | Not published |
Performance
Railway is not in the public benchmarks we use, so we cannot say which is faster. 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 sandboxes on Ryzen 7 9700X hosts, and it does not promise a CPU model.
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 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 | boat, a month | Railway, 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 | $20 · $20/mo | $16 · Hobby · with limits |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $26 · $20/mo | $70 · Hobby · with limits |
| 50 agents in parallel 50 machines of 4 vCPU / 8 GB at once, 8-hour sessions, 1,100 sessions a month, Docker inside | $317 · $20/mo × 3 seats | $739 · Hobby · with limits |
| Sandboxes for your users 2 vCPU / 4 GB, 30,000 sessions of 10 minutes a month, up to 300 at once | $200 · $100/mo × 2 seats | $223 · Pro · with limits |
| 1,000 short jobs at once 2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month | $8,800 · $2000/mo · with limits | $781 · Pro · with limits |
boat: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. Included time expires at the end of the billing period. 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 allows 100 sandboxes at once and 12 starts per minute, 60 per hour, 200 per day; higher plans raise these. Extra starts cost $0.03 to $0.07 each. A card is required, also for the 7-day trial.
Railway: Railway bills sandboxes and Cloud Agents per second at about $50 per vCPU-month on CPU actually used and $50 per GB-month on memory in use, including the operating system and file cache, plus $0.05 per GB out. Memory keeps billing while a sandbox waits, until it is destroyed. A nearly idle sandbox can cost less there than on boat. Plans: Free ($0 with $1 of usage a month), Hobby ($5) and Pro ($20 per workspace); the Hobby and Pro fees count toward usage. Railway does not publish a price for sandbox disk or checkpoints, so our bills leave disk out.
Limits in those scenarios
We mark every Railway scenario as not a clean fit because Railway publishes no sandbox disk price and its main product is an app platform, so its bills here count CPU and memory only. Its cap is per environment: 50 sandboxes on Hobby and 100 on Pro, so 300 sandboxes for your users or 1,000 jobs at once need several environments or an Enterprise limit. An always-on agent also needs the idle timeout set to 0, or Railway destroys it after 30 minutes without activity. boat has its own limits. The 1,000-job burst needs about 6,667 starts a day and 1,000 an hour, above the 2,400 and 600 that the $2,000 plan includes, so the extra starts are paid. A stopped boat sandbox keeps its disk for at least 14 days; keep it longer with a saved snapshot. If a boat machine fails, you lose what was written after the last good snapshot.
| Scenario | boat | Railway |
|---|---|---|
| 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 |
|
|
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
Which one should you use?
Use Railway when
your app and databases already live on Railway and you want sandboxes on the same private network, you need US or Asia regions, you run many short jobs that bill for CPU used, or you spend less than about $20 a month.
- Your apps and databases in one place. Useful if your app already runs on Railway: sandboxes can join the same private network as your Postgres and services.
- Regions in the US and Asia. Useful if your users or data are in the US or Asia: Railway runs in California, Virginia, Amsterdam and Singapore.
- Short jobs that bill for CPU used. Useful for many quick code runs: a Railway sandbox bills for CPU used and ends when the job ends.
- A $0 plan and small bills. Useful below about $20 of use a month: Railway has a Free plan and a $5 Hobby plan.
Use boat when
your agents work for hours or days: a full VM that stops and keeps its disk, with Docker, /dev/kvm and a desktop documented on every machine, and coding agents you drive by API. boat runs only in Germany, Finland and France, and limits starts by plan.
- A disk that stays. An agent that waits on a slow review past Railway's 30 minute default loses its installs and half-done work unless it took a checkpoint. Turning the timeout off keeps it, but memory then bills until you destroy it. On boat, memory and running programs are not saved either: a resume is like a reboot.
- Coding agents you drive from outside. On Railway Sandboxes you run each agent through exec and parse its output yourself, and its API key sits inside the VM as an environment variable, where code the agent runs can read it. On boat without the proxy, the key also sits inside the sandbox.
- A desktop, Docker and KVM, documented. An agent that tests a web app in a real browser, runs docker compose or boots an Android emulator needs those pieces. On Railway you install and verify them yourself. boat has no GPU, so graphics run on the CPU.
Questions people ask
Is boat cheaper than Railway?
It depends on the job. One agent running all month comes to $26 on boat and $70 on Railway. 50 agents in parallel come to $317 against $739, and sandboxes for your users come to $200 against $223. Railway is lower for one agent on workdays ($16 against $20) and for 1,000 short jobs at once ($781 against $8,800, because boat charges for starts above its plan's limits). Railway's numbers leave out disk, which it does not price.
Are Railway sandboxes VMs or containers?
Railway's docs call each sandbox a fully isolated virtual machine on an Ubuntu base. Its regular app services are non-privileged containers. On boat, every sandbox is a full VM too.
What happens to a Railway sandbox when it goes idle?
Railway destroys it once the idle timeout runs out: 30 minutes by default on Hobby and Pro (1 to 120 minutes, or 0 for never), and 5 minutes at most on Trial and Free. To keep files, you take a checkpoint first and boot a new sandbox from it. A Cloud Agent sleeps instead and keeps its disk. A boat sandbox auto-stops after 1 hour by default, keeps its disk for at least 14 days, and has no compute charge while stopped.
Do Railway sandboxes have coding agents?
Yes. The default image includes Claude Code, Codex, OpenCode and Pi, and you run them through exec. Railway's Cloud Agents, in Priority Boarding, launch Claude Code, Codex, Grok CLI, Railway Agent or OpenCode with railway code, keep terminal sessions you reattach to, and connect to Claude Desktop or Codex Desktop. boat installs seven coding agents and lets you prompt, steer and watch them through an API.
Where does my data run?
boat sandboxes run on machines in Germany, Finland and France, and you cannot pick a region. boat can store snapshot copies outside the EU. Railway has regions in California, Virginia, Amsterdam and Singapore, and new sandboxes start in US West unless you choose a region in the SDK or API.
Is boat SOC 2 compliant?
SOC 2 is in progress, so boat has no SOC 2 report today. Live status is at status.ascii.dev and the data retention policy is at docs.boat.dev/data-retention. Railway's docs say it is SOC 2 Type II and SOC 3 certified.
Start a sandbox
Install the CLI, then run boat new.
7-day free trial
More comparisons
- boat vs E2B
- boat vs Daytona
- boat vs Modal
- boat vs Vercel Sandbox
- boat vs Blaxel
- boat vs Runloop
- boat vs Tensorlake
- boat vs Cloudflare Sandbox
- boat vs exe.dev
- boat vs Agent 37
- boat vs Instabox
- boat vs Oracle Cloud
- E2B vs Railway
- Daytona vs Railway
- Modal vs Railway
- Vercel Sandbox vs Railway
- Cloudflare Sandbox vs Railway
- Blaxel vs Railway
- Runloop vs Railway
- Tensorlake vs Railway