Apache APISIX is a free, open source api development & testing project written in Lua and released under Apache-2.0. It has 17,135 GitHub stars, 2,946 forks and 235 open issues, and was last pushed 10 hours ago. On this registry it ranks #14 of 103 tracked projects in API Development & Testing, with 5 head-to-head comparisons available. It gained 24 stars over the last 6 tracked days.

Apache APISIX — High-performance API gateway with built-in LLM support

What is Apache APISIX?

What it is

Apache APISIX is a dynamic, real-time, high-performance API gateway and AI gateway built on NGINX and etcd. It provides rich traffic management features, such as load balancing, dynamic upstream, canary release, circuit breaking, authentication, and observability. The project lives in the Lua and LuaJIT ecosystem, and it uses the Apache-2.0 license.

The concrete problem it solves is the need for one gateway layer that can route and protect API traffic across services. It can handle traditional north-south traffic, as well as east-west traffic between services. It can also be used as a Kubernetes ingress controller, so teams can place it in front of external APIs and internal service calls.

Key capabilities

  • Apache APISIX supports load balancing, dynamic upstream, canary release, circuit breaking, authentication, and observability.
  • It provides dynamic routing and hot-loading of plugins, which is suitable for API management under a microservice architecture.
  • It can serve as an AI gateway by using its plugin system to proxy traffic to different LLM providers through a unified interface.
  • It supports load balancing, retries, and fallbacks across multiple LLMs to help maintain AI agent reliability.
  • It provides token-based rate limiting to control cost and protect upstream models.
  • It supports authentication, authorization, and traffic control for AI workloads.
  • It includes the mcp-bridge plugin, which converts stdio-based MCP servers into scalable HTTP SSE services.

Who uses it and how

  • Teams use it as an API gateway for traditional north-south traffic, where requests need routing, authentication, and observability.
  • Teams use it for east-west traffic, where services call other services inside a microservice architecture and need dynamic upstream and load balancing.
  • Teams use it as a Kubernetes ingress controller through the apisix-ingress-controller project.
  • Teams use it as an AI gateway to route LLM traffic, apply token-based rate limits, and add retries or fallbacks across providers.
  • Developers extend it with plugins, and they manage routes through the REST Admin API.

Getting started

The README shows a single-command quickstart using Docker, which starts APISIX on port 9080 together with its etcd configuration store. Routes can then be created through the Admin API on port 9180, and other deployment methods are available in the installation documentation.

When to use it — and when not to

Apache APISIX fits teams that want a self-managed gateway for APIs, Kubernetes ingress, and LLM traffic, and that are willing to operate etcd and gateway configuration. It is less suitable for teams that do not want to run Docker, etcd, and Admin API workflows, because the quickstart still depends on those parts. The listed 235 open issues and the need for plugin or Admin API knowledge also mean users must expect operational work when configuring routes, authentication, rate limits, and AI proxy behavior.

project readme (upstream, from github) — read inline

Apache APISIX API Gateway | AI Gateway

Build Status License GitHub release GitHub stars Docker Pulls Commit activity GitHub issues Slack

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

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.

APISIX also provides the mcp-bridge plugin to seamlessly convert stdio-based MCP servers to scalable HTTP SSE services.

Get Started

Install and run APISIX with a single command using the quickstart script (requires Docker):

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:

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:

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:

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.

readme truncated — read the full docs on github

Frequently asked questions

Is Apache APISIX free to use?

Apache APISIX is open source under the Apache-2.0 licence. There is no licence fee and no seat count — you can self-host it or, where the project offers one, pay a vendor for a managed version instead.

What does Apache APISIX do?

High-performance API gateway with built-in LLM support

What is Apache APISIX written in?

Apache APISIX is primarily written in Lua. Its source is publicly available at https://github.com/apache/apisix, and it has 17,135 GitHub stars.