Railway vs Unikraft Cloud

Railway is an app platform that added sandbox VMs you create, use and destroy next to your apps and databases. Unikraft Cloud turns a Dockerfile into a small microVM. Unikraft states cold starts under 10 ms, and its instances sleep when traffic stops 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.

Unikraft Cloud

Unikraft Cloud is a microVM cloud from Unikraft Inc. It runs any Dockerfile-based workload as a minimal Linux microVM, with cold starts it states as under 10 ms and scale-to-zero.

Your Dockerfile becomes the VM image at build time. Each instance runs on a customized Firecracker VMM and can go into standby when no traffic arrives. It is a general compute platform for dense, bursty work such as HTTP services, browsers and agent fleets. It sells flat self-serve plans, plus Enterprise dedicated hosts, on-prem and bring your own cloud. You reach instances through services, the CLI and a sandbox plugin for commands and files. For SSH or a desktop, you add them to your image with its official guides.

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 rankUnikraft Cloud: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
A software factory needs machines that keep work and run Docker. Railway sandboxes are destroyed at the idle timeout unless you checkpoint them. Unikraft bakes each service into the image up front. boat saves the disk with no code and documents Docker inside.
28th cheapest of 365
$1,481 a month
Not ranked: misses a requirement5th 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. Unikraft's Team pool has 8 GiB of memory shared by every running instance, and Pro is 24 vCPU / 32 GiB for $199.
21st cheapest of 361
$3,977 a month
Not ranked: misses a requirement6th 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 bills short code runs for CPU used and destroys the sandbox after. Unikraft is built for this shape too, and standby instances do not count against the pool, but self-serve plans run up to 24 instances at once.
42nd cheapest of 336
$413 a month
Not ranked: misses a requirement189th 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 Unikraft Pro runs 24 instances at once (5,000 in standby). Hundreds of active users need more environments on Railway or an Enterprise contract on Unikraft. boat allows 300 at once from the $100 plan.
46th of 349, with limits
$290 a month
Not ranked: misses a requirement3rd 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
Not ranked: misses a requirement39th 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
Railway can fork a running sandbox and boot many from one checkpoint. Unikraft checkpoints memory and starts new instances from it, but its self-serve pools are small for wide eval runs.
113th of 359, with limits
$364 a month
Not ranked: misses a requirement10th cheapest of 359
$200 a month
CI runners
40 at once · 8 vCPU / 16 GB · 6,000 sessions of 12 min a month
CI jobs that build images need Docker. Railway's sandbox docs do not mention it, so you install and verify it yourself. Unikraft's docs describe no container runtime inside a running instance, and nested virtualization is Enterprise only. boat documents Docker and /dev/kvm on every sandbox.
116th cheapest of 374
$1,210 a month
Not ranked: misses a requirement2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
All three fit a dev box: Unikraft at $39 a month on its Team pool, Railway at about $89 and boat at $26. On Unikraft you add sshd to your image and reach it through a TLS tunnel; Railway and boat take SSH directly.
69th cheapest of 371
$89 a month
121st cheapest of 371
$39 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. On Railway you add Xvfb and noVNC with the template builder. Unikraft has an official VNC/noVNC desktop recipe that you build into your image. boat streams a 60 fps desktop with Chrome built in.
47th cheapest of 367
$407 a month
Not ranked: misses a requirement7th 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
Not ranked: misses a requirement7th 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
Not ranked: misses a requirement6th 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
Not ranked: misses a requirement73rd 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
Not ranked: misses a requirement3rd 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 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
Not ranked: misses a requirementNot ranked: misses a requirementNot ranked: misses a requirement

Key features

FeatureRailwayUnikraft Cloudboat
IsolationSandboxes and Cloud Agents are isolated Linux VMs; app services are containersMinimal Linux microVM on a customized Firecracker VMM; full VMs on EnterpriseFull VM with its own kernel, on physical hosts dedicated to boat; vCPUs are shared
Machine size8 vCPU / 8 GB on Hobby; on Pro up to 32 vCPU / 32 GB per the docs (24 vCPU / 24 GB per the pricing page)Plan pool shared by all running instances: 2 vCPU / 4 GiB, 8 vCPU / 8 GiB or 24 vCPU / 32 GiB4 vCPU / 8 GB by default, up to 16 vCPU / 32 GB per sandbox from the $100 plan
Running at oncePer environment: 10 on Free, 50 on Hobby, 100 on Pro2, 8 or 24 running instances by plan; 5, 50 or 5,000 in standby100 to 2,000 sandboxes by plan; starts limited per minute, hour and day (12 / 60 / 200 on $20)
When it goes idleDestroyed after the idle timeout (30 minutes by default); files survive in checkpoints you takeStandby after a 1 second idle cooldown by default; stateful mode snapshots memory and resumes with warm cachesAuto-stop after 1 hour by default (a timer, not an idle check); disk saved every minute and at stop, kept at least 14 days
Wake on requestNo; you boot a new sandbox from a checkpointYes; incoming traffic wakes a sleeping instanceNo; a stopped sandbox is started by API or CLI
Docker and systemd insideRoot shell on an Ubuntu VM; Docker is not documented, so you install and verify it yourselfRuns as root; the Dockerfile becomes the VM image, and the docs describe no container runtime inside a running instanceDocker with Compose, systemd and root on Ubuntu 24.04
Nested virtualizationNot documentedPer-instance flag and permission, Enterprise only/dev/kvm on every plan, for Android emulators and VMs
SSHYes, with port forwardingYes, with setup: run sshd in your image and reach it through a TLS service port and a local tunnel; no built-in SSH endpointBuilt in on every sandbox, no tunnel
Fork and checkpointsFork a running sandbox's filesystem; named disk checkpoints (no memory)Checkpoint memory and volumes of a running microVM with a pause of a few milliseconds, then start new instances from itFork a running sandbox from its last 1-minute disk snapshot (no memory)
Inbound accessUp to 10 public HTTPS domains, set only at creation, with no built-in authServices on its load balancer: HTTP on 80, HTTPS on 443, TLS-wrapped TCP on other ports, custom domainsUp to 50 HTTPS URLs, token-gated by default; public IPv6; SSH over a shared IPv4 host:port; no dedicated IPv4
Coding agentsClaude Code, Codex, OpenCode and Pi in the image, run through execNone installed; you add the agent to your own imageSeven harnesses installed, with a prompt, steer and events API
Keeping API keys out of the sandboxSecrets go into the sandbox as environment variablesNetwork shield injects secrets into any HTTP traffic, Enterprise only, limited accessOptional paid proxy on every plan ($1 a day when on, plus $1 per 1,000 requests) for supported model providers; other secrets still enter
Desktop and computer useNo desktop included; you can add Xvfb and noVNC with the template builder and publish the port on a sandbox domainNo prebuilt desktop; an official VNC/noVNC recipe you build into your image, snapshotted after login so it resumes fastBuilt-in desktop and Chrome at 1920x1080, 60 fps, with computer-use tools
Apps and databases nearbyPostgres, Redis and services in the same project; a sandbox can join their private networkGeneral compute for HTTP services and browsers; GPUs, arm64 and on-prem on EnterpriseNo hosted databases or app services; host your own inside a sandbox
RegionsCalifornia, Virginia, Amsterdam and SingaporeDallas, Frankfurt, San Francisco, Singapore and Washington DC, more on requestGermany, Finland and France; you cannot pick a region; no US or Asia region
Every feature Battleships tracks (43)
FeatureRailwayUnikraft Cloudboat
Full VM (own kernel)YesYesYes
Docker insideNot publishedNo documented wayYes
Nested virtualizationNot publishedYesYes
RootYesYesYes
SystemdNot publishedNot publishedYes
Desktop GUIWith your own setupWith your own setupYes
BrowserYesWith your own setupYes
Computer-use APINo documented wayNo documented wayYes
SSHYesWith your own setupYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsNo documented wayYesYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
Memory forkNo documented wayYesNo 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 wayNot publishedYes
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 agentsYesNo documented wayYes
Agent harness APIYesNo documented wayYes
MCP serverYesNo documented wayNo documented way
GPUNo documented wayYesNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayYesNo documented way
Self-hostingNo documented wayYesNo documented way
BYOCYesYesNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedNot publishedYes
Spend limitsYesNot publishedYes
Usage per sandbox (API)No documented wayNo documented wayYes
Audit logsYesYesNo documented way
SSOYesNo documented wayNo documented way
SOC 2YesYesNo documented way
HIPAAYesYesNo documented way
EU data residencyYesYesNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

RailwayNot measured
Unikraft CloudNot measured
boat28.06 runs/s

Railway and Unikraft 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. Unikraft states cold starts under 10 ms; that is its own figure and measures 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 Unikraft Cloud 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.

ScenarioRailway, a monthUnikraft Cloud, 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$39 · Hobby$20 · $20/mo
One agent that never stops
4 vCPU / 8 GB, 50 GB disk, running 24/7 all month
$70 · Hobby · with limits$39 · Hobby$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 limitsNot ranked: misses a requirement$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 limitsNot ranked: misses a requirement$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 limitsNot ranked: misses a requirement$8,800 · $2000/mo · with limits

Railway: Railway bills sandboxes per second at about $50 per vCPU-month on CPU used and $50 per GB-month on memory in use, plus $0.05 per GB out. Plans: Free ($0 with $1 of usage a month), Hobby ($5) and Pro ($20 per workspace); the Hobby and Pro fees count toward usage. Memory keeps billing while a sandbox waits, and sandbox disk has no published price, so our bills leave it out.

Unikraft Cloud: Unikraft charges a flat monthly fee for a pool of running capacity: free for 2 vCPU / 4 GiB with no card, $39 for 8 vCPU / 8 GiB, $199 for 24 vCPU / 32 GiB. Standby instances do not count against the pool. It publishes no per-hour, disk or egress price, so anything bigger is an Enterprise quote.

Unikraft Cloud: 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, 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 cap is 100 sandboxes per environment on Pro, so 300 user sandboxes or 1,000 jobs at once need several environments or an Enterprise limit. Unikraft fits one agent on its $39 Team pool, but that pool is 8 vCPU and 8 GiB in total, so 50 agents, user sandboxes and the burst need Enterprise. boat fits all but 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.

ScenarioRailwayUnikraft Cloudboat
One coding agent, workdays
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
  • flat pool: the tier is billed whether used or not
  • 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
  • flat pool: the tier is billed whether used or not
  • disk beyond 0 GiB: price unknown
  • 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
  • no pool tier with 200 vCPU / 400 GiB for 50 VMs
  • no published per-resource rate
None for this scenario
Sandboxes for your users
  • Pro: max 100 concurrent
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
  • no pool tier with 600 vCPU / 1,200 GiB for 300 VMs
  • no published per-resource rate
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
  • no pool tier with 2,000 vCPU / 4,000 GiB for 1,000 VMs
  • no published per-resource rate
  • 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 sandbox VMs on the same private network, bigger single machines, or 100 at once without a sales call.

  • Sandboxes next to your apps. Useful if your app already runs on Railway: sandboxes can join the same private network as your Postgres and services.
  • Bigger single sandboxes, more of them. A Pro sandbox can reach 24 to 32 vCPU, and 100 can run per environment without a sales call.
  • Coding agents in the image. Claude Code, Codex, OpenCode and Pi come in the image, so you can run an agent with one exec call.

Use Unikraft Cloud when

you run many small services or browsers that sleep most of the time and must wake at once, want a free plan or flat prices, or want GPUs, on-prem or your own cloud under Enterprise.

  • Fast starts and scale-to-zero. Best for many small services that sleep most of the time and must answer the next request at once. Unikraft states cold starts under 10 ms.
  • Memory checkpoints. Stateful standby and checkpoints keep memory, so an instance comes back with warm caches instead of booting again.
  • A free plan, GPUs and your own hardware. Hobby is free with no card; Enterprise customers can get NVIDIA GPUs, arm64 hosts, dedicated hosts, on-prem or their own cloud.

Where boat fits

Railway and Unikraft Cloud are built around short-lived or sleeping workloads. For agents that work for hours, install tools, run Docker and need a screen, boat gives every sandbox a full VM that saves its disk with no code, with a desktop and coding agents you drive by API. boat runs only in the EU and limits starts by plan.

A whole machine with Docker and KVM

Agents run docker compose and boot emulators. Railway's sandbox docs do not mention Docker or /dev/kvm, so you install and verify them yourself. Unikraft describes no container runtime inside an instance and keeps nested virtualization for Enterprise. boat documents Docker, systemd and /dev/kvm on every plan.

Work that is kept with no code

A Railway sandbox is destroyed after 30 idle minutes by default unless you take a checkpoint, and with the timeout at 0, memory bills until you destroy it. Unikraft keeps state with stateful standby and checkpoints. boat saves the disk every minute and at each stop, with no compute charge while stopped. A boat resume is like a reboot.

Agents, keys and a desktop built in

On Railway, agent keys sit inside the VM as environment variables; Unikraft's secret injection is Enterprise only. Neither includes a desktop, though both let you build one. boat's optional paid proxy keeps keys of supported providers outside on every plan, and a 60 fps desktop lets agents use a real browser.

Use boat when your agents need a real machine for hours or days: Docker and /dev/kvm, a disk saved with no code, SSH, a desktop, and coding agents you drive by API. boat runs only in the EU and limits starts by plan. Compare it one to one: boat vs Railway and boat vs Unikraft Cloud.

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 Unikraft Cloud?

For one coding agent on workdays, Railway comes to $16 against $39 for Unikraft's Team pool, though Railway's number leaves out disk. For one agent running all month, Unikraft's flat $39 is lower than Railway's $70. For 50 agents or hundreds of user sandboxes, no self-serve Unikraft plan is big enough, so it is an Enterprise quote. boat comes to $20 and $26 for the first two jobs.

Which is faster, Railway or Unikraft Cloud?

Neither is in the public benchmarks we use, so we cannot say which runs code faster. By design Unikraft starts faster: it states cold starts under 10 ms and wakes on the next request. boat did 28.06 V8 Web Tooling runs/s at 4 vCPU / 8 GB in StarSling's run of 3 October 2026.

Can Railway or Unikraft Cloud run Docker inside?

Railway's sandbox docs do not mention Docker, so you install and verify it yourself. Unikraft uses your Dockerfile to build the VM image, and its docs describe no container runtime inside a running instance. A boat sandbox is a full Ubuntu VM with Docker, systemd and /dev/kvm documented.

Can I SSH into them?

Railway sandboxes support SSH and port forwarding. On Unikraft you add an SSH server to your image, expose it as a TLS service and connect through a local tunnel; commands and files also go through its sandbox plugin and CLI. Every boat sandbox takes SSH directly.

What happens when a sandbox goes idle?

Railway destroys it after the idle timeout, 30 minutes by default, and the checkpoints you took survive. Unikraft puts it in standby after a short cooldown and wakes it on the next request. 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.

Where do they run?

Railway runs in California, Virginia, Amsterdam and Singapore. Unikraft runs in Dallas, Frankfurt, San Francisco, Singapore and Washington DC, with more metros on request. boat runs only in Germany, Finland and France, and you cannot pick a region.

Try boat

Install the CLI, then run boat new.

7-day free trial

More comparisons