AISIX AI Gateway is the product suite for LLM and AI-agent traffic. Choose AISIX OSS, AISIX Enterprise, or AISIX Cloud, and connect applications to supported models through one OpenAI-compatible API.
Apache-2.0 core · 100+ providers · built in Rust · Docs · See pricing
from openai import OpenAI client = OpenAI( base_url="https://YOUR_AISIX_GATEWAY/v1", api_key="YOUR_CALLER_API_KEY", ) resp = client.chat.completions.create( model="YOUR_MODEL_ALIAS", messages=[{"role": "user", "content": "Hello"}], )
The first prompt is easy. The 50th service, the 10th model, and the first incident in front of customers are not. A gateway is where that complexity goes — so your team keeps shipping.
Point your OpenAI SDK at AISIX for supported endpoints and providers. Validate tools, streaming, and provider-specific features before switching a production workflow.
/v1/messages.Applications and agents send model requests through one AISIX gateway using a caller key and model alias. AISIX authenticates the caller, applies traffic policy, records telemetry, and routes each approved request to the configured model provider.
Use the official documentation to verify the request path, configuration boundary, and operational limits behind each capability.
| Production requirement | AISIX capability | Documentation evidence |
|---|---|---|
| One client API | OpenAI-compatible endpoints with caller keys and model aliases | OpenAI-compatible API |
| Provider resilience | Multi-target routing, eligible retries, and pre-stream failover | Routing and failover |
| Shared traffic policy | Request, token, and concurrency limits scoped by policy | Rate limit policies |
| Input and output controls | Monitor or block guardrails before and after provider calls | Guardrail behavior |
| Operational evidence | Gateway metrics for requests, tokens, limits, models, and policy | Metrics reference |
Continue with the AISIX documentation, inspect the open-source gateway, or review the supported endpoint matrix.
AISIX Cloud brings request, latency, error, usage, and cost views together for the gateways you operate.
Choose the routing, traffic controls, and management options your deployment needs.
Configure aliases for supported upstream models. Use weighted load balancing, failover, health checks, and semantic & cost-optimal routing where supported. Validate each client workflow before changing its provider.
Configure traffic limits for your workload. Combine request and token limits with separate concurrency caps. Choose caller, model, and policy scopes, and configure shared Redis counters when multiple gateway instances must enforce one quota. Verify counter and accounting behavior for the deployed release.
Put AI in front of customers, confidently. Pre-input and post-output checks — keyword / regex blocklists, PII redaction (Presidio), prompt-injection and moderation (Lakera, OpenAI Moderation, Llama-Guard), and per-key model access control.
Track usage and spend with AISIX Enterprise or AISIX Cloud. Review model costs across environments and configure budgets. Reporting delay and in-flight requests can allow budget overshoot; test the enforcement mode before rollout.
AISIX is a Rust gateway built for model and agent traffic, with routing, policy, and telemetry on the request path.
A compiled Rust gateway with no garbage-collection pauses. Published tests report sub-millisecond p50 proxy overhead under their stated conditions; measure your own provider traffic and enabled policies.
Run the gateway directly with AISIX OSS in your infrastructure, without a control plane.
Five-plus years of production gateway engineering from API7.ai, the creators of Apache APISIX — now rebuilt for LLMs and agents.
Use the API7-hosted control plane with AISIX Cloud, or operate the control plane yourself with AISIX Enterprise. The gateway stays in your infrastructure.
All three products run the gateway in your infrastructure; live model requests do not pass through the management control plane. Choose the management responsibility first, then the supported runtime environment. Kubernetes is a deployment environment, not a separate AISIX product.
| Product and setup | Who operates what | When to evaluate |
|---|---|---|
| AISIX OSS | You operate the gateway and configure it directly with a resources file or etcd. No AISIX management control plane is required. | Your team wants direct gateway operation and owns configuration rollout, telemetry, and recovery. |
| AISIX Enterprise | You operate both the gateway and the commercial control plane in your infrastructure. | Your team needs centralized management with a customer-operated control plane and can own its availability and recovery. |
| AISIX Cloud | You operate the gateway in your infrastructure. API7 operates the commercial control plane. | Your team wants centralized management without operating the control plane. Contact API7 to request access or a demo. |
Review the documented product capabilities and Cloud plans and OSS pricing for your requirements. A Cloud plan named Enterprise is not the customer-hosted AISIX Enterprise product; discuss a customer-hosted Enterprise deployment with API7. Model calls and configured telemetry can leave your network; gateway placement alone does not establish data residency.
For security and governance, review evidence and service scope.
Plan deployment, routing, security, observability, cost controls, and operations for production AI traffic.
Compare candidate gateways by operating model, documented capabilities, and enterprise requirements.
Validate identity, isolation, compatibility, limits, failover, streaming, telemetry, and recovery before rollout.
Use an OpenAI-compatible API with a gateway you run in your infrastructure. Operate AISIX OSS directly, or contact API7 to evaluate AISIX Enterprise or AISIX Cloud.