Portkey AI Gateway
API gatewayportkey
OpenAI-compatible gateway adding fallbacks, retries, load balancing, caching and guardrails across model providers.
- Provider
- default
- Kind
- API gateway
- Category
- Edge
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| auth | enum | none | api-key | jwt | oauth2 | mtls | no | none | ▸ api-key |
| cacheTtlSeconds | integer | — | no | 604800 | inherited |
| caching | enum | off | simple | semantic | no | off | inherited |
| concurrencyLimit | boolean | — | no | false | inherited |
| fallbacks | boolean | — | no | false | inherited |
| idempotencyKeys | boolean | — | no | false | inherited |
| instances | integer | — | no | — | inherited |
| keyTtlHours | integer | — | no | — | inherited |
| managed | boolean | — | no | false | ▸ true |
| protocol | enum | http | grpc | websocket | fix | ouch | no | http | ▸ http |
| rateLimiting | boolean | — | no | false | inherited |
| selfHosted | boolean | — | no | false | inherited |
| tls | boolean | — | no | true | ▸ true |
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
nodes:
- { id: "portkey", component: "portkey" }API Gatewayalibaba-api-gatewayAmazon API Gatewayaws-api-gatewayAWS AppSync GraphQL APIaws-appsyncAzure API Managementazure-api-managementAI Gatewaycloudflare-ai-gatewayCloudflare API Shieldcloudflare-api-shieldMCP Server Portalcloudflare-mcp-portalCloudflare Privacy Gatewaycloudflare-privacy-gatewayGeneric API gatewayapi-gatewayApache APISIXapisixApollo GraphOSapollo-graphosEasegresseasegressEmissary-ingressemissaryEnvoy Gatewayenvoy-gatewayGloo GatewayglooHasurahasuraHelicone AI Gatewayhelicone-gatewayHigresshigressKong GatewaykongKong AI Gatewaykong-ai-gatewayKong Konnectkong-konnectKrakenDkrakendLiteLLM ProxylitellmMartian GatewaymartianNot Diamondnot-diamondRequestyrequestySpring Cloud Gatewayspring-cloud-gatewayTyk GatewaytykUnifyunify-aiVercel AI Gatewayvercel-ai-gatewayWSO2 API Managerwso2-api-managerZuulzuulApigeeapigeeAgent Gatewaygoogle-agent-gatewayAPI Gatewaygoogle-api-gatewayApigee hybridgoogle-apigee-hybridCloud Endpointsgoogle-cloud-endpointsFirebase Data Connectgoogle-firebase-data-connectIBM API Connectibm-api-connectOCI API Gatewayoci-api-gateway
# 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