Portkey

Portkey

Enterprise AI Gateway and LLM control plane unifying 1,600+ models behind one API with automatic fallbacks, load balancing, semantic caching, and guardrails.

Relying on a single LLM provider in production means every upstream 503 outage or rate-limit throttle takes your entire AI product offline. Portkey is an open-source AI Gateway and production control plane that sits between your application and more than 1,600 language, vision, and audio models. With one unified API interface, it handles automatic provider fallbacks, exponential retries, multi-key load balancing, semantic response caching, and real-time PII and hallucination guardrails.

Core AI gateway and governance features

  • 1,600+ models behind one schema: Routes calls across OpenAI, Anthropic, Google Gemini, AWS Bedrock, Azure OpenAI, Groq, and self-hosted vLLM endpoints without rewriting SDK code.
  • Automatic fallbacks and canary routing: Instantly fails over from a rate-limited or degraded primary model to a backup provider or region in milliseconds to keep uptime high.
  • 40+ real-time input/output guardrails: Enforces JSON schema validation, PII redaction, prompt-injection blocking, and toxicity checks before responses reach end users.
  • Virtual keys and budget governance: Issues scoped virtual API keys with hard monthly dollar caps, rate limits, and audit logs for every team, environment, or customer tenant.

Pricing and limitations

Portkey’s core AI Gateway is MIT open-source and free to self-host, and its managed cloud offers a Free Developer tier ($0/month) for initial testing, request logging, and multi-provider routing. Production and Enterprise plans scale on usage-based and custom annual contracts that add advanced RBAC governance, HIPAA/SOC 2 compliance, audit logging, and dedicated regional VPC deployments. The main caveat is that Portkey is engineered as production platform infrastructure: solo makers building a simple weekend prototype may find its virtual keys, guardrail configs, and routing policies heavier than calling a single provider SDK directly. Compared to Helicone and OpenRouter, Portkey offers deeper enterprise governance, multi-cloud VPC deployment, and built-in compliance guardrails. Route your staging traffic through the free cloud gateway (or self-host the open-source gateway) to set up an automatic fallback rule between your primary and secondary LLM providers.

Ready to try Portkey?

Experience the full capabilities on their official website.

Visit Official Website