Railway vs Instabox

Railway is an app platform whose sandbox VMs sit next to your services. Railway destroys a sandbox after an idle timeout, unless you take a checkpoint. Instabox gives each agent a Firecracker VM with root and Docker that pauses with its memory. It has a free plan for one machine and paid plans from $20 a month.

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.

Instabox

Instabox gives each AI agent its own Linux machine in the cloud. It has a free plan with one machine and paid plans from $20 a month plus usage.

Each Instabox machine is a Firecracker microVM with its own kernel, root and Docker. It starts from a template (agent-browser by default, universal, t3, herdr, orca, android, omarchy or ci), from your own snapshot, or from a Docker image that you import as a snapshot. The default size is 4 vCPU / 8 GiB, and paid plans go up to 32 vCPU / 64 GiB. You drive it from a CLI, a TypeScript SDK, an HTTP API or an MCP server, with SSH, mosh, HTTPS port URLs and a desktop for computer use.

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 rankInstabox: price rankboat: price rank
Software factory
100 at once · 4 vCPU / 8 GB · 2,200 sessions of 8 h a month
Instabox ranks 2nd: it forks running machines, keeps them paused with memory and goes up to 32 vCPU on Team. Railway ranks 13th with your own setup. boat ranks 8th and saves the disk every minute.
28th cheapest of 365
$1,481 a month
Cheapest of 365
$410 a month
5th cheapest of 365
$634 a month
Always-on AI employees
50 machines 24/7 · 2 vCPU / 4 GB
Instabox ranks 4th: turn its 30-minute idle pause off on a paid plan. Railway ranks 30th: set the idle timeout to 0 or use a Cloud Agent. boat ranks 6th once auto-stop is off.
21st cheapest of 361
$3,977 a month
4th cheapest of 361
$534 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
Instabox ranks 4th and Railway 43rd. Railway bills CPU used and destroys the sandbox after. Instabox caps API exec calls at 10 minutes unless you run them in the background.
42nd cheapest of 336
$413 a month
4th cheapest of 336
$56 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
Instabox ranks 10th: Team runs 500 machines at once. Railway allows 100 per environment on Pro. boat ranks 3rd and allows 100 to 2,000 by plan, with start limits.
46th of 349, with limits
$290 a month
10th cheapest of 349
$500 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
16th of 349, with limits
$845 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
Instabox (34th) runs 100 to 500 machines at once by plan. Railway boots many sandboxes from one checkpoint up to its per-environment cap (115th). boat ranks 12th.
113th of 359, with limits
$364 a month
34th cheapest of 359
$500 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 jobs that build containers need Docker. Instabox documents it and has a ci template (3rd). Railway does not document Docker, so you install and verify it yourself. boat ranks 2nd.
116th cheapest of 374
$1,210 a month
3rd cheapest of 374
$89 a month
2nd cheapest of 374
$86 a month
24/7 dev boxes
1 machine 24/7 · 4 vCPU / 8 GB
Instabox ranks 14th with SSH, mosh and pause with memory. Railway (71st) has SSH, and its Cloud Agents keep a disk but are in Priority Boarding. boat ranks 19th.
69th cheapest of 371
$89 a month
14th cheapest of 371
$24 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
Instabox ranks 5th with a VNC desktop, screenshot and click API. Railway ranks 15th with your own setup (Xvfb and noVNC). boat streams a 60 fps desktop and ranks 10th.
47th cheapest of 367
$407 a month
4th cheapest of 367
$122 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
49th of 356, with limits
$61 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
5th cheapest of 343
$83 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
31st of 327, with limits
$1,658 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
2nd cheapest of 351
$100 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 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

FeatureRailwayInstaboxboat
IsolationSandboxes are isolated Linux VMs; app services are containersFirecracker microVM with its own kernel and rootFull VM with its own kernel on a physical host dedicated to boat (Ryzen 7 9700X or Ryzen 9 9950X); vCPUs are shared
When the machine goes idleDestroyed after the idle timeout (30 minutes by default, or 0 for never); files survive in checkpoints you takePaused after 30 idle minutes with memory and running programs kept; you can change or turn this off on paid plansStops when auto-stop runs out (1 hour by default); disk saved every minute and at stop, kept at least 14 days
Machine sizes8 vCPU / 8 GB on Hobby; on Pro up to 32 vCPU / 32 GB per the docs (24 vCPU / 24 GB per the pricing page)4 vCPU / 8 GiB on Free; up to 8 / 16 on Pro, 16 / 32 on Builder, 32 / 64 on Team2 to 8 vCPU on the $20 plan; up to 16 vCPU / 32 GB from the $100 plan
Machines at oncePer environment: 50 on Hobby, 100 on Pro; Enterprise can ask for more1 on Free; 100 running on Pro, 200 on Builder, 500 on Team100 to 2,000 by plan; starts limited per minute, hour and day (12 / 60 / 200 on $20)
Docker and nested virtualizationRoot shell on Ubuntu; Docker and /dev/kvm are not documented: you install and verify them yourselfDocker and Docker Compose run inside; /dev/kvm not documented; an android template runs Android nativelyDocker, root, systemd and /dev/kvm on every machine
ForkFork a running sandbox's filesystemFork a running or stopped machine, disk only, up to 5 copies per callFork a running sandbox from its last 1-minute disk snapshot
Snapshots and checkpointsNamed disk checkpoints you take by hand to boot new sandboxesSaved by hand while the machine runs; 5 on Free, unlimited on paid plans, at no chargeDisk saved every minute and at stop with no action; 10 saved snapshots per $20 of plan included
Public port URLsUp to 10 public HTTPS domains, set only at creation, with no built-in authHTTPS on up to 16 ports, public by default, token-protected with --privateHTTPS on up to 50 ports, token-gated by default; public IPv6 for raw ports
SSHSSH and port forwardingSSH through a gateway with short-lived certificates, paste-anywhere SSH tokens and moshSSH into every sandbox through a shared IPv4 host and port
Desktop and computer useNo desktop included; you can add Xvfb and noVNC with the template builder and publish the portVNC desktop with a browser on most templates, screenshot and click API, shareable view or control linksBuilt-in 1920x1080 desktop at 60 fps, with computer-use tools for the built-in agents
Coding agentsClaude Code, Codex, OpenCode and Pi preinstalled, run through execClaude Code, Codex and OpenCode on some templates; CLI, skills and MCP; you run the agent yourselfSeven harnesses installed, with a prompt, steer and events API
Keeping API keys out of the sandboxSecrets are set in the sandbox as environment variablesSecrets proxy swaps a placeholder for the real key in outbound HTTPS headers to allowed hostsOptional paid credentials proxy ($1 per day on, plus $1 per 1,000 requests) for model providers and custom HTTPS APIs
Apps and databases next to the sandboxDeploy Postgres, Redis and services in the same project; a sandbox can join their private networkNot documentedNo hosted databases or app services; host your own inside a sandbox
RegionsUS West, US East, Amsterdam and SingaporeNot published; you cannot choose where a machine runsGermany, Finland and France; no US or Asia region, and you cannot pick one
Every feature Battleships tracks (43)
FeatureRailwayInstaboxboat
Full VM (own kernel)YesYesYes
Docker insideNot publishedYesYes
Nested virtualizationNot publishedNot publishedYes
RootYesYesYes
SystemdNot publishedYesYes
Desktop GUIWith your own setupYesYes
BrowserYesYesYes
Computer-use APINo documented wayYesYes
SSHYesYesYes
Persistent diskYesYesYes
Pause/resumeYesYesYes
Automatic snapshotsNo documented wayNo documented wayYes
Fork/cloneYesYesYes
Live fork (no pause)YesYesYes
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 wayNot publishedNo documented way
Secret proxyNo documented wayYesYes
Secret proxy for any APINo documented wayYesYes
Preinstalled agentsYesYesYes
Agent harness APIYesNot publishedYes
MCP serverYesYesNo documented way
GPUNo documented wayNot publishedNo documented way
WindowsNo documented wayNo documented wayNo documented way
Arm64No documented wayNot publishedNo documented way
Self-hostingNo documented wayNot publishedNo documented way
BYOCYesYesNo documented way
Open sourceNo documented wayNo documented wayNo documented way
Scoped API keysNot publishedYesYes
Spend limitsYesYesYes
Usage per sandbox (API)No documented wayYesYes
Audit logsYesYesNo documented way
SSOYesYesNo documented way
SOC 2YesNot publishedNo documented way
HIPAAYesYesNo documented way
EU data residencyYesNot publishedNo documented way
Zero data retentionNot publishedNot publishedYes

Performance

RailwayNot measured
InstaboxNot measured
boat28.06 runs/s

Neither Railway nor Instabox is 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 some sandboxes on AMD Ryzen 7 9700X hosts, which this run did not measure. Instabox says a new machine's shell is ready in under a second; we have not measured it.

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 Instabox 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 monthInstabox, 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$0 · 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$25 · Pro$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$269 · 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$500 · Team$200 · $100/mo × 2 seats
1,000 short jobs at once
2 vCPU / 4 GB, 1,000 at once, 3 minutes each, 200,000 jobs a month
$781 · Pro · with limits$500 · Team · with limits$8,800 · $2000/mo · with limits

Railway: Railway bills sandboxes per second at about $50 per vCPU-month on CPU actually used and $50 per GB-month on memory in use, plus $0.05 per GB out. Memory keeps billing while a sandbox waits, until it is destroyed. The Hobby ($5) and Pro ($20 per workspace) fees count toward usage. Railway publishes no price for sandbox disk.

Instabox: Free costs $0 for one 4 vCPU / 8 GiB machine. Pro ($20), Builder ($100) and Team ($500) a month each include usage credit equal to the fee. Usage costs $0.004 per vCPU-hour and $0.00225 per GiB-hour, per second while a machine runs, which is $0.034 an hour at 4 vCPU / 8 GiB. Disk above the included pool costs $0.08 per GiB-month, and egress above the allowance $0.02 per GiB.

Instabox: 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. boat does not bill egress. A card is required, also for the 7-day trial.

Limits in those scenarios

Railway is marked as not a clean fit in every scenario because it is an app platform first and does not price sandbox disk. Its cap of 100 sandboxes per environment on Pro is below 300 user sandboxes or 1,000 jobs at once. Instabox Free allows 1 machine, with a 30-minute idle pause and a pause after 8 hours of running; Team runs at most 500 machines and 100 starts a minute. None of the three fits 1,000 short jobs at once as listed: boat's $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.

ScenarioRailwayInstaboxboat
One coding agent, workdays
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
None for this scenarioNone for this scenario
One agent that never stops
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
None for this scenarioNone for this scenario
50 agents in parallel
  • not confirmed: Docker inside
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
None for this scenarioNone for this scenario
Sandboxes for your users
  • Pro: max 100 concurrent
  • different kind of product: app platform
  • disk beyond 0 GiB: price unknown
None for this scenarioNone 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
  • Team: max 500 concurrent
  • bursts above 100 starts/min are queued (a burst of 333 takes ~4 min to start)
  • 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, you want sandboxes on the same private network, or you need US and 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.
  • Short jobs billed on CPU used. Useful for many quick runs: Railway bills sandbox CPU on what is used, while Instabox bills allocated vCPU and memory while a machine runs.
  • Regions in the US, EU and Asia. Useful if your users are spread out: Railway runs in California, Virginia, Amsterdam and Singapore. Instabox does not publish its regions.

Use Instabox when

you want a free machine to start with, a low hourly rate, pause with memory, machines above 16 vCPU, or your own Docker image.

  • A free plan and a low hourly rate. One 4 vCPU / 8 GiB machine is free, and paid use costs $0.034 an hour at that size.
  • Pause with memory. Useful for agents that wait: a paused machine keeps its running programs and usually resumes in about a second.
  • Docker, a desktop and mosh. Useful for agent boxes: Docker runs inside, most templates have a desktop, and SSH works with mosh.

Where boat fits

If your agents work for hours or days and you want to drive them by API, look at boat. Railway destroys idle sandboxes unless you take a checkpoint, and includes no desktop. Instabox pauses with memory and has a free plan, and you run the agents yourself. boat gives each agent a full VM that saves its disk every minute, with Docker, /dev/kvm, a desktop and coding agents you prompt and steer by API. boat runs only in the EU and limits starts by plan.

Work saved with no action

A Railway sandbox past its idle timeout is destroyed with its installs, unless you took a checkpoint or set the timeout to 0. On Instabox you save snapshots yourself. boat saves the disk every minute and at stop. Memory is not saved, so a resume is like a reboot.

Token-gated URLs and nested VMs

Railway port domains have no built-in auth, and Instabox port URLs are public unless you add --private. boat's port URLs are token-gated by default. boat also has /dev/kvm on every sandbox, which neither Railway nor Instabox documents.

Agents driven from outside

On Railway you run agents through exec; on Instabox you run them yourself. boat adds a prompt, steer and events API for seven built-in agents.

Use boat when your agents work for hours or days: a full VM that saves its disk every minute and forks while running, with Docker, /dev/kvm, a desktop, token-gated URLs and coding agents you drive by API. boat runs only in the EU. Compare it one to one: boat vs Railway and boat vs Instabox.

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

In this page's estimates, Instabox is lower for one agent on workdays ($0 on its Free plan against $16), one agent all month ($25 against $70) and 50 agents in parallel ($269 against $739). Railway is lower for sandboxes for your users ($223 against $500), but its bills leave out disk. boat comes to $20, $26, $317 and $200 for those four.

Which is faster, Railway or Instabox?

We cannot say: neither is in the public benchmarks we use. Instabox says a new machine's shell is ready in under a second, and a paused machine usually resumes in about a second. In StarSling's run of 3 October 2026, boat did 28.06 runs/s at 4 vCPU / 8 GB on a Ryzen 9 9950X host.

Can Railway or Instabox run Docker?

Instabox's docs say Docker and Docker Compose run inside each machine. Railway's sandbox docs do not mention Docker, so you install and verify it yourself. boat documents Docker, systemd and /dev/kvm on every machine.

What happens when a sandbox goes idle?

Railway destroys it after the idle timeout, 30 minutes by default, so you keep files by taking a checkpoint first. Instabox pauses it after 30 idle minutes and keeps its memory; a visit to a port URL wakes it. boat stops it when its auto-stop timer runs out (1 hour by default) and keeps the disk at least 14 days.

How many machines can I run at once?

Railway allows 50 sandboxes per environment on Hobby and 100 on Pro. Instabox runs 1 on Free, 100 on Pro, 200 on Builder and 500 on Team. boat allows 100 to 2,000 by plan, with start limits per minute, hour and day.

Where do Railway and Instabox run?

Railway has regions in California, Virginia, Amsterdam and Singapore. Instabox does not publish its regions. boat sandboxes run 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