What is Portkey?
No dated launch filed yetMIT
Summary
Portkey is an AI gateway with guardrails that routes requests to many LLMs through a single API.
- Category
- Agent infra
- Open source
- Yes
- License
- MIT
- Pricing
- Not stated in the sources on this page.
Portkey is an AI gateway. The Portkey-AI/gateway repository describes it as "A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API." The repository reports an MIT license and was created on 2023-08-23. The docs page now carries the heading "Portkey is now PRISMA AIRS AI Gateway. See it in action."
The docs show several ways to call it: the Portkey Python and Node SDKs with a Portkey API key and a provider, a curl request to the chat completions endpoint at api.portkey.ai, and the OpenAI SDK configured with a Portkey gateway URL and headers. The docs FAQ also mentions a feature that can skip storing request and response bodies on request, and managed hosting for enterprises in private clouds. Pricing is not stated in the cited sources.
For related tools, see the Agent infra category, and the Opik vs Langfuse guide. Sources: Portkey docs and GitHub repository.
Portkey alternatives
| Tool | License | Pricing note |
|---|---|---|
PortkeyThis pagePortkey is an AI gateway with guardrails that routes requests to many LLMs through a single API. | MIT | Not stated |
LiteLLMLiteLLM is an open-source library with a unified interface to call 100+ LLMs in the OpenAI format. | Open source | Not stated |
Launches and updates
No dated launch has been filed for Portkey yet. The description above is from the project’s own pages.
Guides covering Portkey
Questions
What is Portkey?
According to its GitHub repository description, Portkey is "A blazing fast AI Gateway with integrated guardrails. Route to 1,600+ LLMs, 50+ AI Guardrails with 1 fast & friendly API."
Is Portkey open source?
The GitHub repository Portkey-AI/gateway reports an MIT license through the GitHub API. The sources do not state the terms of any hosted service.
How is Portkey used?
Its docs show the Portkey SDK in Python and Node.js, a curl call to https://api.portkey.ai/v1/chat/completions, and an OpenAI client pointed at PORTKEY_GATEWAY_URL with Portkey headers.