Provider
Railway sandboxes through one API.
Railway Sandboxes are isolated Linux machines that sit next to the rest of your Railway projects. Connect your Railway account to Annex and your agents can start sandboxes there, alongside every other account you connect.
Railway at a glance
- What it runs
- Isolated Linux virtual machines
- Where
- US West, US East, Amsterdam or Singapore
- Sizes
- The size you ask for, up to 32 vCPU
- Price
- $0.437 an hour when you ask for 2 vCPU and 4 GiB. It bills for what the sandbox actually uses, so this is the most an hour can cost while it is busy.
- Pausing
- Railway has no pause of its own, so Annex holds the sandbox: it keeps its files and stays where it is, Annex stops sending it work, and the provider keeps billing until you resume or stop it.
- To connect
- A Railway token. Railway's Hobby plan at least, and Pro for real use.
List prices for 2 vCPU and 4 GiB for an hour, read from each provider's own pricing in November 2026. Where a provider bills by use, the figure is the most it can cost while busy. Your provider bills you directly, on your own account.
What Annex adds to Railway
One way to ask
Your agent asks Annex for a computer the same way whatever the provider. Nothing in your agent changes when you add Railway or take it away.
A second choice when it's full
If Railway can't start a sandbox, because it is out of room, over your limit or having a bad day, Annex starts it on the next account you have connected and tells you why.
Work that can move
Annex saves a task's files as it goes. If the sandbox is lost, the task carries on in a new one, on Railway or anywhere else.
Ask for Railway by name
Routes are cheapest, fastest or a provider's name. This starts a sandbox on Railway only:
From your own code
curl -X POST $ANNEX/sandboxes \
-H "Authorization: Bearer $KEY" \
-d '{"route": "railway", "vcpu": 2, "memory_gib": 4}'