Over the past two and a half years, Portkey has taken a fairly contradictory path through the "AI gateway" space: it raised two rounds of funding while building itself into a big, all-in-one gateway + observability + guardrails + governance SaaS; in March 2026 it open-sourced its entire gateway core overnight; and before that had even settled, it was announced as an acquisition target by security giant Palo Alto Networks in late April, with the deal closing on May 29 — turning it, almost overnight, into a core piece of Palo Alto's Prisma AIRS security platform. Playing both the "open source" card and the "sold to a security giant" card within three months is, on its own, worth a proper explainer.
This piece lays out what Portkey actually is, what's really in the product, real pricing, what the acquisition means, and — for readers like ours who follow the AI API relay/proxy ecosystem — whether Portkey is a competitor or a complement to a mainland China relay provider. The short version, so you can decide whether to read on: if you just want an easy way to switch between a couple of closed models, Portkey is more than you need — go read the OpenRouter section of our LiteLLM alternatives piece instead. If you're a team that actually needs enterprise compliance, guardrails, and multi-team budget controls, this one's worth reading in full.
Contents
- 1. What Portkey is, in one line
- 2. The feature breakdown: the gateway is just the front door
- 3. Company background and the road to open source
- 4. The big 2026 variable: folded into Palo Alto Networks' Prisma AIRS
- 5. Real pricing: from free to enterprise custom
- 6. Portkey vs LiteLLM vs OpenRouter
- 7. What it means for mainland China AI API relay users
- 8. Who should use it, who shouldn't
- 9. Conclusion
1. What Portkey is, in one line
Portkey was founded in 2023 by Ayush Garg and Rohit Agarwal. Its own positioning is "a production stack for GenAI builders" — in plain terms, it's a gateway layer that sits between your application and a large number of LLM providers, and it bundles observability, guardrails, governance, and prompt management into the same product: one API endpoint to reach a claimed 1,600+ models.
Worth noting: that model count is itself a live example of how fast this space has ballooned in two to three years. Older documentation pages had Portkey's own line at "250+ models, 45+ providers"; by mid-2026 the headline copy had become "1,600+ LLMs"; the Palo Alto Networks acquisition announcement introduced yet another figure, "3,000+ LLMs and MCP tools" (models and MCP tools counted together). Three numbers from three different points in time in official material — not three descriptions of the same thing, but a real growth curve for one company, and a sign that its own docs haven't fully kept pace with how fast the product has moved.
Like most peers in this space, Portkey's starting point is the familiar problem: once a team is wired into OpenAI, Anthropic, Gemini, and a handful of Chinese models, it doesn't take long to accumulate a pile of scattered API keys, mismatched SDK calling conventions, unmaintained call logs, and a fuzzy ledger of who spent how much on which project this month. Portkey collapses all of that into one layer: your app only ever talks to a single Portkey endpoint, and who actually gets called, how failover works, and how billing gets tracked all becomes Portkey's problem.
2. The feature breakdown: the gateway is just the front door
Click through Portkey's feature pages one by one and you can pull out these pieces — nearly every one of which could be its own standalone product:
- AI Gateway (the gateway itself): a unified API format; Virtual Keys — real upstream provider keys are stored in Portkey's vault, and your application code only ever sees a "virtual key" Portkey issues, which you can rotate, revoke, or repoint to a different provider from the dashboard without touching a line of code; automatic retries (up to 5), cross-provider load balancing, conditional routing; plus simple and semantic caching so repeat requests skip a model call entirely.
- Observability: a dashboard covering 40+ metrics — cost, quality, and latency all included — with full logs and call chains for every request, for post-hoc debugging and tuning.
- Guardrails: the exact count of built-in guardrails isn't consistent across Portkey's own pages — 40+, 50+, and 60+ all show up — but the order of magnitude is "dozens," covering PII redaction, hallucination detection, prompt-injection blocking, and JSON/regex format validation. It also plugs into a long list of third-party guardrail providers: Mistral, Patronus, Pillar, Lasso, Pangea, AWS Bedrock, Azure, Promptfoo, Aporia, Acuvity, Exa, and — naturally, post-acquisition — Palo Alto Networks' own AIRS (AI Runtime Security). Guardrails run synchronously in the request path: inputs get checked first, responses get checked after the model returns, and a hit can trigger a straight denial, a retry, or a fallback to a more trusted model.
- Governance: RBAC, per-team/per-project budgets and rate caps, audit logs; SSO/SCIM on the enterprise tier.
- Prompt Management: centralized prompt templates with versioning and a playground; the free tier caps you at 3 templates, unlimited above that.
- Model Catalog: pricing and availability data across models in one place, saving a fair amount of doc-hunting when comparing options.
- MCP Gateway: shipped alongside "Gateway 2.0" in March 2026, this brings MCP (Model Context Protocol) server access under the same management umbrella — centralized MCP server management, OAuth 2.1 + PKCE authentication, workspace-level permissioning, and full visibility into every tool call an agent makes, inside the same observability system. It's the piece Portkey added specifically for the "agent era," and it's what most clearly separates it from more purely gateway-shaped tools like LiteLLM or OpenRouter.
A real call looks like this — authentication doesn't go through the usual Authorization: Bearer header, but through a dedicated x-portkey-api-key header, paired with x-portkey-provider to specify which Virtual Key to route through (providers are marked with an @ prefix):
curl https://api.portkey.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "x-portkey-api-key: $PORTKEY_API_KEY" \
-H "x-portkey-provider: @openai-prod" \
-d '{
"model": "gpt-4o",
"messages": [{"role": "user", "content": "Hello!"}]
}' Compared to OpenRouter's "swap one environment variable and go" setup, Portkey adds an extra step — go create a Virtual Key in the dashboard first, then specify which one to use in the request header. That's the cost of doing governance and observability properly, and it's also a good gut-check for whether you actually need something this heavyweight.
Put all seven of these pieces together and they're really answering seven angles of the same question: "what is our team actually doing with AI right now, how much is it costing, and has anything gone wrong from a security standpoint?" Compared to a more engineer-facing open-source proxy like LiteLLM, Portkey is clearly designed around "a dashboard that a compliance, security, or finance person with no engineering background can actually read" — and that's a big part of why it lands better with enterprise buyers. LiteLLM behaves like a library built for engineers — config files, YAML, a Python SDK, everything is code. Portkey behaves like a console built for the whole organization — non-engineers can open a web page and understand the bill and the risk directly.
3. Company background and the road to open source
Portkey's fundraising pace hasn't been fast, but every step has been solid. In August 2023, it raised a $3 million seed round led by Lightspeed. Two and a half years later, in February 2026, it raised a $15 million Series A led by Elevation Capital with Lightspeed following on, bringing total funding past $18 million. The numbers that came with the Series A announcement: more than 500 billion tokens processed daily, 125 million requests a day, more than $500,000 in daily AI spend, and more than 24,000 organizations served.
The real turning point came a month later. On March 24, 2026, Portkey took the entire suite of capabilities that used to require a paid SaaS subscription — governance, observability, authentication, cost controls — and open-sourced all of it, along with the freshly built MCP Gateway. The gateway code shipped under the MIT license on GitHub (the Portkey-AI/gateway repo, now past 12,000 stars). The official press release tied the open-sourcing to a scale figure — "processing over 1 trillion tokens every day" — while The New Stack's headline on the same news read "2 trillion tokens a day." The two numbers don't match, but either way, Portkey's throughput was already solidly in trillion-token territory — roughly doubling or tripling from the 500 billion/day cited in February's Series A announcement in about a month, and that growth rate alone says something about how hungry the market was for "AI gateway" infrastructure in 2026.
Open-sourcing reads as a textbook open-core move: give away the governance/observability/auth capabilities that used to be paywalled, in exchange for a bigger developer ecosystem and more self-hosting credibility, while continuing to make money on the hosted SaaS tier and enterprise contracts. In hindsight, this step also quietly paved the way for what came next — a project that had already earned goodwill among developers, and had its core technology laid bare as open source, is a much easier due-diligence target for an acquirer.
This funding and product strategy also reveals something about who Portkey's customers actually are: publicly named enterprise customers include API collaboration platform Postman and data-labeling/evaluation company Snorkel AI. Portkey's case study library also includes the story of SiteGPT building an enterprise-grade AI customer support platform on Portkey — starting from a patchwork of separate model SDKs, moving to Virtual Keys to manage provider switching centrally, and using the observability dashboard to track cost and latency per customer conversation. Cases like this largely confirm Portkey's positioning: it isn't aimed at early-stage prototype projects, but at teams that already have real, paying users and need to run AI calls like an actual production line.
4. The big 2026 variable: folded into Palo Alto Networks' Prisma AIRS
A little over a month after the open-source announcement, on April 30, 2026, security giant Palo Alto Networks announced its intent to acquire Portkey. Palo Alto's Chief Product and Technology Officer, Lee Klarich, put it this way in the announcement: "AI is evolving so rapidly that organizations often feel forced to choose between two failing strategies: scrambling to integrate a patchwork of 'point products' to stay current, or falling behind while waiting for legacy platforms to catch up." Portkey's co-founder and CEO, Rohit Agarwal, said: "We joined Palo Alto Networks to bridge the trust gap that prevents AI from reaching its full potential."
The deal officially closed on May 29, 2026, ahead of the original target of Palo Alto's fiscal Q4 2026. The exact deal value was never publicly disclosed; outside financial press estimates put it in the ~$700 million range (consistent with the figure we cited in our earlier LiteLLM alternatives piece). Post-acquisition, Portkey's gateway technology became the core control plane of Palo Alto's Prisma AIRS security platform, sitting alongside Palo Alto's own agent-identity product Idira and its observability product Chronosphere to form a "runtime security + identity + observability" triad. In July 2026, Palo Alto announced general availability of the Prisma AIRS AI Gateway — roughly six weeks after the deal closed, a genuinely fast turnaround.
What this acquisition means for you
If you're already a Palo Alto customer, or you need agent-level runtime security and enterprise-grade compliance like SOC2/GDPR/HIPAA audits anyway, this acquisition is basically a plus — governance, identity, and observability are now bundled into the same product line, which may actually lower your procurement and integration cost. But if you're a team that specifically values being neutral and independent — especially a brand-new project — weigh this: a gateway folded into a security giant will inevitably have a roadmap that orbits its parent's security platform rather than the original goal of "building the best possible gateway, full stop." Whether it stays neutral across every cloud vendor and every model provider over the long run is a fair question mark.
5. Real pricing: from free to enterprise custom
The figures below come from verifying portkey.ai/pricing in mid-2026 — the official pricing can change at any time, so double-check before you commit to a purchase.
| Tier | Price | Requests/month | Log & metrics retention | Key capabilities |
|---|---|---|---|---|
| Open Source (self-hosted) | Free | Unlimited | You manage it | Unified API, retries, timeouts, routing, guardrails, fallbacks, a basic dashboard, load balancing, community support; you cover your own server/ops cost. |
| Developer (free forever) | Free | 10,000 | 3-day logs / 30-day metrics; no overage allowed (excess just isn't recorded) | Observability, unified API, key management, prompt management (3 templates cap), playground, versioning. |
| Production | $49/mo ("POPULAR" per the official site) | 100,000, overage $9 per extra 100k (capped at 3M/mo) | 30-day logs / 90-day metrics | Everything in Developer, plus unlimited templates, alerts, LLM guardrails, semantic caching, RBAC, service-account API keys, production support. |
| Enterprise | Custom quote | 10M+ recorded logs | Custom period | Custom guardrail hooks, advanced eval templates, SSO, granular budget/rate limits, private cloud deployment, data export, VPC hosting, SOC2 Type II/GDPR/HIPAA compliance, custom BAAs, dedicated onboarding, priority support. |
The free tier looks generous, but at 10,000 requests/month and 3-day log retention, any team taking things even moderately seriously will hit that ceiling within days. The real dividing line is the Production tier — $49/month is cheap to start, but overage is billed at $9 per extra 100,000 requests, and once volume climbs, the bill grows faster than you'd expect.
One detail that's easy to overlook: the three deployment modes Enterprise emphasizes — managed SaaS, hybrid, and fully air-gapped — map directly onto different industries' compliance requirements. Finance and healthcare, which are sensitive about data leaving their perimeter, typically skip managed SaaS entirely and lock in private cloud or VPC deployment the moment they upgrade. That's also why third-party estimates put the Enterprise price range at $2,000 to $10,000+/month (depending on volume, retention window, deployment model, and support level) — a much steeper jump than the Production tier. What you're buying at that point isn't just request volume anymore — it's compliance capability itself.
6. Portkey vs LiteLLM vs OpenRouter: three completely different things wearing similar labels
We already touched on Portkey in our LiteLLM alternatives piece; here's the fuller side-by-side. The biggest misconception is treating these three as "three answers to the same question" — they're actually three completely different product philosophies: OpenRouter is a managed model marketplace, LiteLLM is a fully self-controllable open-source proxy library, and Portkey is a hosted control plane with governance and guardrails built in (whose core gateway can also be self-hosted).
| Dimension | Portkey | LiteLLM | OpenRouter |
|---|---|---|---|
| Deployment | Mostly managed SaaS; the core gateway is MIT-licensed and self-hostable | Fully self-hosted open-source proxy; an enterprise cloud-hosted version also exists | Managed only, no self-hosting option |
| Core positioning | Gateway + observability + guardrails + governance, all-in-one | Pure gateway/proxy, native to the Python ecosystem | Managed model marketplace, one key for everything |
| Model coverage | Claimed 1,600+ (climbing steadily) | 100+ (each provider's SDK/API adapted individually) | 400–500+ |
| Pricing model | Free tier + $49/mo and up + enterprise custom | Free and open source; enterprise priced separately | Percentage fee on top-ups (5.5%, etc.) |
| Who uses it | Funded AI-native companies, enterprise teams needing compliance/guardrails | Engineering teams that want full control, on a tight budget | Individuals/small teams who want to change one env var and go |
| Biggest 2026 variable | Acquired by Palo Alto Networks; independent neutrality is now a question | Migrating to a Rust core; high-concurrency issues steadily improving | BYOK billing math changed in July 2026 |
The right question was never "which is best" — it's whether you actually want a hosted control plane with built-in compliance and guardrails, or fully self-controlled open-source software, or you simply don't want to touch ops and just want to switch models. The three can even stack — plenty of teams genuinely run LiteLLM or a mainland China relay to handle "how do I connect and how do I keep it cheap," and layer Portkey or Cloudflare AI Gateway on top for observability and guardrails.
7. What it means for mainland China AI API relay users
This is the section EggStriker readers should care about most. The conclusion up front: Portkey is not a "relay provider." It solves the problem of "how do I manage things after the call goes through," not "how do I get access to make the call in the first place" — two things that are easy to blur together, and worth pulling apart cleanly.
Mainland China relay providers and direct-connect channels solve a more fundamental layer: paying in RMB, connecting directly on domestic networks without a VPN, and getting cheaper allocations or a bundled set of domestic models beyond official channels. Portkey assumes that layer already exists — you either have a key that legitimately calls official channels like OpenAI/Anthropic/Gemini, or a key issued by a relay provider. Portkey stores those keys in its vault via Virtual Keys and adds a layer of unified observability, guardrails, and multi-team budget control on top of them. From start to finish, it never takes on the job of helping you connect or keeping things cheap.
That doesn't make the two mutually exclusive, though — it's actually a combination that stacks well: configure a mainland relay/direct-connect channel as one of Portkey's Virtual Keys/providers, let the relay handle "can I even connect, and is it cheap," and let Portkey add a layer of unified observability, guardrails, and budget control on top. For an individual developer or a small project, this combination is probably overkill — the relay's own dashboard is enough. But for a team that already has multiple teams and projects sharing the same relay account and wants finer-grained usage breakdowns and guardrails, stacking the two makes sense — the relay owns "connectivity + pricing," Portkey owns "governance on top of connectivity," and that division of labor is the exact same logic as the job chart we drew in our LiteLLM alternatives piece. For relay selection, see our AI API relay comparison and our roundup of 7 popular providers.
Here's a concrete scenario: a team is already using a mainland relay provider's API key to call GLM, DeepSeek, and similar domestic models directly for a customer-support bot, and now wants a layer that can show exactly how much each support scenario is costing and stop a single leaked employee key from running up an unexpected bill. Rather than building a logging and alerting system from scratch, it's simpler to register the relay's key as a Portkey Virtual Key and let Portkey's observability dashboard and budget caps take over that job — the relay keeps handling connectivity and cost, Portkey handles visibility and the safety net, and neither one has to replace the other.
8. Who should use it, who shouldn't
Behind these criteria is a simpler economic reality: Portkey's free tier and $49/month Production tier are priced well within reach of an individual developer or small team, but the product design and documentation tone speak, from top to bottom, to the person inside an enterprise responsible for compliance/security/multi-team budgets. If your team doesn't have someone in that role, you probably won't use 80% of what it offers — and there's no reason to pay for the complexity that comes with those features.
- Already a (or soon-to-be) Palo Alto customer, need SOC2/GDPR/HIPAA audits, need agent-level runtime security → Portkey fits, and this side of the product will only get more complete post-acquisition.
- Early-stage startup, just want models switched fast, tight budget → the free Developer tier can hold you for a while, but 10,000 requests/month and 3-day log retention will bite fast — do the math on whether $49/month upgrade is worth it, or just move to self-hosted LiteLLM.
- Just want to bounce between a couple of closed models, don't care about guardrails or governance → OpenRouter is simpler, don't overthink it.
- Want full control, don't want to be locked into a single vendor (especially if "acquired by a security giant" makes you uneasy) → self-hosted LiteLLM, or self-host Portkey's MIT-licensed gateway core to sidestep the managed SaaS layer.
- Mainland China team → test connectivity and latency first, treat a domestic relay/direct-connect channel as the upstream provider behind Portkey, not as something Portkey replaces.
9. Conclusion
After all that, the line worth remembering is this: Portkey is one of the most complete players in this space — gateway, observability, guardrails, governance, prompt management, MCP gateway, all under one account, and the free tier genuinely gets you started. But in 2026, it did two things that seem to pull in opposite directions at once: it open-sourced its core gateway, and it sold the company to a security giant.
Put together, this means
The open-source parts you can get for free will increasingly look like public infrastructure for the industry — but the enterprise-grade capabilities you actually want will have a roadmap that, going forward, orbits Palo Alto's security narrative rather than the original goal of "build a neutral, independent AI gateway."
- What you actually need is compliance and guardrails → this acquisition is a genuine plus, go ahead and use it.
- What you want is a neutral gateway with no strings to a giant → this is a good moment to wait and watch a bit longer.
- Mainland China relay users → remember the one line: the relay solves connectivity, Portkey solves governance on top of connectivity — it's not either/or.