Softwr

Networking · head to head

ngrok vs Valkey

ngrok logo

ngrok

Networking

Reverse tunnel service that gives a local or private service a public URL without opening a firewall

From
Free
Free plan
Yes
Valkey logo

Valkey

Databases

Open-source in-memory data store forked from Redis

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only ngrok lists outbound agent tunnels; only Valkey lists BSD licensed.
  • 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.
  • Where Valkey falls short: younger project, so its track record is short even though the codebase is not.

How do ngrok and Valkey differ?

ngrok and Valkey differ on pricing model, platforms and category (Networking against Databases). Only the attributes on which ngrok and Valkey actually diverge.

Attributes where ngrok and Valkey differ
AttributengrokValkey
Pricing modelPer user per monthOpen source, no licence fee; managed cloud billed separately
PlatformsLinux, macOS, Windows, Self-hostedLinux, macOS, Self-hosted
CategoryNetworkingDatabases

Identical on both: starting price (Free), free tier (Yes).

Not yet recorded: founded for ngrok.

Which features does each one have?

They share no listed features; 6 appear only for ngrok and 4 only for Valkey. 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 ngrok

  • Outbound agent tunnels
  • Static domains
  • Traffic policy
  • Request inspection
  • Kubernetes ingress
  • TCP and TLS endpoints

Only in Valkey

  • Redis-compatible
  • BSD licensed
  • Rich data structures
  • Replication and persistence

What is each one used for?

ngrok is most often brought in for giving a partner a temporary authenticated endpoint into an internal API; Valkey for migrating from Redis without rewriting application code. The jobs each tool is most often brought in to do.

ngrok

  • Receiving webhooks from a payment or messaging provider on a laptop during developmentnot Valkey
  • Demonstrating a work in progress application to someone outside the network without deploying itnot Valkey
  • Publishing a service inside a private network or Kubernetes cluster without a public load balancernot Valkey
  • Giving a partner a temporary authenticated endpoint into an internal APInot Valkey

Valkey

  • Continuing on a permissively licensed in-memory store after the Redis licence changenot ngrok
  • Caching and session storage where a foundation-governed project is a procurement requirementnot ngrok
  • Migrating from Redis without rewriting application codenot ngrok

Where do ngrok and Valkey fall short?

Valkey's most cited limit: younger project, so its track record is short even though the codebase is not. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

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

Valkey

  • Younger project, so its track record is short even though the codebase is not
  • Divergence from Redis grows over time, so compatibility is strongest near the fork point and weakens as both evolve
  • Ecosystem tooling and documentation still frequently assume Redis, leaving translation work

How much do ngrok and Valkey cost?

ngrok is free to use; Valkey is free to use. Plan by plan below, from each vendor's own pricing page.

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

Valkey

Free
  • ValkeyFree
    • Full functionality
    • Self-hosted
    • No usage limits

Which should you pick?

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.

Choose Valkey if

  • You need redis-compatible.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted.
  • You also want bsd licensed.

Questions people ask

Is ngrok or Valkey better?
It depends on the job. ngrok fits receiving webhooks from a payment or messaging provider on a laptop during development; Valkey fits continuing on a permissively licensed in-memory store after the Redis licence change. ngrok starts at Free and Valkey at Free.
Which is cheaper, ngrok or Valkey?
ngrok starts at Free and Valkey at Free.
Does ngrok or Valkey run on more platforms?
ngrok runs on Linux, macOS, Windows, Self-hosted. Valkey runs on Linux, macOS, Self-hosted.
Can I use ngrok for free?
Both have a free tier, so you can try either at no cost before committing.
What is ngrok best used for?
ngrok is most often used for receiving webhooks from a payment or messaging provider on a laptop during development, demonstrating a work in progress application to someone outside the network without deploying it, publishing a service inside a private network or kubernetes cluster without a public load balancer, giving a partner a temporary authenticated endpoint into an internal api. Of those, receiving webhooks from a payment or messaging provider on a laptop during development and demonstrating a work in progress application to someone outside the network without deploying it are not what Valkey is typically brought in for.
What can ngrok do that Valkey cannot?
ngrok covers Outbound agent tunnels, Static domains, Traffic policy, Request inspection. Valkey covers Redis-compatible, BSD licensed, Rich data structures, Replication and persistence.

Answered from the vendors’ own pages

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.

Valkey: Is Valkey free?

Yes, BSD-licensed open source under the Linux Foundation.

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.

Valkey: Why does Valkey exist?

Redis changed its licence away from BSD in 2024. Valkey is the community fork continuing under permissive terms, backed by AWS, Google Cloud and Oracle among others.

ngrok: Does it work for SSH or a database?

Yes through TCP endpoints, which are a paid feature.

Valkey: Can I switch from Redis to Valkey?

At the fork point it is drop-in compatible with existing clients and data. The further both projects move from that point, the more you should verify the specific features you use.

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.

Share

Related pages

Other head to heads