Get a VM for free
One command gets you a Linux VM in about 1.4 seconds, with coding agents preinstalled and a live preview URL.For you or for your agent.
CPU
2 vCPU
Memory
2 GB
Ready in
~1.4 s
Build time
60 min
Claim time
24 h
From zero to a live URL.
01
02
03
For agents.For you.
If your agent can run ssh, it can get its own computer. No API key, no dashboard. It hands you the preview and the claim link.
- Muse Agent
- Grok Bot
- Hermes Agent
Claude Code, Codex, Cursor, or any agent
Get yourself a computer with `ssh railway.new`. It's a free Linux VM on Railway, no account needed. The first connect tells you the preview URL, how long the box lasts, and the link I can use to claim it. Build there, then send me the preview and the claim link.
A terminal window to the cloud.
$ railway code --helpLaunch a coding agent on a Railway cloud agent VMExamples:railway code # new VM with railway-agent-tuirailway code --codex # start Codex on a new VMrailway code --claude # start Claude Code on a new VMrailway code --codex connect my-box # connect to an existing serverrailway code get-config my-box # show saved connection detailsDisconnecting leaves the VM running. Use railway ca sleep <agent> to stop compute.
railway code and railway ca need the latest Railway CLI and Cloud Agents turned on in Priority Boarding. Sandboxes are on every plan; see Sandboxes.
Watch it in 30 seconds.
Common questions.
Is it really free?
Yes. While a box is unclaimed, nobody pays for its compute, and you never enter a card. Abuse protections and a shared AI budget keep it free for everyone.
What if it says to try again later?
When demand is high, we cap how many free VMs run at once in each region. If you hit the cap, you'll see "Anonymous trials are temporarily disabled. Try again shortly, or sign up to keep building." That attempt doesn't count against your daily limit, so try again in a few minutes, or sign up to keep building right away.
Do I need a Railway account?
No. Railway identifies you by your SSH key. If you don't have one, run ssh-keygen -t ed25519 and connect again. You only sign up if you want to keep the box.
What happens after 60 minutes?
The build window closes. You then have 24 hours to claim the box from the link in the welcome message. Unclaimed boxes are deleted along with their files.
Who can see my preview URL?
Only you, from the IP address that created the box, until you claim it. Claiming makes the URL shareable.
What's installed?
The Railway Agent (run agent), Claude Code, Codex, OpenCode, Cursor CLI, Grok, and pi, plus Node, Python, gh, mise, the Railway CLI, and Chromium with Playwright.
Can my coding agent use it?
Yes, that's the point. Agents that run commands over SSH get a JSON manifest on their first connects with the preview URL, the build deadline, and the claim link, so they can build and hand the result back to you.
A VM just for you.
No sign up required.