talira

Apache APISIX

The Cloud-Native API Gateway and AI Gateway

open sourceApache-2.0self-hostablefree

Apache APISIX is an Apache Software Foundation API gateway built on NGINX (OpenResty) and Lua, with its configuration in etcd or, in standalone mode, a YAML or JSON file. Routes, upstreams, certificates and plugins change at runtime through the Admin API without restarts, and more than 100 bundled plugins cover authentication (key, JWT, OpenID Connect, SAML, LDAP, Keycloak, OPA), rate limiting, canary releases and traffic splitting, transformations, gRPC transcoding, logging and tracing. Its AI plugins proxy and load balance LLM providers with token-based rate limits, prompt guards and caching, and the openapi-to-mcp plugin serves an OpenAPI document's operations as MCP tools. Plugins can also be written in Java, Go or Python through plugin runners, or as Wasm, and the APISIX Ingress Controller runs it as a Kubernetes ingress with Ingress, Gateway API or its own resources. Apache-2.0.

Problems it solves

  • change API routes, upstreams and plugins at runtime without reloading or restarting the gateway
  • an Apache-licensed API gateway with a big library of plugins for auth, rate limiting and logging
  • route a percentage of traffic to a new version of a service for a canary release
  • use one gateway as the Kubernetes ingress with Gateway API and for APIs outside the cluster
  • send our apps' LLM calls through one gateway with failover between providers and token rate limits
  • expose the operations of our OpenAPI spec as MCP tools for AI agents, from the gateway
  • let clients call our gRPC services as HTTP/JSON without changing the services
  • write gateway plugins in Java, Go or Python instead of Lua
  • proxy MQTT, TCP and UDP as well as HTTP through the same gateway
  • log API traffic to Kafka, ClickHouse, Elasticsearch or Loki straight from the gateway
  • an API gateway run by a foundation rather than a single vendor
  • load the whole gateway configuration from a YAML file in git, without a database

Features

  • dynamic routes, upstreams, certificates and plugins through the Admin API, without restarts
  • traditional (etcd), decoupled and standalone file- or API-driven deployment modes
  • HTTP, HTTP/3 with QUIC, WebSocket, gRPC and gRPC-Web, TCP/UDP, MQTT and Dubbo proxying
  • gRPC transcoding from HTTP/JSON
  • authentication with key-auth, JWT, basic auth, HMAC, OpenID Connect, SAML, LDAP, CAS, Keycloak, Casbin and OPA
  • rate limiting by requests, connections and counts, including GraphQL limits
  • traffic split, canary and blue-green releases, proxy mirroring and fault injection
  • health checks, circuit breaking and consistent-hash load balancing
  • AI plugins: ai-proxy and ai-proxy-multi across LLM providers, ai-rate-limiting, ai-prompt-guard, ai-cache, ai-rag
  • openapi-to-mcp plugin: serves an OpenAPI document's operations as MCP tools
View 6 more
  • loggers for Kafka, ClickHouse, Elasticsearch, Loki, Splunk, Datadog and others; Prometheus, OpenTelemetry, SkyWalking and Zipkin
  • plugins in Lua, or in Java, Go and Python through plugin runners, or Proxy-Wasm
  • serverless upstreams: AWS Lambda, Azure Functions and Apache OpenWhisk
  • APISIX Ingress Controller for Kubernetes: Ingress, Gateway API and APISIX custom resources
  • web dashboard (APISIX Dashboard)
  • RPM and DEB packages, Docker images and Helm charts; ARM64 support

Limitations

  • No Windows or macOS production install: the installation guide supports Linux for production1

Capabilities

Has an APIplan not known
Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Apache APISIX does.

  1. Kong Gateway The API and AI Gateway
  2. NGINX Gateway Fabric An implementation of the Gateway API using NGINX as the data plane
  3. Emissary-ingress open source Kubernetes-native API gateway for microservices built on the Envoy Proxy
  4. Traefik Proxy The Cloud Native Application Proxy
  5. Tyk Open Source API and AI Gateway supporting REST, GraphQL, TCP, gRPC and MCP (Model Context Protocol)
  6. Envoy Gateway Manages Envoy Proxy as a Standalone or Kubernetes-based Application Gateway

Compare Apache APISIX with the top 3