Vercel AI Gateway

API gatewayvercel-ai-gateway

Managed endpoint routing model calls across providers with failover, budgets, BYOK and request logs.

Provider
default
Category
Edge
Properties · 4 set by this component
propertytypevaluesrequiredkind defaultthis component
authenumnone | api-key | jwt | oauth2 | mtlsnonone▸ api-key
byok · component propertyboolean—nofalseinherited
concurrencyLimitboolean—nofalseinherited
idempotencyKeys · advancedboolean—nofalseinherited
instancesinteger—no—inherited
keyTtlHours · advancedinteger—no—inherited
managedboolean—nofalse▸ true
modelFallbacks · component propertyboolean—nofalseinherited
protocolenumhttp | grpc | websocket | fix | ouchnohttp▸ http
providerAllowlist · component propertyboolean—nofalseinherited
rateLimitingboolean—nofalseinherited
tlsboolean—notrue▸ true
zeroDataRetentionProviders · component propertyboolean—nofalseinherited
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: "vercel-ai-gateway", component: "vercel-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 AI Gatewaykong-ai-gatewayapi-gatewayKong Konnectkong-konnectapi-gatewayKrakenDkrakendapi-gatewayLiteLLM Proxylitellmapi-gatewayMartian Gatewaymartianapi-gatewayNot Diamondnot-diamondapi-gatewayPortkey AI Gatewayportkeyapi-gatewayRequestyrequestyapi-gatewaySpring Cloud Gatewayspring-cloud-gatewayapi-gatewayTyk Gatewaytykapi-gatewayUnifyunify-aiapi-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
# Vercel AI Gateway: managed endpoint that routes across providers with failover, budgets, BYOK and request
# logs, callable from any infrastructure with an API key or OIDC on Vercel. Per "AI Gateway Security and
# Compliance", the gateway itself keeps zero data retention by default, while routing only to ZDR providers
# and the provider allowlist are opt-in; per "AI Gateway Model Fallbacks", backup models need a models list.
schemaVersion: "1"
type: "component"
id: "vercel-ai-gateway"
kind: "api-gateway"
provider: "default"
docs: "https://vercel.com/docs/ai-gateway/security-and-compliance"
defaults:
  managed: true
  auth: "api-key"
  protocol: "http"
  tls: true
properties:
  modelFallbacks:
    type: "boolean"
    default: false
  zeroDataRetentionProviders:
    type: "boolean"
    default: false
  providerAllowlist:
    type: "boolean"
    default: false
  byok:
    type: "boolean"
    default: false

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