Five small microservices and one Postgres database cost $5 a month on Light Cloud while they're mostly idle, the cheapest of the eight platforms here, with Google Cloud Run and Railway next at about $9 and $16. Keep all five busy around the clock and the order flips: DigitalOcean is $32, Heroku $40 and Render $41.30, and Light Cloud is the most expensive at about $264.
We make Light Cloud, one of the eight platforms below, so here's the method first and the sources inline, so you can redo every number.
How we ranked
Microservices bills are hard to compare because every platform charges for a different thing. Some sell fixed instances by the month, some meter the memory a process holds, and some bill only while a request is running. So I priced one reference system twice.
The system is five small HTTP services, each 512 MB or the nearest size, plus one small managed PostgreSQL database with 1 GB of storage. Think of the coffee shop from our microservices series with two more services added.
- Mostly idle: each service gets about 300 requests a day. That's an internal tool, a new product, or a side business between customers. This is the Scale to zero view of the ranking, and the default.
- Always busy: each service needs one instance running every hour of the month. This is the Always on view.
Prices are list prices from each vendor's own pricing page or docs, checked on 2026-10-13 and again on 2026-11-02 for Railway, Fly.io and Koyeb, in US dollars, in a US region where prices vary, with no bandwidth, build minutes or tax. One estimate is mine and marked as such: Railway bills the memory and CPU a running service actually uses and publishes no idle figure, so I assumed what a small Node service and Postgres usually hold, about 250 MB per service and 200 MB for the database. No row is priced at a plan's starting fee.
300 requests a day is one every five minutes, which keeps most sleep timers from ever firing. So platforms that sleep idle services are priced as always on unless their entry says otherwise.
The ranking
| # | Platform | Mostly idle, a month | Always busy, a month | Calls between services |
|---|---|---|---|---|
| 1 | Light Cloud | $5 | about $264 (Starter) | Public URLs, about 10 a second per caller |
| 2 | Google Cloud Run | about $9 | about $98 | Signed tokens; private needs a VPC |
| 3 | Railway | about $16 (estimate) | $42 to $60 | Private network |
| 4 | DigitalOcean App Platform | $32 | $32 | Internal network by name |
| 5 | Heroku | $40 | $40 | Public URLs outside Private Spaces |
| 6 | Render | $41.30 | $41.30 | Private network |
| 7 | Fly.io | $56.73 | $56.73 | Private network |
| 8 | Koyeb | $62.66 | $62.66 | Service mesh (not on Free) |
Five small services and one managed PostgreSQL database with 1 GB of storage. List prices from each vendor's pricing pages and docs, checked 2026-10-13, US dollars. Railway's idle figure assumes about 250 MB of memory per service and 200 MB for Postgres, 0.05 vCPU in total and a 1 GB volume. Light Cloud's busy figure is five always-on Micro instances at about $52 each plus a $4 database.
1. Light Cloud
Best for: systems whose services sit idle most of the day and call each other only now and then.
Five server apps and one shared Postgres database are exactly what the Lite plan allows, and Lite is $5 a month with $5 of usage included (pricing). A quiet server app with 300 requests a day uses about $0.10 a month by the pricing page's own formula, so five use $0.50, and the shared managed PostgreSQL is $4. That's $4.50 of usage inside the $5 plan. It works because every service is usage-based hosting that scales to zero by default and counts nothing between requests.
Two weaknesses, both measured. First, busy months are expensive: an always-on Micro is about $52, needs the $19 Starter plan, and five of them plus the database come to about $264. Second, services call each other over their public HTTPS addresses, through the same edge your visitors use. I tested it on 2026-10-13 with two services in the same workspace: one service calling another at 10 requests a second was fine for 20 seconds, while at 15 a second the edge started answering 429 after about ten seconds and kept blocking for about ten more. The limit counts all your services together, so a gateway calling three services at 5 a second each hits it. You can see the same limit from a laptop in the autoscaling part of our series.
2. Google Cloud Run
Best for: teams on Google Cloud whose services fit the free tier and who can wire IAM themselves.
Request-based billing charges only while a request is running, and the monthly free tier covers 180,000 vCPU-seconds and 2 million requests (pricing). Five quiet services use under 100,000 vCPU-seconds even if every request paid a two-second cold start, so compute is $0. The database is the bill: Cloud SQL's smallest instance, db-f1-micro, is about $7.56 a month plus about $1.68 for 10 GiB of storage. About $9.24 in total, with a billing account and a card.
Busy is a different story, because a busy service pays the active rate for every second it works. At 0.25 vCPU and 512 MiB with request-based billing, five services and Cloud SQL come to about $98 a month, and more once traffic needs a second instance, since below 1 vCPU each instance takes one request at a time (docs). Instance-based billing needs at least 1 vCPU and would cost about $250. Service-to-service calls in one region have no networking charge, but private services check a Google-signed ID token on every call, and keeping a service internal-only means routing the caller through a VPC.
3. Railway
Best for: small systems that want a private network and a bill that follows the memory they really use.
Hobby is $5 a month, and you pay the larger of $5 or your usage: $10 per GB of memory a month and $20 per vCPU a month (pricing). A small Node service holds about 250 MB even when idle and Postgres about 200 MB, so the system holds about 1.45 GB: $14.50 of memory, about $1 of CPU at 0.05 vCPU in total, and $0.15 for a 1 GB volume. That's $15.65 of usage, so the bill is about $16. Railway itself says an idle server still uses memory to stay loaded, and it publishes no idle number, so treat this as an estimate: at 0.1 GB per service it would be about $8, at the full 0.5 GB about $28.
Services in a project share a private network with internal DNS, so calls between them never touch a public rate limit or an egress meter. The catch for a quiet system: Railway's optional sleep doesn't fire for a service that keeps a database pool open or calls other services over the private network (docs), which describes most microservices. Busy, five services and Postgres at 0.5 GB and a quarter of a vCPU each come to about $60.
4. DigitalOcean App Platform
Best for: the cheapest busy system, if a development database without default backups is acceptable.
The smallest container is $5 a month for 512 MiB, fixed at one instance, and a development PostgreSQL database is $7 (pricing). Five plus the database is $32, idle or busy, because nothing scales down. One app spec can hold all five services and the database, and components reach each other by name over the app's internal network.
That $7 database is tied to the app, isn't backed up by default and is deleted with the app. A managed PostgreSQL cluster instead brings the total to $40.15. The $5 size can't scale out at all; scalable sizes start at $12, and scale to zero is still a private preview.
5. Heroku
Best for: teams that know Heroku and want flat prices for always-on services.
Each HTTP service is its own Heroku app, because only the web process type receives traffic from the router. Five Basic dynos at $7 and an Essential-0 database at $5 make $40 (pricing). Eco dynos don't fit: their 1,000 shared hours a month cover fewer than two services kept awake, and Eco is for personal apps only.
Everything about the busy month is predictable, which is the point of Heroku. The limits are the familiar ones: Essential-0 allows 20 connections, so five services get four each; dynos on the shared runtime are isolated from each other and talk over public URLs; and autoscaling starts with Performance-M dynos at $250 a month each.
6. Render
Best for: fixed prices per service, a private network and the whole system in one render.yaml.
Five Starter web services at $7 and the smallest Postgres at $6 plus $0.30 for 1 GB of storage come to $41.30 on the free Hobby workspace (pricing). Same price idle or busy. Services in one region share a private network, and a Blueprint describes services, databases and the wiring between them in one YAML file.
Free instances don't help here: five services kept up all month need 3,600 instance-hours against 750 free ones, free services can't receive private network traffic, and free Postgres expires after 30 days. Autoscaling and full-system previews need the Pro workspace at $25 a month, which takes this system to $66.30.
7. Fly.io
Best for: services that must run in several regions and talk over a private network.
Five 512 MB machines are $3.69 each per 30 days in Ashburn (pricing), $18.45 in total. Then the database: the smallest Managed Postgres is $38 a month plus $0.28 per GB, so the system is $56.73, two-thirds of it Postgres. Machines can stop when idle, and if all the traffic falls inside a ten-hour working day the bill drops to about $46. Fly's older self-managed Postgres would take it to about $21, but Fly doesn't support it.
Every organization gets a private WireGuard network across regions. One detail matters for internal services: requests over plain .internal addresses skip the proxy that stops and starts machines, so an internal service only sleeps if its callers use a Flycast address instead (docs).
8. Koyeb
Best for: public services that can sleep, on a team plan with ten users included.
New accounts start on Pro, $29 a month with $10 of compute included (pricing). Five eco-micro instances with 512 MB are $2.68 each (instances), and the smallest Postgres is $29.76 a month if it never sleeps, plus $0.50 for 1 GB. That's $43.66 of compute and a $62.66 bill, assuming the included $10 also covers the database, which the pricing page doesn't spell out.
Koyeb can scale services to zero, and its Postgres sleeps after five idle minutes. But scale to zero only works for services exposed to the internet, and only internet traffic wakes them (docs). In a system where internal services wait for calls from other services, those can't sleep.
When all five are busy
With every service running all month, the order turns over. DigitalOcean is cheapest at $32 with its development database, then Heroku at $40, Render at $41.30, Railway at $42 to $60 depending on the CPU used, Fly.io at $56.73 and Koyeb at $62.66. Google Cloud Run is about $98, because a busy service pays its active rate every second. Light Cloud is last at about $264 for five always-on Micro instances on Starter.
Scale to zero is a bet that your services are idle most of the time. When they're not, a fixed $5 to $7 instance beats an hourly meter by a wide margin, and that's true of us and of Cloud Run, which we run on. A busy system on Light Cloud would also run into the call limit above long before the bill, unless its services rarely call each other.
Where the others beat us
Most of the ways to lose are in that busy table. DigitalOcean, Heroku and Render run five busy services for $32 to $41, and Railway for $42 to $60, against our $264. If your traffic is steady, any of them is the better buy.
The other loss is architecture. Railway, Render, Fly.io, DigitalOcean and Koyeb give services a private network; ours talk over public URLs, need CORS and shared secrets, and share an edge limit of about 10 calls a second per caller. Render and DigitalOcean describe the whole system in one file. Fly runs it in many regions.
What we do better is the quiet month, and for many systems that's most months. Five services that wait for traffic cost $0.50 of usage here, a preview environment for every branch costs $0 while idle, and the ranking of where to run microservices covers the parts a bill doesn't. If your system is a handful of services that mostly wait, the cheapest microservices hosting I know of is the one that bills nothing while they do.
Which of the two months looks more like yours?

Top comments (0)