Railway. Host · free plan.

Best for deploying servers, databases and workers from Git in a few clicks

Railway does host, backend. Free plan: yes — 1 $ usage. Paid from $5/mo, checked November 2026.

Price checked 19 Nov 2026 · source: railway.com

NewOpen Railway
Free$0/mo1 $ usage
Hobby$5/mo5 $ usage
Pro$20/mo20 $ usage

Checked November 2026 · pricing page ↗

Best for
  • Git deploys
  • Databases
  • Workers
Do's & don'ts
  • Listen on the PORT variable
  • Use reference variables between services
  • Set a usage limit in billing
  • Don't hard-code database URLs
  • Don't store files on the container disk
  • Don't use the public database URL internally
Best settings
Host
  • Port: PORT variable
  • Healthcheck: /health
  • Replicas: 1 to start
  • Region: Near your users
Backend
  • Connection: Private network
  • Files: Use a volume

What changed

No price changes since 19 Nov 2026.

All price changes

Pros & cons

Watch out
  • Egress costs $0.05 per GB
Alternatives

Routes with Railway

Community

Next.js with Postgres

Deploy my Next.js app for space facts to Railway with a Postgres database: add the Postgres service, set DATABASE_URL on the app as a reference variable to the Postgres service's DATABASE_URL, run Prisma migrations as the pre-deploy command, and add a /health healthcheck.

Express API

Make my Express API for space facts ready for Railway: listen on process.env.PORT, add a /health route, handle SIGTERM for zero-downtime deploys, and write a .railway/railway.ts config with the start command and healthcheck path.

Cron worker

Add a background worker to my Railway project for space facts that runs every day at 06:00 UTC as a cron service, uses shared variables with the web service, and exits when it is done.

Database setup

Add Postgres and Redis to my Railway project for space facts, connect my app over private networking with reference variables, and give me the schema SQL plus a safe migration plan.

Questions

Is Railway free?

Yes, the Free plan gives 1 $ usage.

How much does Railway cost?

Free: $0/mo, Hobby: $5/mo, Pro: $20/mo. Checked on 19 Nov 2026 on the official pricing page.

Does Railway add a watermark?

No, none of the plans add a watermark.

Can I use Railway for commercial work?

Yes on Free, Hobby and Pro.