Railway vs Namespace

Railway hosts apps and databases and added Linux sandbox VMs. Railway destroys a sandbox after its idle timeout, and files survive in checkpoints you take. Namespace is a CI and dev platform. Its Devboxes keep their files, stop when idle, and stop at 3 to 24 hours by plan, even while you work.

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.

Namespace

Namespace is a dev platform for fast builds, tests and coding environments: CI runners, build caches and Devboxes, on its own hardware.

Most of Namespace is CI: a faster drop-in for GitHub Actions runners, with Docker, Bazel, Turborepo and Nix caching. Its Devboxes are remote Linux and macOS machines with persistent storage, made for people and AI coding agents. You run Claude Code, Codex, OpenCode, Amp, Copilot or Cursor in persistent Devbox sessions, and Namespace also hosts sessions for Claude Managed Agents, Cursor Cloud Agents, Devin and Amp. It is a different kind of product from boat, so this page compares the part where they overlap: a machine an agent works on.

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 workloadRailway: price rankNamespace: price rankboat: 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
74th of 365, with limits
$3,745 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Railway fits an assistant that never stops if you set the idle timeout to 0, and memory then bills the whole time. A Namespace Devbox stops at its plan's limit (24 hours at most), so your code restarts it. boat has no session cap once auto-stop is off on a paid plan (default 1 hour).
21st cheapest of 361
$3,977 a month
316th of 361, with limits
$6,645 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
Railway fits short code runs well: it bills for CPU used, destroys the sandbox when the job ends, and publishes no starts-per-minute limit. Namespace caps Devboxes at 50 per workspace. boat's $20 plan includes 12 starts per minute and 200 per day.
42nd cheapest of 336
$413 a month
244th of 336, with limits
$250 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
Railway allows 100 sandboxes per environment on Pro, and Namespace caps Devboxes at 50 per workspace, stopped ones included. So both are a compromise for 300 user sandboxes at once. boat allows 300 at once from the $100 plan, with start limits per plan.
46th of 349, with limits
$290 a month
279th of 349, with limits
$2,068 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
345th of 349, with limits
$9,012 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
113th of 359, with limits
$364 a month
282nd of 359, with limits
$1,093 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 runners with build caches are Namespace's main product. Railway can run jobs too, but its sandbox docs do not mention Docker, so you install and verify it yourself. boat runs CI on full VMs with Docker and /dev/kvm, but sells no managed runner or build cache.
116th cheapest of 374
$1,210 a month
87th cheapest of 374
$765 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
A Railway sandbox can run with no idle timeout, and Railway's Cloud Agents (Priority Boarding) keep their disk. A Namespace Devbox stops when idle, starts when you connect, and stops at 3 to 24 hours by plan. A boat sandbox stays up once auto-stop is off and bills at full rate while it runs.
69th cheapest of 371
$89 a month
201st of 371, with limits
$250 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 includes no desktop; you can add Xvfb and noVNC with the template builder. Namespace's screenshot and click API works on macOS Devboxes; on a Linux Devbox you install a desktop and VNC in your image. boat streams a built-in Linux desktop with Chrome at 60 fps.
47th cheapest of 367
$407 a month
108th of 367, with limits
$1,032 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
191st of 356, with limits
$789 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
191st of 343, with limits
$332 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
225th of 327, with limits
$9,012 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
112th of 351, with limits
$339 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
None of the three fits: all of them sell CPU machines only.
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
Namespace fits: it runs macOS Devboxes on Apple Silicon. Railway and boat have no macOS.
Not ranked: misses a requirement6th cheapest of 35
$1,255 a month
Not ranked: misses a requirement

Key features

FeatureRailwayNamespaceboat
CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026)Not in the public benchmarks we use24.90 runs/s, rank 2 of 15 (shared)28.06 runs/s, rank 2 of 15 (shared), on a Ryzen 9 9950X host; the run cannot separate boat and Namespace
IsolationSandboxes and Cloud Agents are isolated Linux VMs; app services are containersLinux Devboxes run a container image on Namespace's own hardware; the docs do not say if each has its own kernelEvery sandbox is a full VM with its own kernel; vCPUs are shared
When the machine goes idleDestroyed after the idle timeout (30 minutes by default); files survive in checkpoints you take. Cloud Agents sleep and keep their disk.Devbox stops after an idle timeout (15 minutes to 8 hours), keeps its storage at $0.20 per GB-month, and starts when you connectAuto-stop is a timer (1 hour by default), not an idle check; disk saved every minute and at stop, kept at least 14 days; no compute charge while stopped
How long a session can runNo documented maximum; with the idle timeout set to 0 it runs until you destroy it3 hours on Developer and Devbox Plus, 5 on Team, 24 on Business, even while you work; support can raise it to 24 at mostNo cap once auto-stop is off on a paid plan; auto-stop defaults to 1 hour, up to 30 days
Docker and nested virtualizationRoot shell on an Ubuntu VM; Docker and /dev/kvm are not documented, so you install and verify them yourselfDocker in Linux Devboxes; /dev/kvm on Linux compute instancesDocker, root, systemd and /dev/kvm documented on every sandbox
Fork and checkpointsFork a running sandbox's filesystem; named disk checkpoints boot new onesNo fork documented; compute instances suspend and resume with RAM keptFork a running sandbox from its last 1-minute snapshot; saved snapshots start new ones; memory is not kept
Desktop and computer useNo desktop included; you can add Xvfb and noVNC with the template builder and publish the port on a sandbox domainScreenshot and click API and a VNC desktop on macOS Devboxes; on Linux Devboxes you install a desktop and VNC in your image; VNC and RDP for compute instancesBuilt-in Linux desktop and Chrome at 1920x1080, 60 fps, with computer-use tools and an embeddable stream
Coding agentsClaude Code, Codex, OpenCode and Pi in the image, run through execYou run Claude Code, Codex, OpenCode, Amp, Copilot or Cursor in persistent Devbox sessions; hosts Claude Managed Agents, Cursor, Devin and Amp sessionsSeven harnesses installed, with a prompt, steer and events API
Keeping keys out of the sandboxSecrets go into the sandbox as environment variables, or are saved in a checkpointEgress rules inject a header from Namespace Vault, resolved outside the workloadOptional paid proxy ($1 a day when on, plus $1 per 1,000 requests) for model providers and HTTPS APIs you register; other secrets still enter
Reaching the machineUp to 10 public HTTPS domains, set only at creation, with no built-in auth; SSH and port forwardingHTTPS URLs that need a Namespace login, TCP through a CLI port-forward; no public IPUp to 50 HTTPS URLs, token-gated by default; SSH; public IPv6 for raw ports; no dedicated IPv4
Outbound internet rulesOpen internet; no egress allowlistEgress policies per Devbox blueprint, runner or instance: block, advisory or allow by domainOpen internet; no provider-side allowlist
Operating systemsLinux onlyLinux, macOS on Apple Silicon, and Windows on Team plans and upLinux only; Windows programs run through Wine
Beyond sandboxesHosts web services, Postgres and Redis; a sandbox can join the project's private networkGitHub Actions runners with Docker, Bazel, Turborepo and Nix cachingSandboxes only; host your own services inside a VM
RegionsUS West, US East, Amsterdam and Singapore, picked per sandboxSeveral regions; ask support for a preferred one, and keeping all work in one region needs EnterpriseGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureRailwayNamespaceboat
Full VM (own kernel)YesYesYes
Docker insideNot publishedYesYes
Nested virtualizationNot publishedYesYes
RootYesYesYes
SystemdNot publishedNot publishedYes
Desktop GUIWith your own setupYesYes
BrowserYesWith your own setupYes
Computer-use APINo documented wayYesYes
SSHYesYesYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsNo documented wayYesYes
Fork/cloneYesNo documented wayYes
Live fork (no pause)YesNo documented wayYes
Memory forkNo documented wayNo documented wayNo documented way
Custom image (Docker or snapshot)YesYesYes
≥24 h sessionsYesYesYes
Idle auto-stopYesYesNo documented way
Wake on requestNo documented wayYesNo documented way
HTTPS preview URLsYesYesYes
Raw TCP inboundNo documented wayYesYes
Public IPv4No documented wayNo documented wayNo documented way
Egress allowlistNo documented wayYesNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsYesYesYes
Agent harness APIYesNo documented wayYes
MCP serverYesYesNo documented way
GPUNo documented wayNo documented wayNo documented way
WindowsNo documented wayYesNo documented way
Arm64No documented wayYesNo documented way
Self-hostingNo documented wayNo documented wayNo documented way
BYOCYesNo documented wayNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesYesYes
Usage per sandbox (API)No documented wayNo documented wayYes
Audit logsYesYesNo documented way
SSOYesYesNo documented way
SOC 2YesYesNo documented way
HIPAAYesNo documented wayNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

RailwayNot measured
Namespace24.90 runs/s
boat28.06 runs/s

In StarSling's run of 3 October 2026 (run 37073680030), on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB, boat did 28.06 runs/s and Namespace 24.90. Both share rank 2 of 15, so the run cannot separate them. On real repo builds in the same run, boat took 135.8 s for Better-Auth against 150.5 s, and 428 s for OpenClaw against 570 s. Railway is not in the public benchmarks we use, so we cannot say how it compares. Every boat sandbox in that run ran on an AMD Ryzen 9 9950X host. boat also places sandboxes on other hosts and does not promise a CPU model. Providers ran on different hardware in different regions.

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. Namespace measured on: Linux compute instance (unit-minutes, PAYG/overage $0.0015). 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.

ScenarioRailway, a monthNamespace, 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
$16 · Hobby · with limits$300 · Devbox on Business$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$70 · Hobby · with limits$426 · Devbox on Business · with limits$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$2,448 · Devbox on Business$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$1,264 · Devbox Plus · with limits$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$3,287 · Devbox Plus · 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, and memory keeps billing while a sandbox waits. Plans: Free ($0 with $1 of usage a month), Hobby ($5) and Pro ($20 per workspace); the Hobby and Pro fees count toward usage. Sandbox disk has no published price, so our bills leave it out.

Namespace: Devboxes are billed in Devbox Minutes at $0.004 each: a 4 vCPU / 8 GB Devbox uses one a minute, $0.24 an hour. Pay as you go, or Devbox Plus at $250 a month for 50,000 minutes. Team ($100) and Business ($250) plan minutes do not cover Devboxes, but you need those plans for longer sessions. Stored files cost $0.20 per GB-month. New sign-ups get a 30-day Developer trial with no card.

Namespace: Plans cost $20, $100, $500 or $2,000 a month, and the whole plan price comes back as VM time for that month. A 4 vCPU / 8 GB sandbox costs $0.036 an hour, billed per second while it runs. 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. Extra starts cost $0.03 to $0.07 each. A card is required, also for the 7-day trial.

Limits in those scenarios

We mark every Railway scenario as not a clean fit because Railway publishes no sandbox disk price, so its bills count CPU and memory only. It caps sandboxes per environment at 50 on Hobby and 100 on Pro, so 300 user sandboxes or 1,000 jobs at once need several environments or an Enterprise limit. On Namespace the limit is time: a Devbox stops at 3 hours on Developer, 5 on Team and 24 on Business, so an 8-hour workday needs Business, and an agent that never stops restarts at least once a day. Namespace also caps Devboxes at 50 per workspace and does not publish an egress price. On boat, the 1,000-job burst needs more starts than the $2,000 plan includes, and starts above 270 a minute fail with 429. If a boat machine fails, you lose what was written after the last good snapshot.

ScenarioRailwayNamespaceboat
One coding agent, workdays
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
  • egress price not published
None for this scenario
One agent that never stops
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
  • Devbox on Business: sessions capped at 24 h
  • egress price not published
None for this scenario
50 agents in parallel
  • not confirmed: Docker inside
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
  • egress price not published
None for this scenario
Sandboxes for your users
  • Pro: max 100 concurrent
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
  • Devbox Plus: max 50 concurrent
  • egress price not published
None for this scenario
1,000 short jobs at once
  • Pro: max 100 concurrent
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
  • Devbox Plus: max 50 concurrent
  • 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 Railway when

your app and databases already live on Railway and you want sandboxes on the same private network, or you need US or Asia regions.

  • Apps and databases next door. Useful if your app already runs on Railway: sandboxes can join the same private network as your Postgres and services.
  • No clock on a running sandbox. Useful for agents that run past a day: with the idle timeout set to 0, a Railway sandbox runs until you destroy it. Memory bills the whole time.
  • Short jobs billed for CPU used. Useful for many quick code runs: Railway bills sandbox CPU on what is used and the VM is gone when the job ends.

Use Namespace when

you need macOS or Windows machines, faster GitHub Actions runners with build caches, egress allowlists, or Devboxes for people that stop when idle.

  • macOS and Windows. Useful if your agents build iOS or Mac apps or test on Windows: Namespace runs macOS on Apple Silicon and Windows machines.
  • CI runners and build caches. Useful if you want faster GitHub Actions: Namespace is a drop-in runner with Docker, Bazel and Turborepo caching.
  • Egress rules and idle stop. Useful if agents must reach only chosen domains, or boxes should stop when nobody uses them and start on connect.

Where boat fits

For AI agents that work for hours or days, both Railway and Namespace have a lifecycle to plan around: Railway destroys idle sandboxes, and a Namespace Devbox stops at 3 to 24 hours by plan. boat gives each agent a full VM that saves its disk with no code and has no session cap once auto-stop is off, 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, with no session clock

A Railway sandbox is destroyed after 30 idle minutes by default, unless you take a checkpoint or keep memory billing. A Namespace Devbox keeps its storage but stops at its plan's limit, even mid-task. A boat sandbox saves its disk every minute and at each stop, and runs as long as the work does once auto-stop is off. A boat resume is like a reboot.

A desktop, Docker and KVM on Linux

Railway's docs do not mention Docker, and it includes no desktop; you can install one yourself. Namespace's screenshot API works on macOS Devboxes, and on Linux you install a desktop yourself. Every boat sandbox has a 60 fps Linux desktop with Chrome, plus Docker, systemd and /dev/kvm.

Agents you drive, keys kept outside

On Railway you run each agent through exec with its API key inside the VM. On Namespace you start agents in Devbox sessions or use a partner's hosted service, and Vault headers keep keys outside. boat adds a prompt, steer and events API, and its optional paid proxy keeps real keys of supported providers outside.

Use boat when your agents work on Linux for hours or days: a full VM that saves its disk with no code and has no session cap once auto-stop is off, with Docker, /dev/kvm, a 60 fps desktop and coding agents you drive by API. Compare it one to one: boat vs Railway and boat vs Namespace.

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 Namespace?

In the scenarios we priced, Railway's bill is lower, but it leaves out disk, which Railway does not price. One agent running all month comes to $70 on Railway against $426 on Namespace Business, where the Devbox restarts every 24 hours. 50 agents in parallel come to $739 against $2,448. boat comes to $26 and $317 for the same two jobs.

Which is faster, Railway or Namespace?

We cannot say, because Railway is not in the public benchmarks we use. In StarSling's run of 3 October 2026, Namespace did 24.90 V8 Web Tooling runs/s at 4 vCPU / 8 GB and boat did 28.06. Both share rank 2, so the run cannot separate boat and Namespace.

Can Railway or Namespace run Docker?

Namespace's Linux Devboxes include Docker, and its Linux compute instances have /dev/kvm. Railway's sandboxes give you a root shell on an Ubuntu VM, but its docs do not mention Docker or nested virtualization, so you install and verify them yourself. boat documents Docker, systemd and /dev/kvm on every sandbox.

How long can a sandbox run on Railway or Namespace?

A Railway sandbox runs until its idle timeout fires, 30 minutes of no activity by default, or until you destroy it if the timeout is 0. A Namespace Devbox stops at 3, 5 or 24 hours by plan, even while you work in it. boat has no session cap once auto-stop is off on a paid plan (the default is 1 hour).

Does Railway or Namespace run macOS?

Namespace does: it runs macOS Devboxes on Apple M4 Pro and M5 Max chips, and Windows machines on Team plans and up. Railway and boat run Linux only, and boat runs Windows programs through Wine.

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 certified, and Namespace's trust center lists SOC 2 Type II.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons