OpenRouter vs Portkey: model marketplace or governance gateway?
OpenRouter is a hosted router for 400+ models, now part of Stripe. Portkey is a guardrails-first gateway, now Palo Alto's Prisma AIRS. How they differ.
OpenRouter and Portkey solve different problems. OpenRouter is a hosted router that gives you one key and one bill for 400+ models; it's part of Stripe since November 2026. Portkey is a gateway focused on guardrails, observability and governance; its commercial product is now Palo Alto Networks' Prisma AIRS AI Gateway, and its MIT gateway is still on GitHub. Pick OpenRouter for model access, Portkey for control and security.
Facts checked between 27 November and 3 December 2026.
At a glance
| OpenRouter | Portkey | |
|---|---|---|
| What it is | Hosted router and marketplace | Gateway with guardrails, observability and governance |
| Owner | Stripe (since 10 November 2026) | Palo Alto Networks (since 29 May 2026) |
| Where it runs | OpenRouter's infrastructure | Self-hosted MIT gateway, or the commercial platform |
| Billing | One bill; 5.5% fee on credits; BYOK free up to $25,000 a month | You keep your own provider accounts |
| Models | 400+ hosted models | 1,600+ claimed through your provider accounts |
| Guardrails | Data retention controls, not content guardrails | Core focus; 50+ claimed in the open-source gateway |
| Prompt logging | Off unless you opt in | Depends on how you deploy it |
Sources: OpenRouter FAQ, Portkey gateway, portkey.ai.
What each one is for
OpenRouter is about access. You don't need accounts at each provider: you buy credits once and call any of hundreds of models. It passes provider prices through and charges 5.5% on credit purchases. Its privacy controls are about where data goes: opt-in logging, zero-data-retention routing and, on the Business plan, EU in-region routing. More in Is OpenRouter safe?
Portkey is about control. It sits in front of the providers you already use and adds guardrails on prompts and responses, routing and fallbacks, and, in the commercial platform, observability, governance and prompt management. After the Palo Alto Networks acquisition, the commercial platform is sold as Prisma AIRS AI Gateway. See Palo Alto Networks acquires Portkey.
Using both
They can work together in principle: put Portkey's gateway in front and use OpenRouter as one of its providers, if it appears in Portkey's provider list. You'd get OpenRouter's catalogue with Portkey's guardrails in front, at the cost of two hops and two vendors in the request path.
Which one should you pick?
- Pick OpenRouter if you want many models with one key and one bill, and you're comfortable with a hosted service.
- Pick Portkey's MIT gateway if you want guardrails and routing on your own servers.
- Pick Prisma AIRS if AI security is the priority and you buy from Palo Alto Networks.
- More options: OpenRouter alternatives, Portkey alternatives.
For teams sharing their own GPUs
If neither fits because your models run on your own hardware, AI Gateway by LayerX sends requests to your vLLM or Ollama servers first and uses vendors, OpenRouter included, when needed. Each person gets their own keys, token budgets and allowed models, and prompts are never stored. It has no guardrails, so it doesn't replace Portkey's security features.
Questions
Is Portkey an alternative to OpenRouter?
Partly. Both give you one API for many models, but OpenRouter also handles billing with providers, while Portkey sits in front of provider accounts you already have and adds guardrails and governance.
Who owns OpenRouter and Portkey?
OpenRouter is part of Stripe since 10 November 2026. Portkey is part of Palo Alto Networks since 29 May 2026.
Is Portkey cheaper than OpenRouter?
They charge differently. OpenRouter adds a 5.5% fee on credits. Portkey's open-source gateway is free to self-host, and its commercial platform is sold by Palo Alto Networks.
Can Portkey use OpenRouter models?
Portkey's gateway supports many providers through your own credentials. Check its provider list for OpenRouter before you rely on it.