Apache APISIX is a dynamic, real-time API gateway built on NGINX and etcd. It manages north-south and east-west traffic and can act as a Kubernetes ingress controller.
Overview
Apache APISIX is an API gateway designed for dynamic, real-time traffic management. It sits in front of services to handle load balancing, routing, authentication, observability, and related controls for HTTP and other protocols.
Compared with traditional gateways, it emphasizes dynamic routing and hot-loaded plugins, which the documentation ties to microservice-style API management. It can process north-south client traffic and east-west traffic between services, and it can serve as a Kubernetes ingress controller.
Through plugins, APISIX can act as an AI gateway: proxying requests to LLM providers, balancing and retrying across models, applying token-based rate limits, and enforcing authentication and authorization on AI workloads.
Operational features include canary and blue-green style releases, circuit breaking, health checks, rich auth methods, rate limiting, TLS management, HTTP/3 with QUIC, admin REST API, Prometheus metrics, Zipkin tracing, SkyWalking APM support, and export of access logs to many external systems. Custom plugins can hook rewrite, access, balancer, and logging phases and may be written in several languages or via Proxy Wasm.
Getting started documentation describes installing and running APISIX with a quickstart script that uses Docker, listening on port 9080 with etcd for configuration, and defining routes through the Admin API on port 9180. Additional installation methods are documented separately. A CLI supports start, stop, and reload operations.
Key features
- Dynamic routing and hot-loaded plugins
- Load balancing and health checks
- AI gateway LLM proxying and rate limits
- Kubernetes ingress controller mode
- Rich authentication and authorization
- gRPC and WebSocket proxying
- Prometheus metrics and distributed tracing
- REST Admin API for configuration
Use cases
- API traffic entrance for microservices
- East-west service mesh ingress
- Kubernetes ingress control
- Unified AI model routing
- Canary and A/B traffic splitting