Cloud · head to head
Heroku vs ngrok

ngrok
Networking
Reverse tunnel service that gives a local or private service a public URL without opening a firewall
- From
- Free
- Free plan
- Yes
The short version
- Heroku is a cloud platform as a service.
- ngrok is free; Heroku starts at $5/mo.
- Only Heroku lists git-based deployment; only ngrok lists outbound agent tunnels.
- Where Heroku falls short: there is no free dyno tier; the cheapest Eco dyno is $5 per month.
- Where ngrok falls short: bandwidth is metered on paid tiers, so a workload that quietly grows into serving real traffic produces overage rather than a flat bill.
How do Heroku and ngrok differ?
Heroku and ngrok differ on starting price ($5/month against Free), pricing model (Subscription against Per user per month) and free tier (No against Yes). Only the attributes on which Heroku and ngrok actually diverge.
Not yet recorded: founded for ngrok.
Which features does each one have?
They share no listed features; 20 appear only for Heroku and 6 only for ngrok. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in Heroku
- Git-based deployment
- Buildpacks
- Dynos (containers)
- Add-ons marketplace
- Postgres database
- Environment variables
- Logging
- API
Only in ngrok
- Outbound agent tunnels
- Static domains
- Traffic policy
- Request inspection
- Kubernetes ingress
- TCP and TLS endpoints
What is each one used for?
Heroku is most often brought in for application hosting; ngrok for giving a partner a temporary authenticated endpoint into an internal API. The jobs each tool is most often brought in to do.
Heroku
- Application hostingnot ngrok
- Database as a servicenot ngrok
- CI/CD pipelinesnot ngrok
- API deploymentnot ngrok
ngrok
- Receiving webhooks from a payment or messaging provider on a laptop during developmentnot Heroku
- Demonstrating a work in progress application to someone outside the network without deploying itnot Heroku
- Publishing a service inside a private network or Kubernetes cluster without a public load balancernot Heroku
- Giving a partner a temporary authenticated endpoint into an internal APInot Heroku
Where do Heroku and ngrok fall short?
Heroku's most cited limit: there is no free dyno tier; the cheapest Eco dyno is $5 per month. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Heroku
- There is no free dyno tier; the cheapest Eco dyno is $5 per month
- Eco dynos sleep after 30 minutes of inactivity, are restricted to personal accounts and allow only 2 process types
- Free SSL and 10 process types start at the Basic dyno at $7 per month
- Private and Shield dyno types require a Private Space, which is billed on top of the dynos
- Private Space dynos start at $250 per month for Private-M and $500 per month for Private-L
- Dyno prices are per dyno per month, so an app with several process types multiplies the bill
ngrok
- Free HTTP endpoints show a browser interstitial before the page loads, which breaks first impressions in demos and confuses anyone you send the link to
- All traffic passes through ngrok infrastructure, so you inherit its latency and an ngrok incident takes every published endpoint down at once with no local failover
- Pricing is per user seat plus allowances, so a platform team publishing many endpoints ends up buying seats for people who never open the dashboard
- Bandwidth is metered on paid tiers, so a workload that quietly grows into serving real traffic produces overage rather than a flat bill
- Traffic policy configuration is specific to ngrok, so the authentication and routing logic you accumulate at the edge has to be rebuilt if you later move to a conventional ingress
How much do Heroku and ngrok cost?
Heroku starts at $5/mo; ngrok is free to use. Plan by plan below, from each vendor's own pricing page.
Heroku
$5/month- Eco Dyno$5/mo
- 0.5 GB RAM
- Git/Docker deploy
- Custom domains
- Basic Dyno$7/mo
- 0.5 GB RAM
- Always-on
- Free SSL
- Standard-1X Dyno$25/mo
- 0.5 GB RAM
- Horizontal scaling
- App metrics
- Standard-2X Dyno$50/mo
- 1 GB RAM
- Horizontal scaling
- App metrics
ngrok
Free- FreeFree
- One static domain
- HTTP endpoints with a browser interstitial
- Limited simultaneous connections
- PersonalOn request
- Removes the interstitial warning page
- Additional reserved domains
- TCP endpoints
- ProOn request
- Per user billing with team accounts
- Traffic policy rules and edge authentication
- Higher bandwidth allowances
- EnterpriseOn request
- Custom terms and volume pricing
- Dedicated capacity options
- Compliance and audit requirements
Which should you pick?
Choose Heroku if
- You need git-based deployment.
- You work on Web, API, Workers.
- You also want buildpacks.
Choose ngrok if
- You need outbound agent tunnels.
- You want to start without paying.
- You work on Linux, macOS, Windows, Self-hosted.
- You also want static domains.
Questions people ask
- Is Heroku or ngrok better?
- It depends on the job. Heroku fits application hosting; ngrok fits receiving webhooks from a payment or messaging provider on a laptop during development. Heroku starts at $5/month and ngrok at Free.
- Which is cheaper, Heroku or ngrok?
- ngrok has a free tier; the other does not. Paid plans start at $5/month for Heroku and Free for ngrok.
- Does Heroku or ngrok run on more platforms?
- Heroku runs on Web, API, Workers. ngrok runs on Linux, macOS, Windows, Self-hosted.
- Can I use ngrok for free?
- Yes. ngrok has a free tier, so you can try it without paying. Heroku starts at $5/month.
- What is Heroku best used for?
- Heroku is most often used for application hosting, database as a service, ci/cd pipelines, api deployment. Of those, application hosting and database as a service are not what ngrok is typically brought in for.
- What can Heroku do that ngrok cannot?
- Heroku covers Git-based deployment, Buildpacks, Dynos (containers), Add-ons marketplace. ngrok covers Outbound agent tunnels, Static domains, Traffic policy, Request inspection.
Answered from the vendors’ own pages
Heroku: How much does Heroku cost?
Heroku dyno pricing starts at $5 per month USD for the Eco tier (with 30-minute inactivity sleep), $7 per month for Basic (always-on), and scales up to $1,500 per month for Performance-2XL with 126 GB RAM.
Sourcengrok: Can I use it in production?
It is sold for that now, with static domains, policy rules and a Kubernetes operator. The question is whether you accept a third party on the traffic path for every request.
Heroku: What is the cheapest always-on Heroku plan?
The Basic Dyno at $7 per month USD is Heroku's cheapest always-on container option. It provides 0.5 GB RAM, free SSL, and support for 10 process types.
Sourcengrok: Why does my free URL show a warning page?
Free HTTP endpoints carry an interstitial. Removing it requires a paid plan, and it is the most common reason people upgrade.
Heroku: How is Heroku Postgres priced?
Heroku Postgres Essential tier (shared resources) starts at $5-$20 per month for 1-32 GB disk. Standard tier (dedicated) ranges $50-$12,000 per month. Premium, Private, Shield, and Advanced tiers offer higher performance at corresponding prices.
Sourcengrok: Does it work for SSH or a database?
Yes through TCP endpoints, which are a paid feature.
ngrok: What is the self hosted alternative?
A reverse proxy on a server you own with a tunnel back to the service, or one of the self hosted tunnel projects. All of them cost more setup time than the thing they replace.
Related pages
Other head to heads
- Heroku vs Render
- Heroku vs Porter
- Heroku vs Coolify
- Heroku vs Railway
- Heroku vs Qovery
- Heroku vs Fly.io
- Heroku vs Dokku
- Heroku vs Upsun
- Heroku vs DigitalOcean
- Heroku vs AWS (Amazon Web Services)
- Heroku vs Koyeb
- Heroku vs Google Cloud Run
- Heroku vs Puppet
- Heroku vs Buildah
- Heroku vs Contabo
- Heroku vs Crossplane
- Heroku vs Crusoe Cloud
- Heroku vs Infracost
- Heroku vs Twingate
- Heroku vs Tailscale
- Heroku vs Cloudflare
- Heroku vs Traefik
- Heroku vs ZeroTier
- Heroku vs Netdata
- Heroku vs Kentik
- Heroku vs pfSense
- Heroku vs Cisco Meraki
- Heroku vs OPNsense
- Heroku vs Nebula
- Heroku vs Zabbix
- Heroku vs LibreNMS
- Heroku vs OpenVPN
- Heroku vs Palo Alto Networks
- Heroku vs Auvik
- Heroku vs Prometheus
- Heroku vs Icinga
- ngrok vs Render
- ngrok vs Porter
- ngrok vs Coolify
- ngrok vs Railway
- ngrok vs Qovery
- ngrok vs Fly.io
- ngrok vs Dokku
- ngrok vs Upsun
- ngrok vs DigitalOcean
- ngrok vs AWS (Amazon Web Services)
- ngrok vs Koyeb
- ngrok vs Google Cloud Run
- ngrok vs Puppet
- ngrok vs Buildah
- ngrok vs Contabo
- ngrok vs Crossplane
- ngrok vs Crusoe Cloud
- ngrok vs Infracost
- ngrok vs Twingate
- ngrok vs Tailscale
- ngrok vs Cloudflare
- ngrok vs Traefik
- ngrok vs ZeroTier
- ngrok vs Netdata
- ngrok vs Kentik
- ngrok vs pfSense
- ngrok vs Cisco Meraki
- ngrok vs OPNsense
- ngrok vs Nebula
- ngrok vs Zabbix
- ngrok vs LibreNMS
- ngrok vs OpenVPN
- ngrok vs Palo Alto Networks
- ngrok vs Auvik
- ngrok vs Prometheus
- ngrok vs Icinga

