Railway vs Beam
Railway is an app platform whose sandboxes are Linux VMs that can join the private network of your apps and databases. Railway destroys a sandbox after an idle timeout, unless you take a checkpoint. Beam is a serverless GPU cloud. Its sandboxes are gVisor containers by default, and it also sells CPU VMs that keep their disk, pause with their memory and have a desktop.
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.
Beam
Beam is a serverless cloud for GPU inference, sandboxes, VMs and background jobs, built on its open-source runtime Beta9.
Beam runs functions, REST endpoints, task queues, pods, sandboxes and VMs on CPUs and GPUs, from a Python or TypeScript SDK. A sandbox is a container isolated with gVisor by default. It lives until you terminate it or its time to live runs out, and you can save it as a filesystem image or a memory snapshot. Beam VMs are a separate CPU product: a microVM with its own kernel, systemd, a root disk that stays when it stops, and a browser desktop. A VM can pause with its memory, fork and take disk snapshots. CPU work runs on Spot, Shared or Performance tiers at different prices.
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 | Beam: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month | 28th cheapest of 365 $1,481 a month | 7th cheapest of 365 $1,200 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Beam ranks 15th with a VM that keeps its disk and can pause with its memory. Railway ranks 30th: set the idle timeout to 0, or use a Cloud Agent. boat ranks 6th once auto-stop is off. | 21st cheapest of 361 $3,977 a month | 12th cheapest of 361 $1,495 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 Beam ranks 21st: its sandboxes bill per millisecond and end when their time to live runs out. Railway ranks 43rd and bills CPU used. boat counts each run as a start and ranks 189th. | 42nd cheapest of 336 $413 a month | 21st cheapest of 336 $161 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 Beam ranks 14th and boat 3rd. Railway caps sandboxes per environment, 100 on Pro, so 300 user sandboxes at once need several environments. | 46th of 349, with limits $290 a month | 14th cheapest of 349 $567 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 | 84th of 349, with limits $4,450 a month | 332nd of 349, with limits $984 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 Beam ranks 17th and boat 12th. Railway can fork running sandboxes for evals, but its per-environment cap keeps it a compromise (115th). | 113th of 359, with limits $364 a month | 16th cheapest of 359 $258 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 Beam ranks 28th, with Docker in sandboxes through docker_enabled. Railway (115th) does not document Docker, so you install and verify it yourself. boat ranks 2nd with Docker and /dev/kvm. | 116th cheapest of 374 $1,210 a month | 29th cheapest of 374 $300 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Beam ranks 45th: a Beam VM keeps its root disk while stopped. Railway (71st) has SSH, and its Cloud Agents keep a disk (Priority Boarding). boat ranks 19th. | 69th cheapest of 371 $89 a month | 44th cheapest of 371 $55 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 Railway ranks 15th with your own setup (add Xvfb and noVNC). Beam ranks 16th: Beam VMs have a browser desktop with an SDK for clicks and screenshots. boat includes a 60 fps desktop and ranks 10th. | 47th cheapest of 367 $407 a month | 12th cheapest of 367 $431 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 | 53rd of 356, with limits $93 a month | 73rd of 356, with limits $272 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 | 65th cheapest of 343 $570 a month | 16th cheapest of 343 $196 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 | 111th of 327, with limits $2,988 a month | 44th of 327, with limits $967 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 | 71st of 351, with limits $574 a month | 6th cheapest of 351 $219 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 Beam ranks 1st with GPUs from RTX 4090 to H100 and B200. Railway and boat have no GPU. | Not ranked: misses a requirement | Cheapest of 102 $547 a month | 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 | Not ranked: misses a requirement |
Key features
| Feature | Railway | Beam | boat |
|---|---|---|---|
| Isolation | Sandboxes are isolated Linux VMs; app services are containers | Sandboxes are gVisor containers by default, with an opt-in VM-backed mode; Beam VMs are CPU microVMs with their own kernel | Every sandbox is a full VM with its own kernel, on a physical host dedicated to boat (Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared |
| Nested virtualization | Not documented | Not documented for sandboxes or VMs | /dev/kvm on every sandbox for Android emulators and VMs |
| Docker and systemd | Root shell on Ubuntu; Docker is not documented: you install and verify it yourself | Beam VMs have Docker and systemd; sandboxes run Docker with docker_enabled, without systemd | Docker, systemd and root on every sandbox |
| Lifetime | Destroyed after the idle timeout, 30 minutes by default, or never if set to 0 | Sandbox default 10 minutes, or -1 to run until you terminate it; VMs run until you stop them, with optional idle sleep | Auto-stop defaults to 1 hour; set up to 30 days, or turn it off on a paid plan for no cap |
| Disk between runs | Disk checkpoints you take boot new sandboxes; Cloud Agents keep their disk | A sandbox keeps files through a saved image, a memory snapshot or a volume; a Beam VM keeps its root disk (50 GiB by default, up to 100 GiB) while stopped | Disk saved every minute and at stop, kept at least 14 days; memory is not saved |
| Fork and snapshots | Fork a running sandbox's filesystem; disk checkpoints, no memory | Sandbox memory snapshots with running processes; VMs pause with RAM kept, fork and take disk snapshots | Fork from the last 1-minute disk snapshot; saved snapshots start new ones (no memory) |
| GPUs | None documented for sandboxes | GPU sandboxes, serverless GPUs and GPU machines up to H100, H200 and B200 | No GPU on any size |
| Desktop and computer use | No desktop included; you can add Xvfb and noVNC with the template builder and publish the port | Beam VMs have a browser Linux desktop and an SDK for screenshots, clicks, typing and recording; documented for VMs, not sandboxes | Built-in desktop and Chrome stream at 1920x1080, 60 fps, with computer-use tools |
| Reaching the sandbox | Up to 10 public HTTPS domains, set only at creation, with no built-in auth; SSH and port forwarding | Sandboxes: a public HTTPS URL per port, no built-in auth. VMs: token-protected URLs and TCP ports on a persistent public IPv6 address | Up to 50 HTTPS URLs, token-gated by default; SSH; public IPv6 for raw ports. The IP changes at each resume. |
| Coding agents | Claude Code, Codex, OpenCode and Pi preinstalled, run through exec | You install agents and run them through process exec; Beam's MCP server plugs into Claude Code, Codex and Cursor | Seven harnesses installed, with a prompt, steer and events API |
| Keeping keys out of the sandbox | Secrets enter the sandbox as environment variables, or are saved in a checkpoint | Brokered secrets: the guest sees a placeholder, and Beam puts the real key into HTTPS headers to approved hosts | Optional paid credentials proxy ($1 per day on, plus $1 per 1,000 requests) for supported model providers; other secrets still enter |
| Sandboxes at once | Per environment: 50 on Hobby, 100 on Pro; Enterprise can ask for more | 30 vCPUs at once on Developer, 1,000 on Team | 100 to 2,000 by plan; starts limited per minute, hour and day (12 / 60 / 200 on $20) |
| Regions | US West, US East, Amsterdam and Singapore | US by default; another region if you choose one; any region of your own cloud with BYOC | Germany, Finland and France; no US or Asia region, and you cannot pick one |
| Self-hosting | No | Beta9 runtime is AGPL-3.0 and free to self-host; bring your own cloud for a fee | No |
Every feature Battleships tracks (43)
| Feature | Railway | Beam | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | No documented way | Yes |
| Docker inside | Not published | Yes | Yes |
| Nested virtualization | Not published | No documented way | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | No documented way | 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 | With your own setup | Yes |
| Pause/resume | Yes | No documented way | Yes |
| Automatic snapshots | No documented way | No documented way | Yes |
| Fork/clone | Yes | Yes | Yes |
| Live fork (no pause) | Yes | Yes | Yes |
| Memory fork | No documented way | Yes | No documented way |
| Custom image (Docker or snapshot) | Yes | Yes | Yes |
| ≥24 h sessions | Yes | Yes | 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 | No documented way | Yes |
| Preinstalled agents | Yes | No documented way | Yes |
| Agent harness API | Yes | No documented way | Yes |
| MCP server | Yes | Yes | No documented way |
| GPU | No documented way | Yes | 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 | Yes | No documented way |
| BYOC | Yes | Yes | No documented way |
| Open source | No documented way | Yes | No documented way |
| Scoped API keys | Not published | Not published | Yes |
| Spend limits | Yes | Not published | 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 | Yes | No documented way |
| HIPAA | Yes | Yes | No documented way |
| EU data residency | Yes | Not published | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Neither Railway nor Beam is in StarSling's run of 3 October 2026 (run 37073680030), so we cannot say which is faster at CPU work. In that run 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. For start time, ComputeSDK measured a Beam sandbox at 534 ms median with 100 at once (2026-11-06), at Beam's default size. Railway and boat are 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. Railway and Beam 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 | Beam, 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 | $20 · Developer | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $70 · Hobby · with limits | $58 · Developer | $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 | $836 · Team | $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 | $312 · Team | $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 | $527 · Team · with limits | $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.
Beam: Beam bills sandboxes per millisecond while they run, for each vCPU and GiB, on Spot, Shared or Performance tiers; new accounts default to Performance. For 4 vCPU / 8 GiB that is $0.28 an hour on Performance, $0.088 on Shared and $0.036 on Spot (interruptible with 30 seconds of notice). VMs bill nothing for compute while stopped or paused. Developer is $20 a month with $20 of credit; Team is $89 a month plus usage. No egress fees, and storage is not billed yet.
Beam: 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 marks every scenario as not a clean fit because it is an app platform first and does not publish a sandbox disk price. Its cap of 100 sandboxes per environment on Pro means 300 user sandboxes or 1,000 jobs at once need several environments. Beam's Developer plan allows 30 vCPUs at once, so 50 parallel agents need the Team plan. Beam does not bill storage yet, so the bills here count no disk on either side. For 1,000 short jobs at once, none of the three fits as listed: Railway's environment cap, Beam Team's 1,000 vCPUs against the 2,000 needed, and boat's $2,000 plan, which charges for starts above 90 a minute and refuses them above 270.
| Scenario | Railway | Beam | 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 app and databases already live on Railway and you want VM sandboxes on the same private network, with coding agents preinstalled and SSH, in US, EU or Asia regions.
- Sandboxes next to your apps. If your app already runs on Railway, a sandbox can join the same private network as your Postgres, Redis and services.
- Coding agents in the image. Railway sandboxes come with Claude Code, Codex, OpenCode and Pi preinstalled. On Beam you install agents yourself.
- Regions in the US, EU and Asia. Railway runs in California, Virginia, Amsterdam and Singapore, and you pick one per sandbox.
Use Beam when
your work needs GPUs, when you want quick sandboxes with memory snapshots or VMs that pause with their memory, when US hosting suits you, or when you must self-host.
- GPUs in the same platform. For work that needs a GPU, Beam offers GPU sandboxes, serverless GPUs and GPU machines from RTX 4090 up to H100, H200 and B200.
- Memory snapshots and VMs that pause. Beam sandboxes snapshot their memory, and Beam VMs pause with their RAM, fork and keep their disk. Railway checkpoints hold the disk only.
- Open source and self-hosting. Beam's Beta9 runtime is AGPL-3.0 and free to self-host, and Beam can also run in your own cloud for a fee.
Where boat fits
Railway and Beam sandboxes both end by default: Railway destroys one when idle, and a Beam sandbox ends with its time to live. Beam VMs keep their disk. If your agents work for hours or days, install tools, run Docker or an emulator, and need a browser, look at boat. Each sandbox is a full VM that saves its disk every minute. boat runs only in the EU, has no GPU, and limits starts by plan.
A disk that stays, on every sandbox
A Railway sandbox is destroyed after 30 idle minutes by default unless you took a checkpoint. A Beam sandbox ends after 10 minutes by default; a Beam VM keeps its root disk. boat saves the disk every minute and at stop. Memory and running programs are not saved, so a resume is like a reboot.
Docker, /dev/kvm and a desktop
Railway does not document Docker or /dev/kvm. Beam VMs have Docker, systemd and a desktop, but Beam documents no /dev/kvm. boat has all of it on every sandbox, so an Android emulator or nested VM can run there.
Agents you drive from outside
Railway runs its preinstalled agents through exec, and on Beam you install them yourself, so you parse output yourself. boat adds a prompt, steer and events API.
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, 50 token-gated URLs and coding agents you drive by API. boat runs only in the EU and has no GPU. Compare it one to one: boat vs Railway and boat vs Beam.
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 Beam?
It depends on the scenario. Railway is lower for one agent on workdays ($16 against $20), 50 agents in parallel ($739 against $836) and sandboxes for your users ($223 against $312). Beam is lower for one agent that never stops ($58 against $70). boat comes to $20, $317, $200 and $26 for those four. Neither Railway nor Beam prices sandbox disk here.
Which is faster, Railway or Beam?
We cannot say. Neither is in StarSling's run of 3 October 2026, where boat did 28.06 runs/s at 4 vCPU / 8 GB on a Ryzen 9 9950X host. ComputeSDK measured a Beam sandbox start at 534 ms median with 100 at once (2026-11-06).
Are Railway and Beam sandboxes VMs or containers?
Railway's docs call each sandbox an isolated Linux VM. Beam sandboxes are gVisor containers by default, with an opt-in VM-backed mode, and Beam sells separate CPU VMs with their own kernel. Every boat sandbox is a full VM with its own kernel.
Can Railway or Beam run Docker?
Beam supports Docker inside a sandbox with docker_enabled and inside its VMs. Railway's sandbox docs give you a root shell on Ubuntu but do not mention Docker, so you install and verify it yourself. boat documents Docker, systemd and /dev/kvm on every machine.
What happens when a sandbox goes idle?
Railway destroys it after the idle timeout, 30 minutes by default, and the checkpoints you took survive. A Beam sandbox ends when its time to live runs out, 10 minutes by default, unless you saved an image or snapshot or used a volume; a Beam VM keeps its disk. A boat sandbox stops when its auto-stop timer runs out and keeps its disk at least 14 days.
Do Railway or Beam have GPUs?
Beam does, with GPU sandboxes, serverless GPUs and GPU machines up to H100, H200 and B200. Railway documents no GPU for sandboxes, and boat has no GPU on any size.
Try boat
Install the CLI, then run boat new.
7-day free trial