- Starts at
- $5/mo
- Hobby
- Renews at
- $5/mo
- Same as the first term
- 2-year cost
- $120
- Hobby, all at the first-term price; subscription only; usage over the $5 included is extra
- Last checked
- From the official pricing page
Railway plans
Usage pricing, not a RAM or vCPU allocation: egress is $0.05/GB (re-checked 2026-10-19 on https://docs.railway.com/pricing/plans). Regions: US-West, US-East, EU-West (Amsterdam), and SG (not re-checked on 2026-10-19). Sources: https://railway.com/pricing and https://docs.railway.com/pricing, checked 2026-10-17.
Disclosure: Some host links below are affiliate links. We may earn a commission if you sign up, at no extra cost to you. Prices and order are not affected.
-
- First term
- $5/mo
- Renews at
- $5/mo
- Jump
- None
+ usageusage-based · Checked
No plans match these filters.
Prices are in each host's own currency ($ or €) and aren't converted, so sorting compares the listed amounts. "—" means not yet verified.
How much RAM and CPU n8n needs does not place this host in a RAM or CPU tier, because those fields are not verified in the dataset.
Does n8n stay running on Railway?
Yes, unless you turn on Serverless. Railway runs a service 24/7 and bills every idle minute. It only puts a service to sleep if you turn on the per-service Serverless setting. A slept service wakes only when traffic comes in, and the first request may get a 502 error. If your n8n runs schedules, our advice is to keep Serverless off.
Does Railway sleep n8n by default?
Railway sleeps a service only when you turn on Serverless. Railway's guide says: Serverless is a per-service toggle. When enabled, Railway watches the service for activity and stops it after 10 minutes of inactivity. A slept service accrues no compute charges.
[S10] It also says: A service that runs 24/7 but only handles traffic a few hours a day still pays for every idle minute. Serverless mode fixes this by putting inactive services to sleep and waking them on the next request.
[S9]
The setting lives in the service, not the workspace: Navigate to your service's settings > Deploy > Serverless
[S13], then toggle Enable Serverless. A change only applies after a redeploy: Serverless is applied to a container when that container is created. Enabling it on a running service does not affect the container already running; the service must be deployed before it takes effect.
[S8]
No Railway page we read says Serverless is off by default in those words. Serverless used to have another name: Note: This feature is formerly called: App-Sleeping
[S1]
What Serverless does
- It watches outbound traffic:
When Serverless is enabled for a service, Railway automatically detects inactivity based on outbound traffic.
[S2] - It sleeps the service after about 5–10 minutes with no outbound traffic (Railway's pages say 5 and 10). The reference page says:
Once a service stops sending packets it is considered inactive after 5 minutes. Inactivity is sampled on an interval rather than measured continuously, so in practice a service sleeps somewhere between 5 and 10 minutes after its last outbound traffic.
[S3] The guide says 10 minutes (Serverless is a per-service toggle. When enabled, Railway watches the service for activity and stops it after 10 minutes of inactivity. A slept service accrues no compute charges.
[S10]). - It wakes on incoming traffic:
A service is woken when it receives traffic from the internet or from another service in the same project through the private network
[S5] - The first call can fail:
The first request sent to a slept service may return a 502 Bad Gateway response.
[S6] - A slept service can be de-prioritized:
Slept services still consume a slot on Railway's infrastructure, enabling Serverless de-prioritizes your workload and in remote cases, may require a rebuild to re-live the service.
[S7] - An open database connection can keep the service awake. Railway lists, among things that can prevent sleep:
Keeping active database connections open, such as a database connection pooler.
[S4]
Should n8n use Serverless?
Webhooks: a webhook call is incoming traffic, so it wakes a slept service (A service is woken when it receives traffic from the internet or from another service in the same project through the private network
[S5]). The first call may get a 502 (The first request sent to a slept service may return a 502 Bad Gateway response.
[S6]). Railway lists Webhook receivers that fire a few times a day
[S11a] as a good fit for Serverless.
Schedules: Railway's docs list incoming traffic as the wake-up trigger and mention no timer wake-up (A service is woken when it receives traffic from the internet or from another service in the same project through the private network
[S5]). We have not tested n8n's Schedule Trigger on a slept service. Our advice: keep Serverless off if your n8n runs schedules.
Postgres: Railway's n8n template sets up n8n with Postgres. Railway lists Workers that hold database connections or poll queues (they never sleep anyway)
[S11b] and Databases
[S11c] as bad fits, and an open database connection can prevent sleep (Keeping active database connections open, such as a database connection pooler.
[S4]). So with Postgres, Serverless may never put n8n to sleep.
n8n also has a queue mode for scaling. Railway's bad-fit list covers workers that poll queues, and says they never sleep anyway.
What n8n's docs say about missed schedules and webhooks
n8n's Schedule Trigger docs start with: If a workflow uses the Schedule node as a trigger, make sure that you save and publish the workflow.
[T1]
The node's Settings tab has options controlling what happens when an execution misses its scheduled time, for example because the instance was down
[T2a]. The If Execution Is Missed setting has three choices. The default, Don't Run Missed Executions, is described as: Discard missed executions and resume on schedule.
[T2b] The others are Run the Most Recent Missed Execution and Run the Most Recent Missed Execution Per Rule. A grace period sets how late a run may start before it counts as missed. Set to 0, it uses the instance setting N8N_SCHEDULER_MISFIRE_GRACE, 60 seconds by default.
Which n8n versions this covers: These options are available from n8n 2.36, on Schedule Trigger nodes added from that version on. They take effect only when the instance runs the durable scheduler, which is on by default from n8n 2.45.0. If you set N8N_SCHEDULER_ENABLED=false, Schedule Trigger nodes use the in-memory scheduler, which never runs missed executions.
[T2c]
n8n's durable scheduler page describes both schedulers. In-memory: When an instance stops, its in-memory timers go with it. n8n skips any run whose time passed during the downtime rather than catching it up.
[T3a] Durable: A run whose time passed while the instance was down still fires late when the instance comes back, as long as it's within its grace period; beyond that, the trigger's misfire policy decides what happens to it.
[T3b]
Our reading, not tested: a slept Railway service is stopped (Serverless is a per-service toggle. When enabled, Railway watches the service for activity and stops it after 10 minutes of inactivity. A slept service accrues no compute charges.
[S10]) and wakes only on incoming traffic (A service is woken when it receives traffic from the internet or from another service in the same project through the private network
[S5]), so a schedule cannot wake it. n8n's docs describe runs missed while the instance was down, not Railway's sleep. If n8n treats a slept period the same way, the If Execution Is Missed setting would decide what happens to those runs. We have not tested this on Railway. To see how many runs a schedule makes, read what n8n costs by executions.
Webhooks: n8n's Webhook docs say the production URL works only while the workflow is published. Their table row for the Production URL reads Publish the workflow
[W1a] and Until workflow is unpublished
[W1b]. Railway's n8n guide adds: n8n needs to know its public URL to generate correct webhook endpoints.
[N4] Set-up steps are in n8n setup problems, fixed at the source. On a slept service, the incoming call wakes it (A service is woken when it receives traffic from the internet or from another service in the same project through the private network
[S5]) and the first request may get a 502 (The first request sent to a slept service may return a 502 Bad Gateway response.
[S6]). We have not checked whether a given webhook sender retries after a 502.
What else can stop n8n on Railway
- A compute hard limit you set:
Hitting the Compute hard limit takes your workloads offline but leaves the agent available.
[L1]The minimum amount you can specify as the hard limit is $10.
[L2] - Billing problems. Railway's FAQ lists these reasons under "My services were stopped":
Usage limits reached … Trial credits exhausted … Failed payment … Unpaid invoice
[L4]. - Cancelling:
When you cancel your subscription, Railway will stop all deployments in your workspace to prevent further charges.
[L5] - The trial:
After 30 days passes or $5 is spent, the free trial reverts to the Free plan, which provides $1 of free credit per month.
[L7] On an unverified account:services on the Limited Trial have restricted outbound network access and only a limited set of ports are available.
[L6] See free n8n hosting for other free options.
What always-on n8n costs on Hobby
Hobby is $5/mo and includes $5 of usage (the price dataset, checked Oct 19, 2026). Railway's docs say: The Hobby plan includes $5 of resource usage per month.
[P2] An always-on n8n pays for every minute it runs. You pay for the RAM and CPU your running service uses, by the minute, even when idle.
If usage goes over the included amount, you pay the usage total: If your resource usage is $7, your total bill for the cycle will be $7 ($5 subscription fee + $2 of usage)
[P3]. If it stays under, you still pay the subscription: Even if you do not use the $5 in usage (CPU, Memory, egress), you always pay the $5 subscription fee.
[P4]
We cannot give a dollar figure for n8n, because n8n's RAM and CPU use on Railway is not verified. Find your own RAM figure in How much RAM n8n needs. Fixed-price plans are in the cheapest way to host n8n and n8n hosting under $5/mo.
| Row | Value | Field / source |
|---|---|---|
| Hobby price | $5/mo | Price dataset, first-term price (checked Oct 19, 2026) |
| Included usage | $5 of monthly usage credits | Price dataset, quoted pricing-page text (checked Oct 19, 2026) |
| Egress | $0.05 / GB | Price dataset, Railway usage rate: egress per GB (checked Oct 19, 2026) |
| RAM rate | $10 / GB / month | Price dataset, Railway usage rate: RAM per GB per month (checked Oct 19, 2026) |
| CPU rate | $20 / vCPU / month | Price dataset, Railway usage rate: vCPU per month (checked Oct 19, 2026) |
| Volume storage rate | $0.15 / GB / month | Price dataset, Railway usage rate: volume storage per GB per month (checked Oct 19, 2026) |
| Max RAM / CPU per service | 48 GB / 48 vCPU | Price dataset, Railway per-service limit: max RAM and max vCPU per service (checked Oct 19, 2026) |
| Max volume storage | 5 GB | Price dataset, Railway per-service limit: max volume storage (checked Oct 19, 2026) |
Rates and per-service maxima were read from Railway's pricing plans docs and stored in prices.json.
Estimate (not a checked price). Railway rates from docs.railway.com/pricing/plans, checked Oct 19, 2026. How we label estimates: methodology.
Monthly usage = (avg GB RAM × $10) + (avg vCPU × $20) + (GB egress × $0.05) + (GB volume × $0.15)
Hobby bill = the larger of $5 and monthly usage (tax not included; Railway Agent use comes out of the same $5)
Inputs: avg RAM and vCPU for every service (n8n and Postgres if you use the template), running 24/7. Read them from Railway's Metrics or Usage page after a week.
- Estimate: $5 of included usage = 0.5 GB RAM held for a full month with no CPU, egress or volume (0.5 × $10 = $5). Or 0.25 vCPU with nothing else (0.25 × $20 = $5).
- Estimate: A 1 GB volume (Railway's n8n guide: "1 GB is a reasonable starting point") = 1 × $0.15 = $0.15/mo.
"The larger of" comes from If you use $8 in resources, you pay $8 total.
[P8] Agent use: Agent usage draws from the same included credit as the rest of your plan.
[P13]
n8n's data lives on the volume: n8n stores workflow definitions, credentials, and execution data in /home/node/.n8n by default. Without a volume, this data is lost on every deployment.
[N2] Back it up the way n8n backups explains.
Railway's own advice for a new service: Allow it to run for one week
[F1], then Check your Estimated Usage in the Usage Section of your Workspace settings
[F2].
Railway settings that decide if n8n stays on
Disclosure: Some host links below are affiliate links. We may earn a commission if you sign up, at no extra cost to you. Prices and order are not affected.
| Setting / thing | Where | What Railway says | What it means for n8n | Source (checked) |
|---|---|---|---|---|
| Serverless (formerly App Sleeping) | Service › Settings › Deploy › Serverless | Per-service toggle; sleeps after about 5–10 min with no outbound traffic | Off = runs 24/7. On = sleeps when idle; wakes on incoming traffic | S1, S3, S10, S13 () |
| Wake-up | automatic | Woken by traffic from the internet or the private network; first request may 502 | Webhooks wake it; the first call may fail | S5, S6 () |
| Compute usage hard limit | Workspace › Usage › Set Usage Limits | Hitting it takes workloads offline; minimum $10 | A hard limit can switch n8n off mid-month | L1, L2 () |
| Trial / Free plan | account plan | Trial: 30 days or $5, then Free with $1/month; Limited Trial has restricted outbound network | Outbound limits can block n8n's API calls; plan credit can run out. See free n8n hosting. | L6, L7 () |
| Billing | Workspace › Billing | Services stopped on failed payment, unpaid invoice, or cancel | n8n stops | L4, L5 () |
New to Railway? Railway's n8n guide links a one-click template. You can sign up with our referral link.
Railway always-on questions
- Does Railway put n8n to sleep?
- Only if you turn on Serverless for the service. Without it, Railway runs the service 24/7 and bills idle minutes. Checked Oct 19, 2026.
- Will n8n schedules run if Serverless is on?
- Railway's docs do not cover n8n. They say a slept service is stopped and wakes only on incoming traffic. n8n's Schedule Trigger has an If Execution Is Missed setting for runs missed while the instance was down. Its default, Don't Run Missed Executions, discards missed executions and resumes on schedule. That setting works from n8n 2.36 with the durable scheduler, which is on by default from n8n 2.45.0. We have not tested n8n's Schedule Trigger on a slept Railway service, so keep Serverless off if you rely on schedules. Checked Oct 19, 2026.
- Will a webhook wake n8n on Railway?
- Yes. Incoming traffic wakes a slept service. Railway warns that the first request may get a 502 Bad Gateway. We have not checked whether webhook senders retry after a 502. Checked Oct 19, 2026.
- Is the $5 Hobby plan enough to run n8n 24/7?
- Hobby is $5/mo and includes $5 of usage (checked Oct 19, 2026). If n8n uses more than that, you pay the usage total. Railway suggests running it for a week and checking Estimated Usage.
- What can stop n8n on Railway even without Serverless?
- A compute hard limit you set (minimum $10), a failed payment or unpaid invoice, used-up trial credits, or a cancelled plan. Checked Oct 19, 2026.
- Does Railway have a one-click n8n template?
- Yes. Railway's n8n guide links a template that sets up n8n and Postgres. It is published by a community creator on Railway's template list. The guide does not mention Serverless. Checked Oct 19, 2026.
What we could not confirm
- Whether n8n's Schedule Trigger runs, is skipped, or catches up on a slept Railway service in practice. We have not tested it, and n8n's docs only cover an instance that was down.
- Whether webhook senders retry after a 502 from a waking service.
- n8n's real RAM, CPU and egress use on Railway. So this page gives no monthly dollar total for n8n.
- How many instances of one service Hobby allows. Railway's plans table and its pricing page give different numbers, and the Hobby card's 8 vCPU / 8 GB RAM per-instance line is not confirmed.
- An explicit Railway sentence that Serverless is off by default. It is implied, never stated.
- The exact idle time before sleep. Railway's pages say 5 and 10 minutes.
- What happens to a Free-plan service when the $1 credit is used up.
- Taxes or VAT on the Hobby bill.
- Whether the Hobby fee waiver applies to you.
- The regions list in the railway row note. It was not re-checked on Oct 19, 2026.
Sources
Checked . Quote ids in brackets point to these pages.
- Railway docs: Serverless (S1, S2, S3, S4, S5, S6, S7, S8). Checked Oct 19, 2026.
- Railway guide: Cut idle costs with Serverless (S9, S10, S11a, S11b, S11c). Checked Oct 19, 2026.
- Railway docs: Cost control (S13, L1, L2). Checked Oct 19, 2026.
- Railway docs: Pricing FAQs (L4, L5, F1, F2). Checked Oct 19, 2026.
- Railway docs: Free trial (L6, L7). Checked Oct 19, 2026.
- Railway docs: Pricing plans (rates and per-service maxima) (P2, P3, P4). Checked Oct 19, 2026.
- Railway docs: Understanding your bill. Checked Oct 19, 2026.
- Railway docs: Pricing (P8, P13). Checked Oct 19, 2026.
- Railway guide: Self-host n8n (N1, N2, N3, N4). Checked Oct 19, 2026.
- Railway n8n template (community creator). Checked Oct 19, 2026.
- n8n docs: Schedule Trigger (T1, T2a, T2b, T2c). Checked Oct 19, 2026.
- n8n docs: Durable scheduler (T3a, T3b). Checked Oct 19, 2026.
- n8n docs: Webhook node common issues (W1a, W1b). Checked Oct 19, 2026.
- n8n docs: Enable queue mode. Checked Oct 19, 2026.
Things to know
- Railway's n8n guide links a one-click template that sets up n8n with Postgres (published by a community creator on Railway's template list).
- Runs 24/7 unless you turn on Serverless. See below.
- No renewal jump: plans renew at the same price as the first term.
- Billing: usage-based.
- The listed price is a starting point. Usage-based charges can add to it.
What the pricing page said
The text we read prices from, copied from railway.com.
-
"Hobby $5 ... Includes $5 of monthly usage credits (usage beyond credits billed extra)"
Hobby · source text (2026-10-19)
What Railway costs over time
Total cost including renewal months, compared with n8n Cloud Starter. Change either plan below.
True cost calculator
First-term price, then the renewal price after the first term ends.
Railway: subscription only. See the Estimate above for usage.