Apache APISIX AI gateway plugins

Specific AI gateway jobs done with APISIX plugins: balancing and failing over between LLM providers, token budgets, prompt and content guards, self-hosted model routing, LLM metrics and MCP.

Prompt guards and content moderation in Apache APISIX

Filtering prompts and responses at the gateway: ai-prompt-guard, AWS and Aliyun content moderation, Lakera Guard, the 3.18 changes to moderation scope and fail modes, and where gateway checks stop and model-level controls begin.

Routing to self-hosted LLMs with Apache APISIX

Putting APISIX in front of models you run with vLLM or Ollama: OpenAI-compatible upstreams in ai-proxy, mixing self-hosted and cloud providers, authentication and quotas per consumer, and keeping prompts inside your network.

Monitoring LLM traffic through Apache APISIX

Measuring LLM usage at the gateway: token and model logging, apisix_llm_latency with time to first token since 3.18, dashboards that break on the new type label, per-consumer cost reporting and log retention.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.