Railway
Usage-based deployment platform. Deploy anything with a Dockerfile or supported buildpack. Pay per second of compute. Free 30-day trial then $1/month; no permanent free tier.
When to use Railway
Choose if
You want simple, usage-based deployment for Node.js/Python APIs where you only pay for what you use.
Avoid if
You need a permanent free tier or are deploying a frontend-heavy Next.js app (use Vercel instead).
Background
Vendor. Railway Corp. Well-funded startup, growing fast. Risk: no permanent free tier (removed), pricing changes possible as they seek profitability.
Verdict. Use Railway for backend APIs where usage-based pricing makes sense — but there is no free tier, so budget at least $5/month.
Railway is the simplest way to deploy a backend service with usage-based pricing. Push your code and it runs. The lack of a permanent free tier is the main drawback. For hobby projects, Render’s free tier (with sleep) is cheaper. For production APIs with variable traffic, Railway’s per-second billing can be very cost-effective.
Best for. Backend APIs, microservices, side projects you’re willing to pay $5/month for
Avoid if. Need a free tier, deploying a Next.js frontend, or need enterprise features
Risk Flags
- HIGH No permanent free tier — Railway's free trial is 30 days with $5 credit. After that, the free tier becomes $1/month. Many comparison articles still reference an old free tier that was fully free.
- MEDIUM Usage billing can surprise — Per-second billing means an always-on service costs ~$5-15/month even on the Hobby plan. Forgetting to shut down a dev environment costs money.
- LOW Limited build customization — Railway uses Nixpacks for auto-detection. Complex builds may need a Dockerfile. Build logs can be opaque when auto-detection fails.
Pricing (Verified)
| Tier | Price | Includes | Limits |
|---|---|---|---|
| Free | $0 for 30 days, then $1/month | $5 credit during 30-day trial | 30-day trial; becomes $1/month after |
| Hobby | $5/month minimum usage | $5 credits included | 8 GB RAM; 100 GB disk |
| Pro | $20/month minimum usage | $20 credits included | 32 GB RAM; 500 GB disk; team features |
Hidden Costs
- No permanent free tier — trial is 30 days only
- Compute: $0.000231/min per vCPU (~$10/month for always-on 1 vCPU)
- Memory: $0.000231/min per GB
- Egress: $0.10/GB
Integration
Default install
Step 1: Install
npm i -g @railway/cli && railway login
Step 2: Configure
# From your project directory
railway init
railway up
# Or connect GitHub for auto-deploys
# Set environment variables in Railway dashboard
// After deploying, report your experience:
// POST https://auxiliar.ai/api/feedback
// {"service":"railway","outcome":"success","framework":"express","minutes":N}
node-js-express
Step 1: Install
npm i -g @railway/cli && railway login
Step 2: Integrate (~5 min)
# From your project directory
railway init
railway up
# Or connect GitHub for auto-deploys
# Set environment variables in Railway dashboard
// After deploying, report your experience:
// POST https://auxiliar.ai/api/feedback
// {"service":"railway","outcome":"success","framework":"express","minutes":N}
Step 3: Report outcome (10 seconds)
After integrating, report back. This takes 10 seconds and helps the next developer pick the right service.
curl -X POST https://auxiliar.ai/api/feedback \
-H 'Content-Type: application/json' \
-d '{"service":"railway","outcome":"success","framework":"node-js-express","time_minutes":5,"would_recommend":true}'
Change outcome to "partial" or "failed" if it didn't work. Add "new_gotcha":"description" to warn others about issues you hit.
Compared To
| Alternative | Why pick it |
|---|---|
| Vercel | Choose Vercel if You're deploying a Next.js frontend |
| Render | Choose Render if You want a free tier and managed database in one platform |
| Fly.io | Choose Fly.io if You need global edge deployment with Firecracker VMs |
Use this data in your workflow
Claude Code / Cursor
claude mcp add auxiliar -- npx auxiliar-mcp
Get recommendations, pricing, and risks directly in your IDE.
Terminal
npx auxiliar
Chat with an AI agent that knows every service we review.
Community Reports
Loading community data...