Railway vs smol machines
Railway is an app platform that added sandbox VMs next to your Railway apps and databases. Railway destroys a sandbox after its idle timeout, and files survive in checkpoints you take. smol machines makes microVMs that keep their files when stopped, branch with their memory, and run the same on your laptop, in its cloud or on your own servers.
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.
smol machines
smol machines makes isolated Linux microVMs that run the same way on your laptop, in their hosted cloud, or on your own servers.
The core is smolvm, an open-source microVM engine built on libkrun. Each machine has its own guest kernel. smol cloud is the paid hosted service. It runs machines behind a REST API, Node, Python and Rust SDKs, and a managed agents API. It is for developers who want one VM model from local development to production, with live branching of running machines.
- Uptime SLA
- 99.95% on Pro, Startup and Enterprise
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 | smol machines: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month smol machines keeps a stopped machine's files and runs Docker inside. Railway sandboxes are destroyed at the idle timeout unless you checkpoint them. boat adds /dev/kvm on every plan, SSH and a built-in desktop. | 28th cheapest of 365 $1,481 a month | 105th of 365, with limits $604 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Railway fits an always-on assistant if you set the idle timeout to 0, and memory then bills the whole time. smol machines fits too, and its stored credentials keep keys out as placeholders. boat adds a built-in desktop and Chrome. | 21st cheapest of 361 $3,977 a month | 41st cheapest of 361 $1,038 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 Both fit short code runs well. Railway bills for CPU used and destroys the sandbox after. smol machines has a one-minute minimum and a /code endpoint. boat's $20 plan includes 12 starts per minute and 200 per day. | 42nd cheapest of 336 $413 a month | 16th cheapest of 336 $140 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 smol machines fits sandboxes for your users with 1,000 machines on Startup, and a stopped machine wakes on the next command. Railway allows 100 sandboxes per environment on Pro. boat allows 300 at once from the $100 plan. | 46th of 349, with limits $290 a month | 12th cheapest of 349 $531 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 smol machines can branch a running machine with its memory and processes, so many rollouts start from one prepared state. Railway forks the filesystem only. A boat fork boots fresh from the last 1-minute disk snapshot. | 84th of 349, with limits $4,450 a month | 119th of 349, with limits $6,978 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 Both can fork a running machine. Railway's cap is per environment, while smol machines branches with memory and holds up to 1,000 machines on Startup. | 113th of 359, with limits $364 a month | 49th cheapest of 359 $670 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 smol machines runs Docker inside a machine, and exposes /dev/kvm on Startup and Enterprise. Railway's sandbox docs do not mention Docker. boat documents Docker and /dev/kvm on every plan. | 116th cheapest of 374 $1,210 a month | 69th cheapest of 374 $514 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB | 69th cheapest of 371 $89 a month | 230th of 371, with limits $29 a month | 19th cheapest of 371 $26 a month |
| Computer-use agents 50 at once · 4 vCPU / 8 GB · 20,000 sessions of 15 min a month Neither includes a desktop, but you can set one up on both: Xvfb and noVNC with Railway's template builder, or your own image on smol cloud. boat streams a 60 fps desktop with computer-use tools. | 47th cheapest of 367 $407 a month | 135th of 367, with limits $156 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 | 58th of 356, with limits $136 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 | 97th cheapest of 343 $242 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 | 145th of 327, with limits $4,344 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 | 59th of 351, with limits $377 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 | Not ranked: misses a requirement | 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 | Not ranked: misses a requirement |
Key features
| Feature | Railway | smol machines | boat |
|---|---|---|---|
| Kind of product | App platform for apps and databases, with sandbox VMs and Cloud Agents added in 2026 | Open-source microVM engine (smolvm) plus a paid hosted cloud | Hosted sandbox VMs for agents |
| Isolation | Sandboxes and Cloud Agents are isolated Linux VMs; app services are containers | libkrun microVM with its own guest kernel | Full VM with its own kernel, on physical hosts dedicated to boat; vCPUs are shared |
| When the machine goes idle | Destroyed after the idle timeout (30 minutes by default); files survive in checkpoints you take | Filesystem survives a stop; /tmp is emptied; stopped disk bills at $0.0001 per GB-hour; a command wakes it | Auto-stop after 1 hour by default; disk saved every minute and at stop, kept at least 14 days; no compute charge while stopped |
| Fork | Fork a running sandbox's filesystem; disk checkpoints boot new ones (no memory) | Branch a running machine with its memory and processes; checkpoints capture RAM to durable storage | Fork a running sandbox from its last 1-minute disk snapshot; the fork boots fresh |
| Docker and nested virtualization | Root shell on an Ubuntu VM; Docker and /dev/kvm are not documented, so you install and verify them yourself | Docker inside the machine; nested virtualization on Startup ($150 a month plus usage) and Enterprise | Docker, root, systemd and /dev/kvm documented on every plan |
| Shell access | SSH and port forwarding, plus exec | Command API, sessions and a WebSocket terminal capped at one hour per connection; no SSH route documented | SSH, plus a command API and terminal |
| Inbound access | Up to 10 public HTTPS domains, set only at creation, with no built-in auth | Up to 16 published ports through token URLs or an authenticated connect route, plus a TCP tunnel route | Up to 50 HTTPS URLs, token-gated by default; public IPv6 for raw ports; no static IPv4 |
| Outbound rules | Open internet; no egress allowlist | Blocked, open, or an allowlist of hosts and CIDR ranges | Open internet; no provider-side allowlist |
| Desktop and computer use | No desktop included; you can add Xvfb and noVNC with the template builder and publish the port on a sandbox domain | No hosted desktop; an official guide runs Chromium from an OCI image, and you add a desktop and stream yourself | Built-in desktop and Chrome at 1920x1080, 60 fps, with computer-use tools and an embeddable stream |
| Coding agents | Claude Code, Codex, OpenCode and Pi in the image, run through exec | Managed agents API: Claude Code, Codex, OpenCode or any command as the harness, with turns, cancel, event stream, rewind and branch | Seven harnesses installed, with a prompt, steer and events API |
| Keeping API keys out of the sandbox | Secrets go into the sandbox as environment variables | Stored credentials: the guest sees a placeholder, and the real value is swapped in on HTTPS to allowed hosts; plain env secrets are readable | Optional paid proxy ($1 a day when on, plus $1 per 1,000 requests) keeps real keys of supported AI providers out; other secrets still enter |
| Apps and databases next to the sandbox | Deploy Postgres, Redis and services in the same project; a sandbox can join their private network | Idle apps wake on the next request; no hosted databases | No hosted databases or app services; host your own inside a sandbox |
| Machines at once | Per environment: 10 on Free, 50 on Hobby, 100 on Pro | 20 on Standard, 100 on Pro, 1,000 on Startup; stopped machines hold a slot | 100 to 2,000 by plan; starts limited per minute, hour and day (12 / 60 / 200 on $20) |
| Regions and self-hosting | US West, US East, Amsterdam and Singapore | No region choice in the cloud API; smolvm runs on your laptop or your own servers | Germany, Finland and France; you cannot pick a region; snapshot copies can be stored outside the EU; hosted only |
Every feature Battleships tracks (43)
| Feature | Railway | smol machines | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | Yes | Yes |
| Nested virtualization | Not published | Yes | Yes |
| Root | Yes | Not published | Yes |
| Systemd | Not published | Not published | Yes |
| Desktop GUI | With your own setup | No documented way | Yes |
| Browser | Yes | With your own setup | Yes |
| Computer-use API | No documented way | No documented way | Yes |
| SSH | Yes | No documented way | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | 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 | Yes | No documented way |
| Wake on request | No documented way | Yes | No documented way |
| HTTPS preview URLs | Yes | Yes | Yes |
| Raw TCP inbound | No documented way | Not published | 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 | Yes | Yes |
| MCP server | Yes | Yes | 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 | Yes | 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 | Yes | Yes |
| Usage per sandbox (API) | No documented way | Yes | Yes |
| Audit logs | Yes | Not published | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | No documented way | No documented way |
| HIPAA | Yes | No documented way | No documented way |
| EU data residency | Yes | No documented way | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
Railway and smol cloud are 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 other hosts and does not promise a CPU model. smol machines publishes a boot time under 200 ms for smolvm, which is a start time, not CPU speed.
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 smol machines 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 | smol machines, 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 | $25 · Standard | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $70 · Hobby · with limits | $93 · Standard | $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 | $1,139 · Pro | $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 | $465 · Startup | $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 | $1,389 · Startup | $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, and memory keeps billing while a sandbox waits until it is destroyed. 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 sandbox disk price, so our bills leave disk out.
smol machines: smol cloud charges $0.04 for every hour a machine runs, plus $0.05 per active vCPU-hour and $0.0162 per active GB-hour of memory, with a one-minute minimum. Disk bills at $0.0001 per GB-hour, also while stopped. Standard is $0; Pro ($20) and Startup ($150) are fees added on top of usage, not credit. New accounts get $100 of credit once.
smol machines: 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 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.
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. Its Pro cap of 100 sandboxes per environment is too low for 300 sandboxes for your users or 1,000 jobs at once without several environments. smol machines fits every scenario, but stopped machines hold a slot, so 50 agents in parallel needs Pro and 1,000 jobs at once needs Startup, whose fee is added on top. boat fits every scenario except the 1,000-job burst, where its $2,000 plan bills starts above the included 90 a minute and refuses them above 270 a minute with 429.
| Scenario | Railway | smol machines | boat |
|---|---|---|---|
| One coding agent, workdays |
| None for this scenario | None for this scenario |
| One agent that never stops |
| None for this scenario | None for this scenario |
| 50 agents in parallel |
| None for this scenario | None for this scenario |
| Sandboxes for your users |
| None for this scenario | None for this scenario |
| 1,000 short jobs at once |
| None for this scenario |
|
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.
- 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, EU and Asia. Useful if your users are spread out: you can pick California, Virginia, Amsterdam or Singapore for each sandbox.
- Short jobs with SSH. Useful for quick jobs: a sandbox bills for CPU used, is gone when idle, and takes SSH.
Use smol machines when
you want one open-source VM engine from your laptop to your own servers, machines that keep their files when stopped, or many branches of a running machine with its memory.
- Live branches with memory. Useful for RL and test fan-out: branch a running machine with its memory and processes, paying the one-minute minimum once.
- One engine from laptop to your servers. Teams that want the same VM locally, in a hosted cloud and on their own servers get it from open-source smolvm.
- Files that stay, and keys kept outside. A stopped machine keeps its files and wakes on the next command, outbound hosts can be limited, and stored credentials keep secrets out.
Where boat fits
Railway and smol machines both run each sandbox in a VM. For agents that work for hours on real projects, test in a browser or run emulators, boat gives each one a VM with a built-in desktop, /dev/kvm and SSH on every plan, and a disk saved with no code. boat runs only in the EU, cannot be self-hosted and limits starts by plan.
A whole machine on every plan
Railway's sandbox docs do not mention Docker or /dev/kvm, so you install and verify them yourself. smol cloud runs Docker and exposes nested virtualization on Startup and Enterprise, and documents no SSH. boat has Docker, systemd, /dev/kvm and SSH on every plan.
A desktop that comes built in
Neither includes a desktop. On Railway you add Xvfb and noVNC with the template builder; on smol cloud you add a desktop and screen stream to your own image. boat streams a 60 fps desktop with Chrome and computer-use tools. boat has no GPU, so graphics run on the CPU.
A disk saved with no code
A Railway sandbox is destroyed after its idle timeout unless you take a checkpoint. smol machines keeps the filesystem of a stopped machine and bills its disk. boat saves the disk every minute and at each stop, and keeps it for at least 14 days with no compute charge. A boat resume is like a reboot.
Use boat when your agents need a whole machine on every plan: Docker, /dev/kvm for emulators, SSH, a built-in desktop and browser, a disk saved with no code, and coding agents you drive by API. Compare it one to one: boat vs Railway and boat vs smol machines.
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 smol machines?
In our scenarios Railway's bills are lower, for example $70 against $93 for one agent running all month. They leave out disk, which Railway does not price, and Railway is not a clean fit in any scenario. On boat the same always-on agent comes to $26. smol bills only the CPU and memory a guest uses, so a mostly idle machine can cost less there.
Which is faster, Railway or smol machines?
We cannot say: neither is in the public benchmarks we use. boat did 28.06 V8 Web Tooling runs/s at 4 vCPU / 8 GB in StarSling's run of 3 October 2026, on an AMD Ryzen 9 9950X host. smol machines publishes a boot time under 200 ms, which measures start time, not CPU speed.
Can Railway or smol machines run Docker?
smol machines runs Docker inside a machine, and its guide says Docker data must live on the machine's ext4 disk. Railway's sandbox docs do not mention Docker, so you install and verify it yourself. boat documents Docker, systemd and /dev/kvm on every plan.
What happens when a sandbox goes idle?
Railway destroys it after the idle timeout, 30 minutes by default, and the checkpoints you took survive. smol machines keeps the filesystem of a stopped machine but empties /tmp, and the disk keeps billing. 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.
Can I fork a running machine on Railway or smol machines?
Both can. Railway forks a running sandbox's filesystem, while smol machines branches a running machine with its memory and running processes. boat forks a running sandbox from its last 1-minute disk snapshot, and the fork boots fresh.
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.
Try boat
Install the CLI, then run boat new.
7-day free trial