# Railway

Isolated Linux VMs created from a TypeScript SDK, CLI or dashboard, billed per second for CPU used and memory in use at VM rates, plus a Railway plan subscription whose fee counts toward usage.

- Operated by: Railway Corporation
- Status: Active [1]
- Website: https://railway.com/sandboxes
- Categories: Agent sandboxes
- Checked: 22 Nov 2026
- Alternatives: [Railway alternatives](https://roost.guide/alternatives/railway/)
- Similar providers: [boxes.dev · ≥ $0.4](https://roost.guide/providers/boxes-dev/), [Depot · $0.36](https://roost.guide/providers/depot/), [Vercel Sandbox · ≥ $0.341](https://roost.guide/providers/vercel-sandbox/), [CoreWeave · $0.341](https://roost.guide/providers/coreweave/), [Nanite · ≥ $0.317](https://roost.guide/providers/nanite/)
- Listed in: [Free tier](https://roost.guide/agent-sandboxes/free-tier/), [No session limit](https://roost.guide/agent-sandboxes/no-session-limit/), [Active-CPU billing](https://roost.guide/agent-sandboxes/active-cpu-billing/), [SSH](https://roost.guide/agent-sandboxes/ssh/), [Snapshots](https://roost.guide/agent-sandboxes/snapshots/), [Fork](https://roost.guide/agent-sandboxes/fork/), [SOC 2](https://roost.guide/agent-sandboxes/soc2/), [Europe](https://roost.guide/agent-sandboxes/europe/)
- Explained: [Runner vs sandbox vs devbox](https://roost.guide/explained/index.md), [Snapshot](https://roost.guide/glossary/snapshot/index.md), [Fork (branch)](https://roost.guide/glossary/fork/index.md), [Active-CPU billing](https://roost.guide/glossary/active-cpu-billing/index.md), [vCPU-hour](https://roost.guide/glossary/vcpu-hour/index.md), [GB-hour](https://roost.guide/glossary/gb-hour/index.md)

## Railway Sandboxes (Agent sandboxes)

- Price: $0.0694 /vCPU-h (+ $0.0694 per GB-hour)
- 1-hour session: ≥ $0.417 (2 vCPU / 4 GB · rank 60 of 60)
- Fleet month: ≥ $3,665 (50 × 8 h × 22 days)
- Limits: 50 at once (starts not published)
- Billed on: Active CPU (per second)
- Isolation: Other (sessions up to Unlimited)

What to know:

- Active-CPU billing: Only CPU in use is billed, so idle time costs less; the light-use column shows how much.
- $5/mo plan: This price only applies on a plan of at least $5 a month.

### Plans

- Free: Free; at once 10, included $1, largest 2 vCPU; $1 of resource usage a month, no card; 2 vCPU / 2 GB sandboxes, 5-minute idle timeout [1]
- Hobby: $5 /month; at once 50, included $5, largest 8 vCPU; $5 of resource usage a month included; up to 8 vCPU / 8 GB, 50 sandboxes per environment, idle timeout up to 120 minutes or off [2]
- Pro: $20 /month; at once 100, included $20, largest 24 vCPU; $20 of resource usage a month included; up to 24 vCPU / 24 GB, 100 sandboxes per environment [2]

### Billing

- Payment: Metered: usage billed afterwards [2]
- Plan minimum: $5 a month, comes back as usage [2]
- Billing increment: Per second [2]
- Minimum charge: unknown (Metered per second on the sandboxes and plans pages; no minimum charge per sandbox is stated) [2]
- Per-job fee: No fee [2]

### Runtime

- Billed on: Active CPU [2]
- Isolation: Other [2]
- Max session: Unlimited [2]
- Concurrent sandboxes: 50 [2]
- Starts: unknown (No sandbox create or start rate limit on the Sandboxes docs, pricing docs or CLI reference) [1]
- Largest vCPU: 8 [2]
- Largest memory: 8 GB [2]

### Lifecycle

- Survives a stop: Disk [1]
- Snapshots: Yes [1]
- Pause and resume: No [1]
- Fork: Disk copy [1]
- Compute billed while stopped: Yes [1]
- Auto-stop: after 30 min [1]
- Start time (vendor claim): unknown (No start-time figure on the Sandboxes page or docs; they say a sandbox is ready to exec once create resolves) [1]

### Capabilities

- GPU: No [4]
- Desktop: None [4]
- Coding agents installed: Claude Code, Codex [4]
- Agent prompt API: No [4]
- SSH: Yes [4]
- Docker inside: unknown (Not stated on the Sandboxes docs or CLI reference) [4]
- SDKs: TypeScript, CLI [4]
- SOC 2: Yes [4]

### Storage and network

- Disk included: unknown (Sandbox disk size is not published on the Sandboxes docs or pricing pages) [2]
- Extra disk: unknown (No sandbox disk price on the Sandboxes docs or pricing pages (Railway's volume price is $0.15 per GB-month for services)) [2]
- Snapshot storage: unknown (No checkpoint storage price on the Sandboxes docs or pricing pages) [2]
- Egress: $0.05 per GB [2]

### Platform

- Regions: us-west2, us-east4-eqdc4a, europe-west4-drams3a, asia-southeast1-eqsg3a [1]
- Your cloud (BYOC): No [1]
- Self-host: No [1]

### Free allowance

- Minutes a month: unknown (The Free plan gives $1 of usage a month, not sandbox minutes) [3]
- Credit a month: $1 [3]
- One-time credit: $5 [3]

### Cross-provider tools

- Sandbox SDK: Supported [5]

### Prices

| Resource | Price | Per hour |
|---|---|---|
| per vCPU | $0.00116 /min [2] | $0.0694 |
| per GB of memory | $0.00116 /min [2] | $0.0694 |

- Sandboxes are billed at Railway's VM rates, not the container rates for services: $50 per vCPU-month (CPU used) and $50 per GB-month (memory in use, including the operating system and filesystem cache), metered per second, plus $0.05 per GB egress. The pricing page lists $0.001157 per vCPU-minute and per GB-minute; the Sandboxes docs give about $0.00001929 per second, the same rate.
- Idle sandboxes are not free. Memory in use, background CPU and egress stay billable while a sandbox waits for work. The size is a ceiling, not the billed amount, so reserved-but-unused memory is not billed. Railway destroys a sandbox when its idle timeout expires (default 30 minutes on Hobby and Pro, 1 to 120 minutes, or off with 0; 5 minutes on Trial and Free). A destroyed sandbox costs nothing; there is no pause.
- A plan subscription is required: Free $0, Hobby $5, Pro $20, Enterprise custom. The fee counts toward usage (Hobby includes $5, Pro $20), so a bill is the larger of the two. Sandbox usage draws from the same included usage as services and counts toward usage limits.
- Free stops when its $1 of monthly usage is spent. New accounts also get a 30-day Trial with a one-time $5 grant (2 vCPU / 2 GB, 10 sandboxes, 5-minute idle timeout).
- Default size is 2 vCPU / 2 GB on Free, 4 / 4 on Hobby and 8 / 8 on Pro; the maximum is 2 / 2, 8 / 8 and 24 / 24 (32 / 32 on older Pro limits). Fractional vCPU is allowed. Limits are per environment, and every sandbox that is not destroyed counts, including failed ones. Checkpoints have their own matching cap (10, 10, 50, 100 on Trial, Free, Hobby, Pro).
- Checkpoints are named disk snapshots; forks boot from a copy of the disk, so files are kept but running processes and memory are not. Public HTTPS domains (up to 10 per sandbox), private networking into your Railway environment, SSH and port forwarding are available. New sandboxes run in US West unless a region is set.
- Control is through the open-source TypeScript SDK (Node.js 22 or later), the CLI, the dashboard and a GraphQL API.

## Sources

[1] https://docs.railway.com/sandboxes (checked 22 Nov 2026)
[2] https://docs.railway.com/pricing/plans (checked 22 Nov 2026)
[3] https://docs.railway.com/pricing/free-plan (checked 22 Nov 2026)
[4] https://railway.com/sandboxes (checked 22 Nov 2026)
[5] https://sandbox-sdk.app/docs/providers (checked 22 Nov 2026)
