What is an AI gateway?
An AI gateway sits between your agents and LLM providers, handling credentials, policy, routing, and auditing. Here is what it does and how to evaluate one.
Direct answer: An AI gateway is the control plane between your agents and LLM providers. It handles credential management, policy evaluation, routing, and per-request auditing before any data leaves your environment.
AI gateway vs. API gateway
A traditional API gateway routes deterministic HTTP calls. An AI gateway must also handle probabilistic models, streaming responses, token accounting, and policy evaluation on untrusted natural-language input.
The four jobs of an LLM gateway
- Credentials consolidate provider keys into scoped, revocable identities.
- Unified surface one OpenAI-compatible endpoint across every provider.
- Pre-call policy evaluation block, redact, or route before data leaves.
- Per-call record identity-stamped, risk-classified audit trails.
The enterprise risk stack an AI gateway addresses
Sensitive data exposure, shadow AI spend, prompt injection, and vendor lock-in are all gateway-level problems. Solving them at the gateway means a single place to enforce policy across every agent, team, and provider.
Air-gapped gateways
For regulated industries, "private cloud" is not enough if the gateway itself calls out to a vendor. An air-gapped gateway runs entirely inside your perimeter with zero egress.
How to evaluate an AI gateway: seven questions
- Does it inspect requests and responses inline, or only log them after the fact?
- Can it block sensitive data before it reaches the provider?
- Does it run air-gapped with zero external dependencies?
- Does it export open telemetry, or lock you into a proprietary backend?
- Can it route and fail over across providers without code changes?
- Does it give you an emergency kill switch?
- Does it attribute cost by team, project, and agent?
See Assert on your own data
Deploy air-gapped in your private cloud. Block sensitive data, classify risk, and keep control of every request.