By API7.ai Team
Last updated: July 2026
Apache APISIX and Kong are both open-source API gateways built on NGINX/OpenResty, but they differ in configuration store, how much ships in open source, and how config propagates. This guide compares architecture, performance, plugins, protocols, security, and licensing so you can choose the right gateway.
Both gateways share an NGINX/OpenResty core. Apache APISIX is etcd-based (no database), propagates config in milliseconds, keeps routing, plugins, the dashboard, and AI in an Apache-2.0 open-source core, and is governed by the vendor-neutral Apache Software Foundation with a 600+ contributor community. Kong is PostgreSQL-backed (or DB-less) with a large plugin ecosystem and a managed Konnect platform, but is governed by a single vendor and gates several advanced features behind Kong Enterprise.
APISIX leads on open-source scope (everything in the core), a database-free etcd architecture, and millisecond dynamic config; Kong leads on ecosystem size and a managed Konnect platform.
| Dimension | Apache APISIX | Kong |
|---|---|---|
| Best for | A fully open-source, dynamic, high-performance gateway | A mature ecosystem with a managed Konnect platform |
| Core & config store | NGINX/OpenResty (Lua) + etcd — no database | NGINX/OpenResty (Lua) + PostgreSQL or DB-less |
| Open-source scope | ✓ Routing, plugins, dashboard, AI — all Apache-2.0 | Apache-2.0 gateway core; OIDC, advanced AI, advanced RL, RBAC are Enterprise |
| Plugins | 100+ fully open-source plugins | 100+ on the Plugin Hub; many advanced ones Enterprise |
| Config propagation | ✓ Dynamic via etcd watch (ms) | ~5s DB poll; DB-less needs reload |
| Plugin languages | Lua, Go, Java, Python, WebAssembly | Lua, Go, Python, JavaScript (PDK); Wasm (beta) |
| Governance & community | ✓ Apache Software Foundation (vendor-neutral); 600+ contributors | Single vendor — Kong Inc. controls roadmap and maintainership |
Apache APISIX is an Apache-2.0, etcd-based API gateway on NGINX/OpenResty, with 100+ open-source plugins, multi-language plugin support, and a built-in AI/LLM gateway.
Apache APISIX is an open-source, dynamic API gateway built on NGINX/OpenResty with an etcd configuration store. It is an Apache Software Foundation top-level project under Apache-2.0, with 100+ plugins, multi-language plugin support, and a built-in AI/LLM gateway — all in the open-source core.
Core
NGINX/OpenResty (Lua) + etcd
License
Apache-2.0 (ASF top-level project)
Best for
A fully open, dynamic, fast gateway
Kong Gateway is an open-source API gateway on NGINX/OpenResty backed by PostgreSQL (or DB-less), with a large Plugin Hub and commercial Kong Enterprise / Konnect offerings on top.
Kong Gateway is an open-source API gateway built on NGINX/OpenResty, backed by PostgreSQL or run DB-less, with a large plugin ecosystem. Kong Inc. layers Kong Enterprise and the managed Kong Konnect platform on top of the open-source core.
Core
NGINX/OpenResty (Lua) + PostgreSQL / DB-less
License
Apache-2.0 core + commercial Enterprise
Best for
Mature ecosystem + managed Konnect
APISIX separates a stateless data plane from an etcd config store, so changes propagate by watch in milliseconds with no restart. Kong persists state in PostgreSQL (or runs DB-less from a declarative file).
Apache APISIX stores all configuration in etcd and caches it locally on each node. Routes, plugins, and upstreams update via etcd watch in milliseconds, with no database to scale and no restart. The data plane is stateless and scales horizontally without a relational-database bottleneck.
Kong runs in traditional mode backed by PostgreSQL, in DB-less mode from a declarative config file, or in hybrid mode separating control and data planes. In traditional mode, nodes pick up changes on a polling interval (the documented db_update_frequency default is 5 seconds); DB-less applies changes on reload. Cassandra was removed as a datastore in Kong Gateway 3.4.
Both are NGINX-based and perform in the same class. API7's published benchmark puts APISIX ahead of Kong; APISIX self-reports ~18,000 QPS per core at 0.2 ms — treat vendor numbers as directional.
Because both gateways run on NGINX/OpenResty, raw proxying is comparable. In API7's published APISIX 3.0 vs Kong 3.0 benchmark, Apache APISIX reached roughly 140% of Kong's throughput without plugins and about 200% with plugins enabled, and APISIX's own documentation reports a single-core throughput of about 18,000 QPS at 0.2 ms average latency. These are vendor-published figures — treat them as directional and benchmark your own workload, since plugin configuration dominates real-world results.
The two converge on NGINX-based proxying, then diverge on config store, what ships in open source vs Enterprise, plugin languages, and protocol breadth.
| Feature | Apache APISIX | Kong |
|---|---|---|
| Architecture | NGINX/OpenResty (Lua) + etcd; stateless data plane, dynamic config, no database | NGINX/OpenResty (Lua) + PostgreSQL, or DB-less; hybrid mode separates CP/DP |
| Config propagation | etcd watch — milliseconds, no restart | Traditional mode polls the DB (~5s default); DB-less applies on reload |
| Open-source license & scope | Apache-2.0 — routing, plugins, dashboard, observability, AI all in OSS | Apache-2.0 gateway core; OIDC, advanced AI Gateway plugins, advanced rate limiting, and RBAC/workspaces are Enterprise |
| Plugins | 100+ plugins, all fully open source (no paywall) | Bundled OSS plugins + 100+ on the Plugin Hub; many advanced plugins Enterprise |
| Custom plugin languages | Lua (native), Go, Java, Python, WebAssembly | Lua (native), Go, Python, JavaScript (PDK); Wasm (beta, 3.4+) |
| Protocols | HTTP/1.1, HTTP/2, HTTP/3, gRPC (+ transcoding), WebSocket, TCP/UDP, MQTT, Dubbo | HTTP/1.1, HTTP/2, gRPC, WebSocket, TCP/TLS, UDP |
| Security & auth | JWT, OAuth2/OIDC, key-auth, mTLS, HMAC — in the open-source core | JWT, OAuth2, key-auth, ACL, mTLS in OSS; OIDC and mTLS-auth are Enterprise |
| AI / LLM gateway | ✓ AI/LLM proxy plugins in the open-source core | Kong AI Gateway plugins — advanced ones require Enterprise |
| Service discovery | Kubernetes, Consul, Nacos, Eureka, DNS | DNS and Kubernetes; other registries via plugins |
| Kubernetes | APISIX Ingress Controller + Gateway API; etcd-based, no database | Kong Ingress Controller; can run DB-less in Kubernetes |
| Dashboard | ✓ Built-in open-source dashboard | Kong Manager GUI; full management via Konnect (commercial) |
| Observability | Prometheus, OpenTelemetry, SkyWalking, Datadog — in OSS | Prometheus and basics in OSS; full suite in Enterprise |
| Governance & community | Vendor-neutral ASF top-level project; 600+ contributors (per the ASF project spotlight) | Single-vendor project — Kong Inc. sets roadmap and maintainership |
| License & pricing | Apache-2.0, free forever; API7 Enterprise adds support, RBAC, and a hardened build | OSS free; Kong Enterprise and Konnect are custom-priced (contact sales) |
Choose APISIX for a fully open, database-free, dynamic gateway; choose Kong for the largest ecosystem and a managed Konnect platform.
Bottom line: if you want every capability in an open-source core, a database-free architecture, and millisecond dynamic config, Apache APISIX is the stronger fit; if you want the largest plugin ecosystem and a managed SaaS and are comfortable with Kong Enterprise, Kong is a solid choice. For a production-hardened APISIX distribution with a dashboard, RBAC, FIPS 140-2, and commercial support, see API7 Enterprise.
Apache APISIX vs NGINX · Kong vs Traefik · All gateway comparisons
Ready to get started?
For more information about full API lifecycle management, please contact us to Meet with our API Experts.

