Skip to main content

AI traffic gateway

AISIX AI Gateway

Put one stable API contract in front of your AI providers

AISIX AI Gateway is a dedicated gateway for AI traffic. It lets applications call stable model aliases while the AI platform team controls provider credentials, routing, failover, budgets, rate limits, caching, guardrails, and observability.

OpenAI-compatible requestlocalhost:3000
curl -sS \
http://127.0.0.1:3000/v1/chat/completions \
-H "Authorization: Bearer sk-demo-caller" \
-H "Content-Type: application/json" \
-d '{
  "model": "gpt-4o-prod",
  "messages": [
    {"role": "user", "content": "Hello"}
  ]
}'

How requests flow

Applications call AISIX first. AISIX authenticates the caller, resolves the model alias, applies policy, and forwards the request to the selected provider.

What changes when AI traffic goes through AISIX

Application teams keep calling a familiar API. AI platform teams move provider credentials, model aliases, routing, budgets, and policy into one operator-managed gateway.

AccessCaller API keys and model allowlistsAuthenticate applications and decide which model aliases each key can use.
ProvidersCentralized upstream credentialsKeep provider keys, base URLs, and adapter details out of application code.
RoutingStable aliases with failoverExpose one model name while AISIX selects target models behind it.
PolicyBudgets, limits, cache, guardrails, telemetryApply AI-specific controls and usage visibility before requests leave your gateway boundary.

Why AISIX if you already use APISIX or API7 Gateway?

APISIX and API7 Gateway can add AI behavior to normal gateway routes through AI plugins. That path fits teams whose main workload is API traffic and whose AI calls are part of a broader API gateway deployment.

AISIX is for teams whose main workload is AI traffic. It manages provider keys, model aliases, caller API keys, budgets, routing, policy, and AI usage telemetry as first-class resources instead of route-level plugin settings.

APISIX
Add AI features to existing API routes.Use AI plugins when your existing API gateway route is the natural place to call or transform AI services.
AISIX
Run AI traffic through a dedicated gateway domain.Use AISIX when applications should call stable model names while an AI platform team owns provider keys, budgets, routing, policy, and usage visibility.

Read next

From First Request to Production

Start with one local request, then move through the concepts, proxy APIs, provider setup, and operations checks that make the gateway ready for real teams.

API7.ai Logo

The digital world is connected by APIs,
API7.ai exists to make APIs more efficient, reliable, and secure.

Sign up for API7 newsletter

Product

API7 Gateway

SOC2 Type IIISO 27001HIPAAGDPRRed Herring

Copyright © APISEVEN PTE. LTD 2019 – 2026. Apache, Apache APISIX, APISIX, and associated open source project names are trademarks of the Apache Software Foundation