Portkey Open-Source AI Gateway
Self-hostable gateway for routing model requests through a unified API, with retries, fallbacks and configurable load balancing.
About this listing
Portkey's open-source AI Gateway provides a shared routing layer between an application and its model providers. It offers a unified API alongside configurable automatic retries, fallback targets, conditional routing and load balancing, helping teams centralize resilience logic rather than repeat it in each integration.
The project can run locally as the @portkey-ai/gateway package, and its repository documents Docker, Node.js and Cloudflare Workers deployment options. A local console brings gateway logs into one place. It is useful for developers connecting an agent or AI application to multiple model backends while keeping routing configuration under their control.
Free refers only to the MIT-licensed open-source gateway code. Model-provider API usage, hosting and infrastructure can incur separate charges; this listing does not represent a free managed Portkey service. Review the open-source repository for the capabilities of the version you deploy, rather than assuming every commercial feature is included.