-
AI Gateway overview
Overview of AI Gateway capabilities
-
Quickstart
Launch a AI Gateway control plane and data plane.
-
Get started with AI Gateway
Set up your first AI Gateway instance and start proxying requests to LLM providers.
-
AI Gateway architecture
Understand the architecture of AI Gateway, including its control plane and data plane, how AI entities translate into data plane configuration, and its deployment and multi-tenancy topologies.
-
AI Gateway capabilities
Learn about the core capabilities of AI Gateway.
-
AI providers
Learn about the various providers supported by AI Gateway.
-
AI Gateway Policies
Browse Policies available for use with AI Gateway.
-
AI Usage governance
Understand how to manage and govern AI usage effectively.
-
Data governance
Explore how AI Gateway helps enforce data governance Policies.
-
AI Gateway data governance
This page provides an overview of AI Gateway safety, security and compliance features.
-
Prompt engineering
Best practices and tools for designing effective prompts.
-
Guardrails and content safety
Implement safeguards to ensure safe and compliant AI outputs.
-
Request transformations
Customize and transform AI requests with Gateway features.
-
Streaming
Learn how AI proxy streaming works.
-
AI Gateway resource sizing guidelines
Review AI Gateway recommended resource allocation sizing guidelines for AI Gateway based on configuration and traffic patterns.
-
Proxy AI CLI tools through AI Gateway
Configure AI Gateway to proxy requests from AI command-line tools to LLM providers.
-
Forward proxy support
Route outbound traffic from AI Gateway Policies through a forward proxy to operate in network-isolated environments without breaking load balancing, streaming, WebSocket, or HTTP/2.
-
Embedding-based similarity matching in AI Gateway
This reference explains how AI Gateway uses embedding-based similarity to compare prompts with various inputs, such as cached entries, target model descriptions, document chunks, or allow/deny lists.
-
Kong AI Gateway changelog
Changelog for supported Kong AI Gateway versions.
-
AI Gateway version support policy
The AI Gateway version support policy outlines the AI Gateway versioning scheme and version lifecycle, from release to sunset support.
AI Gateway Documentation
Overview
AI Gateway entities
-
AI Gateway entities
This page lists the entities that make up AI Gateway.
-
AI Model Providers
AI Model Provider credentials and configuration used by AI Gateway.
-
AI Models
AI Models registered with the AI Gateway.
-
AI Agents
AI Agent entity used by AI Gateway for A2A and HTTP agent configurations.
-
AI MCP Servers
AI MCP Server entity used by AI Gateway to expose tools and proxy MCP traffic.
-
AI Policies
AI Policies for AI Gateway.
-
AI Consumers
AI Consumers for AI Gateway.
-
AI Consumer Groups
AI Consumer Groups for AI Gateway.
-
AI Vaults
AI Vaults for storing and referencing secrets used by AI Gateway entities.
-
AI Auth Strategies
Configure inbound AI Consumer authentication for AI Models, AI Agents, and AI MCP Servers in AI Gateway.
-
AI Data Plane Certificates
Client certificates that authorize data planes to connect to an AI Gateway.
AI Gateway providers
-
Amazon Bedrock provider
Reference for supported capabilities for Amazon Bedrock provider
-
Amazon SageMaker provider
Reference for supported capabilities for Amazon SageMaker provider
-
Anthropic provider
Reference for supported capabilities for Anthropic provider
-
Azure OpenAI provider
Reference for supported capabilities for Azure OpenAI provider
-
Cerebras provider
Reference for supported capabilities for Cerebras provider
-
Cohere provider
Reference for supported capabilities for Cohere provider
-
DashScope provider
Reference for supported capabilities for DashScope provider
-
Databricks provider
Reference for supported capabilities for Databricks provider
-
DeepSeek provider
Reference for supported capabilities for DeepSeek provider
-
Gemini provider
Reference for supported capabilities for the Gemini provider, covering both Gemini Standard and Gemini Enterprise
-
Hugging Face provider
Reference for supported capabilities for Hugging Face provider
-
Kimi provider
Reference for supported capabilities for Kimi provider
-
Llama provider
Reference for supported capabilities for Llama provider
-
Mistral provider
Reference for supported capabilities for Mistral provider
-
Ollama provider
Reference for supported capabilities for Ollama provider
-
OpenAI provider
Reference for supported capabilities for OpenAI provider
-
Vercel provider
Reference for supported capabilities for Vercel provider
-
vLLM provider
Reference for supported capabilities for vLLM
-
xAI provider
Reference for supported capabilities for xAI provider
MCP traffic gateway
-
MCP Traffic Gateway
This page is an introduction to MCP Traffic Gateway capabilities in AI Gateway.
-
MCP logs
Learn about logs available for MCP traffic via AI Gateway
-
MCP traffic metrics
Learn about metrics available for MCP traffic via AI Gateway
-
Get started with MCP Server
Get started proxying MCP server traffic through AI Gateway.
A2A traffic gateway
-
A2A traffic gateway
Learn how AI Gateway provides observability and control for agent-to-agent (A2A) traffic.
-
Limit A2A request body size
Attach a Request Size Limiting AI Policy to an AI Agent entity to reject oversized A2A requests
-
Monitor AI Agent traffic with OpenTelemetry
Attach an OpenTelemetry AI Policy to an AI Agent entity to export A2A traces and metrics to an OTLP collector
-
Rate limit A2A traffic
Apply rate limits to A2A routes proxied through AI Gateway
-
Route A2A agent traffic through AI Gateway
Create an AI Agent entity in AI Gateway to proxy Agent-to-Agent (A2A) protocol traffic
-
Secure AI Agent traffic with an AI Auth Strategy and Kong Identity
Reference an openid-connect AI Auth Strategy backed by Kong Identity on an AI Agent entity to require bearer tokens on A2A traffic
-
Set up a Kong Identity auth server for AI Agent authentication
Create a Kong Identity auth server, scope, claim, and client to issue bearer tokens for authenticating AI Agent A2A traffic.
Manage with kongctl
-
Using kongctl to manage AI Gateway
Learn how to use kongctl to create and inspect AI Gateway resources in Kong Konnect.
-
Declarative configuration with kongctl
Learn how to manage Kong Konnect infrastructure as code using declarative YAML configuration.
Observability
-
Audit log
Learn about AI Gateway logging capabilities.
-
Monitor AI LLM metrics
Explore how to monitor AI LLM metrics in AI Gateway.
-
Observability
Access advanced analytics features in AI Gateway.
-
Gen AI OpenTelemetry attributes reference
Reference for OpenTelemetry span attributes emitted by AI Gateway for generative AI requests, including model parameters, token usage, and tool-call metadata.
-
Gen AI OpenTelemetry metrics reference
Reference for OpenTelemetry metrics emitted by AI Gateway for generative AI, MCP, and A2A traffic.
-
AI Gateway logs
See where AI Gateway logs are located, the different log levels, and how to configure logs and log levels.
AI load balancing
-
Load balancing with AI Proxy Advanced
Overview of load balancing and retry and fallback strategies in the AI Proxy Advanced plugin.
Reference
-
AI Gateway 2.x concepts
This page describes the differences between the AI Gateway running on Kong Gateway plugin model (V1) and the new AI Gateway 2.x Policies model.
-
Kong AI Gateway configuration reference
Reference for Kong AI Gateway configuration parameters. Set these parameters in kong.conf.
-
Configure Kong AI Gateway on-prem
Configure Kong AI Gateway on self-hosted Kong Gateway using the 3.x data model and AI plugins, and map each core entity to its plugin.
-
Migrate to AI Gateway 2.x
This guide walks you through moving your configuration from the AI Gateway running on Kong Gateway plugin model to the new AI Gateway 2.x Policies model.
How-tos
-
Aggregate MCP tools from multiple AI MCP Server entities
Aggregate MCP tools from multiple RESTful APIs into a single MCP endpoint using AI MCP Server entities in conversion-only and listener modes
-
Enforce tiered AI budgets on AI Models with Kong Identity
Attach an AI Auth Strategy backed by Kong Identity, per-model ACLs across a standard and a premium AI Model, and a multi-ceiling AI Rate Limiting Advanced Policy to enforce tiered AI budgets from a claim.
-
Map a RESTful API to MCP tools
Learn how to create an MCP Server entity in AI Gateway to convert any RESTful API into MCP tools.
-
Monitor MCP traffic with OpenTelemetry
Attach an OpenTelemetry Policy to an MCP Server entity to export OTLP metrics for MCP tool traffic to a collector.
-
Route Claude CLI traffic through AI Gateway and Anthropic
Configure AI Gateway to proxy Claude CLI traffic
-
Route Claude CLI traffic through AI Gateway and AWS Bedrock
Configure AI Gateway to proxy Claude CLI traffic to an AWS Bedrock model
-
Route Claude CLI traffic through AI Gateway and Azure
Configure AI Gateway to proxy Claude CLI traffic to a Claude model hosted on Azure AI Foundry
-
Route Claude CLI traffic through AI Gateway and DashScope
Configure AI Gateway to proxy Claude CLI traffic to an Alibaba Cloud DashScope model.
-
Route Claude CLI traffic through AI Gateway and Gemini
Configure AI Gateway to proxy Claude CLI traffic to a Gemini model
-
Route Claude CLI traffic through AI Gateway and Hugging Face
Configure AI Gateway to proxy Claude CLI traffic to a Hugging Face model
-
Route Claude CLI traffic through AI Gateway and OpenAI
Configure AI Gateway to proxy Claude CLI traffic to an OpenAI model
-
Route Google Gemini CLI traffic through AI Gateway
Configure AI Gateway to proxy Google Gemini CLI traffic to a Gemini model
-
Route OpenAI Codex CLI traffic through AI Gateway
Configure AI Gateway to proxy OpenAI Codex CLI traffic through the OpenAI Responses API.
-
Route Qwen Code CLI traffic through AI Gateway and DashScope
Configure AI Gateway to proxy Qwen Code CLI traffic to an Alibaba Cloud DashScope model
-
Route Qwen Code CLI traffic through AI Gateway and OpenAI
Configure AI Gateway to proxy Qwen Code CLI traffic to an OpenAI model
-
Set up a Kong Identity auth server for tiered AI budgets
Create a Kong Identity auth server with dynamic claims and per-client labels to drive tiered AI budget enforcement.
-
Use AI Prompt Guard Policy to govern your LLM traffic
Use the AI Prompt Guard Policy to filter LLM traffic based on regex rules that allow general IT questions and deny unsafe or off-topic content.
-
Use Insomnia MCP clients to test aggregated MCP tools
Learn how to use Insomnia 12.1 MCP clients to test MCP tools exposed by AI MCP Proxy in listener mode after they have been aggregated from multiple upstream APIs.
-
Use the AI AWS Guardrails Policy
Learn how to use the AI AWS Guardrails Policy.