Tools/AI Deployment & MLOps/Portkey AI Gateway

Portkey AI Gateway

Open-source AI gateway that routes requests to more than 1,600 LLMs through one API with guardrails and caching.

Open SourceSelf Hosted
0.0 (0)

About

Over 1,600 models from providers including OpenAI, Anthropic, Google, Bedrock, and local deployments sit behind one unified API in Portkey's gateway, which the company open sourced under MIT after running it in production for its hosted platform. The TypeScript service starts locally with a single npx command or deploys via Docker and edge runtimes, and it layers production plumbing over raw provider APIs: automatic retries and fallbacks, load balancing across keys and providers, conditional routing, request caching, and more than 50 integrated guardrails that can validate or block inputs and outputs in the request path. Configs are declarative JSON, so switching a workload between providers means changing a route rather than code. The hosted Portkey platform adds observability, prompt management, and virtual keys, with a free developer tier that records up to 10,000 logs per month and paid plans above it. With roughly 12,600 GitHub stars, the gateway is a common first piece of LLM infrastructure for teams needing reliability across vendors.

Should you use Portkey AI Gateway?

Pick it when

Pick Portkey's gateway when an app team wants reliable access to many LLM providers fast: one npx command or Docker image, declarative JSON routing with fallbacks and retries, and request-path guardrails without writing them yourself.

Look elsewhere when

Skip it if you need observability, prompt management, or virtual keys fully self-hosted, since those live on the hosted platform with log caps on the free tier. Python shops wanting spend tracking in-house may prefer LiteLLM.

Alternatives to Portkey AI Gateway

  • LiteLLM

    Python SDK plus proxy with built-in spend tracking you host yourself, while Portkey keeps cost and log views on its hosted platform.

  • Bifrost

    Go gateway focused on very low added latency and native Go embedding, though RBAC and audit logs are in its commercial tier.

  • Helicone

    Self-hostable logging, caching, and cost tracking under Apache 2.0, stronger for visibility than for routing rules and guardrails.

  • OmniRoute

    Built for coding agents juggling hundreds of providers and free tiers, rather than production routing for your own application.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!