Kong AI Gateway

API gatewaykong-ai-gateway

Kong Gateway AI plugins that proxy, load-balance, cache and guard traffic to LLM providers.

Provider
default
Category
Edge
Properties · 2 set by this component
propertytypevaluesrequiredkind defaultthis component
authenumnone | api-key | jwt | oauth2 | mtlsnononeinherited
balancerAlgorithm · component propertyenumround-robin | consistent-hashing | least-connections | lowest-latency | lowest-usage | priority | semanticnoround-robininherited
balancerRetries · component propertyinteger—no5inherited
concurrencyLimitboolean—nofalseinherited
idempotencyKeys · advancedboolean—nofalseinherited
instancesinteger—no—inherited
keyTtlHours · advancedinteger—no—inherited
managedboolean—nofalse▸ false
promptGuard · component propertyboolean—nofalseinherited
protocolenumhttp | grpc | websocket | fix | ouchnohttp▸ http
rateLimitingboolean—nofalseinherited
semanticCache · component propertyboolean—nofalseinherited
tlsboolean—notrueinherited
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

sync-chain-too-deep

Every consecutive synchronous hop from this entry point spends part of the stated p95 latency budget, and the chain's failures multiply. More than three hops is a budget nobody is tracking.

  • — all of these hold:
  • — the design requirement `latency.p95Ms` has a value
  • — the longest chain of synchronous calls starting at the node is more than 3 hops long
Use it in a design
nodes:
  - { id: "kong-ai-gateway", component: "kong-ai-gateway" }
Other API gateway products · 40
API Gatewayalibaba-api-gatewayalibabacloudapi-gatewayAmazon API Gatewayaws-api-gatewayawsapi-gatewayAWS AppSync GraphQL APIaws-appsyncawsapi-gatewayAzure API Managementazure-api-managementazureapi-gatewayAI Gatewaycloudflare-ai-gatewaycloudflareapi-gatewayCloudflare API Shieldcloudflare-api-shieldcloudflareapi-gatewayMCP Server Portalcloudflare-mcp-portalcloudflareapi-gatewayCloudflare Privacy Gatewaycloudflare-privacy-gatewaycloudflareapi-gatewayGeneric API gatewayapi-gatewayapi-gatewayApache APISIXapisixapi-gatewayApollo GraphOSapollo-graphosapi-gatewayEasegresseasegressapi-gatewayEmissary-ingressemissaryapi-gatewayEnvoy Gatewayenvoy-gatewayapi-gatewayGloo Gatewayglooapi-gatewayHasurahasuraapi-gatewayHelicone AI Gatewayhelicone-gatewayapi-gatewayHigresshigressapi-gatewayKong Gatewaykongapi-gatewayKong Konnectkong-konnectapi-gatewayKrakenDkrakendapi-gatewayLiteLLM Proxylitellmapi-gatewayMartian Gatewaymartianapi-gatewayNot Diamondnot-diamondapi-gatewayPortkey AI Gatewayportkeyapi-gatewayRequestyrequestyapi-gatewaySpring Cloud Gatewayspring-cloud-gatewayapi-gatewayTyk Gatewaytykapi-gatewayUnifyunify-aiapi-gatewayVercel AI Gatewayvercel-ai-gatewayapi-gatewayWSO2 API Managerwso2-api-managerapi-gatewayZuulzuulapi-gatewayApigeeapigeegcpapi-gatewayAgent Gatewaygoogle-agent-gatewaygcpapi-gatewayAPI Gatewaygoogle-api-gatewaygcpapi-gatewayApigee hybridgoogle-apigee-hybridgcpapi-gatewayCloud Endpointsgoogle-cloud-endpointsgcpapi-gatewayFirebase Data Connectgoogle-firebase-data-connectgcpapi-gatewayIBM API Connectibm-api-connectibmapi-gatewayOCI API Gatewayoci-api-gatewayociapi-gateway
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# Kong AI Gateway: Kong Gateway plugins (AI Proxy, AI Proxy Advanced, AI Semantic Cache, AI Prompt Guard)
# that front LLM providers, with the data plane self-hosted or Konnect-managed. Per "AI Proxy Advanced
# Plugin Configuration Reference", the balancer defaults to round-robin with 5 retries and fails over only
# on error and timeout; per "AI Semantic Cache Plugin", caching is a separate Enterprise plugin you enable.
schemaVersion: "1"
type: "component"
id: "kong-ai-gateway"
kind: "api-gateway"
provider: "default"
docs: "https://developer.konghq.com/plugins/ai-proxy-advanced/reference/"
defaults:
  managed: false
  protocol: "http"
properties:
  balancerAlgorithm:
    type: "enum"
    values: ["round-robin", "consistent-hashing", "least-connections", "lowest-latency", "lowest-usage", "priority", "semantic"]
    default: "round-robin"
  balancerRetries:
    type: "integer"
    default: 5
  semanticCache:
    type: "boolean"
    default: false
  promptGuard:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/kong-ai-gateway.md