Railway pricing in 2026: plans, usage and what an app costs

Railway pricing explained: Free, Hobby and Pro plans, rates for vCPU, memory, egress and volumes, and what three common setups cost per month.

Aram Shatakhtsyan
Aram ShatakhtsyanCo-Founder, Modelence
Last updated
Reading time13 min
A Railway bill with usage lines for vCPU, memory and egress, next to Modelence running a web service, a worker and Postgres with usage included in the plan

TL;DR

Key takeaways

  • Railway's Free plan includes $1 of usage a month, Hobby is $5 and Pro is $20, and each paid plan's fee counts toward usage.
  • Usage is metered at $20 per vCPU and $10 per GB of memory a month, $0.05 per GB of egress and $0.15 per GB-month of volume storage.
  • Databases run as services billed by usage, and a Postgres HA cluster adds six more services by default.
  • A small API with Postgres comes to about $10 a month, and a web service, worker, Postgres and Redis to about $34 on Pro, at light average use.
  • Usage limits send an email alert at a soft limit and take workloads offline at a hard limit of at least $10.

Ask AI about this post:

Railway pricing has two parts: a monthly plan fee and the resources your services use. The Free plan costs $0 and includes $1 of usage a month, Hobby is $5 a month and Pro is $20 a month, and on both paid plans the fee counts toward usage, so you pay more only when your services use more than the plan price. Usage is metered at $20 per vCPU and $10 per GB of memory per month, $0.05 per GB of outbound traffic and $0.15 per GB of volume storage per month. This guide walks through every metered unit, what the plan fee covers, how databases are billed and what three common setups cost per month, using rates from Railway's pricing page and docs as of November 29, 2026.

Railway plans at a glance

PlanMonthly priceIncluded usageResources per service
Free$0, no card$1 a monthUp to 1 vCPU and 0.5 GB of RAM, services sleep when idle
Hobby$5$5 a monthUp to 48 vCPU and 48 GB of RAM
Pro$20$20 a monthUp to 1,000 vCPU and 1 TB of RAM
EnterpriseCustomBy contractUp to 2,400 vCPU and 2.4 TB of RAM

Every new account also starts with a 30-day trial that includes a one-time $5 credit and higher limits than the Free plan, and after the trial it continues on Free unless you upgrade. The per-service numbers are ceilings, not what you pay for. A service that only ever uses 0.2 vCPU is billed for 0.2 vCPU, whichever plan it runs on.

How Railway meters usage

Railway measures what each service actually uses and bills it by the minute on invoices (the pricing page also lists per-second rates). These are the rates for regular services:

ResourceMonthly ratePer-minute rate
CPU$20 per vCPU$0.000463 per vCPU
Memory$10 per GB$0.000231 per GB
Network egress$0.05 per GBBilled per KB
Volume storage$0.15 per GB$0.00000347 per GB

A few things sit outside these four meters. Builds are free, including build CPU and memory and image storage. Traffic between services over Railway's private network is not egress, so an app that reaches its database through the private DATABASE_URL pays nothing for those queries, while one that uses DATABASE_PUBLIC_URL pays $0.05 for every GB it reads. Storage buckets, Railway's S3-compatible object storage, cost $0.015 per GB-month with free egress and free API operations.

Sandboxes and other workloads on Railway's virtual machine primitive have their own rates of about $50 per vCPU and $50 per GB of memory a month, metered on CPU in use and memory held. They draw from the same included usage as everything else, so if you experiment with them on a production workspace, they show up in the same total.

To turn the rates into a mental model: one vCPU busy around the clock costs $20 a month, and 1 GB of memory held around the clock costs $10. Most small web services use a small fraction of a vCPU on average and hold a few hundred MB of memory, which is why their usage often lands in single dollars.

What the plan fee covers

Railway describes the subscription as a minimum usage commitment. On Hobby, the $5 covers the first $5 of usage each month, and on Pro the $20 covers the first $20. If usage stays under that amount, the bill is the plan price. If usage goes over, you pay the difference, so $8 of usage on Hobby is an $8 bill, not $13. The included amount resets each billing cycle and does not roll over.

Each invoice combines two periods: the subscription for the coming month, billed in advance, and any usage above the included amount from the month that just ended, billed in arrears. Railway may also charge part of a bill early in the cycle when usage climbs. Payment is by credit card on self-serve plans, and Enterprise can be invoiced.

The plan also decides what you can do beyond raw resources:

  • Seats. Hobby is a single-developer workspace. Pro includes unlimited workspace seats at no charge, and the invoice shows a $0.00 per-seat line just to list the member count.
  • Logs and support. Log history is 7 days on Hobby and 30 days on Pro, and Pro adds Railway's support on top of the community forum.
  • Add-ons by commitment. Pro workspaces can commit to a monthly spend to unlock more: HIPAA BAAs from a $1,000 monthly commitment, SSO, SCIM, RBAC and longer audit logs from $2,000, and higher support tiers and dedicated VMs above that. Business Class Support is also sold as an add-on to Pro.

How databases are billed

Railway's Postgres, MySQL, Redis and MongoDB are templates that deploy as ordinary services, so there is no fixed database price. Each database pays for the CPU and memory it uses plus its volume at $0.15 per GB a month, and you can see those lines per service on the usage page. A lightly used Postgres with a few GB of data typically costs a few dollars a month in total.

High availability changes the math more than anything else. Converting Postgres to HA turns one service into a cluster: by default the primary plus two streaming replicas, three etcd nodes for leader election and an HAProxy entry point. Every one of those nodes is a service with its own CPU, memory and, for the data nodes, volume, so an HA database costs several times a single-node one. HA clusters start on the Hobby plan.

Backups are billed through existing meters as well. Volume backups are charged on their incremental size at the volume storage rate. Point-in-time recovery for Postgres and MySQL archives compressed WAL or binlog files to a bucket, so you pay egress for the uploads and bucket storage while the files are retained, and restores are free because bucket egress is free.

What a Railway app costs per month

Because Railway bills measured usage, the honest way to show a monthly cost is to state what each service uses on average and multiply it out. The figures below assume steady, light production traffic. Your own numbers will come from the usage page once your app has run for a while, and the totals scale linearly if your services use more.

A small API with Postgres

One API service and a single-node Postgres on the Hobby plan, run by one developer.

ItemAssumed average useMonthly cost
API service0.1 vCPU, 0.3 GB$2.00 + $3.00
Postgres0.05 vCPU, 0.25 GB$1.00 + $2.50
Postgres volume5 GB$0.75
Egress20 GB$1.00
TotalUsage of $10.25, Hobby fee counted toward it$10.25

An app with a worker and Redis

A web service, a background worker, Postgres and Redis on the Pro plan, with three people in the workspace.

ItemAssumed average useMonthly cost
Web service0.25 vCPU, 0.5 GB$5.00 + $5.00
Worker0.2 vCPU, 0.5 GB$4.00 + $5.00
Postgres0.1 vCPU, 0.5 GB, 10 GB volume$2.00 + $5.00 + $1.50
Redis0.02 vCPU, 0.1 GB, 1 GB volume$0.40 + $1.00 + $0.15
Egress100 GB$5.00
TotalUsage of $34.05, Pro fee counted toward it$34.05

The three seats add nothing. Turning on HA for Postgres with the default cluster would add six more services, two of them Postgres data nodes with their own volumes, which is the line to model before you enable it.

A few always-on side projects

Three small projects on one Hobby plan, each with one service and its own Postgres, mostly idle.

ItemAssumed average useMonthly cost
3 services0.02 vCPU, 0.15 GB each3 × ($0.40 + $1.50)
3 Postgres databases0.02 vCPU, 0.1 GB, 1 GB volume each3 × ($0.40 + $1.00 + $0.15)
Egress10 GB in total$0.50
TotalUsage of $10.85, Hobby fee counted toward it$10.85

Memory dominates all three examples, because a process holds its memory all month even when it does little work. That is also why the side projects cost more than the $5 plan fee even though they barely serve traffic.

Why idle services still cost money

Railway bills the resources a running service holds, and a service with no traffic still holds memory for its runtime, dependencies and caches, plus a little CPU to stay responsive. Railway's own billing guide puts it plainly: you pay for allocated resources, not traffic. A Node.js or Python process sitting at 200 MB costs about $2 a month in memory alone, around the clock.

The tool for this is Serverless, formerly called App Sleeping. With it on, Railway stops a service after it has sent no outbound traffic for 5 to 10 minutes, and a sleeping service has no compute charges. The next request wakes it, with a cold start and possibly a 502 on that first request. The catch is that sleep depends on outbound traffic of any kind, so an open database connection, a connection pooler, framework telemetry or calls to other services keep a service awake. A web app that holds a Postgres connection pool often never sleeps.

Other common sources of idle spend are PR environments, which run a copy of your services for every open pull request, and staging environments left running around the clock. Both are billed at the same rates as production.

Free and Hobby plan limits

The Free plan gives you $1 of usage a month with no card: one project with up to three services, each up to 1 vCPU and 0.5 GB of RAM, one 0.5 GB volume and one 10 GB bucket. Services on Free always run serverless and sleep when idle, and databases are single-node. Custom domains, cron jobs and region choice are not included, and Railway picks the region for services without a volume. When the $1 runs out, services stop until the next cycle or until you upgrade, and volumes keep their data. At Railway's rates, $1 buys about 100 MB of memory held for a month, or 20 GB of egress, so it suits a demo that sleeps most of the time.

The Hobby plan costs $5 a month and is not free: the fee is charged even when usage is lower. It allows up to 50 projects with 50 services each, up to 48 vCPU and 48 GB of RAM per service across its replicas, volumes up to 5 GB, cron jobs, custom domains and region choice, with a 99.9% availability target and 7 days of logs. Railway waives the Hobby fee automatically for a small set of active builders, and it does not take requests for the waiver.

Volume size is the Hobby limit people hit first. A database that grows past 5 GB needs Pro, where volumes can be resized up to 1 TB yourself.

How to estimate and cap your Railway bill

Railway's pricing FAQ says it can't quote what an app will cost, since that depends on what you deploy, and recommends deploying the project on the trial or Hobby plan, letting it run for a week, and reading the estimated usage on the workspace usage page, which breaks costs down by project and by resource. The pricing page also lets you upload a current invoice from another provider to compare.

To stop a bill from surprising you, use the controls Railway provides:

  • Usage limits. On the workspace usage page (or with railway usage limit set), set a custom email alert, which acts as a soft limit, and a hard limit. At the hard limit Railway takes all workloads offline until you raise or remove it, with reminders at 75% and 90%. The minimum hard limit is $10. Railway Agent usage has its own separate limit.
  • Replica limits. Cap the CPU and memory each replica can use, accepting that the service crashes if it needs more.
  • Private networking. Connect services and databases over the private network so internal traffic is never egress.
  • Serverless. Turn it on for services that can sleep, such as internal tools and staging.

A hard limit protects your budget by stopping production, so for a business app the email alert with a generous hard limit set well above normal spend is the safer pair.

How Modelence prices the same setups

Modelence runs your services and databases on AWS and prices them in a way that sits between fixed and metered billing. The Free plan covers side projects. Starter is $20 a month, Pro is $100 and Scale is $500, and each paid plan includes its price as cloud usage every month, so the bill stays at the plan price unless your apps use more than it covers. There is no per-seat charge.

Cloud usage is billed by the hour for the instance sizes you choose, from Micro at 0.25 vCPU and 0.5 GB (about $9 a month) through Small at 0.5 vCPU and 1 GB (about $22 a month) and up. Managed PostgreSQL, MongoDB and Redis are billed hourly while they exist, created in the same region as the app and backed up automatically. Because an instance has a fixed size, a memory leak or a busy week doesn't change the price of that instance, and you change sizes or counts from the dashboard when you need to.

The setups above map directly. The small API is one service and a Postgres database. The app with a worker is one modelence.config.json with a web service, a worker and Postgres and Redis next to them, and scheduled jobs run inside the worker. The side projects are separate apps, each with its own database. Everything runs in your choice of 17 AWS regions, and on Pro and above production autopilot operates the app 24/7, restarting crashed processes, rerouting traffic and adding capacity under load.

If you are weighing a move, our comparison of Railway alternatives covers eight other platforms, Railway vs Render puts Railway's metered billing next to Render's fixed instance prices, and the Railway to Modelence migration guide shows how a project's services, variables and Postgres data move over.

Frequently asked questions (FAQs)

How much does Railway cost per month?

The Free plan is $0 with $1 of usage a month, Hobby is $5 a month and Pro is $20 a month. On Hobby and Pro the fee counts toward usage, so you pay more only when CPU, memory, egress and volume storage add up to more than the plan price. A small API with Postgres on Hobby typically lands around $10 a month at light traffic.

Is there a Railway pricing calculator?

Railway says it can't quote what an app will cost because that depends on what you deploy. Its pricing FAQ recommends deploying on the trial or Hobby plan, running the app for a week and reading the estimated usage on the workspace usage page. You can also estimate by hand: $20 per vCPU and $10 per GB of memory a month at your average use, plus $0.05 per GB of egress and $0.15 per GB of volume storage.

How much does Postgres cost on Railway?

Railway Postgres has no fixed price. It runs as a service that pays for the CPU and memory it uses plus its volume at $0.15 per GB a month, so a lightly used database with a few GB of data usually costs a few dollars a month. A high-availability cluster runs the primary, two replicas, three etcd nodes and HAProxy by default, and each of those is billed.

What are the limits of the Railway Hobby plan?

Hobby costs $5 a month, including $5 of usage, and is a single-developer workspace. It allows up to 50 projects with 50 services each, up to 48 vCPU and 48 GB of RAM per service, volumes up to 5 GB and 7 days of logs. Bigger volumes and team seats need the Pro plan.

Is Railway free?

Railway has a Free plan with $1 of usage a month and no credit card. It allows one project with up to three services of up to 1 vCPU and 0.5 GB of RAM each, services sleep when idle, and custom domains and cron jobs are not included. New accounts also get a 30-day trial with a one-time $5 credit.

Is Railway cheaper than AWS?

For small apps Railway is usually simpler to price, since one set of rates covers compute, memory, egress and volumes, and builds and private network traffic are free. On AWS you pay separately for compute, a load balancer, a managed database and data transfer, and you set up and operate those pieces yourself. Which comes out cheaper depends on the app, so compare last month's Railway usage with the AWS services you would need.

Deploy your first app

Start on the free plan and move up when your app needs more.

Or paste this into your coding agent