Railway vs Freestyle
Railway is an app platform for services and databases that added sandbox VMs. Railway destroys a sandbox after an idle timeout, unless you take a checkpoint. Freestyle sells full Linux VMs for agents, with Docker and KVM ready. They pause with their memory and wake on the next request.
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.
Freestyle
Freestyle sells full Linux virtual machines for AI agents, built for long running, complex tasks.
Each Freestyle VM is a KVM virtual machine with its own kernel, booted from a base snapshot. The default Ubuntu image has systemd, Docker and coding agent CLIs preinstalled. VMs can be paused with their memory, snapshotted while running, forked and woken by the next request. Every VM starts behind a default-deny firewall. You drive it from a TypeScript SDK, a CLI or an API.
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 | Freestyle: price rank | boat: price rank |
|---|---|---|---|
| Software factory 100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month Railway ranks 13th with your own setup: keep work in checkpoints and install Docker yourself. Freestyle ranks 24th with Docker and systemd. boat ranks 8th; in one CPU run it did 28.06 runs/s against Freestyle's 10.22. | 28th cheapest of 365 $1,481 a month | 31st cheapest of 365 $3,311 a month | 5th cheapest of 365 $634 a month |
| Always-on AI employees 50 machines 24/7 · 2 vCPU / 4 GB Railway ranks 30th with the idle timeout set to 0 or a Cloud Agent. Freestyle ranks 33rd; on its Free plan the monthly allowances are hard stops, so an always-on VM needs Hobby or Pro. boat ranks 6th. | 21st cheapest of 361 $3,977 a month | 49th cheapest of 361 $4,195 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: Railway (43rd) bills CPU used and destroys the sandbox after, and Freestyle (47th) pauses a VM with its memory and wakes it on the next request. | 42nd cheapest of 336 $413 a month | 46th cheapest of 336 $482 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 Freestyle fits sandboxes for your users (26th), with 400 VMs at once on Pro and wake on request. Railway allows 100 per environment on Pro. boat ranks 3rd, with start limits per plan. | 46th of 349, with limits $290 a month | 26th cheapest of 349 $1,358 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 | 116th of 349, with limits $6,600 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 Freestyle (68th) can snapshot a running VM with its memory and boot copies from it. Railway forks the filesystem only and caps sandboxes per environment. boat ranks 12th. | 113th of 359, with limits $364 a month | 68th cheapest of 359 $1,046 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 Freestyle's docs say sustained high-CPU jobs suit other providers better. Railway does not document Docker. boat ranks 2nd with Docker on every machine; Freestyle ranks 168th and Railway 115th. | 116th cheapest of 374 $1,210 a month | 169th of 374, with limits $625 a month | 2nd cheapest of 374 $86 a month |
| 24/7 dev boxes 1 machine 24/7 · 4 vCPU / 8 GB Railway (71st) has SSH, and its Cloud Agents keep a disk but are in Priority Boarding and fixed at 4 vCPU / 4 GB on Pro. A Freestyle VM (107th) keeps its disk and can pause with its memory. | 69th cheapest of 371 $89 a month | 102nd cheapest of 371 $151 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 and Freestyle 32nd, both with your own setup: add Xvfb or GNOME, VNC and Chromium. boat includes a 60 fps desktop and ranks 10th. | 47th cheapest of 367 $407 a month | 51st cheapest of 367 $940 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 | 99th of 356, with limits $482 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 | 110th cheapest of 343 $482 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 | 183rd of 327, with limits $6,560 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 | 28th cheapest of 351 $482 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 | Freestyle | boat |
|---|---|---|---|
| Isolation | Sandboxes are Linux VMs; app services run as non-privileged containers | Full KVM VM with its own kernel on bare metal; Freestyle says it oversubscribes host resources | Full VM with its own kernel on a physical host dedicated to boat (Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared |
| CPU benchmark (V8 Web Tooling, 4 vCPU / 8 GB, StarSling run of 3 October 2026) | Not in this run | 10.22 runs/s, 14th of 15 | 28.06 runs/s, 2nd of 15 (rank shared), on a Ryzen 9 9950X host |
| When the sandbox goes idle | Destroyed after the idle timeout (30 minutes by default, or 0 for never); files survive in checkpoints you take | No idle timeout unless you set one; a paused VM bills only for its storage | Stops when auto-stop runs out (1 hour by default); disk saved every minute and at stop, kept at least 14 days |
| Pause and wake | No memory pause; a destroyed sandbox boots again from a disk checkpoint | Pause saves memory and disk; the same processes resume, and a paused VM wakes on the next request | Disk is saved; resume is like a reboot, started by API |
| Root, Docker and nested virtualization | Root shell on Ubuntu; Docker and /dev/kvm are not documented: you install and verify them yourself | Yes; systemd is pid 1, Docker runs from boot, full KVM support | Yes: root, systemd, Docker and /dev/kvm on every machine |
| Fork | Fork a running sandbox's filesystem; named disk checkpoints (no memory) | Clone a running VM without pausing it; snapshots capture memory and disk | Fork from the last 1-minute disk snapshot; saved snapshots start new ones |
| Desktop, browser and computer use | No desktop included; you can add Xvfb and noVNC with the template builder and publish the port | Official guides install GNOME or Xvfb, TigerVNC, noVNC and Chromium; you drive the browser with Playwright or CDP | Built-in Linux desktop and Chrome stream at 1920x1080, 60 fps, with computer-use tools |
| Coding agents | Claude Code, Codex, OpenCode and Pi preinstalled, run through exec | claude, codex, opencode and openclaw preinstalled; driven through exec, a PTY or the Claude Agent SDK | Seven harnesses installed, with a prompt, steer and events API |
| Keeping API keys out of the sandbox | Secrets go in as environment variables, or are signed in and saved in a checkpoint | Credentials injected at the edge for HTTPS headers, Postgres and S3; the VM must trust the Freestyle CA | Optional paid credentials proxy ($1 per day on, plus $1 per 1,000 requests) for supported AI providers and custom HTTPS APIs |
| Outbound rules | No egress allowlist for sandboxes | Default-deny firewall with allow rules by IP, VM, VPC or exact domain | Open internet, no provider-side allowlist |
| Apps and databases next to the sandbox | Deploy Postgres, Redis and services in the same project; a sandbox can join their private network | Private VPCs and WireGuard tunnels between VMs | No hosted databases or app services; host your own inside a sandbox |
| Biggest machine | 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) | 32 vCPU / 64 GiB on Pro, 64 / 128 with Enterprise custom limits | 8 vCPU / 16 GB on the $20 plan, 16 vCPU / 32 GB from the $100 plan |
| Sandboxes at once | Per environment: 50 on Hobby, 100 on Pro; Enterprise can ask for more | 10 on Free, 40 on Hobby, 400 on Pro | 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 | Not published | Germany, Finland and France; no US or Asia region, and you cannot pick one |
Every feature Battleships tracks (43)
| Feature | Railway | Freestyle | boat |
|---|---|---|---|
| Full VM (own kernel) | Yes | Yes | Yes |
| Docker inside | Not published | Yes | Yes |
| Nested virtualization | Not published | Yes | Yes |
| Root | Yes | Yes | Yes |
| Systemd | Not published | Yes | Yes |
| Desktop GUI | With your own setup | With your own setup | Yes |
| Browser | Yes | With your own setup | Yes |
| Computer-use API | No documented way | With your own setup | Yes |
| SSH | Yes | Yes | Yes |
| Persistent disk | Yes | Yes | Yes |
| Pause/resume | Yes | Yes | Yes |
| Automatic snapshots | No documented way | Yes | 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 | Yes | Yes |
| Public IPv4 | No documented way | No documented way | No documented way |
| Egress allowlist | No documented way | Yes | No documented way |
| Secret proxy | No documented way | Yes | Yes |
| Secret proxy for any API | No documented way | Yes | Yes |
| Preinstalled agents | Yes | Yes | Yes |
| Agent harness API | Yes | No documented way | Yes |
| MCP server | Yes | No documented way | No documented way |
| GPU | No documented way | 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 | No documented way | No documented way |
| BYOC | Yes | No documented way | No documented way |
| Open source | No documented way | No documented way | No documented way |
| Scoped API keys | Not published | Yes | Yes |
| Spend limits | Yes | Not published | Yes |
| Usage per sandbox (API) | No documented way | No documented way | Yes |
| Audit logs | Yes | Yes | No documented way |
| SSO | Yes | Yes | No documented way |
| SOC 2 | Yes | Not published | No documented way |
| HIPAA | Yes | Not published | No documented way |
| EU data residency | Yes | Not published | No documented way |
| Zero data retention | Not published | Not published | Yes |
Performance
StarSling ran the V8 Web Tooling Benchmark at 4 vCPU / 8 GB on 3 October 2026 (run 37073680030). Freestyle did 10.22 runs/s, 14th of 15. boat did 28.06, 2nd of 15 (a rank shared with four providers), about 2.7 times the CPU work. 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. Providers ran on different hardware in different regions. Railway is not in this run, so we cannot say how fast it is next to either.
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 | Railway, a month | Freestyle, 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 | $27 · Free | $20 · $20/mo |
| One agent that never stops 4 vCPU / 8 GB, 50 GB disk, running 24/7 all month | $70 · Hobby · with limits | $159 · Free | $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,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 | $581 · Pro | $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,305 · Pro · 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 disk out.
Freestyle: Freestyle bills per second for the vCPU ($0.04032 per hour), RAM ($0.0129 per GiB-hour) and disk allocated to a VM, busy or idle, after monthly allowances of 200 vCPU-hours, 400 GiB-hours of RAM and 60,000 GiB-hours of storage. On Free those allowances are hard stops. Hobby and Pro set a $50 or $500 monthly minimum that counts as usage. A paused VM bills only for storage.
Freestyle: 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. Extra starts cost $0.03 to $0.07 each. A card is required, also for the 7-day trial.
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. It caps sandboxes per environment at 50 on Hobby and 100 on Pro. Freestyle fits four of the five scenarios, but on Free its allowances are hard stops, and Pro allows 400 VMs at once, so it does not fit 1,000 short jobs at once. Neither does Railway, and boat also misses that one: its $2,000 plan charges for starts above 90 a minute and refuses them above 270. If a boat machine fails, you lose what was written after the last good snapshot.
| Scenario | Railway | Freestyle | 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 |
|
|
|
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 private network of your Postgres and services.
- Regions in the US, EU and Asia. Useful if users are spread out: Railway runs in California, Virginia, Amsterdam and Singapore. Freestyle does not publish its regions.
- Short jobs that bill for CPU used. Useful for many quick code runs: Railway bills sandbox CPU on what is used, while Freestyle bills allocated vCPUs, busy or idle, until a VM pauses.
Use Freestyle when
your VMs sleep between requests and must resume with their memory, when you need a default-deny firewall per VM, or when you need up to 64 GiB of memory in one machine on Pro.
- Memory pause, live fork and wake on request. Useful for VMs that sleep between requests: they resume the same processes and wake on the next incoming traffic.
- Docker and KVM ready from boot. Useful for agents that build containers or run emulators: systemd, Docker and nested virtualization work out of the box.
- Network controls. Useful when agents run untrusted code: every VM starts with no network access, and you allow exactly what it may reach.
Where boat fits
If you run coding or browser agents that work for hours, look at boat. It gives each agent a full VM with Docker and KVM like Freestyle. Like Freestyle, it keeps the disk when it stops, which a Railway sandbox does not without a checkpoint. It adds a desktop and an API to drive the agents inside. boat runs only in the EU, does not keep memory, and limits starts by plan.
More CPU work in one benchmark
In StarSling's run of 3 October 2026, boat did 28.06 runs/s and Freestyle 10.22, about 2.7 times the work. That boat sandbox ran on a Ryzen 9 9950X host; boat also places sandboxes on other hosts. Railway is not in that run, and it does not document Docker.
A desktop and a browser, ready
Railway includes no desktop; you add Xvfb and noVNC yourself. On Freestyle you follow its guides to install GNOME or Xvfb, VNC and Chromium into your own snapshot. boat streams a 60 fps desktop with computer-use tools on every sandbox.
Agents you drive from outside
On both, you start the agent CLI through exec and parse its output yourself, and on Railway its key sits inside the VM. boat adds a prompt, steer and events API, and an optional paid credentials proxy that can switch accounts when credits run out.
Use boat when your agents do CPU-heavy work for hours: builds, tests, Docker, emulators, a desktop and a browser, with a disk saved every minute and an API to drive the agents inside. boat runs only in the EU. Compare it one to one: boat vs Railway and boat vs Freestyle.
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 Freestyle?
In our scenarios Railway comes out lower: one agent running all month is $70 on Railway against $159 on Freestyle, and 50 agents in parallel are $739 against $2,139. Railway's bills leave out disk, which it does not price, and it is marked as not a clean fit in every scenario. Freestyle can cost less for VMs that stay paused most of the time. On boat those two come to $26 and $317.
Which is faster, Railway or Freestyle?
Freestyle did 10.22 runs/s on the V8 Web Tooling Benchmark at 4 vCPU / 8 GB in StarSling's run of 3 October 2026. Railway is not in that run, so we cannot compare them. boat did 28.06 in the same run, on a Ryzen 9 9950X host.
Can Railway sandboxes run Docker?
Railway's sandbox docs give you a root shell on Ubuntu but do not mention Docker or /dev/kvm, so you install and verify them yourself. Freestyle VMs run systemd as pid 1 with Docker from boot and full KVM support. boat has root, systemd, Docker and /dev/kvm on every machine.
What happens when a sandbox goes idle?
Railway destroys it once the idle timeout runs out, 30 minutes by default, and the checkpoints you took survive. Freestyle has no idle timeout unless you set one, so a VM bills until it pauses; a paused VM keeps its memory and wakes on the next request. A boat sandbox stops when its auto-stop timer runs out, keeps its disk at least 14 days and has no compute charge while stopped.
Where do Railway and Freestyle run?
Railway has regions in California, Virginia, Amsterdam and Singapore, and new sandboxes start in US West unless you pick one. Freestyle does not publish its regions. boat runs in Germany, Finland and France, and you cannot pick a region.
Try boat
Install the CLI, then run boat new.
7-day free trial