Alternatives

Portkey alternatives after the Palo Alto acquisition: 5 options by use case

Portkey is now Prisma AIRS AI Gateway. If you're reviewing it, here are 5 alternatives sorted by what you used Portkey for: routing, guardrails, or team access.

Portkey is now part of Palo Alto Networks and sold as Prisma AIRS AI Gateway. If you're reviewing it, the right alternative depends on what you used Portkey for. For routing and budgets, LiteLLM or Bifrost. For a hosted gateway, Cloudflare or Vercel. For sharing your own GPUs across a team, AI Gateway by LayerX. Or keep Portkey's MIT gateway and run it yourself.

Facts checked between 27 November and 2 December 2026.

Why teams are reviewing Portkey

Palo Alto Networks closed its acquisition of Portkey on 29 May 2026 and made it the gateway inside its Prisma AIRS security platform (Palo Alto Networks). portkey.ai now leads with "Portkey is now Prisma AIRS AI Gateway," and its contact links go to Palo Alto Networks.

For security teams that already buy from Palo Alto, that's good news. For engineering teams that picked Portkey as a developer tool, it raises questions about pricing, contracts and roadmap. Full timeline in Palo Alto Networks acquires Portkey.

First: what did you use Portkey for?

Portkey covered several jobs. Your alternative depends on which mattered:

You used Portkey forLook at
One API across many providers, with fallbacksLiteLLM, Bifrost, or Portkey's own MIT gateway
Guardrails on prompts and responsesPrisma AIRS (stay), LiteLLM, Cloudflare AI Gateway
Observability and cost per requestLiteLLM, Bifrost, or a dedicated observability tool (see Helicone alternatives)
Prompt managementA dedicated prompt tool; most gateways don't do this
Giving many people access with budgets, on your own GPUsAI Gateway by LayerX

The alternatives

1. Keep Portkey's open-source gateway

The cheapest move may be no move. Portkey-AI/gateway is MIT-licensed, written in TypeScript and starts with npx @portkey-ai/gateway. Its README claims routing to 1,600+ models and 50+ guardrails, and says a 2.0 release is merging Portkey's enterprise gateway into the open-source project (pre-release as of this writing).

Best for: teams who used Portkey's routing and guardrails and want to self-host.
Watch out for: the open-source project's future now depends on a company whose commercial focus is Prisma AIRS. Watch release activity.

2. LiteLLM

The most widely used open-source gateway. The free version includes virtual keys, budgets, rate limits, spend tracking, an admin UI, load balancing, a guardrails framework with Presidio PII masking, and an MCP gateway. SSO beyond 5 users, audit logs and several named guardrail integrations need an Enterprise licence (LiteLLM).

Best for: teams who want the widest provider coverage and a large community.
Watch out for: two malicious releases reached PyPI in 2026. Pin versions. Compared directly in Portkey vs LiteLLM.

3. Bifrost

An Apache 2.0 gateway written in Go, with failover, load balancing, semantic caching, virtual keys, budgets and Prometheus metrics in the open-source build. Guardrails and clustering are part of its enterprise deployments (GitHub).

Best for: teams who want a fast, single-binary gateway.
Watch out for: if guardrails were the reason you used Portkey, they sit on Bifrost's paid side. See Bifrost vs LiteLLM.

4. Cloudflare AI Gateway

A hosted gateway on Cloudflare's network. Analytics, caching and rate limiting are free; guardrails run Llama Guard on Workers AI and are billed as inference; DLP scanning is free (Cloudflare).

Best for: teams already on Cloudflare who want hosted guardrails without running anything.
Watch out for: it's hosted, so requests pass through Cloudflare. Unified Billing credits carry a 5% fee.

5. AI Gateway by LayerX

For a different use case: companies that run their own models on vLLM or Ollama and also buy tokens from vendors. AI Gateway puts both behind one OpenAI-compatible endpoint, sends requests to your GPUs first and moves to vendors like OpenAI, Groq, Together or OpenRouter when needed. Admins invite people by email; each person gets their own keys, daily and monthly token budgets and a list of models they may use. Prompts and responses are never stored. It runs on your servers or LayerX hosts it.

Best for: sharing your own GPUs and vendor access across a team, with cost per person.
Watch out for: no guardrails, no caching, OpenAI-compatible providers only (Anthropic and Gemini through OpenRouter). It's not a replacement for Portkey's security features. See AI Gateway vs Portkey and OpenRouter vs Portkey.

Which one should you pick?

  • You buy from Palo Alto Networks and want guardrails: stay on Prisma AIRS.
  • You want what you had, self-hosted, for free: Portkey's MIT gateway.
  • You want the safest long-term open-source bet: LiteLLM has the largest community.
  • You want speed and a simple deploy: Bifrost.
  • You want hosted guardrails: Cloudflare AI Gateway.
  • You're sharing your own GPUs across a team: AI Gateway.

Questions

What is the best alternative to Portkey?

LiteLLM is the closest open-source match for routing, keys and budgets. If guardrails are the priority and you don't buy from Palo Alto, Cloudflare AI Gateway offers hosted guardrails. Portkey's own MIT gateway is also still available.

Is Portkey still available?

Yes. The commercial product is now Prisma AIRS AI Gateway from Palo Alto Networks, and the open-source gateway is still on GitHub under the MIT licence.

Is Portkey free?

The open-source gateway is free under the MIT licence. The commercial platform is sold by Palo Alto Networks.

Can I migrate from Portkey to LiteLLM?

Both expose OpenAI-compatible APIs, so apps usually need a new base URL and key. Gateway configuration such as routing rules, keys and budgets has to be recreated.

More posts

Keep reading.

See how AI Gateway fits your setup.

Tell us what you run today and how many people need access. We'll get back to you to learn more about your setup.

See how AI Gateway fits your setup.

What do you run today?