Portkey AI Gateway
Open-source gateway for routing model requests with retries, fallbacks and guardrails.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
Portkey's gateway sits between your app and model providers and adds automatic retries, fallbacks to other models, load balancing, conditional routing and guardrail checks, configured per request. It runs locally with npx or as a container. Palo Alto Networks completed its acquisition of Portkey in May 2026 and is building it into Prisma AIRS. A Gateway 2.0 pre-release lives on a separate branch, and the main open-source repository had no new commits between late May and November 2026, so check its activity before you depend on it.
Best for
Declarative fallback rules across providers.
Skills it helps with
Related tools
LiteLLM
Open-source SDK and AI gateway that calls 100+ providers through one OpenAI-style API.
OpenRouter
One API and bill for models from many providers, with routing and fallbacks.
DeepSeek
Chat app and API for DeepSeek's open-weight models.
Groq
Fast inference API on Groq's own LPU chips.
llama.cpp
C/C++ inference engine for GGUF models on CPUs and GPUs; many local tools use it.
vLLM
High-throughput inference and serving engine for LLMs with an OpenAI-compatible server.