Blog 11 min read
Estimate PaaS hosting cost per month
method for overseas founders pricing app hosting: separate always-on compute vs per-second usage, compare Railway usage+credit vs Render instance+workspace fee vs Fly Machines, with dated Railway/Render/Fly worked examples
Overseas SaaS and Next.js builders often price the database, cache, queue and analytics first, then ask the last question: what does it cost to host the app itself? Railway, Render and Fly.io all look cheap on the landing page, but each one bills differently. Railway meters usage per second against a plan credit. Render charges a fixed instance price plus a workspace fee. Fly.io bills Machines by the second and has no platform fee. If you compare their headline numbers directly, you are not comparing the same thing.
This is a method article. It shows how to measure always-on vCPU/RAM, split compute from database, cache and egress, work out which fees are floors and which are additive, and run three dated worked examples. Start from the earlier worksheets: estimate serverless Postgres cost per month, estimate Redis cache cost per month, estimate message queue cost per month and estimate product analytics cost per month. No vendor is recommended. All dollar figures are illustrative, based on public list prices re-checked on 2026-11-03 Asia/Shanghai (railway.com/pricing, render.com/pricing, fly.io/docs/about/pricing/). Prices are in USD and exclude tax. Fly.io Machine prices are for iad/ewr, its lowest-priced regions. Re-check each vendor's current pricing page before you decide.
1. Step 1: measure always-on compute vs per-second usage
Write down what the app actually holds over a month: average vCPU, average RAM, and the hours it runs. A service that runs 24/7 is about 720–730 hours. An app that auto-stops when idle might run for only 100 hours.
- Usage-metered (Railway): you pay for the CPU and memory you actually use, per second. A 2 vCPU limit that averages 0.3 vCPU is billed as 0.3 vCPU.
- Instance-priced (Render): you pick a size such as 0.5c-512mb and pay that size's monthly price, prorated to the second while the service exists.
- Machine-priced (Fly.io): you pick a preset such as shared-cpu-1x 512MB and pay per second while it runs. A stopped Machine is billed only for its rootfs.
2. Step 2: separate compute, database, cache and egress
Monthly hosting ≈ platform/plan line + app compute + volumes/disk + managed database + cache + egress beyond allowance. Give each line its own row. "Just hosting" almost never covers just the app: in Fly.io's own small-app example, Managed Postgres is $38 of a $43.67 bill.
3. Step 3: pick the billing model (floor vs additive)
| Model | Platform line | Compute | Typical fit |
|---|---|---|---|
| Railway | Hobby $5 with $5 usage credit; Pro $20 per workspace with $20 credit. Hobby works as a floor: bill = max($5, usage) | Per-second CPU, memory and volume usage | Spiky or small services; teams that want usage-based billing |
| Render | Workspace fee added on top of compute: Hobby $0, Pro $25, Scale $499 | Fixed instance price per service, prorated to the second | Predictable fixed-size web services with a managed Postgres and Key Value |
| Fly.io | No platform fee (Pay As You Go); no free tier for new organizations | Machine preset per second while started; region-dependent | Multi-region apps and auto-stop workloads |
4. Step 4: dated list prices (re-verified 2026-11-03)
| Line (list, 2026-11-03) | Railway | Render | Fly.io (iad/ewr) |
|---|---|---|---|
| Plan / platform | Free $0 ($1 credit); Hobby $5 ($5 credit); Pro $20/workspace ($20 credit) | Hobby $0; Pro $25; Scale $499 (+ compute) | $0 platform fee |
| Compute | CPU ≈ $20/vCPU-month; memory ≈ $10/GB-month (per second) | 0.5c-512mb $7; 1c-2g $25; 2c-4g $85 | shared-cpu-1x 256MB $2.19; 512MB $3.69; 1GB $6.70; extra RAM $6/GB |
| Disk / volume | ≈ $0.15/GB-month | SSD $0.25/GB-month | $0.15/GB-month provisioned (even while detached) |
| Managed Postgres | Runs as a usage-billed service (same rates) | 0.1c-256mb $6; 0.5c-1g $19; 1c-2g $40; storage $0.30/GB (1 GB included) | MPG Basic $38 to $1,922; storage $0.28/GB-month |
| Cache | Runs as a usage-billed service | Key Value 256 MB $10; 1 GB $20 | Upstash extension at the provider's list price |
| Egress | $0.05/GB | 5 GB (Hobby) / 25 GB (Pro) included, then $0.15/GB | $0.02/GB NA & EU; $0.04 APAC/Oceania/SA; $0.12 Africa & India |
5. Worked examples (three vendors, three published stacks)
Illustrative list prices as of 2026-11-03 Asia/Shanghai. Each example uses a stack from the vendor's own published pricing, so they are not the same workload. Use each one to check your method, not to rank the vendors.
| Option | Math | Monthly |
|---|---|---|
| Railway: 1 vCPU + 1 GB always on, 5 GB volume, 20 GB egress | CPU $20.00 + memory $10.00 + volume 5 × $0.15 = $0.75 + egress 20 × $0.05 = $1.00 = $31.75 usage. Hobby: max($5, $31.75). Pro: max($20, $31.75), assumed — re-verify | ≈ $31.75 (Hobby or Pro) |
| Render Hobby: 0.5c-512mb web + Postgres 0.5c-1g + Key Value 256 MB, 20 GB bandwidth | $0 workspace + $7 + $19 + $10 + (20 − 5) × $0.15 = $2.25 | ≈ $38.25 |
| Fly.io: shared-cpu-1x 512MB + 10 GB volume + MPG Basic + 1 GB storage + 10 GB outbound NA | $3.69 + $1.50 + $38.00 + $0.28 + $0.20 | ≈ $43.67 |
Apples note: the Railway line includes no database. The Render line includes Postgres and a cache. In the Fly.io line, Managed Postgres is $38 of the total, and the app plus its volume cost only $5.19. Before comparing, put the same stack on all three worksheets. On Railway, a busy app's usage passes the Hobby credit quickly, so the $5 credit offsets usage rather than adding to it.
6. Step 6: traps
- Per-second usage ≠ allocated size: Railway bills what you use, not the service's maximum. Render bills the instance size you pick, whatever it uses.
- Treating the Hobby fee as additive: Railway's FAQ says that when Hobby usage exceeds $5 you are charged total usage, not $5 + usage. Render's workspace fee is additive.
- Free plan caps: Railway Free allows 1 vCPU / 0.5 GB per service, 1 project and 3 services. Render's free web services, Postgres and Key Value have usage limits. Fly.io has only a trial (2 hours of Machine runtime or 7 days).
- Render bandwidth overage: only 5 GB is included on Hobby, then $0.15/GB, about 3× Railway's $0.05/GB.
- Fly.io regional price differences: a shared-cpu-1x 1GB Machine costs $6.70 in iad, $7.73 in fra and $8.50 in sin. Egress runs from $0.02 to $0.12/GB depending on the region.
- Volumes billed while detached: Fly.io bills provisioned volume capacity even when the volume is detached or its Machine is stopped. Managed Postgres also survives app deletion.
- Auto-stop: stopping idle Machines cuts Fly.io compute to rootfs at $0.15/GB-month. Railway charges nothing for stopped services. Do not plan on auto-stop for a service that must stay always on.
- Comparing always-on PaaS to serverless function worksheets: per-request function pricing and a 24/7 container are different shapes. See the serverless function method.
- Calling it "just hosting" without listing managed Postgres: the database is often the largest line, so list it on its own row.
7. Checklist before you commit
- Measure average vCPU, RAM and monthly running hours for each service.
- List compute, volumes, Postgres, cache and egress on separate rows.
- Apply the platform line correctly: a Railway floor, Render's additive workspace fee, or Fly.io's $0.
- Forecast egress in GB and apply each vendor's allowance and rate (Fly.io by region).
- Check Free/Hobby caps against your service count, replicas and volume size.
- Put the same stack on every vendor's worksheet before comparing.
- Re-check every list price on the vendor's current pricing page before you commit.
8. Calculators and related reading
Use these calculators to check current PaaS hosting prices.
- Railway cost calculator
- Render cost calculator
- Fly.io cost calculator
- PaaS hosting cost comparison
- Estimate serverless Postgres cost per month: the database line beside app hosting
- Estimate Redis cache cost per month: the cache line beside app hosting
- Estimate message queue cost per month: background jobs beside app hosting
- Estimate product analytics cost per month: events, replays and errors beside app hosting
Several vendors are listed on purpose. The aim is to compare usage-plus-credit, instance-plus-fee and per-Machine structures, not to pick a vendor in advance.
Turn hosting cost into a clear product site
Infrastructure math only helps when product pages, APIs and buyer inquiries convert. If you want help with that, contact us or see how the platform fits.
Next step
Want a crawlable inquiry site for that topic?
Tell us the product, target market, and how many sites you need. We build English inquiry pages search engines and AI crawlers can read—then route buyer messages into one admin.
See how Yizhan builds crawlable inquiry sites on the platform page, or leave a request.