AI & Machine Learning · AI Development Platforms
Portkey AI Gateway
Open source gateway for routing, reliability, and governance across LLM providers.
Portkey AI Gateway provides a unified interface for model access, routing, retries, fallbacks, load balancing, observability, guardrails, and prompt management. Portkey AI maintains the repository, whose latest listed release is v1.15.2 from January 12, 2026. The product is now branded PRISMA AIRS AI Gateway after Palo Alto Networks announced an intent to acquire Portkey.
Acquired. Palo Alto Networks announced an intent to acquire Portkey on April 30, 2026. Portkey is now presented as PRISMA AIRS AI Gateway, while the gateway repository continues to publish releases.
Key facts
- License
- MIT
- Main language
- TypeScript
- Maintainer
- Portkey AI
- First released
- 2024-01-03
- Latest release
- v1.15.2, January 12, 2026
- GitHub stars
- 13,246, October 2026
- Hosted option
- Portkey hosted platform with Developer free forever, Production $49/month, and Enterprise custom pricing
What Portkey AI Gateway is
Portkey AI built the gateway for teams integrating multiple large language model providers through one open source service. The repository was created in August 2023, and its first tagged release, v1.0.0, was published January 3, 2024. A March 24, 2026 project discussion says Portkey had built the project two years earlier, open sourced its AI Gateway, and reached hundreds of contributors and millions of users. That discussion also attributes $15 million in funding, two trillion processed LLM tokens, and more than one million dollars in daily LLM spend to Portkey. These figures are company statements. GitHub lists Portkey AI as maintainer, TypeScript as the primary language, MIT as the license, and approximately 13,246 GitHub stars as of October 2026.
How it works
The gateway places a common request layer between applications and model providers. Its documented workflow offers a universal API, virtual keys, configuration management, automatic fallbacks, load balancing, retries, request timeouts, and user attribution. Engineers can attach logs, traces, feedback, metadata, filters, and alerts, then manage prompt templates, playground tests, API endpoints, versioning, and variables. Guardrails cover LLM and partner checks, and the v1.15.2 release changed sequential behavior so only enabled checks execute. The hosted pricing page also lists simple and semantic caching, PII anonymization, budget controls, and rate limits across applicable plans. This arrangement gives application teams one request path for provider selection, failure handling, policy checks, prompt changes, and operational review.
Architecture and recent releases
The repository is Portkey-AI/gateway. Its latest listed release is v1.15.2, published January 12, 2026. Release changes include Qualifire guardrails, Azure Blob support for batches, custom scopes for Azure agents, consistent Anthropic beta header usage, Gemini reasoning effort support, enabled-check behavior for sequential guardrails, and Vercel Cookbook package updates. A March 24, 2026 discussion states that Portkey maintained a separate internal production gateway as customers scaled, creating drift from the open source version. Portkey announced that the production gateway would merge into the open source project, with one gateway and one codebase maintained by the Portkey team and open source contributors. The hosted platform separately lists AI Gateway, observability, guardrails, prompt management, agents, MCP Gateway, security, and model catalog products.
License and pricing
The repository uses the MIT license. Portkey's hosted pricing lists Developer as free forever, with 10,000 recorded logs per month and three days of log retention. Production is listed at $49 per month, with 100,000 recorded logs, 30 days of log retention, 90 days of metrics retention, and request overages. Enterprise pricing is custom and includes private cloud deployment, VPC hosting, data export to data lakes, advanced compliance, custom BAAs, and data isolation support. The pricing page also lists an open source host-it-yourself option without a platform fee. Infrastructure, deployment, storage, upgrades, monitoring, and operations remain the user's responsibility when hosting the gateway.
Limitations and how it compares
Portkey suits engineering teams that need one control point for multiple model providers, routing policy, operational telemetry, guardrails, prompt versioning, and enterprise governance. Compared with direct provider SDKs, it adds an intermediary service for abstraction, routing, retries, and fallbacks, which also creates another component to configure and operate. The pricing page says the $49 Production plan is not recommended for organizations requiring custom security controls or data residency guarantees. The strongest fit is a team standardizing model access across applications and environments, particularly where provider changes and request operations need centralized controls.
Main features
- Universal API. Provides one API surface for accessing models across providers, reducing application-level integration differences.
- Automatic Fallbacks. Routes requests to configured alternatives when a provider or model path fails.
- Load Balancing. Distributes model traffic across configured targets through gateway routing policies.
- Request Retries. Retries failed requests and supports request timeouts as part of gateway reliability controls.
- Gateway Observability. Records logs, traces, feedback, metadata, filters, and alerts for AI request operations.
- Prompt Management. Offers templates, playground testing, API endpoints, versioning, and variables for managed prompts.
- Guardrail Checks. Supports LLM and partner guardrails, including sequential checks and enabled-check behavior.
- Caching Controls. Lists simple caching and semantic caching options for supported hosted plans.
Self-hosting Portkey AI Gateway
Portkey lists an open source host-it-yourself option with a universal API, retries and timeouts, routing, guardrails, automatic fallbacks, a basic dashboard, load balancing, and community support. The repository uses the MIT license. The available pricing text does not specify a complete installation sequence, required infrastructure, supported operating systems, or storage topology. Engineers should therefore separate the repository gateway from the hosted Portkey platform when planning deployment, upgrades, observability, and operational ownership.
Strengths
- Provides one integration point for multiple model providers and gateway policies.
- Combines routing, retries, fallbacks, load balancing, and request timeouts.
- Includes observability, prompt management, and guardrail capabilities.
- Offers hosted plans and an MIT licensed host-it-yourself option.
Drawbacks
- Self-hosted feature coverage and operational requirements are not fully specified.
- The hosted Production plan is not recommended for custom security controls or data residency guarantees.
- The gateway layer adds another service to configure, operate, monitor, and upgrade.
Frequently asked questions
What is Portkey AI Gateway?
Portkey AI Gateway is an open source gateway maintained by Portkey AI. It provides a universal API for model access and lists routing, fallbacks, load balancing, retries, timeouts, observability, guardrails, prompt management, and caching capabilities. Portkey also offers a hosted platform with additional governance, security, enterprise deployment, and support options. The product is now presented under the PRISMA AIRS AI Gateway branding.
What is the latest listed gateway release?
The latest listed release is v1.15.2, published January 12, 2026. Its changes include Qualifire guardrail updates, Azure Blob support for batches, Azure agent custom scopes, consistent Anthropic beta header handling, Gemini reasoning effort support, enabled-check behavior for sequential guardrails, and Vercel Cookbook package updates. The release is associated with the Portkey-AI/gateway repository.
Does Portkey offer hosted pricing?
Yes. The pricing page lists Developer as free forever, Production at $49 per month, and Enterprise as custom pricing. Developer includes 10,000 recorded logs per month. Production includes 100,000 recorded logs per month, additional request overages, 30 days of log retention, and 90 days of metrics retention. Enterprise adds deployment and compliance options.
Can the gateway be self-hosted?
Yes. Portkey's pricing page lists an open source host-it-yourself option with a universal API, retries and timeouts, routing, guardrails, automatic fallbacks, a basic dashboard, load balancing, and community support. The repository uses the MIT license.
What changed in the production gateway direction?
A March 24, 2026 repository discussion says Portkey maintained a separate internal production gateway as customers scaled, creating drift from the open source version. Portkey announced that the production gateway would merge into open source, creating one gateway and one codebase maintained by the Portkey team and open source contributors. This statement describes the project direction rather than a specific release date.
Similar projects to compare
- ACI.devApache-2.0ACI.dev is an Apache-2.0 platform from Aipotheosis Labs for connecting AI agents to more than 600 SaaS integrations. It targets developers building agent products with SDKs, a unified MCP server, OAuth, secrets, permissions, and tool discovery. A managed service exists at aci.dev, but published product pages do not list hosted pricing.
- AgentOSApache-2.0AgentOS is a Python toolkit for building, running, tracking, and sharing reinforcement learning agents through the Python Component System. It targets researchers and developers who need explicit dependencies, virtual environments, and experiment runs. AgentOS and PCS use Apache-2.0. Documentation describes a public registry, but no paid hosted AgentOS service is listed.
- AgnoApache-2.0Agno is a Python SDK and AgentOS runtime for building, serving, and managing agents, teams, and workflows. The runtime is Apache-2.0 licensed and self-hostable. A hosted control plane starts at $150 per month for one live connection and three team seats. This provides a concise description of its development components, runtime model, licensing, deployment option, and hosted pricing.
- BeamAGPL-3.0Beam is an open-source runtime for serverless AI workloads, including GPU inference, sandboxes, functions, and background jobs. Beta9 uses AGPL-3.0 and supports self-hosting, while Beam Cloud provides managed compute, dashboards, billing, and hosted services. The hosted product bills CPU, memory, and GPUs by usage, with published rates for several machine types.
- BifrostApache-2.0Bifrost is an Apache-2.0 Go gateway for applications that need one OpenAI-compatible API across more than 20 model providers. It supports routing, failover, budgets, caching, observability, and MCP controls. The free OSS edition is self-managed, while Maxim offers a custom-priced Enterprise edition with a 14-day trial.
- BotpressMITBotpress is a TypeScript platform for building AI agents with Studio, SDKs, integrations, knowledge bases, tables, and helpdesk workflows. The current repository uses the MIT license, while the former v12 product used AGPL-3.0 and is sunset for new deployments. Botpress Cloud provides the hosted service, with a free tier and paid plans starting at $150 per month when billed annually.