Portkey AI Gateway

OpenAI-compatible gateway adding fallbacks, retries, load balancing, caching and guardrails across model providers.

Provider
default
Category
Edge
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
authenumnone | api-key | jwt | oauth2 | mtlsnonone▸ api-key
cacheTtlSeconds · component propertyinteger—no604800inherited
caching · component propertyenumoff | simple | semanticnooffinherited
concurrencyLimitboolean—nofalseinherited
fallbacks · component propertyboolean—nofalseinherited
idempotencyKeys · advancedboolean—nofalseinherited
instancesinteger—no—inherited
keyTtlHours · advancedinteger—no—inherited
managedboolean—nofalse▸ true
protocolenumhttp | grpc | websocket | fix | ouchnohttp▸ http
rateLimitingboolean—nofalseinherited
selfHosted · component propertyboolean—nofalseinherited
tlsboolean—notrue▸ true
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: "portkey", component: "portkey" }
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 AI Gatewaykong-ai-gatewayapi-gatewayKong Konnectkong-konnectapi-gatewayKrakenDkrakendapi-gatewayLiteLLM Proxylitellmapi-gatewayMartian Gatewaymartianapi-gatewayNot Diamondnot-diamondapi-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
# Portkey AI Gateway: OpenAI-compatible gateway with fallbacks, retries, load balancing, caching and
# guardrails; Palo Alto Networks closed its acquisition in May 2026 and it now backs Prisma AIRS. Per
# "Cache (Simple & Semantic)", caching starts only once `cache` is added to a config and max_age then
# defaults to 7 days; semantic cache is Enterprise-only. The gateway is open source (npx @portkey-ai/gateway).
schemaVersion: "1"
type: "component"
id: "portkey"
kind: "api-gateway"
provider: "default"
docs: "https://portkey.ai/docs/product/ai-gateway/cache-simple-and-semantic"
defaults:
  managed: true
  auth: "api-key"
  protocol: "http"
  tls: true
properties:
  caching:
    type: "enum"
    values: ["off", "simple", "semantic"]
    default: "off"
  cacheTtlSeconds:
    type: "integer"
    default: 604800
  fallbacks:
    type: "boolean"
    default: false
  selfHosted:
    type: "boolean"
    default: false

The same page as markdown, for an agent: /catalogue/components/portkey.md