EthioDeploy
DocsPricingDomainsBlogToolsChangelog

Blog/Hosting and pricing

Cheapest Heroku alternatives in 2026: what an app and a Postgres really cost

BS
Brook SolomonPublished November 24, 2026
Share on XShare on LinkedIn
app + Postgres / month

THE SHORT ANSWER

On Heroku, one always-on Basic dyno plus an Essential-0 Postgres costs $12 a month. Northflank's free Sandbox runs the same pair for $0, though its docs say it isn't for production. Fly.io comes to $6.19 with a 256 MB machine and its $4 Developer Postgres, and Railway to about $6.55 for a small, mostly idle app. A €5.99 Hetzner server running Coolify costs about the same and holds many apps, but you run it yourself. EthioDeploy Pro is $10 with a 1 GB container and the database included, DigitalOcean App Platform is $12, Render $13.30 and Koyeb over $50.

What is the cheapest Heroku alternative?

It depends on how small the app is and how much you mind the fine print. For one always-on web app with a small Postgres, these are the cheapest options we found, all from list prices read on November 24, 2026:

  • Northflank Sandbox is free and doesn't sleep, but you need a card on file and its docs say not to use it for production.
  • Fly.io is $6.19 a month for a 256 MB machine and the $4 Developer Postgres, which pauses after 15 minutes without connections.
  • Railway is about $6.55 for an app and a database that each average 256 MB and very little CPU. A busier app costs more.
  • A VPS with Coolify is €5.99 plus VAT on Hetzner for 2 vCPU and 4 GB, enough for several small apps, if you are willing to run the server.

EthioDeploy, our product, is not the cheapest for the smallest app. Pro is $10 a month, and it pulls ahead when the app needs 1 GB of memory, because the database is part of the plan. The full table is below.

What does one app and a Postgres cost on each?

The workload: one web app that runs all month without sleeping, plus a Postgres with about 1 GB of data. Each row uses the smallest paid size that fits, sorted from cheapest. Prices exclude tax.

PlatformApp + databasePer monthThe catch
Northflank Sandbox0.2 vCPU, 512 MB service; 0.1 vCPU, 256 MB Postgres$0Up to $20 of resources free; card required; docs say not for production
Fly.ioshared-cpu-1x 256 MB machine ($2.19); Developer Postgres ($4)$6.19Postgres pauses after 15 min without connections, 5 GB cap, one daily backup kept 1 day
Hetzner VPS + CoolifyCX23: 2 vCPU, 4 GB, 40 GB disk, shared by app, database and Coolify€5.99You patch, back up and monitor the server; limited stock of this server type
Railway HobbyApp and Postgres averaging 256 MB each, light CPU, 1 GB volumeAbout $6.55Usage-based: more RAM or CPU means a bigger bill
Northflank, paidSame sizes as the Sandbox row, plus a 1 GB disk$8.22Per-second billing; disk and egress extra
EthioDeploy Pro1 GB container; Postgres, MySQL or Redis with 5 GB storage$10One region, no persistent volumes, young company
Heroku Eco + Essential-0Eco dyno ($5); 1 GB Postgres ($5)$10Not always on: Eco sleeps after 30 minutes without traffic
DigitalOcean App Platform512 MiB container ($5); dev database ($7)$12Dev database isn't backed up by default; managed Postgres costs more
Heroku Basic + Essential-0Basic dyno, 512 MB ($7); 1 GB Postgres ($5)$12Postgres capped at 1 GB and 20 connections, no rollback
RenderStarter, 512 MB ($7); Basic-256mb Postgres ($6) + 1 GB ($0.30)$13.30The next web size is 2 GB at $25
Koyeb Pro$29 plan; eco-micro 512 MB ($2.68); Small Postgres ($29.76) + 1 GB ($0.50)$52 to $62No free plan for new accounts; $10 of included compute may or may not cover the database

Hetzner bills in euros, so its row sits among the $6 to $7 options rather than at an exact dollar figure. The Railway row is an estimate: $10 per GB of RAM and $20 per vCPU a month, applied to an app averaging 256 MB and 0.05 vCPU, and a database averaging 256 MB and 0.02 vCPU. The Northflank rows use its rates of $0.01667 per vCPU-hour and $0.00833 per GB-hour.

What if the app needs 1 GB of memory?

Many real apps outgrow 256 or 512 MB: a Next.js server, a Django app with a few workers, anything that loads a model or a big dependency. Here is the same comparison with an always-on app that needs 1 GB:

Platform1 GB app + small PostgresPer month
Hetzner VPS + CoolifyThe same 4 GB server as above€5.99
EthioDeploy Pro1 GB container, database included$10
Fly.ioshared-cpu-1x 1 GB ($6.70) + Developer Postgres ($4)$10.70
Northflank0.5 vCPU, 1 GB ($12) + Postgres ($2.70) + 1 GB disk$14.82
Railway1 GB and 0.1 vCPU on average ($12) + database as above ($3.05)About $15
DigitalOcean App Platform1 GiB fixed ($10) or shared ($12) + dev database ($7)$17 to $19
RenderNo 1 GB size: 2 GB ($25) + Postgres ($6.30)$31.30
HerokuStandard-2X, 1 GB ($50) + Essential-0 ($5)$55
Koyeb Pro$29 plan + eco-small 1 GB ($5.36) + Small Postgres ($30.26)$55 to $65

At this size the order changes. EthioDeploy and Fly.io are within a dollar of each other, and Heroku's price jumps because its only 1 GB dyno is Standard-2X. A self-managed server is still the cheapest by far, for the same reason as before: you pay for the machine, not for each app.

What do the cheap options leave out?

  • Northflank Sandbox allows 2 services, 2 jobs and 1 database. Northflank asks for a payment method before you create anything, and its billing docs say the free tier shouldn't run production apps. On October 30, 2026 it also had a security incident in which stored secrets were decrypted; its report is linked below.
  • Fly.io puts new accounts on a Free plan with $5 of usage a month once you add a card, but the app and database above add up to more than $5, and Fly.io then bills the whole month at standard rates, including the first $5. The Developer Postgres has 256 MB of memory per node, 20 connections, no maintenance window and no direct support, and a paused cluster takes about 15 seconds to wake.
  • Railway bills what each service uses. That suits small, quiet apps and makes the bill hard to predict for busy ones. Its Postgres is a template on a volume, so backups are something you turn on.
  • A VPS with Coolify is cheap for the hardware, and every app and database on it is your responsibility: OS updates, Coolify updates, backups and alerts. Coolify needs 2 CPU cores and 2 GB of RAM for itself. Our Coolify vs a managed PaaS post covers that work in detail.
  • EthioDeploy runs in one region with no persistent volumes and no cron service type. Pro's usage quota covers about 6 small sites or 2 mid-sized apps; past it, usage comes out of a prepaid wallet.
  • Heroku Essential-0 holds 1 GB and 20 connections, with no rollback and an expected uptime of 99.5%. Eco is the only plan under $7, and it sleeps.

Is there a free Heroku alternative?

Heroku itself has had no free dynos since November 2022. Among the options here, Northflank's Sandbox is the only free one that keeps an app and a database running without sleeping. EthioDeploy's Free plan runs one project with a 512 MB database, but the app sleeps after 30 minutes idle and wakes on the next request. Render has free web services that sleep after 15 minutes and a free Postgres that expires after 30 days. For the full list, see free backend hosting.

Which one should I pick?

  • A hobby project or a demo that should stay up for free: Northflank's Sandbox, accepting that its docs rule out production use.
  • A tiny production API that barely uses memory: Fly.io or Railway, both under $7.
  • Several apps and you are comfortable on a Linux server: a Hetzner server with Coolify. Nothing else here comes close on price per app.
  • One app that needs 1 GB with its database, at a fixed price: EthioDeploy Pro at $10, or Fly.io at $10.70 if you want to pick a region.
  • You want what Heroku does, with cron jobs and a polished managed Postgres: Render, at $13.30.

Moving off Heroku involves more than price. Procfiles, Scheduler jobs and add-ons map differently on each platform; the Heroku alternatives roundup covers that side.

Questions

Northflank's free Sandbox costs $0 for one service and one database, but its docs say it shouldn't be used for production. Among paid options, Fly.io is $6.19 a month for a 256 MB machine and its $4 Developer Postgres, and Railway is about $6.55 for a small, mostly idle app and database. On Heroku the same pair costs $12.

$12 a month for a Basic dyno ($7, 512 MB, always on) and an Essential-0 Postgres ($5, 1 GB, 20 connections). Eco at $5 is cheaper but sleeps after 30 minutes without traffic. A 1 GB dyno is Standard-2X at $50.

Yes, by a lot once you have several apps. Hetzner's CX23 with 2 vCPU and 4 GB is €5.99 a month plus VAT and can hold several small apps and databases, and self-hosted Coolify is free. You take on OS updates, Coolify updates, backups and monitoring yourself.

For a small app and Postgres, Railway is usually cheaper: about $6.55 a month of usage against $13.30 on Render. For an app that keeps 2 GB and a full vCPU busy, Render's fixed $25 instance costs less than Railway's usage.

EthioDeploy Pro is $10 a month for always-on containers with 1 GB each and a Postgres, MySQL or Redis database with 5 GB of storage. On Heroku, a 1 GB dyno plus the smallest Postgres is $55. For a 512 MB app, Heroku Basic plus Essential-0 is $12.

Sources

Checked on November 24, 2026:

  • Heroku pricing
  • Heroku Eco dyno hours
  • Heroku Postgres plans
  • Render pricing
  • Railway pricing plans
  • Fly.io pricing
  • Fly.io Free plan
  • Fly.io Managed Postgres
  • Fly.io Managed Postgres Developer plan
  • Koyeb pricing
  • Koyeb pricing FAQ
  • Koyeb databases
  • Koyeb is joining Mistral AI
  • Northflank pricing
  • Northflank billing docs
  • Northflank incident report: October 30 security incident
  • DigitalOcean App Platform pricing
  • Hetzner Cloud: Cost-Optimized servers
  • Coolify pricing
  • Coolify installation requirements

Push a repo. Get a URL.

  • Heroku alternatives
  • EthioDeploy vs Heroku
  • Coolify vs a managed PaaS
  • Free backend hosting
  • Pricing
Start free

Join the EthioDeploy Telegram

Release notes as they ship, plus deploy help from the team and other developers.

Join on Telegram
BS
WRITTEN BYBrook SolomonFounder, EthioDeploy

Brook Solomon founded EthioDeploy and builds its deploy pipeline, build servers and AI coding agent. The posts here come from errors seen in real deploys on the platform.

All posts by Brook →
On this page
  • What is the cheapest Heroku alternative?
  • What does one app and a Postgres cost on each?
  • What if the app needs 1 GB of memory?
  • What do the cheap options leave out?
  • Is there a free Heroku alternative?
  • Which one should I pick?
  • Questions
  • Sources
0% read

Keep reading

  • €5.99 box vs $10 plan

    Hosting and pricingNov 24, 2026

    Coolify vs a managed PaaS: cost at 1, 5 and 20 apps, and the work you take on

    Coolify is free and open source, and a €5.99 Hetzner server with 2 vCPU and 4 GB can run it with several small apps. At 20 apps with databases, a €16.49 server costs a fraction of any managed platform: EthioDeploy Business is $30, Railway about $131 and Render over $260. In exchange you patch the OS, set up and test database backups, apply Coolify updates and watch the server yourself; Coolify handles SSL certificates. Coolify Cloud ($5 a month for 2 servers) hosts the dashboard but not your servers or your app backups. A managed PaaS costs more per app and removes that work.

  • fixed vs usage

    Hosting and pricingNov 15, 2026

    Render vs Railway in 2026: pricing, databases, limits and which to pick

    Render charges a fixed monthly price per service, from $7 for 512 MB, on a free or $25 workspace plan. Railway bills per second for the RAM and CPU you actually use, on a $5 or $20 plan that includes the same amount of usage. Railway usually costs less for small or mostly idle services and for apps that send a lot of traffic. Render costs less for services that keep their CPU and memory busy all month, and it has fixed database prices, a free web tier and HTTP requests of up to 100 minutes, against Railway's 15.

  • $7 · $7 · usage

    Hosting and pricingNov 7, 2026

    Heroku vs Render vs Railway: pricing, free tiers and databases in 2026

    For a small always-on app, Heroku Basic and Render's starter instance both cost $7 a month for 512 MB of memory, and Railway bills by usage from a $5 Hobby plan that includes $5 of usage. Render is the only one of the three with a free web tier that has no time limit, but it sleeps after 15 minutes and its free Postgres expires after 30 days. Heroku has no free tier and moved to maintenance-only engineering in February 2026. Railway is cheapest for small, mostly idle services and the hardest to predict for busy ones.

EthioDeploy

Agentic first development and deployment, started in Ethiopia, built for developers everywhere.

Telegram community
Product
PricingAI coding agentAgent mode docsDomainsCLIFree backend hostingHosting in EthiopiaChangelog
Deploy guides
Next.jsNode.jsPythonSvelteKitTanStack StartAstroNuxtReact RouterHonoStrapiPayload CMSDjangoFastAPIFlaskStreamlitExpressNestJSLaravelRailsGoSpring BootASP.NET CoreTelegram botDiscord botWhatsApp botLovableBoltReplitv0Google AI StudioBase44Firebase StudioClaude Code & Cursor
Compare
vs Herokuvs Vercelvs Rendervs Railwayvs Fly.iovs Netlifyvs KoyebHeroku alternativesVercel alternativesNetlify alternativesRender alternativesRailway alternativesFly.io alternativesReplit alternativesPythonAnywhere alternativesDigitalOcean App Platform alternativesGlitch alternatives
Resources
DocsBlogFree toolsAboutSupportContactllms.txt
© 2026 EthioDeployPay by card in USD or bank transfer in ETBTermsPrivacy