This guide builds on the AI Policy step and introduces consumer-level authentication to the running AI Gateway deployment. Before creating AI Consumers, you configure an AIGatewayAuthStrategy that defines the authentication scheme, then attach it to an AI Model via spec.apiSpec.model.access.authStrategies. Authentication is enforced per-AI Model, not globally. An AI Model without an AI Auth Strategy reference accepts unauthenticated traffic.
With AI Consumers in place you can:
- Issue API keys per team and revoke them independently
- Enforce per-consumer
AIGatewayPolicyrules such as different allowlists per team - Group AI Consumers with
AIGatewayConsumerGroupto target shared AI Policies, model access controls, and analytics attribution at the group level - With Konnect, attribute usage and cost to a specific AI Consumer in the Konnect analytics dashboard
Deploying on-prem Kong AI Gateway 2.x with Kong Operator is in Tech Preview. Running Kong AI Gateway with an OnPremAIGateway control plane is not supported for production use, and its resources and behavior may change between releases. It requires Kong Operator 2.4.0-rapid.3.0 or later and a Kong Gateway Enterprise license.
An on-premises control plane doesn’t send data to Konnect, so Konnect analytics aren’t available for AI Consumers.