Networking · head to head
Cloudflare Workers vs ngrok

Cloudflare Workers
Networking
Serverless compute on Cloudflare's network, free to start and $5 a month minimum on the paid plan
- From
- Free
- Free plan
- Yes

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
- ngrok is free; Cloudflare Workers starts at $5/mo.
- Only Cloudflare Workers lists edge execution; only ngrok lists outbound agent tunnels.
- Where Cloudflare Workers falls short: free has a 10 ms CPU cap.
- 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 Cloudflare Workers and ngrok differ?
Cloudflare Workers and ngrok differ on pricing model and platforms. Only the attributes on which Cloudflare Workers and ngrok actually diverge.
| Attribute | Cloudflare Workers | ngrok |
|---|---|---|
| Pricing model | Free plan plus usage-based paid plan | Per user per month |
| Platforms | Web, Linux, macOS, Windows | Linux, macOS, Windows, Self-hosted |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: category for Cloudflare Workers.
Which features does each one have?
They share no listed features; 6 appear only for Cloudflare Workers 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 Cloudflare Workers
- Edge execution
- Workers KV
- Durable Objects
- Hyperdrive
- Queues
- Spend limits
Only in ngrok
- Outbound agent tunnels
- Static domains
- Traffic policy
- Request inspection
- Kubernetes ingress
- TCP and TLS endpoints
What is each one used for?
Cloudflare Workers is most often brought in for A low-latency API or middleware; ngrok for giving a partner a temporary authenticated endpoint into an internal API. The jobs each tool is most often brought in to do.
Cloudflare Workers
- A low-latency API or middlewarenot ngrok
- A full-stack app with static assetsnot ngrok
- A cron-driven data jobnot ngrok
- Rewriting or protecting traffic at the edgenot ngrok
ngrok
- Receiving webhooks from a payment or messaging provider on a laptop during developmentnot Cloudflare Workers
- Demonstrating a work in progress application to someone outside the network without deploying itnot Cloudflare Workers
- Publishing a service inside a private network or Kubernetes cluster without a public load balancernot Cloudflare Workers
- Giving a partner a temporary authenticated endpoint into an internal APInot Cloudflare Workers
Where do Cloudflare Workers and ngrok fall short?
Cloudflare Workers's most cited limit: free has a 10 ms CPU cap. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Cloudflare Workers
- Free has a 10 ms CPU cap
- The runtime is not full Node.js, so some libraries do not run
- Costs scale with CPU time, so heavy compute surprises
- Durable Objects and other products are billed separately
- Logs and Logpush follow separate observability pricing from December 2026
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 Cloudflare Workers and ngrok cost?
Cloudflare Workers has a free plan, with paid plans from $5/mo; ngrok is free to use. Plan by plan below, from each vendor's own pricing page.
Cloudflare Workers
Free- Workers FreeFree
- 100,000 requests per day
- 10 ms CPU per invocation
- Workers Paid$5/mo
- 10 million requests included, then $0.30 per million
- 30 million CPU ms included, then $0.02 per million
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 Cloudflare Workers if
- You need edge execution.
- You want to start without paying.
- You work on Web, Linux, macOS, Windows.
- You also want workers kv.
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 Cloudflare Workers or ngrok better?
- It depends on the job. Cloudflare Workers fits a low-latency API or middleware; ngrok fits receiving webhooks from a payment or messaging provider on a laptop during development. Cloudflare Workers starts at Free and ngrok at Free.
- Which is cheaper, Cloudflare Workers or ngrok?
- Cloudflare Workers starts at Free and ngrok at Free.
- Does Cloudflare Workers or ngrok run on more platforms?
- Cloudflare Workers runs on Web, Linux, macOS, Windows. ngrok runs on Linux, macOS, Windows, Self-hosted.
- Can I use Cloudflare Workers for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Cloudflare Workers best used for?
- Cloudflare Workers is most often used for a low-latency api or middleware, a full-stack app with static assets, a cron-driven data job, rewriting or protecting traffic at the edge. Of those, a low-latency api or middleware and a full-stack app with static assets are not what ngrok is typically brought in for.
- What can Cloudflare Workers do that ngrok cannot?
- Cloudflare Workers covers Edge execution, Workers KV, Durable Objects, Hyperdrive. ngrok covers Outbound agent tunnels, Static domains, Traffic policy, Request inspection.
Answered from the vendors’ own pages
Cloudflare Workers: Is Cloudflare Workers free?
Yes, with 100,000 requests a day.
ngrok: 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.
Cloudflare Workers: What does Paid cost?
A $5 monthly minimum plus usage.
ngrok: 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.
Cloudflare Workers: Are static assets charged?
No, they are free and unlimited.
ngrok: 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
More on Cloudflare Workers
Other head to heads
- Cloudflare Workers vs PartyKit
- Cloudflare Workers vs WebStorm
- Cloudflare Workers vs Particle
- Cloudflare Workers vs AWS Serverless Application Model (AWS SAM)
- Cloudflare Workers vs Postman
- Cloudflare Workers vs Swagger UI
- Cloudflare Workers vs Proxyman
- Cloudflare Workers vs Deno
- Cloudflare Workers vs Atlantis
- Cloudflare Workers vs LocalStack
- Cloudflare Workers vs Turborepo
- Cloudflare Workers vs Terraform
- Cloudflare Workers vs Claude Code
- Cloudflare Workers vs Keycloak
- Cloudflare Workers vs Cody
- Cloudflare Workers vs GitLab
- Cloudflare Workers vs GitHub
- Cloudflare Workers vs AWS CodeBuild
- Cloudflare Workers vs Twingate
- Cloudflare Workers vs Cloudflare
- Cloudflare Workers vs Tailscale
- Cloudflare Workers vs Traefik
- Cloudflare Workers vs ZeroTier
- Cloudflare Workers vs Netdata
- Cloudflare Workers vs Cisco Meraki
- Cloudflare Workers vs Kentik
- Cloudflare Workers vs pfSense
- Cloudflare Workers vs OPNsense
- Cloudflare Workers vs Nebula
- Cloudflare Workers vs Zabbix
- Cloudflare Workers vs ManageEngine Network Configuration Manager
- Cloudflare Workers vs NetScaler
- Cloudflare Workers vs Obkio
- Cloudflare Workers vs Observium
- Cloudflare Workers vs OpenNMS
- Cloudflare Workers vs Speedtest by Ookla
- ngrok vs PartyKit
- ngrok vs WebStorm
- ngrok vs Particle
- ngrok vs AWS Serverless Application Model (AWS SAM)
- ngrok vs Postman
- ngrok vs Swagger UI
- ngrok vs Proxyman
- ngrok vs Deno
- ngrok vs Atlantis
- ngrok vs LocalStack
- ngrok vs Turborepo
- ngrok vs Terraform
- ngrok vs Claude Code
- ngrok vs Keycloak
- ngrok vs Cody
- ngrok vs GitLab
- ngrok vs GitHub
- ngrok vs AWS CodeBuild
- ngrok vs Twingate
- ngrok vs Cloudflare
- ngrok vs Tailscale
- ngrok vs Traefik
- ngrok vs ZeroTier
- ngrok vs Netdata
- ngrok vs Cisco Meraki
- ngrok vs Kentik
- ngrok vs pfSense
- ngrok vs OPNsense
- ngrok vs Nebula
- ngrok vs Zabbix
- ngrok vs ManageEngine Network Configuration Manager
- ngrok vs NetScaler
- ngrok vs Obkio
- ngrok vs Observium
- ngrok vs OpenNMS
- ngrok vs Speedtest by Ookla
