Documentation

Guide / Railway pricing

Railway pricing: plans, usage rates and examples

Updated

Railway bills in two parts: a monthly plan fee that includes some usage, and per-second charges for the CPU, memory, volume storage and network egress your services use. Once you know the rates a Railway bill is easy to estimate, but the plan names alone do not tell you what an app and a database will cost. This guide walks through the plans, the rates, how databases are billed and two worked examples, with each figure linked to Railway's own pages. Prices were checked on November 30, 2026. Railway changes its prices, so confirm them on its pricing page before you decide.

Railway billing lines: a monthly plan, then CPU and memory, volume and egress metered by usage.

The short version

Railway has three self-serve plans. Each plan fee includes the same amount in usage, so a small project can cost no more than the plan fee, and a larger one pays for the usage on top.

  • Free: $0 a month with $1 of usage. Services sleep when idle.
  • Hobby: $5 a month with $5 of usage included. Services stay on.
  • Pro: $20 a month per workspace with $20 of usage included.
  • Usage is metered per second for CPU, memory, volumes and egress. Builds are free.

Sources for these figures:

Plans and what they include

Railway plans, checked November 30, 2026
PlanMonthly feeUsage includedLargest single serviceVolume size per service
Free$0$1 a month1 vCPU, 0.5 GB RAM0.5 GB
Hobby$5$548 vCPU, 48 GB RAM5 GB
Pro$20 per workspace$201,000 vCPU, 1 TB RAMUp to 1 TB, self-serve
EnterpriseCustomCustomCustomCustom

New accounts can also start with a Free Trial: a one-time $5 credit that lasts 30 days. On Free, Railway says services sleep after 5 to 10 minutes without outbound traffic and wake on the next request; Hobby and above keep services running. A Free account is limited to 1 project with up to 3 services.

The per-service volume size matters for databases. Hobby allows a 5 GB volume per service, so a 10 GB database needs Pro.

Usage rates

Railway publishes per-second rates and a monthly equivalent. The monthly figures assume a service that runs all month at a constant size.

Railway usage rates, checked November 30, 2026
ResourceRateMonthly equivalent
Memory$0.00000386 per GB per secondAbout $10 per GB
CPU$0.00000772 per vCPU per secondAbout $20 per vCPU
Volume storage$0.00000006 per GB per secondAbout $0.15 per GB
Network egress (services)$0.05 per GBBilled per GB sent
Object storage$0.015 per GB-monthEgress is free

Over a 720-hour month (2,592,000 seconds) the per-second rates come to $20.01 per vCPU and $10.01 per GB of RAM. Railway says you pay for the resources your services actually use, so a service that sits mostly idle uses less CPU than one under load. Your own bill follows measured use; the examples below assume steady use to keep the arithmetic visible.

How Railway bills databases

A Railway database is a service like any other. Railway does not charge extra for a database beyond the CPU, memory, volume and egress it uses, so the bill is the compute and the volume. Protection is separate and opt-in:

  • The Postgres guide describes a single node that Railway maintains. For automatic failover you convert it to high availability.
  • Backups and point-in-time recovery are off until you turn them on. Railway lists them as something the user enables.
  • Scheduled backups keep daily copies for 6 days, weekly copies for 27 days and monthly copies for 89 days. They are billed like volumes.
  • Point-in-time recovery is available for Postgres and MySQL. It keeps the last 4 full backups, which gives a restore window of roughly 4 weeks, starting from the first base backup after you enable it.
  • Railway says it does not publish an uptime SLA today.

Railway's own pages disagree on the Free plan: the pricing page lists one-click Postgres on Free, while the plans documentation says managed databases start on Hobby. Check the dashboard before you plan around it.

Worked example: one app and one Postgres database

Take an app that uses 0.25 vCPU and 0.5 GB of RAM all month, and a Postgres database of the same compute with a 10 GB volume. This is the same example used on the Resilis comparison page for Railway.

Railway monthly usage, 720 hours
LineMonthly usage
App: 0.25 vCPU and 0.5 GB RAM$10.01
Postgres: 0.25 vCPU, 0.5 GB RAM and a 10 GB volumeAbout $11.56
Total usage$21.57

The volume is 10 GB, which is above Hobby's 5 GB per-service volume, so this setup needs Pro. Pro's $20 plan fee includes $20 of usage, so the usage above it brings the monthly total to about $21.57.

Two variations show how the bill moves. A single always-on app of that size on Hobby uses $10.01, of which $5 is included, so the monthly total is about $10.01. If the Pro example also sends 100 GB out of the network, egress adds $5.00 at $0.05 per GB and the total becomes about $26.57.

How to estimate your own bill

  • 1. List each service and the vCPU and GB of RAM it uses on average.
  • 2. Multiply vCPU by $20.01 and GB of RAM by $10.01 for a 720-hour month, then add the results.
  • 3. Add volumes at about $0.15 per GB a month. Include the volume the backups use if you turn them on.
  • 4. Add egress at $0.05 per GB sent out of the network.
  • 5. Compare the total with the usage your plan includes. Below it you pay the plan fee; above it you pay the total (the plan fee is part of it).
  • 6. Check the limits: volume size per service on your plan, and whether the Free plan's sleeping suits your app.

Watch the inputs that change most. Traffic raises CPU and egress, a growing database raises the volume, and extra services add their own compute. Re-run the estimate when any of them changes.

Compare with Resilis

Resilis bills compute and storage by usage too, with a plan fee that becomes runtime credit. Resilis prices are on the pricing page rather than repeated here, so they stay current. The Railway comparison page puts the same app and database side by side.

Frequently asked questions

Is Railway free? Railway has a Free plan at $0 a month with $1 of usage, and a one-time $5 Free Trial credit for 30 days. Free services sleep when idle.

How much does Railway cost per month? Hobby is $5 and Pro is $20 per workspace, and each includes that amount in usage. Beyond it you pay per second for CPU, memory, volumes and egress.

Does Railway charge extra for databases? Railway says it does not charge extra for databases beyond the resources they use. Backups are billed like volumes.

Does Railway charge for builds? Railway's documentation says service builds are free.

Does Railway include database backups? Backups and point-in-time recovery are opt-in for databases. You turn them on and they use volume storage.

Can I run a 10 GB database on Hobby? Hobby allows a 5 GB volume per service, so a 10 GB volume needs Pro.

Where do these figures come from? From the Railway pages linked in each section, read on November 30, 2026.