An API gateway sits between your clients and your services. It terminates TLS, routes requests, checks API keys or JWTs, applies rate limits, and gives you one place to log and trace traffic.
The hard part is that "open source API gateway" covers very different products. Some are lean, config-file-driven proxies. Others are full API management platforms with a developer portal and admin UI.
This guide compares eight open-source API gateways for 2026. Licenses, languages and release versions were checked on each project's official GitHub repository and website on November 26, 2026.
Quick answer: For the biggest plugin ecosystem and a familiar NGINX-based core, pick Kong Gateway (but know that the open-source line has stayed on 3.9.x). For a fully Apache-governed gateway with hot-reloaded routes and plugins, pick Apache APISIX. If you live in Kubernetes and want the standard Gateway API, pick Envoy Gateway. For a stateless, declarative gateway that aggregates backends, pick KrakenD. If you already use Traefik as a reverse proxy, Traefik Proxy may be all the gateway you need. For a Go gateway with batteries-included auth and rate limiting, pick Tyk. For full API management with a portal included, look at Gravitee or WSO2 API Manager.
Open-source API gateways at a glance
- Kong Gateway (OSS): Apache-2.0. Lua on NGINX/OpenResty. Postgres or DB-less (declarative) mode. Huge plugin hub plus LLM and MCP gateway features. The open-source repo's latest release is 3.9.5 (November 19, 2026), while Kong Gateway Enterprise is on 3.16.
- Apache APISIX: Apache-2.0, an Apache Software Foundation project. Lua on NGINX with etcd for config. Dynamic routing and hot-reloaded plugins. Latest release 3.21.0 (November 19, 2026).
- Tyk Gateway: MPL-2.0 for the gateway (the
eefolder is under a commercial license). Written in Go, needs Redis. REST, GraphQL, TCP, gRPC and MCP. Latest release v5.16.0 (October 27, 2026). Dashboard and developer portal are commercial. - KrakenD Community Edition: Apache-2.0. Go. Stateless, no database, configured with one declarative file. Strong at aggregating several backends into one response. Latest release v3.0.5 (November 19, 2026).
- Envoy Gateway: Apache-2.0, part of the Envoy project. Go control plane that manages Envoy Proxy using Kubernetes Gateway API resources, or standalone. Latest release v1.10.0 (November 6, 2026).
- Traefik Proxy: MIT. Go. Reverse proxy and ingress controller with auto-discovery for Docker and Kubernetes and middleware for auth and rate limiting. Latest release v3.8.0 (November 23, 2026). Traefik Hub API Gateway and API Management are paid.
- Gravitee API Management: Apache-2.0 for the community edition. Java. Gateway plus console UI and developer portal in one stack. An enterprise license unlocks more features.
- WSO2 API Manager: Apache-2.0. Java. Full API lifecycle platform with Publisher and Developer Portal. Latest release v4.7.0 (April 29, 2026).
The 8 best open-source API gateways in 2026
1. Kong Gateway: best plugin ecosystem
Kong runs on NGINX and OpenResty, and you configure it through a REST Admin API, the decK CLI, or a declarative file in DB-less mode. Out of the box it handles routing, load balancing, health checks, JWT, basic auth, OAuth, ACLs, rate limiting, and request and response transformations. Its Plugin Hub is the largest in this list, and plugins can be written in Lua or with Kong's plugin development kits for other languages.
The license caveat is about where development happens, not the license itself. The open-source Kong/kong repository is still Apache-2.0, but its releases have stayed on the 3.9 line (3.9.5 shipped November 19, 2026). Kong Gateway Enterprise has moved on to 3.16, and Kong's docs say the unlicensed "free mode" of the Enterprise image was deprecated in 3.10. If you self-host the free edition, use the kong/kong OSS image and plan to own your upgrades and patching.
Best for: Teams that want a proven gateway with a plugin for almost everything, and can live with the OSS line moving slower than Enterprise.
2. Apache APISIX: best fully community-governed gateway
APISIX is also built on NGINX, but it stores configuration in etcd rather than a relational database. That means routes, upstreams and plugins change in real time without reloads, which is its main selling point. It covers load balancing, dynamic upstreams, canary releases, circuit breaking, authentication and observability, and it can run as a Kubernetes ingress controller.
Because it's an Apache Software Foundation project, there's no "community vs. enterprise" feature split in the repository itself. API7.ai, the company behind much of its development, sells a commercial product separately.
Best for: Teams that want Kong-like power under neutral governance, and want config changes to apply instantly.
3. Tyk Gateway: best batteries-included Go gateway
Tyk is written in Go and has been around since 2014. The open-source gateway is "batteries-included": authentication, rate limiting, quotas, analytics collection and microservice patterns are all in the free binary, and it supports REST, GraphQL, TCP, gRPC and now MCP. It needs Redis, and you manage APIs through its Gateway API or files.
Check the license carefully. Code outside the ee folder is MPL-2.0, which is a weak copyleft license: changes to Tyk's own files must be shared if you distribute them, but your own code can stay private. The Tyk Dashboard, Developer Portal and management control plane are part of the paid Tyk Self-Managed and Tyk Cloud offerings, and the Self-Managed install needs a license key.
Best for: Go shops that want strong built-in auth and rate limiting without writing plugins.
4. KrakenD Community Edition: best stateless, declarative gateway
KrakenD takes a different approach. There's no database and no node coordination: every instance reads one declarative configuration file, so you scale by adding more identical nodes and manage changes through Git. Its strength is composition: one endpoint can call several backends concurrently, then merge, filter and transform the responses (including XML to JSON), which makes it a natural fit for backend-for-frontend setups.
KrakenD CE is Apache-2.0. One change to know about: the Community Edition dropped Go plugin support, so you extend it with Lua scripts, CEL expressions, or by compiling your own middleware into a custom binary. Plugins are still supported in the paid KrakenD Enterprise.
Best for: Teams that want a fast, immutable gateway managed entirely as code, especially for aggregating microservices.
5. Envoy Gateway: best for Kubernetes Gateway API
Envoy Proxy powers many service meshes and cloud load balancers, but configuring raw Envoy by hand is famously verbose. Envoy Gateway fixes that. It's a control plane, written in Go, that provisions and configures Envoy using the standard Kubernetes Gateway API resources (Gateway, HTTPRoute, GRPCRoute and so on), with extension policies for things like rate limiting, authentication and traffic policies.
Envoy Gateway is Apache-2.0 and developed in the open by the Envoy community, so there's no paid tier inside the project itself.
Best for: Platform teams standardizing on Kubernetes Gateway API who want Envoy's performance without hand-writing Envoy config.
6. Traefik Proxy: best if you already run Traefik
Traefik Proxy (MIT) is best known as a reverse proxy and ingress controller that discovers services automatically from Docker labels, Kubernetes and other providers, and handles Let's Encrypt certificates for you. It also implements Kubernetes Gateway API, and its middleware for auth, rate limiting and retries covers many "light gateway" needs.
Full API gateway features, such as JWT and OIDC policies, a WAF, an AI gateway and API management, live in the paid Traefik Hub products, which upgrade an existing Traefik Proxy install.
Best for: Docker and Kubernetes setups that want simple, auto-configured routing with some gateway features.
7. Gravitee API Management: best open-source API management with a portal
Gravitee is a Java platform that bundles a gateway, a management API, a console UI and a developer portal. The Docker quickstart brings up the whole stack with MongoDB, so you get API publishing, plans, subscriptions and documentation in one place, which is something Kong OSS, KrakenD and Tyk OSS don't give you for free.
The community edition is Apache-2.0, and an enterprise license key unlocks additional features.
Best for: Teams that need a developer portal and API productization, not only a proxy.
8. WSO2 API Manager: best for enterprise API lifecycle on-premises
WSO2 API Manager is one of the oldest open-source API management platforms. It's Java-based (JDK 21 for the current release) and Apache-2.0, and it includes an API Publisher, a Developer Portal, key management, throttling and analytics integrations.
It's heavier to run than the other gateways here, and WSO2's commercial subscription is what gives you expert support, continuous updates and the licensed distribution for commercial use.
Best for: Large organizations that want full API lifecycle management on their own infrastructure.
Other open-source gateways worth knowing
- Netflix Zuul (Apache-2.0, Java) is still maintained and suits JVM shops that want a programmable gateway library rather than a product.
- If you mostly need API key management and per-key rate limits for a public API, a focused tool like Unkey can be simpler than running a full gateway.
How to choose an open-source API gateway
1. Decide if you need a gateway or a platform. A gateway (Kong, APISIX, KrakenD, Envoy Gateway, Traefik, Tyk) handles traffic. A platform (Gravitee, WSO2) adds a developer portal, API catalog, subscriptions and approval workflows. If external developers will sign up for keys, you need the platform, or you'll have to build those pieces yourself.
2. Match it to where you run. On Kubernetes, prefer something that speaks Gateway API natively: Envoy Gateway, Traefik, APISIX or Kong's ingress controller. On plain VMs or Docker, KrakenD's single binary and file, or Kong in DB-less mode, are easy to operate.
3. Look at state and dependencies. Each extra datastore is something to back up and monitor. KrakenD needs nothing. Kong can run DB-less or with Postgres. APISIX needs etcd. Tyk needs Redis. Gravitee and WSO2 need a database and more memory.
4. Read the license and the open-core line. All eight are open source, but not equally. Apache-2.0 and MIT (Kong, APISIX, KrakenD, Envoy Gateway, Traefik, Gravitee CE, WSO2) are permissive. Tyk's MPL-2.0 is weak copyleft. More important is what's missing from the free edition: Tyk's dashboard, Traefik's API security, KrakenD's plugins, Gravitee's enterprise features, and the newer Kong releases are all commercial.
5. Check how you'll extend it. Lua (Kong, APISIX, KrakenD), Go (Tyk, KrakenD custom builds), Wasm and external plugin runners (APISIX, Envoy), or Java (Gravitee, WSO2, Zuul).
6. Test with your own traffic. Vendors all publish their own benchmarks, and each claims to be the fastest. Run a short load test against your real routes, auth and plugins, and compare p99 latency and resource use. Test the APIs behind the gateway with a client like Postman or one of the Postman alternatives we've compared. To expose a local gateway to a webhook provider during development, see our guide to ngrok alternatives.
FAQ
What is the best open-source API gateway?
There isn't one winner. Kong and Apache APISIX are the most complete general-purpose gateways, Envoy Gateway is the strongest choice for Kubernetes Gateway API, and KrakenD is the simplest to run at scale. Pick based on where you deploy and which features you need on the free tier.
Is Kong Gateway still open source?
Yes. The Kong/kong repository is Apache-2.0 and still gets releases (3.9.5 in November 2026). But the open-source line has stayed on 3.9.x while Kong Gateway Enterprise has moved to 3.16, so newer features ship in the commercial product first, and the unlicensed Enterprise "free mode" was deprecated in 3.10.
Kong vs APISIX: what's the difference?
Both are Lua gateways built on NGINX with large plugin sets. Kong stores config in Postgres or a declarative file and is backed by Kong Inc., with a commercial Enterprise edition. APISIX stores config in etcd, applies changes in real time, and is governed by the Apache Software Foundation.
Is Tyk free?
The Tyk Gateway is free and open source under MPL-2.0, with no feature lockout in the gateway itself. The Tyk Dashboard, Developer Portal and management control plane are part of paid Tyk Self-Managed or Tyk Cloud plans.
Do I need an API gateway for a small project?
Often not. For a single service, a reverse proxy plus rate limiting in your framework may be enough. A gateway starts paying off when you have several services, several clients, or a public API that needs consistent auth, quotas and logging.
