finds.dev

// 8 picks · reviewed October 2026

The best open source API gateways in 2026

An API gateway sits at the edge of your HTTP traffic doing the unglamorous work: routing requests to the right service, terminating TLS, rate limiting, authenticating callers, load balancing across instances. Every pick here does that job; what separates them is how they're configured and who they were built for.

Traefik and Apache APISIX assume an orchestrator is wiring things together and reconfigure themselves as it changes. Caddy assumes a human pointing it at a domain name who never wants to think about certificates again. nginx, HAProxy, and Envoy assume you want raw performance and are willing to write a config DSL to get it. Kong and Tyk split the difference with plugin systems built for teams that want gateway features without building their own — Lua for one, whatever language you already use for the other.

  1. 01traefik
  2. 02kong
  3. 03nginx
  4. 04caddy
  5. 05apisix
  6. 06envoy
  7. 07haproxy
  8. 08tyk

★ 65,299GoMITupdated Oct 2026

best for Services that move constantly — containers, Kubernetes pods — and routing that needs to follow them automatically

Watches Docker, Kubernetes, or Consul directly and rewires routing as containers come and go, with no restarts and no hand-edited config file. Let's Encrypt, including wildcard certs, is automatic. The middleware system — rate limiting, circuit breakers, auth, header rewriting — is composable through labels or CRDs rather than bolted on as an afterthought.

The v2-to-v3 upgrade changed routing rule syntax badly enough that Traefik ships a dedicated migration guide for it, and plugins run through Traefik's own catalog rather than letting you point at any git repo the way Envoy's extension model does. Configuration also sprawls across TOML, YAML, Docker labels, and Kubernetes CRDs that can all apply to the same service at once, which gets confusing fast once static and dynamic config start overlapping.

At very high request volume, the per-request cost of the middleware chain and certificate store shows up in ways it doesn't on HAProxy or nginx — not a drop-in replacement for either when raw throughput is the only thing that matters.

★ 44,288LuaApache-2.0updated Oct 2026

best for Teams already running Kubernetes who want an ingress controller backed by the most mature plugin ecosystem here

Built on OpenResty, so plugins attach at specific request phases — access, header filter, body filter, log — in a predictable order you can test against. DB-less mode with declarative YAML fits a GitOps workflow cleanly, and hybrid mode really separates the control plane from the data plane instead of just drawing that line in a diagram.

Lua is unavoidable for every plugin, and OpenResty's dialect — cosockets, shared dictionaries — behaves differently enough from standard Lua that debugging it is its own skill, one that Tyk's Go/Python/JS middleware and Caddy's Go modules don't ask for. RBAC, Vault-backed secrets, and real analytics all sit behind the paid tier, closer to the surface than the docs suggest.

The AI gateway features — LLM routing, MCP traffic governance — are more plugins running on the same nginx proxy, not a different kind of gateway underneath.

★ 31,919CBSD-2-Clauseupdated Oct 2026

best for A reverse proxy or TLS terminator where raw throughput matters more than dynamic config

Runs a worker-per-core event loop that holds tens of thousands of connections in flat memory, still the main reason it displaced thread-per-connection servers like Apache for high-concurrency work. HTTP/2 and HTTP/3 are built into core rather than bolted on as third-party modules, so protocol support doesn't wait on a module maintainer. The config language is its own DSL, but expressive enough to handle rate limiting and caching without reaching for extra software the way Traefik or Kong would.

Dynamic modules aren't ABI-stable across versions, so a third-party module routinely needs rebuilding after a minor version bump — there's no plugin catalog here the way Kong or Apache APISIX have one. Windows support is explicitly proof-of-concept only. And a fair amount of what tutorials assume nginx does — active health checks, session persistence, real load-balancing algorithms — lives in the closed-source NGINX Plus, not in this repository.

★ 78,216GoApache-2.0updated Oct 2026

best for A server you point at a domain name and never have to think about certificates for again

Point it at a domain and it handles Let's Encrypt, renewal, OCSP stapling, and HTTP/3 without a single config line for any of it — the strongest automatic-HTTPS story of any pick here, including Traefik's. The Caddyfile covers the common cases well, though it gets awkward once you need fine control, and you end up either fighting the abstraction or dropping to raw JSON, which is verbose.

Config is JSON over an API, so you reload without restarting and can automate generation programmatically, and it ships as a single static binary with no runtime dependency, not even libc. Plugins require recompiling with xcaddy rather than a runtime drop-in the way nginx modules or Kong plugins work, and the admin API listens on localhost with no authentication by default — fine on one box, a problem the moment the setup grows past that.

★ 17,244LuaApache-2.0updated Oct 2026

best for Platform teams on Kubernetes who want config to hot-reload without touching workers, and don't mind running etcd for it

Running this well means running etcd too — one more stateful service than Traefik, Caddy, or HAProxy ever ask for, and it's Lua and OpenResty underneath, the same curve as Kong. In exchange, routes and plugins hot-reload without restarting workers, which Kong's DB-less mode approximates but doesn't quite match.

The plugin count covers real-world needs: multiple auth schemes, several logging backends, multi-language plugin runners for Java, Go, and Python, and Wasm support. The AI proxy code does real protocol conversion across Anthropic, Bedrock, and OpenAI-compatible APIs rather than slapping an LLM label on an existing plugin, though the protocol surface overall — MQTT, Dubbo, gRPC transcoding — makes threat modeling harder for teams that only needed basic HTTP routing in the first place.

★ 29,099C++Apache-2.0updated Oct 2026

best for Building a service mesh or edge proxy where dynamic config and deep observability matter more than a quick setup

The xDS API it introduced for dynamic configuration became close to a standard well outside Envoy itself — Istio, Ambassador, and Gloo are all built on it. The extension surface covers Kafka, Postgres, MySQL, Golang and Lua filters, even hardware crypto offload, so forking the proxy to add protocol support is rarely necessary. Stats, observability, and hot restart are proven at Lyft, Google, and Airbnb scale, backed by real fuzzing infrastructure and third-party security audits.

The Bazel-based C++ build is heavy and slow to get running locally, with a steeper dev loop than any Go-based pick here. The config surface — protos, filter chains, xDS resources — has the steepest learning curve in this group; if you just need routing and auth without a service mesh wrapped around it, Traefik or Kong gets you there faster.

★ 6,937CNOASSERTIONupdated Oct 2026

best for Squeezing maximum throughput and stability out of a load balancer without needing a plugin ecosystem

Decades of production hardening across TCP, HTTP/1, HTTP/2, TLS, and now QUIC, with CI running across FreeBSD, NetBSD, Illumos, and multiple SSL libraries that most of the other picks here never bother testing against — though you pay for that maturity with a config DSL that has a steep learning curve and cryptic error messages around ACLs and stick tables, rougher than anything Caddy or Traefik ask of a newcomer.

The Lua scripting API and SPOE engine let you extend behavior without touching the C core. This particular repository is the development mirror, so the README barely orients you — expect to keep docs.haproxy.org open in another tab — and a few commercial add-ons, like device-detection integrations, are stubbed out as dummy implementations in the open-source tree.

★ 10,868GoNOASSERTIONupdated Oct 2026

best for Wanting Kong-like plugin flexibility and GraphQL/gRPC support without writing Lua or paying for Kong Enterprise

Middleware can be written in Go, Python, JavaScript, or anything that speaks gRPC — the clearest difference from Kong and Apache APISIX, where Lua is unavoidable. The OAS 3.x import path has a dedicated adapter layer with real test coverage, and a separately maintained Kubernetes operator makes GitOps-style API management a real option rather than a demo.

The open-source and commercial split is the same trap as Kong's: analytics beyond raw logs, the management dashboard, and the developer portal all live behind the paid tier, so the gateway engine is open but the daily tooling isn't. Rate limiting is Redis-backed with hitless config reloads, so updating API definitions doesn't drop in-flight requests — a solid piece sitting next to a commercial-licensed 'ee' folder inside the open-source repo, and two GraphQL engines, old and new, that suggest a migration still in progress.

// questions people ask

Before you choose

What's the difference between an API gateway and a plain reverse proxy?

A reverse proxy routes requests and terminates TLS; a gateway adds things like per-route auth, rate limiting, and request transformation as first-class config instead of rules you bolt on yourself. nginx and HAProxy are proxies you can build gateway features onto; Kong, Tyk, and Apache APISIX ship those features as a plugin system from the start.

Do I need Kubernetes to use any of these?

No. Caddy, nginx, and HAProxy run fine as standalone binaries on a single box with no orchestrator involved. Traefik, Kong, and Apache APISIX have Kubernetes-native modes but also run standalone with static or declarative config.

Which of these avoids Lua?

Traefik, Caddy, Envoy, and Tyk are built in Go or C++ with no Lua anywhere in the plugin path. Kong and Apache APISIX are both built on OpenResty, so writing or debugging a plugin means learning Lua's OpenResty dialect.

Which one handles TLS certificates with the least manual work?

Caddy and Traefik both automate Let's Encrypt issuance and renewal, including wildcard certificates, with no manual steps. nginx, HAProxy, and Envoy expect you to manage certificates yourself or put something like Certbot in front of them.

If you're running Kubernetes and want routing that follows your containers, start with Traefik or Apache APISIX. If you just need a server that handles its own certificates and gets out of the way, Caddy is the shortest path there.

// how we picked these

Every repo here was read and assessed on its own before it was considered for this page: we pull the README, the directory layout and a key source file, and write the assessment from those rather than from the project's own marketing. Candidates for this list came from a full-text and topic search over the 164 reviewed repositories that matched this category. Anything with no commit in the last 12 months was cut, as were link collections, tutorials and boilerplates; the floor for inclusion was 500 stars. The ordering is a judgement call about who should pick what, not a ranking by stars. finds.dev is independent of every project listed here: nobody paid for a place on this page, there are no affiliate or referral links on it, and we have no commercial relationship with any of them. That is the point of writing down what each one is bad at as well as what it is good at.

Our criteria →