+3
Daily
+34
Weekly
+94
Monthly
17,325
stars
2,998
forks
306
watchers
6,633
prs
6,298
issues
69
releases
README
Apache APISIX API Gateway | AI Gateway
Apache APISIX is a dynamic, real-time, high-performance API Gateway.
APISIX API Gateway provides rich traffic management features such as load balancing, dynamic upstream, canary release, circuit breaking, authentication, observability, and more. You can use it to handle traditional north-south traffic, as well as east-west traffic between services. It can also be used as a Kubernetes ingress controller.
Table of Contents
- Why APISIX
- AI Gateway
- Get Started
- Features
- Benchmark
- Community
- User Stories
- Who Uses APISIX API Gateway?
- Logos
- Acknowledgments
- License
Why APISIX
APISIX is built on top of NGINX and etcd. Compared with traditional API gateways, APISIX has dynamic routing and hot-loading of plugins, which is especially suitable for API management under a microservice architecture.
The technical architecture of Apache APISIX:
!Technical architecture of Apache APISIX
AI Gateway
APISIX can serve as an AI Gateway through its flexible plugin system, providing:
- AI proxying to route traffic to different LLM providers through a unified interface.
- Load balancing, retries, and fallbacks across multiple LLMs to ensure the efficiency and reliability of AI agents.
- Token-based rate limiting to control cost and protect upstream models.
- Robust security for authentication, authorization, and traffic control on AI workloads.
Get Started
Install and run APISIX with a single command using the quickstart script (requires Docker):
shell
curl -sL https://run.api7.ai/apisix/quickstart | sh
This starts APISIX (listening on port 9080) together with its etcd configuration store. Verify it is running:
shell
curl "http://127.0.0.1:9080" --head | grep Server
Create your first route via the Admin API (port 9180) to proxy requests to an upstream service:
shell
curl -i "http://127.0.0.1:9180/apisix/admin/routes/1" -X PUT -d '
{
"uri": "/get",
"upstream": {
"type": "roundrobin",
"nodes": {
"httpbin.org:80": 1
}
}
}'
Send a request through APISIX to confirm the route works:
shell
curl "http://127.0.0.1:9080/get"
To learn more, follow the Getting Started guide and the installation documentation for other deployment methods. To extend APISIX, see the plugin development guide, the plugin concept, and the REST Admin API reference.
For more documents, please refer to the Apache APISIX Documentation site.
Features
You can use APISIX API Gateway as a traffic entrance to process all business data, including dynamic routing, dynamic upstream, dynamic certificates,
A/B testing, canary release, blue-green deployment, limit rate, defense against malicious attacks, metrics, monitoring alarms, service observability, service governance, etc.
- All platforms
- Cloud-Native: Platform agnostic, No vendor lock-in, APISIX API Gateway can run from bare-metal to Kubernetes.
- Supports ARM64: Don't worry about the lock-in of the infra technology.
- Multi protocoTop issues
#487Who is using Apache APISIX?113 comments · 2019-09-09#12170bug: APISIX rewrites yaml configuration file to cause restarting errors26 comments · 2025-04-22#8768bug: failed to reply RPC_EXTRA_INFO:the max length of data is 16777215 but got 12730501221 comments · 2023-02-01#6709feat: file-log-plugin should combine with log-rotate17 comments · 2022-03-24#8311feat: As a user, I want kubernetes service discovery to support more configuration items16 comments · 2022-11-11#6797bug: cannot use file-logger to log to stdout16 comments · 2022-04-06#7990Merge `extra_init_by_lua_start ` and `extra_init_by_lua ` directive in test cases14 comments · 2022-09-26#5706request help: How to route according to the configuration of nacos metadata?14 comments · 2021-12-05
Discussions
#14190[Proposal] Query parameter rewriting in proxy-rewrite1 comments · 2026-11-11#14128How to deploy the APISIX at User Level (Non-Root) in Linux OS1 comments · 2026-10-31#14026How to connect the APISIX to Opensearch.0 comments · 2026-10-11#13999memory usage keeps increasing after upgrading from 3.12 to 3.181 comments · 2026-09-30#13918How to configure persistent session cookies (Max-Age/Expires) in APISIX?3 comments · 2026-09-04#13850Does AI-Proxy now support Reference Format replacement for retrieving secrets from GCP Secret Manager?2 comments · 2026-08-19#13828opentelemetry plugin emits no CLIENT span for the upstream call, so APISIX is disconnected on APM service maps2 comments · 2026-08-15#13802Running Two APISIX Instances in the Same Kubernetes Cluster1 comments · 2026-08-10