Portkey

AI gateway with routing, caching, guardrails and observability for production LLM applications.

Visit Portkey Opens the vendor's site in a new tab

Portkey is an AI gateway and observability platform for production LLM apps. It provides one API across providers, then adds the operational features teams usually build themselves: retries, fallback, caching, load balancing and request logs.

Guardrails can inspect or transform inputs and outputs, while virtual keys let teams issue scoped credentials without exposing the underlying provider keys. The gateway works with OpenAI-compatible SDKs and common agent frameworks.

It is aimed at teams that already have a working prototype and now need cost control, uptime and a record of what was sent to which model. The dashboard shows latency, spend and errors by key, route and provider.

Portkey has a developer tier and paid team or enterprise plans; the exact request allowance and advanced feature gates are published on its pricing page. Model inference is billed by the upstream provider on top of the gateway plan.

The limits are configuration complexity and another network hop. Caching can return stale answers if prompts are not scoped correctly, and guardrails add latency. Pin critical routes and test cache keys before enabling them broadly.

Our take

Portkey is a strong fit once an LLM feature becomes an operational problem. Virtual keys, request traces, caching and fallback are the features teams often build in a rushed internal proxy; having them in one layer shortens the path to a controlled production setup.

The platform is configurable enough to become its own project. Cache keys and guardrail policies need owners, and every added rule is another place for latency or a wrong answer. Start with routing and logs, then add caching and guardrails only where the workload justifies them.

What it does

  • One API across commercial and open model providers.
  • Routing, retries, fallback and load balancing.
  • Semantic and exact-match caching controls.
  • Guardrails for input and output checks.
  • Virtual keys, budgets and access scopes.
  • Request logs, traces and latency analytics.
  • OpenAI-compatible SDK and framework integrations.
  • Self-hosted or managed deployment options.

Best for

  • Production apps that need retries, fallback and request logs.
  • Teams that want scoped virtual keys instead of sharing provider keys.
  • Applications where caching can cut repeated prompt cost.
  • Platform teams that need spend and latency dashboards.
  • Organisations that want guardrails at the gateway layer.

Not ideal for

  • Simple prototypes that call one model and need no observability.
  • Workloads where any extra network hop is unacceptable.
  • Teams that cannot define safe cache keys and invalidation.
  • Buyers looking for a model owner rather than an access layer.

Pros

  • Broad operational feature set beyond basic routing.
  • Virtual keys reduce credential sprawl.
  • Caching and guardrails are available at the gateway.
  • Observability is built in rather than bolted on.
  • Works with OpenAI-compatible clients.
  • Managed and self-hosted paths exist.

Cons

  • More configuration than a bare proxy.
  • Caching can create stale or cross-user answers if misconfigured.
  • Guardrails add latency and maintenance.
  • Another vendor sits in the request path.
  • Advanced features sit on paid plans.

Pricing and facts

Pricing modelFreemium · from Free developer tier / paid plans
Free tierDeveloper tier; confirm current request allowance.
Pricing detail
  • Developer tier for evaluation, with published limits.
  • Production plans add higher volume, team controls and support.
  • Inference is billed by the upstream model provider.
  • Caching and guardrails may have plan-specific limits.
  • Enterprise pricing is quote-based.
PlatformsWeb dashboard, REST API, OpenAI-compatible endpoint, self-hosted option
DeveloperPortkey
Launched2023
Websitehttps://portkey.ai/?utm_source=aibookmarks.net
Last reviewed2026-11-27

Example prompt

Add a gateway route that retries once on 429, falls back to a second provider, caches identical support prompts for ten minutes, and logs cost by team key.

Alternatives to Portkey

Questions about Portkey

What is Portkey?

Portkey is an AI gateway and observability platform for production LLM apps. It provides one API across providers, then adds the operational features teams usually build themselves: retries, fallback, caching, load balancing and request logs.

Guardrails can inspect or transform inputs and outputs, while virtual keys let teams issue scoped credentials without exposing the underlying provider keys. The gateway works with OpenAI-compatible SDKs and common agent frameworks.

It is aimed at teams that already have a working prototype and now need cost control, uptime and a record of what was sent to which model. The dashboard shows latency, spend and errors by key, route and provider.

Portkey has a developer tier and paid team or enterprise plans; the exact request allowance and advanced feature gates are published on its pricing page. Model inference is billed by the upstream provider on top of the gateway plan.

The limits are configuration complexity and another network hop. Caching can return stale answers if prompts are not scoped correctly, and guardrails add latency. Pin critical routes and test cache keys before enabling them broadly.

Is Portkey free?

Portkey is freemium. Developer tier; confirm current request allowance.

What is Portkey best for?

Production apps that need retries, fallback and request logs.; Teams that want scoped virtual keys instead of sharing provider keys.; Applications where caching can cut repeated prompt cost.; Platform teams that need spend and latency dashboards.; Organisations that want guardrails at the gateway layer.

Listed in Model Gateways & Aggregators. Something out of date? Tell us.