AI gateway for LLM routing, fallbacks, caching, and observability — production-ready in minutes
Inference & HostingFreemium
Portkey is an AI gateway and observability platform for production LLM applications. It sits between your app and LLM providers, enabling automatic fallbacks (OpenAI → Anthropic on failure), load balancing across providers, semantic caching (up to 20× cost reduction), request logging, and prompt versioning — all with a single API endpoint change.
Pricing: Free (10K req/mo); Pro ~$49/mo; Enterprise custom
Founded: 2022; San Francisco; YC W23
Ideal for
Teams running LLM apps in production who need reliability (fallbacks), cost control (caching), and visibility (logging).
Organizations using multiple LLM providers who want a unified routing layer without custom middleware.
Developers migrating between providers or A/B testing GPT vs. Claude for quality and cost comparisons.
Not ideal for
Local LLM deployments (Ollama, LocalAI) where the gateway adds unnecessary network hops.
Simple single-model prototypes where the overhead of a gateway isn't justified.
Teams who need full evaluation pipelines — Braintrust or LangSmith have stronger eval workflows.
See also
Helicone — Simpler LLM observability proxy; logging-focused, less routing logic.
LangSmith — LangChain-native observability with stronger trace visualization for complex chains.
Braintrust — Enterprise eval platform with experiment management; less gateway, more eval.
FAQ
What is Portkey?
Portkey is an AI gateway that sits in front of your LLM API calls. You send requests to Portkey's endpoint instead of directly to OpenAI or Anthropic — Portkey then routes them to the right provider, handles retries and fallbacks, caches repeated queries, logs all requests for observability, and tracks costs. The OpenAI SDK is compatible: just change the base URL and add your Portkey API key.
Is Portkey free?
Portkey has a free tier with 10,000 requests/month, basic observability, and core gateway features. The Pro plan (~$49/mo) adds higher volume, team collaboration, and guardrails. Enterprise plans offer dedicated infrastructure, SSO, and custom SLAs.
How does Portkey's fallback routing work?
You define a routing configuration (called a 'gateway config') specifying primary and fallback providers. If OpenAI returns a 429 rate limit or 500 error, Portkey automatically retries with Anthropic Claude or another configured provider — your application sees a seamless response. This prevents outages from single-provider failures without any changes to your application code.
How does Portkey's semantic cache work?
Portkey's semantic cache stores LLM responses and matches future requests by embedding similarity rather than exact string match. If a user asks 'What is the capital of France?' and earlier a similar question was cached, Portkey returns the cached answer. Cache hit rates of 20-40% are common for customer support and FAQ use cases, reducing both latency and API costs.
SEO, AI search (how ChatGPT, Perplexity and Google describe Portkey), UX, CRO and support from one account manager, with a monthly report. Includes a Featured launch on db.fyi. Starts with a free audit.
Founding offer: $299 a month for your first 3 months, plus a free case study.