explaingit

apache/apisix

Analysis updated 2026-06-24

16,588LuaAudience · ops devopsComplexity · 4/5LicenseSetup · hard

TLDR

Apache APISIX is a cloud-native API gateway that routes traffic, applies auth and rate limits, and can also act as an AI gateway in front of LLM providers.

Mindmap

mindmap
  root((apisix))
    Inputs
      HTTP and gRPC requests
      Route config
      Plugin config
    Outputs
      Routed traffic
      Auth decisions
      Metrics and logs
    Use Cases
      Run a central API gateway
      Front an LLM with rate limits
      Terminate TLS and route to backends
    Tech Stack
      Lua
      Nginx
      etcd
      Kubernetes
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Run a single API gateway in front of many microservices for auth and rate limiting

USE CASE 2

Build an AI gateway that load balances and rate limits requests to multiple LLM providers

USE CASE 3

Terminate TLS and route HTTP, gRPC, WebSocket, and MQTT traffic from one entry point

USE CASE 4

Hot reload routes and plugins without restarting the gateway

What is it built with?

LuaNginxetcdKubernetes

How does it compare?

apache/apisixidvel/rime-icecmusatyalab/openface
Stars16,58817,18115,417
LanguageLuaLuaLua
Setup difficultyhardmoderatehard
Complexity4/52/54/5
Audienceops devopsgeneralresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Needs an etcd cluster plus Nginx OpenResty, so production deployment is more involved than a single binary.

Apache 2.0 lets you use, modify, and ship APISIX commercially as long as you keep the license notice and patent terms.

In plain English

Apache APISIX is a cloud-native API gateway, which means it acts as a central entry point that sits in front of your services and manages all the traffic flowing in and out. Think of it as a smart traffic director: when a request comes in from a user or another system, APISIX decides how to handle it, routes it to the right backend service, applies security rules, limits how many requests a client can make, and collects monitoring data, all without you having to build any of that logic into your own applications. It is written in Lua and designed to be high-performance and fully dynamic, meaning you can update routes, add plugins, and change certificates while the gateway is running with no downtime. Beyond traditional API management, APISIX can function as an AI gateway, handling traffic to large language models with features like load balancing across multiple AI providers, token-based rate limiting, retries, and fallback logic. It supports a wide range of protocols including HTTP, gRPC, WebSocket, MQTT for IoT devices, TCP/UDP, and HTTP/3. Security features include authentication methods like JWT, key-based auth, and basic auth, as well as IP allowlists and blocklists. APISIX can run on bare metal servers, virtual machines, or Kubernetes and is licensed under the Apache 2.0 license.

Copy-paste prompts

Prompt 1
Show me how to deploy Apache APISIX on Kubernetes with the Helm chart and create a simple route
Prompt 2
Configure APISIX as an AI gateway that load balances between OpenAI and a local model with token rate limits
Prompt 3
Add JWT auth and an IP allowlist to an existing APISIX route
Prompt 4
Compare APISIX to Kong and Envoy for a 5000 RPS internal API gateway
Prompt 5
Write an APISIX plugin in Lua that adds a custom header on every response

Frequently asked questions

What is apisix?

Apache APISIX is a cloud-native API gateway that routes traffic, applies auth and rate limits, and can also act as an AI gateway in front of LLM providers.

What language is apisix written in?

Mainly Lua. The stack also includes Lua, Nginx, etcd.

What license does apisix use?

Apache 2.0 lets you use, modify, and ship APISIX commercially as long as you keep the license notice and patent terms.

How hard is apisix to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is apisix for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub apache on gitmyhub

Verify against the repo before relying on details.