Cube

Cube vs Railway’s agent VMs

ssh railway.new is a great way to try an agent on a real machine in seconds. Cube is built for the part after that: a computer your agents live on.

Published

The short version

Railway launched free agent VMs in September 2026: run ssh railway.new and you get a Linux VM with Claude Code, Codex and OpenCode preinstalled, no account needed. It’s a brilliant on-ramp. It’s also built as a funnel into Railway’s usage-billed platform, where you deploy apps.

Cube is a persistent cloud computer that exists to run your coding agents, with a Mac app, your GitHub repos and a worktree for every task.

Side by side

Railway agent VMsCube
Built forTrying agents instantly; deploying on RailwayRunning your coding agents day to day
Getting startedssh railway.new, no accountMac app, sign in with GitHub
How long it lasts60 minutes, then claim it; unclaimed VMs deleted after 24 hYour machine, until you reset it
Free VM size2 vCPU, 2 GB RAMPick the machine that suits you
BillingUsage-based after claimingCube plan
Your reposClone them yourselfSynced from GitHub, a worktree per task
AgentsClaude Code, Codex, OpenCode preinstalledInstall Claude Code, Codex, Gemini CLI, OpenCode and more from a list
AccessSSHMac app, phone, and SSH

When to choose Railway

  • You want to try an agent on a real Linux machine in the next 30 seconds.
  • Your apps already run on Railway and you want agents deploying next to them.

When to choose Cube

  • Your agents run for hours, every day, and you want them on a machine that stays yours.
  • You run several agents in parallel and want each one in its own worktree.
  • You want a desktop app and phone check-ins, not only a terminal.

Questions

How long does a free railway.new VM last?

As of September 2026, you get a 60-minute session before you need to claim the VM with a Railway account. Unclaimed VMs and their files are deleted after 24 hours.

Is Railway metered?

Yes. Once claimed, the VM moves onto your Railway plan, which is billed by resource usage.

When should I choose Railway?

When you want to try an agent without signing up, or when you already deploy on Railway and want agents next to your services.

Sources

A new home
for your agents.

Download for Mac

Enter your email to receive the Cube installer link. Open it on your Mac to install Cube.