Method: Vendor pricing and documentation checked September 28, 2026. No benchmarks were run. Recommendations are based on documented features and billing models, not measured speed or uptime.
Disclosure: Railway links through
/go/railwayare referral links; we may earn a commission. Hostinger links are currently ordinary vendor links. Source links are untracked.
Choose a hosting model before choosing a provider. A continuously running API, a request-driven web app and a server you administer yourself have different costs and operating responsibilities. The cheapest advertised plan does not establish which can support your application.
Published entry prices and free limits
USD figures below exclude taxes and optional services. Promotions, regional prices and metered usage can change the bill.
| Platform | Published starting point | Free option and main constraint |
|---|---|---|
| Railway | Hobby $5 monthly minimum, including $5 usage; Pro $20 minimum including $20 usage | $5 trial for 30 days, then $1 monthly credit; Free services limited to 0.5 GB RAM and 1 vCPU |
| Render | $7/month web service with 512 MB RAM; $25/month with 2 GB | Free web services sleep after 15 idle minutes; 750 instance hours per workspace/month; free Postgres expires after 30 days |
| DigitalOcean App Platform | $5/month, 512 MiB; $10/month, 1 GiB on fixed shared plans | Three static-site apps with 1 GiB transfer each; this does not provide a free running Node.js API |
| Fly.io | Calculator showed about $1.94/month for one shared-core, 256 MB Machine in ewr, no volume, 10 GB bandwidth selected, no reservation | Trial ends after two total VM hours or seven days, whichever comes first |
| Vercel | Pro starts at $20/month with a $20 usage credit; additional usage/seats can cost more | Hobby is restricted to personal, noncommercial use and has resource quotas |
| Hostinger VPS | KVM 1 advertised at $6.49/month; renewal shown as $11.99/month for two years | Promotional term pricing, not a verified month-to-month quote |
| Plain VPS: DigitalOcean Basic Droplet | $6/month for 1 GiB RAM, one shared vCPU, 25 GiB disk and 1,000 GiB transfer | Budget for server administration; no permanent free VM claimed here |
Sources: Railway pricing, Render pricing, Render free service rules, App Platform pricing, Fly calculator, Fly trial, Vercel pricing, Hobby restrictions, Hostinger VPS, Droplet pricing.
The Fly figure is a calculator estimate for a tiny configuration, not evidence that 256 MB is adequate for your app. Hostinger’s initial commitment and total charge must be checked at checkout; the monthly equivalent is not a promise of monthly billing.
What a small API costs
For an illustrative continuously running service averaging 0.5 GB RAM and 0.1 vCPU, Railway’s published per-second rates produce about $7 over 30 days, before egress and storage. Its Hobby minimum is included in that amount, rather than added again. On Pro, the $20 minimum applies if total usage stays below it.
Render’s 512 MB service is $7/month before workspace and metered charges. DigitalOcean’s 512 MiB fixed container is $5/month, with 50 GiB transfer. These are capacity and pricing comparisons: they do not prove equal throughput. A build or runtime that needs more memory requires a larger configuration.
For a production team on Render Pro, add the $25/month workspace subscription. Hobby has no workspace subscription charge. Render pricing separates workspace, compute and bandwidth billing.
What a web app plus Postgres costs
Assume an app averaging 1 GB RAM and 0.25 vCPU, a database averaging 0.5 GB and 0.1 vCPU, and 5 GB of database storage. This is a planning example, not a measured workload or an availability-equivalent comparison.
| Configuration | Arithmetic | Estimate before tax and extras |
|---|---|---|
| Railway app and database services | Over 30 days: 1.5 GB × $0.00000386/sec × 2,592,000 sec, plus 0.35 vCPU × $0.00000772/sec × 2,592,000, plus 5 GB volume × $0.00000006/sec × 2,592,000 | About $22.79; egress additional |
| Render web service plus paid Postgres | $25 for 2 GB app + $19 for 1 GB database compute | $44 plus database storage; add $25 if using Pro workspace |
| DigitalOcean app plus development database | $10 fixed 1 GiB app + $7 development Postgres | $17; database is a limited development service |
| DigitalOcean app plus managed PostgreSQL | $10 app + the database pricing page’s $15.15 starting configuration | $25.15 at the displayed configuration; storage selection and extra nodes change it |
| One DigitalOcean 2 GiB Droplet | $12 shared-CPU VM running both processes | $12 base infrastructure; backups and administrator time additional |
Render lists expandable Postgres storage at $0.30/GB. Confirm the storage allocation in the service quote before treating $44 as the final bill. DigitalOcean’s development database is not backed up by default and is destroyed with its app. A database running on your VPS also requires your own backup, recovery and maintenance plan. Sources: Railway rates, Render compute and database prices, DigitalOcean managed databases, App Platform database limits.
Which model fits your application?
Railway: Consider Railway when you want usage billing and can measure memory, CPU and egress rather than choose a fixed instance size. Review spending controls before production. The worked example explains the potential saving; it does not make Railway universally cheaper.
Render: Choose Render when named instance sizes and documented web-service/worker options fit your deployment. Use its free tier for evaluation, not a permanent free production database.
DigitalOcean App Platform: Choose App Platform for fixed container pricing. The fixed shared sizes are limited to one container instance; autoscaling is available on dedicated instances, not every plan.
Fly.io: Consider Fly.io when you want to choose Machine regions and configuration. Price every replica, volume and network route. Volumes cost $0.15 per provisioned GB-month even when the attached Machine is stopped. Resource pricing is more useful than a universal starting-price promise.
Vercel: Consider Vercel for a web app that fits its Functions model. Functions have runtime, request and execution limits; do not budget them as an unrestricted VM or assume an in-memory process persists indefinitely. Check current Functions limits for your runtime. Keep durable data in a database. A flat monthly VM comparison cannot predict function usage charges.
Hostinger: Compare its managed Node.js offering with its VPS separately. The managed page advertises deployment tooling and managed MySQL; its Supabase integration is not a promise of included PostgreSQL hosting. KVM 1 lists one vCPU, 4 GB RAM and 50 GB NVMe disk. Choose a VPS only if administering the server is part of your plan. Confirm the managed plan’s complete price and limits before buying.
A plain VPS: Prefer this when root access and ownership of the operating environment matter more than a managed deployment workflow. Co-locating the app and database simplifies the invoice but shares their failure and resource limits. The $12 example is a budget scenario, not a capacity guarantee.
Before you choose
Build a representative staging app. Measure its memory, CPU, response behavior and database connections. Test backup restoration and deployments. Then price that observed workload, including egress and the workspace plan your team needs. This article reports no results from such a test.
Sources, checked September 28, 2026: Railway, Render, Render free tier, DigitalOcean App Platform, Droplets, Managed DBs, Fly calculator, Fly pricing, Fly trial, Vercel pricing, Vercel limits, Vercel Hobby, Hostinger VPS, Hostinger Node.js.