Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
apisix

apisix

> 后端框架
Free

The Cloud-Native API Gateway and AI Gateway

17.1K stars0 likes5 views
WebsiteGitHub

About

The Cloud-Native API Gateway and AI Gateway

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:

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):

bash
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:

bash
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:

bash
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:

bash
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 protocols

    • TCP/UDP Proxy: Dynamic TCP/UDP proxy.
    • Dubbo Proxy: Dynamic HTTP to Dubbo proxy.
    • Dynamic MQTT Proxy: Supports to load balance MQTT by client_id, both support MQTT 3.1.*, 5.0.
    • gRPC proxy: Proxying gRPC traffic.
    • gRPC Web Proxy: Proxying gRPC Web traffic to gRPC Service.
    • gRPC transcoding: Supports protocol transcoding so that clients can access your gRPC API by using HTTP/JSON.
    • Proxy Websocket
    • Proxy Protocol
    • HTTP(S) Forward Proxy
    • SSL: Dynamically load an SSL certificate
    • HTTP/3 with QUIC
  • Full Dynamic

    • Hot Updates And Hot Plugins: Continuously updates its configurations and plugins without restarts!
    • Proxy Rewrite: Support rewrite the host, uri, schema, method, headers of the request before send to upstream.
    • Response Rewrite: Set customized response status code, body and header to the client.
    • Dynamic Load Balancing: Round-robin load balancing with weight.
    • Hash-based Load Balancing: Load balance with consistent hashing sessions.
    • Health Checks: Enable health check on the upstream node and will automatically filter unhealthy nodes during load balancing to ensure system stability.
    • Circuit-Breaker: Intelligent tracking of unhealthy upstream services.
    • Proxy Mirror: Provides the ability to mirror client requests.
    • Traffic Split: Allows users to incrementally direct percentages of traffic between various upstreams.
  • Fine-grained routing

    • Supports full path matching and prefix matching
    • Support all Nginx built-in variables as conditions for routing, so you can use cookie, args, etc. as routing conditions to implement canary release, A/B testing, etc.
    • Support various operators as judgment conditions for routing, for example {"arg_age", ">", 24}
    • Support custom route matching function
    • IPv6: Use IPv6 to match the route.
    • Support TTL
    • Support priority
    • Support Batch Http Requests
    • Support filtering route by GraphQL attributes
  • Security

    • Rich authentication & authorization support:
      • key-auth
      • JWT
      • basic-auth
      • wolf-rbac
      • casbin
      • keycloak
      • casdoor
    • IP Whitelist/Blacklist
    • Referer Whitelist/Blacklist
    • IdP: Support external Identity platforms, such as Auth0, okta, etc..
    • Limit-req
    • Limit-count
    • Limit-concurrency
    • Anti-ReDoS(Regular expression Denial of Service): Built-in policies to Anti ReDoS without configuration.
    • CORS Enable CORS(Cross-origin resource sharing) for your API.
    • URI Blocker: Block client request by URI.
    • Request Validator
    • CSRF Based on the Double Submit Cookie way, protect your API from CSRF attacks.
  • OPS friendly

    • Zipkin tracing: Zipkin
    • Open source APM: support Apache SkyWalking
    • Works with external service discovery: In addition to the built-in etcd, it also supports Consul, Consul_kv, Nacos, Eureka and Zookeeper (CP).
    • Monitoring And Metrics: Prometheus
    • Clustering: APISIX nodes are stateless, creates clustering of the configuration center, please refer to etcd Clustering Guide.
    • High availability: Support to configure multiple etcd addresses in the same cluster.
    • Dashboard
    • Version Control: Supports rollbacks of operations.
    • CLI: start\stop\reload APISIX through the command line.
    • Standalone: Supports to load route rules from local YAML file, it is more friendly such as under the kubernetes(k8s).
    • Global Rule: Allows to run any plugin for all request, eg: limit rate, IP filter etc.
    • High performance: The single-core QPS reaches 18k with an average delay of fewer than 0.2 milliseconds.
    • Fault Injection
    • REST Admin API: Using the REST Admin API to control Apache APISIX, which only allows 127.0.0.1 access by default, you can modify the allow_admin field in conf/config.yaml to specify a list of IPs that are allowed to call the Admin API. Also, note that the Admin API uses key auth to verify the identity of the caller.
    • External Loggers: Export access logs to external log management tools. (HTTP Logger, TCP Logger, Kafka Logger, UDP Logger, RocketMQ Logger, SkyWalking Logger, Alibaba Cloud Logging(SLS), Google Cloud Logging, Splunk HEC Logging, File Logger, SolarWinds Loggly Logging, TencentCloud CLS).
    • ClickHouse: push logs to ClickHouse.
    • Elasticsearch: push logs to Elasticsearch.
    • Datadog: push custom metrics to the DogStatsD server, comes bundled with Datadog agent, over the UDP protocol. DogStatsD basically is an implementation of StatsD protocol which collects the custom metrics for Apache APISIX agent, aggregates it into a single data point and sends it to the configured Datadog server.
    • Helm charts
    • HashiCorp Vault: Support secret management solution for accessing secrets from Vault secure storage backed in a low trust environment. Currently, RS256 k

Issues· 250 open

View all issuesOpen on GitHub
  • #13944

    bug: ai-prompt-guard returns an empty 200 instead of proxying when no content is selected for checking

    Updated Oct 1, 2026
  • #14000

    bug: datadog plugin drops service_name tag when service has no name configured

    Updated Sep 30, 2026
  • #13931

    bug: retain Nacos service cache when a per-service refresh query fails

    Updated Sep 30, 2026
  • #13994

    feat: Add Cheaper Inference in ai-proxy

    Updated Sep 29, 2026
  • #13993

    邀请 apisix 加入 GithubStarMate,让更多人发现你的作品

    Updated Sep 29, 2026
  • #13990

    Optional AgentCert / agent-trust verification via forward-auth / ext-plugin

    Updated Sep 28, 2026
  • #13987

    bug: mcp-bridge drops partial stdout and stderr chunks on read timeouts

    Updated Sep 25, 2026
  • #4933

    docs: limit-conn plugin in stream proxy

    good first issuedocUpdated Sep 24, 2026
  • #13631

    help request: Will APISIX be affected by the vulnerability CVE-2026-49975?

    questionUpdated Sep 24, 2026
  • #13961

    bug: Prometheus shared-dict lock contention after upgrading from APISIX 3.16 to 3.18; possible expired-key resync amplification

    Updated Sep 24, 2026

> Tags

cloud-nativenginxapi-management

No comments yet. Be the first to share.

> Details

PublishedSep 9, 2026
UpdatedOct 1, 2026
Category后端框架
PricingFree

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架