Documentation

Guide / Heroku alternatives

Heroku alternatives compared: pricing and fit

Updated

If you run an app and a Postgres database on Heroku and want to look around, the options differ most in how they bill and who runs the server. This roundup covers Render, Railway, Fly.io, DigitalOcean App Platform, Coolify, Northflank and Resilis. For each it says what the product is, how it bills, what to watch for and who it suits. It does not rank them: the right choice depends on your app. Competitor prices link to each provider's own page. Prices were checked on November 30, 2026. Providers change their prices, so confirm them before you move.

A list of seven hosting providers compared as Heroku alternatives: Render, Railway, Fly.io, DigitalOcean, Coolify, Northflank and Resilis.

Start from what Heroku costs you

Heroku bills a fixed price per dyno and a fixed price per database plan. Knowing your own line items makes every comparison below easier.

Heroku dynos and Postgres, checked November 30, 2026
ItemMonthly priceNotes
Eco dyno$5Shared pool of 1,000 hours, 0.5 GB, sleeps after 30 minutes of inactivity
Basic dyno$70.5 GB, always on
Standard-1X dyno$250.5 GB
Postgres Essential-0$51 GB storage, no rollback
Postgres Essential-1$910 GB storage
Postgres Essential-2$2032 GB storage
Postgres Standard-0$504 GB RAM, 64 GB storage, rollback up to 4 days
Postgres Premium-0$200High availability, rollback up to 7 days

Note the database tier and its rollback window, not only the dyno. Those are what you will compare against.

Render

Render is a cloud host for web services, workers and Postgres with fixed monthly prices by instance size, plus a workspace plan.

  • Billing: a workspace plan (Hobby $0, Pro $25, each plus compute) and a fixed price per service. A web service starts at $7 a month; Postgres is $6 for 256 MB and $19 for 1 GB. Storage is $0.30 per GB.
  • Watch for: a Free Postgres database expires 30 days after creation. Point-in-time recovery covers 3 days on a Hobby workspace and 7 days on Pro.
  • Suits: apps that want predictable fixed prices and a billing model close to Heroku's dynos.

Details and a worked bill are in the Render pricing guide.

Railway

Railway runs services and databases from a repository and bills the resources they use.

  • Billing: a plan fee that includes usage (Hobby $5 with $5, Pro $20 with $20) plus per-second rates. A 720-hour month works out to $20.01 per vCPU and $10.01 per GB of RAM. Volumes are about $0.15 per GB a month and egress is $0.05 per GB.
  • Watch for: backups and point-in-time recovery are opt-in, and Railway says it does not publish an uptime SLA today. Hobby allows a 5 GB volume per service.
  • Suits: apps whose usage is steady enough to estimate, and teams that like paying for measured use.

Details and worked examples are in the Railway pricing guide.

Fly.io

Fly.io runs apps as Machines, small virtual machines that can start and stop, and offers a Managed Postgres product.

  • Billing: a shared-cpu-1x Machine with 256 MB is $2.19 a month, billed per second while it runs. Stopped Machines pay only for their root filesystem at $0.15 per GB a month, and volumes are $0.15 per GB a month. Managed Postgres starts at $4 a month (Developer: shared, 256 MB, up to 5 GB) and $38 a month (Basic: 1 GB) plus $0.28 per GB of storage.
  • Watch for: Developer Managed Postgres pauses after 15 minutes without a client and has a daily backup without point-in-time restore. Basic adds point-in-time restore with backups kept 10 days. Fly's own pages list different figures for larger Machines, so check the size you need.
  • Suits: teams comfortable with Machines and per-second billing who want control over how an app starts and stops.

DigitalOcean App Platform

App Platform deploys containers and static sites on DigitalOcean, with development databases and managed PostgreSQL as separate products.

  • Billing: the smallest container (1 shared vCPU, 512 MiB, 50 GiB of transfer) is $5.00 a month. A development database is $7.00 a month per 512 MB. A single-node managed PostgreSQL with 1 GiB and 1 vCPU is $15.15 a month on the pricing table, and storage is $0.215 per GiB a month for 10 to 30 GiB.
  • Watch for: the development database is not backed up by default and is meant for development. DigitalOcean's documentation says managed databases begin at $15.00 while the pricing table says $15.15. Managed PostgreSQL includes daily backups kept 7 days with point-in-time restore.
  • Suits: teams that already use DigitalOcean and want an app and a database from the same provider.

Coolify

Coolify is software you install on your own server to deploy apps and databases. You run and pay for the server.

  • Billing: self-hosted Coolify is free and includes all features, and its codebase is open source. You bring and pay for your own servers. Coolify Cloud is $5 a month for 2 servers and $3 a month for each extra server, and you still bring your own servers.
  • Watch for: the server, its updates, its backups and its security are yours to run. The software cost is zero but the time is not.
  • Suits: teams that want to control the server and are comfortable operating it.

Northflank

Northflank runs services, jobs and databases, and can also run in your own cloud account.

  • Billing: the Sandbox is $0 for up to $20 a month of resources (2 services, 2 jobs and 1 database) and a payment method is required. The smallest paid compute plan, nf-compute-50, is 0.5 vCPU and 1 GB for $12.00 a month. Postgres is billed by resources: $0.01667 per vCPU-hour, $0.00833 per GB-hour of memory and $0.11657 per GiB-month of disk.
  • Watch for: Postgres has no fixed plan price, so you estimate it from resources, much like Railway. Bring-your-own-cloud is available when you want it to run in your own account.
  • Suits: teams that want per-resource billing with the option to run in their own cloud account.

Resilis

Resilis deploys apps and managed databases, with plans billed by usage. Resilis prices are on the pricing page rather than repeated here, so they stay current.

  • How it works: an agent connected over MCP sends reviewed local Git source to private Resilis-hosted Git, or you deploy from GitHub in the dashboard. A project organizes Development, Staging and Production, and apps run on managed compute or on your own Linux VPS or Kubernetes.
  • Databases: managed PostgreSQL and MySQL run next to the app. Every plan includes snapshots, and with continuous backups on, Hobby can restore to a chosen minute up to 7 days back and Pro up to 365 days. You can also keep an existing database on premises or in another cloud, which keeps its own management and backups.
  • Watch for: connected compute and S3 static sites have no custom domains. Plan limits and rates are on the pricing page.
  • Suits: teams that deploy from an agent or workspace, want development, staging and production in one project, or need to keep compute or a database where it already is.

Comparison table

How each host bills, checked November 30, 2026
HostSmallest paid appDatabaseDatabase recoveryWho runs the server
HerokuBasic dyno $7; Eco $5 (sleeps)Essential-0 $5; Standard-0 $50Rollback up to 4 days on Standard-0, 7 on Premium-0Heroku
RenderWeb service $7Postgres $6 or $19Point-in-time recovery, 3 days on Hobby, 7 on ProRender
RailwayUsage: $20.01 per vCPU, $10.01 per GB RAM, 720 hoursSame resources plus volume; no separate feeOpt-in backups and point-in-time recovery, about 4 weeksRailway
Fly.ioMachine from $2.19Developer $4; Basic $38 plus storageBasic has point-in-time restore, 10 days; Developer has noneFly.io
DigitalOcean App PlatformContainer $5Development $7; managed $15.15Managed: daily backups 7 days with point-in-time restoreDigitalOcean
CoolifyFree software; your serverYou run itYou configure itYou
Northflanknf-compute-50 $12.00; Sandbox $0Billed by resourcesSee Northflank documentationNorthflank, or your cloud account
ResilisSee the pricing pageSee the pricing pageHobby snapshots; Pro adds point-in-time recoveryResilis, or your VPS or Kubernetes

Each price in the table comes from the provider pages linked in its section above. Compare like with like: instance sizes, included storage and recovery windows differ.

How to choose

  • Count what you run today: dyno types, the Postgres tier and its rollback window, and add-ons.
  • Decide how much of the server you want to run. Coolify gives control and work; the managed hosts give less control and less work.
  • Decide whether fixed prices or measured usage suits you. Render and Heroku have fixed tiers; Railway and Northflank bill resources.
  • Check database recovery before you move data: the window, whether it is opt-in, and what it costs.
  • Trial the move with a staging copy and compare a real month before you cut over.

A successful build does not prove the app runs the same. Check buildpacks, Procfile commands, filesystem use and add-ons first.

Frequently asked questions

Is there a free alternative to Heroku? Several hosts have free tiers with limits: Render's free web services spin down when idle and its free Postgres expires after 30 days, Railway's Free plan sleeps services, and Coolify is free software on a server you pay for. Check each limit for your app.

What is the closest match to Heroku's dynos? Render's fixed-price web services follow the same model. Railway and Northflank bill the resources you use instead.

Can I keep my database where it is? Often yes, with network access and credentials configured. Test connectivity, latency and transfer charges first. Resilis can run apps next to a database on premises or in another cloud.

Which option includes point-in-time recovery? Render includes it on paid Postgres, Fly.io on Basic Managed Postgres, DigitalOcean on managed PostgreSQL, and Railway when you enable it. Windows differ, so compare them in the table.

Where do the prices come from? From the provider pages linked in each section, read on November 30, 2026.