Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Portkey AI Gateway

Open-source gateway for routing model requests with retries, fallbacks and guardrails.

By Portkey (Palo Alto Networks)Checked
Visit github.com(opens in a new tab)
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark

What 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

  • LiteLLM

    Open-source SDK and AI gateway that calls 100+ providers through one OpenAI-style API.

    Open sourceBerriAI

  • OpenRouter

    One API and bill for models from many providers, with routing and fallbacks.

    Usage-basedOpenRouter

  • DeepSeek

    Chat app and API for DeepSeek's open-weight models.

    Usage-basedDeepSeek

  • Groq

    Fast inference API on Groq's own LPU chips.

    FreemiumGroq

  • llama.cpp

    C/C++ inference engine for GGUF models on CPUs and GPUs; many local tools use it.

    Open source

  • vLLM

    High-throughput inference and serving engine for LLMs with an OpenAI-compatible server.

    Open source

All Models and local inference