ExploreGit

Best Open-Source API Gateway for Microservices

6 open-source options compared for API gateway for microservices, with live GitHub data on each.

Last updated Repo data refreshed 25 Oct 20266 options
Our pick · kong

Our pick is Kong because it provides a mature, performant, and extensible API and AI Gateway platform, ideal for diverse microservice architectures. Its rich plugin ecosystem enables deep customization for complex traffic management, security, and authentication, making it a reliable foundation for robust features and proven scalability, despite a moderately complex initial setup. For those prioritizing cloud-native dynamic configuration, Apache APISIX, a Cloud-Native API Gateway and AI Gateway, is a strong alternative. KrakenD-CE, a high-performance, stateless, declarative API Gateway, is an excellent choice when raw stateless performance and API aggregation are paramount, offering a simpler footprint.

Kong vs APISIX vs Tyk vs Envoy Gateway vs KrakenD vs kgateway: side by side

ProjectLicenceLanguageGitHub starsLast commitLatest releaseStatusHosting modelDatastore neededLearning curve (our estimate)Maturity (our estimate)
KongApache-2.0Lua44,30119 Oct 202612 Oct 2026 3.9.4Activeself-hosted or vendor cloudPostgreSQL, or none (DB-less mode)3/5 (moderate)production-ready
APISIXApache-2.0Lua17,25023 Oct 202628 Sept 2026 3.19.0Activeself-hosted onlyetcd, or none (standalone mode, YAML/JSON file)3/5 (moderate)production-ready
TykMPL-2.0 core + commercial ee/Go10,87123 Oct 20262 Oct 2026 v5.15.1Activeself-hosted or vendor cloudRedis3/5 (moderate)production-ready
Envoy GatewayApache-2.0Go3,09423 Oct 202628 Sept 2026 v1.9.2Activeself-hosted onlyNone separate (configured through Kubernetes Gateway API resources)4/5 (hard)stable
KrakenDApache-2.0Go2,69521 Oct 202621 Oct 2026 v3.0.2Activeself-hosted onlyNone (stateless, no central persistence)2/5 (easy)production-ready
kgatewayApache-2.0Go5,72323 Oct 202616 Oct 2026 v2.4.7Activeself-hosted onlyNone separate (Kubernetes Gateway API control plane for Envoy)3/5 (moderate)stable

Learning curve and maturity are ExploreGit's AI-assisted estimates; everything else is from GitHub or the project's own docs (linked).

01

Kong/kong

Our pickActive
★ 44,301 starsLicence: Apache-2.0Last commit 19 Oct 2026Latest release 12 Oct 2026Lua

Kong is an API and AI Gateway designed to manage and secure microservices.

Best for: Organizations requiring a robust, highly extensible, and scalable API gateway for complex and evolving microservice architectures.

What's good

  • Offers an extensive plugin ecosystem for custom functionality and integrations, extending its core capabilities.
  • Provides high performance and scalability, making it suitable for large-scale and demanding deployments.
  • It is a mature and widely adopted solution with a large user base and strong community support.
  • Includes advanced traffic management, security, and authentication features out-of-the-box.

Watch out for

  • Initial setup and advanced configurations can be complex, requiring a significant learning investment.
  • The open-source version lacks some enterprise-grade features found in the commercial offering.
02

apache/apisix

Active
★ 17,250 starsLicence: Apache-2.0Last commit 23 Oct 2026Latest release 28 Sept 2026Lua

Apache APISIX is a cloud-native API and AI Gateway built for high-performance and dynamic traffic routing.

Best for: Cloud-native environments and developers seeking a high-performance, dynamic API gateway with extensive features for modern microservices.

What's good

  • Leverages NGINX and LuaJIT for exceptional performance and low-latency API traffic processing.
  • Supports dynamic configuration and hot reloading, allowing changes without requiring service restarts.
  • Offers a rich feature set for traffic management, security, observability, and extensibility.
  • Benefits from the open governance and robust support of the Apache Software Foundation.

Watch out for

  • Its extensive documentation can be challenging to navigate for new users.
  • The community and ecosystem, while growing, might be less mature in some regions compared to older projects.
  • Requires familiarity with NGINX and OpenResty concepts for optimal configuration and troubleshooting.
★ 10,871 starsMPL-2.0 core + commercial ee/Last commit 23 Oct 2026Latest release 2 Oct 2026Go

Tyk is an open-core API and AI Gateway supporting various protocols including REST, GraphQL, TCP, gRPC, and MCP.

Best for: Teams that require broad protocol support, especially for GraphQL and gRPC, and are considering a potential future upgrade to a comprehensive API management solution.

What's good

  • Provides broad protocol support, including GraphQL, gRPC, and TCP, making it versatile for diverse microservice communication.
  • Built in Go, which contributes to good performance and results in a lightweight, single executable.
  • Offers flexible deployment options, suitable for both on-premises infrastructure and Kubernetes environments.
  • Its open-core model provides a path for future feature upgrades within the same ecosystem.

Watch out for

  • Many advanced features and tools, such as the developer portal and analytics, are exclusively available in the commercial product.
  • The community might be less active or extensive compared to some larger open-source projects.
  • Configuring complex policies and integrations can be intricate, requiring careful attention.
★ 3,094 starsLicence: Apache-2.0Last commit 23 Oct 2026Latest release 28 Sept 2026Go

Envoy Gateway manages Envoy Proxy as a standalone or Kubernetes-based application gateway.

Best for: Cloud-native organizations heavily invested in Kubernetes and aiming to deploy and manage Envoy Proxy as their API gateway with streamlined configuration.

What's good

  • Leverages the highly performant and widely adopted Envoy Proxy as its data plane, ensuring robust traffic management.
  • Designed with deep integration for Kubernetes and aligns with the Gateway API specification.
  • Simplifies the operational complexity of deploying and managing Envoy for API Gateway use cases.
  • Ideal for organizations already utilizing or planning to adopt Envoy Proxy within their cloud-native stacks.

Watch out for

  • Its strong focus on Kubernetes makes it less suitable or straightforward for non-Kubernetes deployments.
  • As a relatively newer project, it is still evolving compared to more established API gateways.
  • A foundational understanding of Envoy Proxy and Kubernetes concepts is often required, leading to a steeper learning curve.
★ 2,695 starsLicence: Apache-2.0Last commit 21 Oct 2026Latest release 21 Oct 2026Go

KrakenD Community Edition is a high-performance, stateless, declarative API Gateway written in Go.

Best for: Developers prioritizing raw performance, API aggregation, and a simple, stateless deployment model for their microservices.

What's good

  • Delivers extremely high performance and low latency due to its Go-based, stateless architecture.
  • Focuses on API aggregation and transformation, simplifying consumption of multiple backend microservices.
  • Features a declarative configuration model that emphasizes simplicity and speed of deployment.
  • Lightweight and easy to deploy, with no external database dependencies, reducing operational overhead.

Watch out for

  • Lacks some advanced features such as integrated developer portals or deep analytics found in more comprehensive API management platforms.
  • The plugin ecosystem is smaller and more specific compared to the broader offerings of other gateways.
  • Primarily designed for stateless use cases, which might not fully align with all microservice requirements.
★ 5,723 starsLicence: Apache-2.0Last commit 23 Oct 2026Latest release 16 Oct 2026Go

KGateway is a cloud-native API and AI Gateway focused on modern microservice architectures.

Best for: Teams building new cloud-native microservice platforms who are looking for a modern, actively developed gateway with AI capabilities, and are open to a growing ecosystem.

What's good

  • Designed specifically for cloud-native environments, offering dynamic scaling and modern deployment patterns.
  • Provides a modern approach to API management with an emphasis on ease of use and developer experience.
  • Recent and consistent activity indicates ongoing development and active maintenance.
  • Includes nascent AI Gateway capabilities, aligning with emerging trends in API management.

Watch out for

  • Features a smaller community and less widespread adoption compared to established gateways like Kong or Apache APISIX.
  • Offers a less extensive feature set and plugin ecosystem at this stage of its development.
  • Maturity is still developing in terms of widespread battle-tested deployments compared to more veteran projects.

"Dormant" means no commit pushed to the default branch in the last 12 months. "Archived" means the maintainers have marked the repository read-only on GitHub. "Deprecated" means the project's README says it is deprecated or no longer maintained. Stars, licence, commit and release dates come from the GitHub API (GitLab for projects developed there) and are cached for up to 24 hours. On licences: a custom licence is a licence file that isn't a single standard licence; open-core means the core is open-source and the enterprise code is licensed separately. Check the linked licence file before use. The written analysis is AI-assisted and checked against that data.

Kong vs Tyk at a glance

Kong's open-source gateway is licensed Apache-2.0 and can run without a database in DB-less mode, or with PostgreSQL. Tyk's gateway is MPL-2.0, with the code in its ee folder under a separate commercial licence, and it needs Redis. Kong Manager OSS gives Kong a free web UI; Tyk's Dashboard GUI comes with its commercial Tyk Self-Managed platform.

For licences, datastores, plugins and who each one suits, see Kong vs Tyk.

Sources: developer.konghq.com/gateway/db-less-mode · github.com/TykTechnologies/tyk/blob/master/LICENSE.md · tyk.io/docs/tyk-oss-gateway · github.com/Kong/kong-manager

Lightweight option: KrakenD

KrakenD is stateless: every node runs independently in a cluster, with no coordination or central persistence, so there is no database to operate. Its behaviour is defined in a configuration file, which KrakenDesigner, KrakenD's configuration editor, can produce. That makes it a fit for aggregating and transforming backend APIs, rather than for a gateway managed through an admin console.

Sources: github.com/krakend/krakend-ce · github.com/krakend/krakendesigner

Performance claims

Each vendor publishes its own numbers, measured on its own hardware and test cases. Kong's benchmark page reports about 144,000 requests per second for a proxy with no plugins. The Apache APISIX README claims 140,000 queries per second on an AWS eight-core server, with 0.2 ms latency. The KrakenD README claims more than 70,000 requests per second on a single regular-sized instance. Tyk's benchmark page argues that its Go code significantly outperforms Lua, the language Kong and APISIX use.

These are vendor claims. They use different hardware, plugins and test set-ups, so they contradict each other and can't be compared directly. Benchmark your own workload before choosing a gateway on speed.

Sources: developer.konghq.com/gateway/performance/benchmarks · github.com/apache/apisix · github.com/krakend/krakend-ce · tyk.io/performance-benchmarks

Frequently asked questions

Which open-source API gateway has a GUI?

In their open-source editions, Kong has Kong Manager OSS, a free web UI, and Apache APISIX has the APISIX Dashboard. Tyk's Dashboard GUI is part of the commercial Tyk Self-Managed platform. KrakenD has KrakenDesigner, an editor for its configuration rather than an admin console. Envoy Gateway and kgateway are configured through Kubernetes Gateway API resources, and their READMEs don't describe a GUI.

Sources: github.com/Kong/kong-manager · github.com/apache/apisix-dashboard · tyk.io/docs/tyk-oss-gateway · github.com/krakend/krakendesigner · github.com/envoyproxy/gateway · github.com/kgateway-dev/kgateway

Is there a Java open-source API gateway?

None of the six gateways on this page is written in Java. By GitHub's language data, Kong and Apache APISIX are written in Lua (APISIX is built on NGINX), and Tyk, KrakenD, Envoy Gateway and kgateway in Go. Each runs as its own process in front of your services, so a Java stack can use any of them.

Source: github.com/apache/apisix

Which is the most lightweight?

KrakenD has the fewest moving parts: its stateless design runs each node on its own, with no database or central persistence. Kong can also run without a database in DB-less mode, from a declarative YAML or JSON file, and APISIX can run in standalone mode from a local file instead of etcd. Tyk's open-source gateway needs Redis.

Sources: github.com/krakend/krakend-ce · developer.konghq.com/gateway/db-less-mode · apisix.apache.org/docs/apisix/deployment-modes · tyk.io/docs/tyk-oss-gateway

Is Kong free?

Kong Gateway's open-source edition is free under the Apache-2.0 licence, and Kong Manager OSS is free as well. Kong Inc. also sells Kong Konnect, which includes fully managed cloud gateways, and paid plans with extra features and support.

Sources: github.com/Kong/kong/blob/master/LICENSE · github.com/Kong/kong-manager · konghq.com/products/kong-konnect/features/dedicated-cloud-ga · konghq.com/pricing

Which works best on Kubernetes (Gateway API)?

Envoy Gateway and kgateway are built around the Kubernetes Gateway API: both configure Envoy from Gateway API resources. Kong and Apache APISIX support Gateway API through their ingress controllers, Kong Ingress Controller and APISIX Ingress Controller. For a Kubernetes-first setup, Envoy Gateway or kgateway is the most direct fit; Kong or APISIX suits teams that also run the gateway outside Kubernetes.

Sources: github.com/envoyproxy/gateway · github.com/kgateway-dev/kgateway · developer.konghq.com/kubernetes-ingress-controller · apisix.apache.org/docs/ingress-controller/getting-started

Are Kong, APISIX, Tyk, Envoy Gateway, KrakenD and kgateway actively maintained?

Kong, APISIX, Tyk, Envoy Gateway, KrakenD and kgateway are active: each has had a commit in the last 12 months (most recent: Kong on 19 Oct 2026, APISIX on 23 Oct 2026, Tyk on 23 Oct 2026, Envoy Gateway on 23 Oct 2026, KrakenD on 21 Oct 2026, kgateway on 23 Oct 2026). Status is checked against GitHub daily.

What licences do Kong, APISIX, Tyk, Envoy Gateway, KrakenD and kgateway use?

Kong: Apache-2.0; APISIX: Apache-2.0; Tyk: MPL-2.0 core + commercial ee/ (open-core); Envoy Gateway: Apache-2.0; KrakenD: Apache-2.0; kgateway: Apache-2.0. Check each project's licence file before use.

Which is easiest to learn: Kong, APISIX, Tyk, Envoy Gateway, KrakenD or kgateway?

By our estimate (1 = easiest, 5 = steepest): Kong 3/5, APISIX 3/5, Tyk 3/5, Envoy Gateway 4/5, KrakenD 2/5, kgateway 3/5. KrakenD has the gentlest learning curve. This is ExploreGit's AI-assisted estimate, not a measured figure.

Related comparisons

Run your own comparison →