A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
open coreMITself-hostablefreeMCP
Portkey's AI Gateway is an open source gateway that gives one API across 1,600+ models with retries, fallbacks, load balancing, routing and guardrails. The hosted Portkey platform adds request logging, cost and usage analytics, prompt management and governance, with private cloud and VPC options for enterprises.
Problems it solves
- when OpenAI has an outage our whole app goes down
- automatically retry and fall back to another model provider
- one API for OpenAI, Anthropic, Gemini and Bedrock so I can switch models without code changes
- see what every team is spending on LLM calls
- log every prompt and response for debugging
- block PII and jailbreak attempts before they reach the model
- load balance across several API keys to avoid rate limits
- give each team a virtual key with its own budget
- manage prompt versions outside the codebase
- run the LLM proxy ourselves in our VPC for compliance
- an LLM API key that switches itself off once it has spent a set dollar amount, with an email alert before
Features
- universal API to 1,600+ models
- retries, fallbacks, load balancing, conditional routing
- 50+ guardrails
- request logs and analytics (hosted)
- prompt management
- virtual keys and budgets
- private cloud and VPC deployment (Enterprise)
- budget limits that expire a provider key at a USD or token limit, weekly or monthly reset (Enterprise and select Pro customers)
Ways to run it
Portkey (hosted)
Developer free (10k logs/month, 3-day log retention); Production $49/month (100k logs/month, 30-day logs, $9 per additional 100k requests); Enterprise custom12
Only in this edition
- request logs, traces, analytics and alerts
- prompt management
- LLM guardrails, RBAC and service account keys on Production
- SSO, budgets and rate limits, semantic caching, custom retention, BAAs, SOC 2 Type 2, ISO 27001 and priority support on Enterprise
Open Source AI Gateway
Only in this edition
- one API with retries, timeouts, routing, fallbacks and load balancing
- guardrails
- a basic local dashboard
Not included
- hosted logs, analytics and alerts1
- prompt management1
- RBAC, SSO and budgets1
- support beyond the community1
You arrange
- somewhere to run it: Docker, Node.js, Cloudflare Workers or a VM
- your own provider API keys
- your own logging and monitoring
Enterprise Hybrid
Only in this edition
- the gateway data plane in your VPC, with prompts, responses and logs in your own storage
- the SaaS Enterprise features, with the control plane run by Portkey
Not included
- running fully offline: it needs outbound HTTPS to Portkey's control plane, and new air-gapped deployments are no longer offered57
You arrange
- a Kubernetes cluster with Helm (or ECS)
- Redis
- log storage: S3-compatible object storage, or MongoDB or DocumentDB
- outbound HTTPS to Portkey's control plane and access to its container registry
Capabilities
| Has an API | plan not known |
|---|---|
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
| Has single sign-on | plan not known |
Alternatives
The same job
These do what Portkey AI Gateway does.
- LiteLLM The AI Gateway for platform teams.
- Bifrost Open-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway.
- New API An AI gateway for models, applications, and agents
- One API Access all LLM through the standard OpenAI API format, easy to deploy & use
- Cloudflare AI Gateway Observe and control your AI applications.
- agentgateway Next Generation Agentic Proxy for AI Agents and MCP servers
