Portkey Alternatives in 2026: Which AI Gateway Replaces Which Job After Palo Alto Networks
Portkey is now Palo Alto Networks' Prisma AIRS AI Gateway. No single product replaces everything it did, so split it into jobs and pick a replacement for each one you actually use.
The main Portkey AI gateway alternatives are LiteLLM or Bifrost if you want to self-host an open-source gateway, Kong if you already run Kong, Cloudflare, Vercel or OpenRouter if you want a hosted gateway, and Helicone or Langfuse if you mostly used Portkey for logs and traces. Palo Alto Networks announced it would acquire Portkey on April 30, 2026, closed the deal on May 29, and is folding the product into Prisma AIRS. No single alternative does everything Portkey did. The way to choose is to list which of Portkey's jobs you rely on and replace each one.
Why Portkey users are looking now
Palo Alto Networks' April 30 announcement said Portkey "will serve as the AI Gateway for Prisma AIRS," its AI security platform, inspecting AI traffic and enforcing security and governance policies at runtime. It disclosed no price. Its chief product and technology officer, Lee Klarich, framed the deal around agents: "By integrating Portkey into Prisma AIRS, organizations will be able to confidently deploy and govern AI agents."
The company's closing release is dated May 29, 2026, and a blog post by Anand Oswal the same day says Palo Alto Networks "has officially completed the acquisition." Some write-ups give a June close date because coverage kept running into early June (Channel Drive's report is dated June 3), but Palo Alto's own date is May 29.
What existing customers can count on is thinner than the deal coverage suggests. The April announcement said Palo Alto Networks would continue to support existing and new Portkey customers. The closing release does not mention existing customers, gives no integration timeline, and its boilerplate tells buyers to base decisions on features "currently generally available." Neither release mentions Portkey's open-source gateway.
The product has already changed. Portkey's documentation, kept in a public GitHub repository, now carries the line "Portkey is now PRISMA AIRS AI Gateway." Its Virtual Keys page says the feature "has been migrated to Model Catalog," which is reached through Palo Alto's Strata Cloud Manager. The open-source gateway's last release, v1.15.2, came on January 12, 2026, and its last code push on May 25, four days before the deal closed. Its README still promises that "Portkey's core enterprise gateway is merging into open-source with our 2.0 release," with no release date.
None of this means Portkey stops working. It means the product's direction is now set by a security company's platform roadmap, and teams that bought it as a neutral developer tool are entitled to check their options.
Portkey was five products in one
It is tempting to rank gateways against each other as if they were interchangeable. They are not, because Portkey bundled several jobs. Routing and fallbacks send a request to another provider or model when one fails. Caching serves repeated prompts without a model call. Virtual keys and budgets let a team hand out one key while the real provider keys and spending limits stay central. Logging and tracing record what every request cost and returned. Guardrails and audit check prompts and responses and keep a record of who did what.
A sixth job sits behind many Portkey deployments without being a Portkey feature: cutting the inference bill itself. Teams spread traffic across providers partly to buy cheaper tokens.
The table shows which alternatives document each job, as their own docs and repositories describe them on November 17, 2026.
| Portkey job | Self-hosted, open source | Hosted or platform |
|---|---|---|
| Routing and fallbacks | LiteLLM, Bifrost, Kong OSS | Cloudflare, Vercel, OpenRouter, Helicone |
| Caching | LiteLLM, Bifrost (semantic) | Cloudflare, Vercel (provider prompt caching), Kong (semantic) |
| Virtual keys and budgets | LiteLLM, Bifrost | Vercel (budgets), Kong (token quotas) |
| Logging and tracing | Langfuse, Helicone, Bifrost | Cloudflare, Vercel |
| Guardrails and audit | Kong OSS (prompt guard) | Kong (PII sanitizer, audit logs), Cloudflare (DLP) |
| Cutting inference cost | Train and serve your own model | Parsec (specialised models) |
The self-hosted route: LiteLLM and Bifrost
LiteLLM describes itself on GitHub as an "Open Source AI Gateway for 100+ LLMs. Self-hosted. Enterprise-ready." It exposes an OpenAI-compatible endpoint, retries and falls back across deployments, issues virtual keys, tracks spend per project and user, and forwards logs to observability tools, Langfuse among them. That covers the same core jobs as a self-hosted Portkey: routing, fallbacks, keys, budgets and logging.
Its licence needs a careful read, because it is not BSL, as it is sometimes described. The repository's licence file says everything is MIT except the litellm/enterprise/ directory, which carries BerriAI's own enterprise licence. That licence says the code "may only be used in production" with a paid subscription for the right number of seats, though you can use it for development and testing for free. Features such as SSO sit on the paid side. If you need them, budget for a contract. If you don't, the MIT core is free to run.
Bifrost, built by Maxim AI, is Apache 2.0 throughout its public repository. It offers an OpenAI-compatible endpoint, fallbacks, load balancing, semantic caching and virtual keys with budgets for keys, teams and customers. Maxim says it "adds under 200µs of overhead at 5k RPS," a figure from Maxim's own benchmark. Private networking, clustering and guardrails are listed as enterprise features.
Self-hosting moves the cost from a subscription to your own servers and on-call time. That cost depends on your traffic and has not been measured.
The hosted route: Cloudflare, Vercel and OpenRouter
If you used Portkey's cloud and don't want to run anything, the hosted gateways differ mainly in how they make money.
Cloudflare's AI Gateway is available on all plans. Its pricing page, updated November 2, 2026, says analytics, caching and rate limiting are free. Logs have limits, and gateways created since September 24 bill logs under Workers Logs. If you let Cloudflare pay the providers through Unified Billing, it adds a 5% fee on credit purchases.
Vercel's AI Gateway is a hosted API that works from any cloud, not only Vercel deployments. Its docs say it "adds zero markup to provider token prices, including with BYOK," and it offers budgets, request logs and provider fallbacks. The charges are in the add-ons: bringing your own keys with fallback to Vercel's keys turned off costs $0.20 per 1,000 requests, and regional hosting adds 5% of inference cost.
OpenRouter is a model marketplace more than a governance layer. Its documentation says there is "no markup on inference pricing," but buying credits by card carries a 5.5% fee. Bringing your own keys is free up to $25,000 a month of list-price usage, then 5%.
The platform route: Kong
Kong's AI Gateway is the most complete match for Portkey's governance features. Its developer docs list multi-provider routing, semantic caching, token quotas, a PII sanitizer, prompt and response guards, audit logs and OpenTelemetry metrics, with data planes that run self-hosted, in Kong's cloud or on Kubernetes. The open-source Kong repository includes the AI proxy and prompt-guard plugins. The semantic cache, sanitizer and AI rate-limiting plugins are not in it, so the full set comes through Kong's commercial Konnect platform, which its docs say handles licensing.
Kong also publishes a speed comparison: a July 2025 test in which it says its gateway was "over 228% faster than Portkey and 859% faster than LiteLLM." That is Kong's own benchmark against a mock model, with the gateways only proxying traffic, on versions that are now over a year old. Treat it as Kong's claim, not a measurement of your workload. No independent like-for-like test of these gateways has been published.
The observability route: Helicone and Langfuse
Some teams used Portkey mainly as a logging layer. For them a gateway is the wrong replacement. Helicone, Apache 2.0, logs requests with a one-line change, traces sessions, tracks cost and latency, and also routes across models with fallbacks. Its separate Rust gateway repository is marked public beta and has not been updated since November 21, 2025, so build on the main project.
Langfuse is MIT outside its enterprise folders and focuses on tracing, evaluations and prompt management, built on OpenTelemetry. It has its own acquisition story: its README says "Since January 2026 we're part of ClickHouse." Its code is still being released, with v4.82.0 out on November 17. Langfuse pairs naturally with LiteLLM, which can send it logs.
That makes two products in this piece, Portkey and Langfuse, folded into larger companies in the same year. An open licence you can fork protects you better than any single vendor's independence.
Routing saves less than changing the model
Gateways reduce cost at the margin: a cache hit here, a cheaper provider there. They do not change what a request costs to answer. A team whose bill is dominated by one repeated task, such as classifying tickets or extracting fields, can save more by moving that task onto a smaller model trained for it.
Parsec, a small language model lab, sells that service. Its comparison page puts "typical router savings" at 15% and its own "savings on real workloads" at 60%, but defines no workload or baseline for either figure, so both are Parsec's claims rather than measurements. It says it routes per turn, serves models post-trained on the customer's traffic on a shared cluster, and that customers own their models. It publishes no price, its pages do not mention VPC hosting for this service, and its only code example uses the Anthropic SDK. It replaces the cost job, not the gateway: you would still need one of the products above for keys, logs and guardrails.
A plain gateway is the better choice when your traffic is varied, no single task dominates the bill, or you need the governance features more than the savings.
How to leave Portkey without breaking anything
The work is mostly configuration, because every alternative here speaks the OpenAI API format.
- Export history first. Portkey's Logs Export lets you pick a time range and fields, including request and response payloads, tokens, cost and trace ID. It caps each job at 50,000 logs, so large accounts need several jobs or the beta export API.
- Inventory your configs: every fallback chain, retry rule, cache setting, guardrail and budget, and every Model Catalog entry or virtual key mapped to a team.
- Rebuild those as the new gateway's keys, budgets and routes, one Portkey key per new key.
- Swap the base URL in one service, keeping model names explicit.
- Run old and new side by side, splitting a small share of traffic, and compare cost, latency and error rates on the same requests before moving the rest.
What the gateway itself costs
Take a team sending 2 million requests a month with $20,000 of provider spend at list price. On Portkey's Pro plan, which includes 100,000 requests and charges $9 for each further 100,000 up to 3 million, the gateway costs $49 plus 19 blocks at $9, or $220 a month. Buying the same inference through OpenRouter credits by card adds 5.5%, or $1,100, though bringing your own keys under the $25,000 allowance costs nothing extra. Cloudflare's Unified Billing adds 5%, or $1,000, while using your own keys there leaves the core features free. Vercel adds nothing on tokens, or $400 if you bring your own keys and switch off its fallback. Self-hosted LiteLLM or Bifrost costs no licence fee for the open-source parts, plus servers this example does not price.
The gateway is a small line next to the $20,000. The choice should rest on which jobs you need, not on the fee.
Bottom line
If you want Portkey's self-hosted gateway without the new owner, move to LiteLLM, and read its enterprise licence before relying on SSO or other paid features; choose Bifrost if you want Apache 2.0 throughout. If Kong is already your API gateway, use its AI gateway for the governance features. If you want hosted and simple, Vercel charges no token markup, Cloudflare's core is free, and OpenRouter suits teams that want many models on one bill. If you mainly used Portkey for logs, Langfuse or Helicone does that job directly. If the reason you routed traffic was cost, and one task dominates your bill, price a specialised model against the gateway savings. And if Prisma AIRS fits your security stack, staying is a legitimate choice: export your logs anyway, so the option to leave stays real.
Sources
- Palo Alto Networks, Palo Alto Networks to acquire Portkey (April 30, 2026): https://www.paloaltonetworks.com/company/press/2026/palo-alto-networks-to-acquire-portkey-to-secure-the-rise-of-ai-agents
- Palo Alto Networks, Palo Alto Networks completes acquisition of Portkey (May 29, 2026): https://www.paloaltonetworks.com/company/press/2026/palo-alto-networks-completes-acquisition-of-portkey-to-secure-ai-agents
- Palo Alto Networks blog, Securing and governing AI agents at scale through a unified AI gateway: https://paloaltonetworks.com/blog/2026/05/securing-and-governing-ai-agents-at-scale-through-a-unified-ai-gateway
- Channel Drive, Palo Alto Networks completes acquisition of Portkey: https://channeldrive.in/security/palo-alto-networks-completes-acquisition-of-portkey-to-secure-ai-agents/
- Portkey docs, Prisma AIRS notice: https://github.com/Portkey-AI/docs-core/blob/main/snippets/prisma-airs-cta.mdx
- Portkey docs, Virtual Keys: https://github.com/Portkey-AI/docs-core/blob/main/aigw/product/ai-gateway/virtual-keys.mdx
- Portkey docs, Logs Export: https://github.com/Portkey-AI/docs-core/blob/main/aigw/product/observability/logs-export.mdx
- Portkey docs, Plan comparison: https://github.com/Portkey-AI/docs-core/blob/main/product/product-feature-comparison.mdx
- Portkey open-source gateway: https://github.com/Portkey-AI/gateway
- LiteLLM repository: https://github.com/BerriAI/litellm
- LiteLLM licence: https://github.com/BerriAI/litellm/blob/main/LICENSE
- LiteLLM enterprise licence: https://github.com/BerriAI/litellm/blob/main/litellm/enterprise/LICENSE.md
- Bifrost repository: https://github.com/maximhq/bifrost
- Kong, AI Gateway docs: https://developer.konghq.com/ai-gateway/
- Kong open-source plugins: https://github.com/Kong/kong/tree/master/kong/plugins
- Kong, AI gateway benchmark (July 7, 2025): https://konghq.com/blog/engineering/ai-gateway-benchmark-kong-ai-gateway-portkey-litellm
- Cloudflare, AI Gateway: https://developers.cloudflare.com/ai-gateway/
- Cloudflare, AI Gateway pricing: https://developers.cloudflare.com/ai-gateway/reference/pricing/
- Vercel, AI Gateway: https://vercel.com/docs/ai-gateway
- Vercel, AI Gateway pricing: https://vercel.com/docs/ai-gateway/pricing
- OpenRouter docs, FAQ: https://github.com/OpenRouterTeam/docs/blob/main/faq.mdx
- OpenRouter docs, fee constants: https://github.com/OpenRouterTeam/docs/blob/main/snippets/exports/constants.mdx
- OpenRouter docs, BYOK: https://github.com/OpenRouterTeam/docs/blob/main/guides/overview/auth/byok.mdx
- Helicone repository: https://github.com/Helicone/helicone
- Helicone AI Gateway repository: https://github.com/Helicone/ai-gateway
- Langfuse repository: https://github.com/langfuse/langfuse
- Parsec vs routers: https://parseclab.ai/compare/routers/
- Parsec vs your own GPUs: https://parseclab.ai/compare/own-gpus/
- Parsec, Inference: https://parseclab.ai/inference/