FunctionPriceBook

Railway pricing

Railway · Usage-based containers (per-minute vCPU + RAM) · snapshot captured June 2026

Railway is priced as usage-based containers (per-minute vcpu + ram). Usage-based, billed per minute: $20 per vCPU/month ($0.000463/vCPU/min) + $10 per GB-RAM/month ($0.000231/GB/min). Hobby plan $5/mo includes $5 usage. Egress $0.10/GB; volumes ~$0.25/GB-mo. Not per-request priced. It bills for resources while they run (no scale-to-zero on its own). Egress: Network egress $0.10/GB; volume storage ~$0.25/GB-month.

Source: Railway pricing. Data as of June 2026.

Railway pricing at a glance

Cost factorRailway
Pricing modelUsage-based containers (per-minute vCPU + RAM)
Per 1M requestsNot request-priced
Per GB-secondn/a
Free tierNo perpetual free runtime. Hobby is $5/month including $5 of usage. Usage-based: $20/vCPU/month ($0.000463/vCPU/min) + $10/GB-RAM/month ($0.000231/GB/min), billed per minute. Egress $0.10/GB.
Scale to zeroNo (bills while running)
EgressNetwork egress $0.10/GB; volume storage ~$0.25/GB-month.
RegionsUS, EU and Asia-Pacific regions.

Source: Railway pricing page. Data as of June 2026.

Source: Railway pricing. Snapshot June 2026 — verify on the vendor's pricing page. Serverless pricing changes frequently.

Worked example

A small API doing 1,000,000 requests/month, each running ~200 ms at 256 MB of memory (≈50,000 GB-seconds/month):

Railway is not billed per request — it uses usage-based containers (per-minute vcpu + ram), so a per-request figure is not comparable. Usage-based, billed per minute: $20 per vCPU/month ($0.000463/vCPU/min) + $10 per GB-RAM/month ($0.000231/GB/min). Hobby plan $5/mo includes $5 usage. Egress $0.10/GB; volumes ~$0.25/GB-mo. Not per-request priced. Use the platform's own model for this workload.

Computed from the committed June 2026 snapshot rates. See the calculator to change the assumptions, and methodology for the formula.

Cost pros & cons

Where Railway saves money

  • Per-minute usage billing, pay for what runs
  • Very simple deploy-from-repo workflow
  • Hobby plan bundles $5 of usage

Watch-outs

  • No always-free runtime (Hobby is $5/mo)
  • Resource-time pricing, not per-request — pricier for spiky low-volume APIs
  • Egress at $0.10/GB is higher than some rivals

Railway vs similar platforms

How Railway compares with related serverless platforms on the headline rates:

Railway and peer platforms. snapshot captured June 2026 — verify each on the vendor's pricing page.
PlatformModelPer 1M reqPer GB-sEgress
Railway (this platform)Usage-based containers (per-minute vCPU + RAM)Not request-pricedn/a$0.10/GB
AWS LambdaFaaS (request + GB-second)$0.20 / 1M$0.0000167 / GB-s$0.09/GB
Cloudflare WorkersEdge FaaS (request + CPU-ms)$0.30 / 1Mn/aFree
Google Cloud RunServerless containers (vCPU-s + GiB-s + request)$0.40 / 1M$0.0000025 / GB-svaries
Google Cloud FunctionsFaaS (now on Cloud Run model)$0.40 / 1M$0.0000025 / GB-svaries
Azure FunctionsFaaS (Consumption / Flex Consumption)$0.20 / 1M$0.000016 / GB-svaries

Frequently asked questions

How much does Railway cost?

Usage-based, billed per minute: $20 per vCPU/month ($0.000463/vCPU/min) + $10 per GB-RAM/month ($0.000231/GB/min). Hobby plan $5/mo includes $5 usage. Egress $0.10/GB; volumes ~$0.25/GB-mo. Not per-request priced. Snapshot June 2026 — verify on the vendor's pricing page.

Does Railway have a free tier?

Not a perpetual free runtime. No perpetual free runtime. Hobby is $5/month including $5 of usage. Usage-based: $20/vCPU/month ($0.000463/vCPU/min) + $10/GB-RAM/month ($0.000231/GB/min), billed per minute. Egress $0.10/GB.

Does Railway scale to zero?

No — Railway bills for resources while they run rather than scaling to zero on its own. No always-free runtime; Hobby plan is $5/mo and includes $5 of usage. Trial credit for new accounts.

What does Railway charge for egress?

Network egress $0.10/GB; volume storage ~$0.25/GB-month. Egress is one of the most overlooked serverless costs, so model your outbound data when comparing platforms.

Keep exploring

Source & accuracy

Figures are a dated snapshot from Railway's pricing page (snapshot captured June 2026). The worked example is a transparent calculation over those inputs (see methodology). Serverless pricing is volatile and varies by region, memory tier and discounts — verify current prices on the vendor's page before relying on them. This is an informational comparison, not a quote.

Last updated: 2026-06-21