Railway pricing in 2026: plans, usage rates and monthly bills
Railway pricing has two parts: a monthly plan fee and metered usage. The plans are Free ($0 with $1 of usage a month), Hobby ($5, which includes $5 of usage), Pro ($20, which includes $20) and Enterprise (custom). Usage costs $20 per vCPU-month, $10 per GB of RAM a month, $0.15 per GB of volume storage a month and $0.05 per GB of egress, charged for what your services use. Each month you pay the plan fee or your usage, whichever is higher. In the worked bills below, an API with Postgres costs $12.25 on Hobby, a web app with a worker and Redis costs $21.05, and a small always-on bot costs the $5 minimum. All prices were checked on 22 November 2026.
I work on Lizard (lizard.build), which bills apps the same way at lower rates: $18.26 per vCPU-month and $9.13 per GB of RAM a month, inside a $19 Pro plan that includes $19 of usage (Lizard pricing). lizard up deploys the app from its folder and lizard add postgres adds Managed Postgres. The plan fee decides which host is cheaper. The API with Postgres uses $11.19 on Lizard, so it bills the $19 minimum, which is more than Railway Hobby's $12.25. Lizard costs less than Hobby once the same services use more than $19 a month on Railway, and less than Railway Pro in all three examples.
lizard up
lizard add postgres
lizard secrets set DATABASE_URL='${{postgres.DATABASE_PRIVATE_URL}}' --service apiThe third command hands the database's private URL to the app; replace api with your service's name.
What plans does Railway offer?
Railway offers four plans and a one-time trial: Free at $0, Hobby at $5 a month, Pro at $20 a month and Enterprise at a custom price. The fee on Hobby and Pro is a minimum, not an extra charge: Railway's billing guide calls it "a minimum usage commitment" that "covers your first $5 or $20 of resource usage each month" (Understanding your bill).
| Plan | Monthly fee | Included usage | CPU and RAM per service | Replicas per service | Volume storage | What else to know |
|---|---|---|---|---|---|---|
| Free | $0 | $1 a month | 1 vCPU, 0.5 GB | 1 | 0.5 GB | No card. 1 project, 3 services. Services sleep when idle |
| Trial | $0 | $5 once, for 30 days | 2 vCPU, 1 GB | 2 | 0.5 GB | No card. New accounts only, then Free or a paid plan |
| Hobby | $5 | $5 a month | 48 vCPU, 48 GB | 6 | 5 GB | One developer. 7-day logs. Always on |
| Pro | $20 | $20 a month | 1,000 vCPU, 1 TB | 42 | 1 TB | Unlimited seats at no seat fee. 30-day logs |
| Enterprise | Custom | Custom | 2,400 vCPU, 2.4 TB | 50 | 5 TB | SSO, audit logs, HIPAA BAA, support SLOs |
Sources: Railway pricing and Railway plans, 22 November 2026. Railway's plan card for Hobby says "up to 5 replicas" while its limits tables say 6.
How the plan fee and included usage work:
- Included usage resets each billing cycle and does not roll over. If you use $2 on Hobby this month, you still pay $5 and get $5 again next month.
- The plan fee is billed in advance and extra usage in arrears, on the same invoice.
- When the Free plan's $1 runs out, services stop until the next cycle or until you upgrade. Volumes and bucket files are kept (Free plan).
How does Railway bill CPU, memory, egress and volumes?
Railway bills CPU, memory and volumes by time and egress by the gigabyte, at the same rates on every plan.
| Resource | Rate per month | Rate per second | What is measured |
|---|---|---|---|
| CPU | $20 per vCPU | $0.00000772 per vCPU | CPU the service uses |
| Memory | $10 per GB | $0.00000386 per GB | RAM the service holds |
| Volume storage | $0.15 per GB | $0.00000006 per GB | Space used on the volume |
| Network egress | $0.05 per GB | n/a | Data sent out over the public network |
| Object storage | $0.015 per GB | n/a | Stored data; bucket egress is free |
Source: Railway plans, resource usage pricing and Railway pricing, 22 November 2026.
The monthly figures are the per-second rates over a 30-day month of 2,592,000 seconds: $0.00000772 × 2,592,000 = $20.01 per vCPU and $0.00000386 × 2,592,000 = $10.01 per GB.
Four details change what those rates mean in practice:
- You pay for what a service uses. A service that averages 0.05 vCPU and 0.35 GB pays for exactly that, even though Hobby lets it grow to 48 vCPU.
- A running service with no visitors still holds memory, so it still costs money.
- Builds are free: Railway does not charge for build CPU, build memory or image storage.
- Volumes are charged for the storage used, and each volume starts with about 2 to 3% used for file system metadata (volumes reference).
Railway's sandboxes and cloud agents run on virtual machines at separate rates: $50 per GB of memory a month and $50 per vCPU a month, metered per second, plus $0.05 per GB of egress (VM pricing). The docs say memory stays billable while the VM waits for work.
How much does a Railway app cost per month?
In these examples a small Railway app costs between the $5 Hobby minimum and about $28 a month, and memory is most of that. The three bills below use Railway's published monthly rates and a 30-day month.
The CPU and memory figures are my assumptions about average use across the whole month, not measurements of a running app. Railway's pricing FAQ gives the way to get your own: deploy on the trial or Hobby, let the app run for one week, then read Estimated Usage in the workspace settings.
Bill 1: an API with Postgres
One API service averaging 0.05 vCPU and 0.35 GB of RAM. One Postgres service averaging 0.05 vCPU and 0.5 GB, with 5 GB on its volume. 20 GB of egress.
| Line | Math | Cost |
|---|---|---|
| CPU | 0.10 vCPU × $20 | $2.00 |
| Memory | 0.85 GB × $10 | $8.50 |
| Volume | 5 GB × $0.15 | $0.75 |
| Egress | 20 GB × $0.05 | $1.00 |
| Usage | $12.25 |
On Hobby the bill is $12.25: the $5 fee plus $7.25 of usage above the included $5. On Pro the bill is $20, because usage is below Pro's minimum.
Railway has no separate Postgres price. A database is a service with a volume, billed at the same rates. The Postgres in this bill costs $6.75 a month: $1.00 of CPU, $5.00 of memory and $0.75 of storage. It is a single node; automatic failover needs a conversion to high availability, which adds nodes to pay for.
Bill 2: a web app with a worker and Redis
A web service averaging 0.1 vCPU and 1 GB of RAM. A background worker averaging 0.05 vCPU and 0.4 GB. Redis averaging 0.02 vCPU and 0.1 GB, with 1 GB on its volume. 50 GB of egress.
| Line | Math | Cost |
|---|---|---|
| CPU | 0.17 vCPU × $20 | $3.40 |
| Memory | 1.5 GB × $10 | $15.00 |
| Volume | 1 GB × $0.15 | $0.15 |
| Egress | 50 GB × $0.05 | $2.50 |
| Usage | $21.05 |
The bill is $21.05 on both Hobby and Pro, because usage is above both minimums. Memory is 71% of it. Add the Postgres from Bill 1 and the total becomes $27.80.
Bill 3: a small always-on bot
One service averaging 0.02 vCPU and 0.15 GB of RAM, such as a Discord or Telegram bot that holds a connection open. 1 GB of egress.
| Line | Math | Cost |
|---|---|---|
| CPU | 0.02 vCPU × $20 | $0.40 |
| Memory | 0.15 GB × $10 | $1.50 |
| Egress | 1 GB × $0.05 | $0.05 |
| Usage | $1.95 |
On Hobby the bill is the $5 minimum. The Free plan does not carry this bot for a whole month. A bot with an open WebSocket keeps sending traffic, so it never sleeps, and at $1.95 a month it uses up the $1 after about 15 days (30 × $1 ÷ $1.95).
What makes a Railway bill jump?
A Railway bill jumps when something multiplies the resources in use, because every running copy of a service is billed. Railway's billing guide lists these causes; the numbers show what each does to the bills above:
- Replicas: each one is a full instance that uses its own CPU and memory. The web service in Bill 2 costs $12 a month (0.1 × $20 + 1 × $10). Three replicas that each use as much cost $36.
- PR environments: with PR deploys on, Railway creates a copy of the environment for every open pull request. Three open pull requests that copy Bill 1 for a full month add 3 × $10.50 = $31.50 of CPU and memory.
- The public database URL: traffic to your own database over
DATABASE_PUBLIC_URLcounts as egress at $0.05 per GB. Moving 100 GB that way adds $5. The privateDATABASE_URLdoes not. - Memory leaks: memory is billed for as long as it is held. An API that grows from 0.35 GB to 1.5 GB and stays there adds $11.50 a month.
- Idle staging and test environments: they hold memory around the clock like production.
Railway gives two controls. A hard usage limit takes every workload offline once the cycle's usage reaches the amount you set, with emails at 75%, 90% and 100% (cost control). Serverless mode stops a service after 5 to 10 minutes without outbound traffic and starts it on the next request, with a cold start. An open database connection or telemetry counts as outbound traffic and keeps the service awake.
How does Railway compare with Render, Fly.io and Lizard for the same app?
For the API with Postgres, Railway Hobby is the cheapest of the four at $12.25 a month. Railway and Lizard bill measured use, so both get the same inputs. Render and Fly.io sell fixed instance sizes, so the table uses the smallest instance that holds each service's memory.
| Host | Bill 1: API + Postgres | Bill 2: web + worker + Redis | Bill 3: bot | Plan fee |
|---|---|---|---|---|
| Railway Hobby | $12.25 | $21.05 | $5.00 | $5, includes $5 of usage |
| Railway Pro | $20.00 | $21.05 | $20.00 | $20, includes $20 of usage |
| Render (Hobby workspace) | $29.75 | $48.75 | $7.00 | $0, plus instances |
| Fly.io | $43.49 | $20.42 | $2.21 | None |
| Lizard Pro | $19.00 (usage $11.19) | $19.19 | $19.00 (usage $1.78) | $19, includes $19 of usage |
Prices checked on 22 November 2026 at railway.com/pricing, render.com/pricing, fly.io/docs/about/pricing and lizard.build/pricing. US region, one month, before tax; Lizard's $19 includes taxes.
How each cell is built:
- Render, Bill 1: Starter web service (0.5 CPU, 512 MB) $7, Postgres with 1 GB of RAM $19, 5 GB of database storage at $0.30 = $1.50, and 15 GB of bandwidth above the included 5 GB at $0.15 = $2.25. This assumes the API's memory peaks stay under 512 MB.
- Render, Bill 2: Standard web service (1 CPU, 2 GB) $25, Starter worker (512 MB) $7, Key Value with 256 MB $10, and 45 GB of bandwidth = $6.75.
- Fly.io, Bill 1: shared-cpu-1x Machine with 512 MB $3.69, Managed Postgres Basic $38, 5 GB of database storage at $0.28 = $1.40, and 20 GB of egress at $0.02 = $0.40. Fly.io's Managed Postgres includes high availability on every plan, so that price buys failover the single-node Railway database does not have.
- Fly.io, Bill 2: shared-cpu-2x Machine with 2 GB $13.39, shared-cpu-1x with 512 MB $3.69, Redis run by you on a 256 MB Machine $2.19 with a 1 GB volume $0.15, and 50 GB of egress = $1.00. A shared Fly.io vCPU has a baseline of 6.25% before throttling (CPU performance), and each average here stays under it. Fly.io sells managed Redis through Upstash at Upstash's prices, which are not in this table.
- Fly.io, Bill 3: a 256 MB Machine $2.19 and 1 GB of egress $0.02. Fly.io waives a personal organization's monthly bill when it is under $5 and a card is on file, so this bot can cost $0 there (free waiver).
- Lizard: the Railway inputs at $18.26 per vCPU, $9.13 per GB of RAM, $0.14 per GB of volume and $0.045 per GB of egress. Bill 2 is 0.17 × $18.26 + 1.5 × $9.13 + $0.14 + $2.25 = $19.19. Lizard's monthly rates assume 730 hours and Railway's assume 720, so per hour Lizard's CPU and memory rates are about 10% lower; the table uses each host's published monthly rate.
For one small project, Railway Hobby or Fly.io costs less than Lizard, because Lizard Pro starts at $19. Lizard's published rates are about 9% below Railway's, and that shows only when usage passes the plan fee: Bill 2 is $19.19 on Lizard against $21.05 on Railway and $20.42 on Fly.io. Render's fixed instances cost the same whether a service is busy or idle, so they are the expensive choice for the mostly idle services in these bills.
Lizard's $19 also covers Lizard Sandboxes, the microVMs for coding agents, from the same included usage. A Small sandbox (2 vCPU, 4 GB RAM) is a flat $0.0162 an hour. I started one for this article with lizard sandbox create -t claude -s small --json and the CLI reported pricePerHour: 0.0162. New accounts start with a 7-day trial that needs a card and includes $5 of usage; trial sandboxes are deleted after 1 hour at the latest.
To move off Railway, see Railway alternatives. For the other price lists, see Render pricing, Fly.io pricing, best PaaS providers and cheap Postgres hosting.
FAQ
Is Railway free? Railway has a Free plan at $0 with $1 of usage a month and no card required. Services sleep after 5 to 10 minutes without outbound traffic. New accounts also get a one-time $5 trial grant for 30 days.
How much does the Railway Hobby plan cost? The Railway Hobby plan costs $5 a month and includes $5 of usage. If usage is $3, the bill is $5. If usage is $12.25, the bill is $12.25. Railway waives the $5 fee for a small set of active builders it selects automatically.
How much does the Railway Pro plan cost? The Railway Pro plan costs $20 a month and includes $20 of usage. Seats are free: the invoice shows a "Pro (per seat)" line at $0.00.
How much does Railway Postgres cost? Railway Postgres has no fixed price. It is billed as a service at $20 per vCPU-month, $10 per GB of RAM a month and $0.15 per GB of storage a month. A single node averaging 0.05 vCPU and 0.5 GB of RAM with 5 GB of data costs $6.75 a month.
Is there a Railway cost calculator? Railway's pricing FAQ says it cannot give exact quotes and recommends measuring instead: deploy the app, let it run for one week, and read Estimated Usage in the workspace settings. To estimate by hand, multiply average vCPU by $20, GB of RAM by $10, GB of volume by $0.15 and GB of egress by $0.05.
Does Railway charge when my app has no traffic? Yes. A running service holds memory and uses some CPU with no visitors, and both are billed. A service put to sleep by Serverless mode has no compute charge.
How much does Railway cost compared with Lizard? Railway charges $20 per vCPU-month and $10 per GB of RAM a month; Lizard charges $18.26 and $9.13. Railway Hobby is cheaper for projects that use less than $19 a month on Railway, because Lizard Pro costs $19. Above the plan fees, the same usage costs about 9% less on Lizard.
Build with AI. Ship with Lizard
You don't need a platform team to go live. Your whole cloud, one CLI command away.
- Services
- —
- Add-ons
- —
- Deployments
- —
- Sandbox starts
- —