# Prisma AIRS AI Gateway (formerly Portkey) — card for AI agents

AI gateway with routing, fallbacks, caching, guardrails, prompt management and observability.

Maker: Portkey AI · category: LLM gateways and routers

## Price (official page)
- Free tier: Developer: 10k recorded logs/month, 3-day log retention
- Free tier terms: free allowance · monthly (read from the wording above and the pricing page; empty = not stated)
- Paid from $49/month
- Usage price: Production $49/month for 100k recorded logs; +$9 per additional 100k requests (up to 3M)
- Pricing page: https://portkey.ai/pricing (checked 2026-10-09)
- Note: Gateway is open source and self-hostable with no request limit. Exceeding the free log limit does not block requests, only logging. Portkey offers an MCP gateway for your servers rather than its own MCP server. Portkey is now PRISMA AIRS AI Gateway, as the portkey.ai homepage says (2026-11-10); the docs keep the Portkey name.

## Connect
- npm: `npm install portkey-ai`
- PyPI: `pip install portkey-ai`
- Repository: https://github.com/Portkey-AI/gateway

## For AI agents on Portkey AI's own site (AgentGid check 2026-11-13: 4 of 6)
- llms.txt: https://portkey.ai/llms.txt
- Docs pages as Markdown: 0% of the pages llms.txt lists
- OpenAPI description: none found at the usual places
- Official MCP server: no · official SDK: yes · status page: yes
- robots.txt lets AI assistants (ChatGPT-User, Claude-User) read the site: yes

## A year of price history (Internet Archive copies of the pricing page, read by rules)
- Months read: 7 (2025-10 to 2026-11) of https://portkey.ai/pricing
- Lowest $/month figure on the page: $9 in 2025-10, $9 in 2026-11
- A figure is any "$X/month" on the page (plans, seats and add-ons alike); open the archived copy to see which plan it is.

## Price history in AgentGid's catalog (since 2026-10-09)
- Changes recorded: 1, last on 2026-10-09 (a vendor price change or an editor's correction; the evidence archive keeps the pricing page of each date)
- 2026-10-09: free requests a month changed

## Other APIs in this category
- Vercel AI Gateway: https://agentgid.com/apis/vercel-ai-gateway/agent.md
- LiteLLM: https://agentgid.com/apis/litellm/agent.md
- OpenRouter: https://agentgid.com/apis/openrouter/agent.md
- Cloudflare AI Gateway: https://agentgid.com/apis/cloudflare-ai-gateway/agent.md
- Helicone: https://agentgid.com/apis/helicone/agent.md

## Links
- AgentGid page: https://agentgid.com/apis/portkey/


## Portkey: one gateway for many AI models, with backups

Portkey sits between your app and AI model providers such as OpenAI or Anthropic. Your app calls one address, and Portkey passes the request on, retries or switches to a backup model when one fails, and records every request and its cost. Its gateway core is open source, and the hosted service has a free plan.

### Where to use it
- One way to call many models: Switch between OpenAI, Anthropic, Google and others by changing one name in your code, instead of learning each company's own setup.
- Backup model when the main one is down: If your main AI provider fails or is busy, the same request goes to a second model, so your chatbot keeps answering.
- See every AI request and its cost: Look up any past request with its prompt, answer, tokens and cost, and tag requests by user or session to find problems.
- Block unwanted answers and retry: Check model answers for banned words or topics and retry failed calls automatically, before your users see a bad reply.
- One entry point for your team's tools: Put the tool servers your AI agents use behind one sign-in, with access rules and a log of every call.
- Cap AI spending per team: Give each team or project its own provider access with a spending limit, so one runaway script cannot use the whole budget. (idea, not from the official pages)

### How to start
- Sign up or log in, and copy your Portkey API key from Settings.
- Add your AI provider in the Model Catalog, then install the SDK.

```
pip install portkey-ai
```

- Call a model through Portkey (or point your existing OpenAI client at Portkey).

```
from portkey_ai import Portkey

portkey = Portkey(
    api_key="YOUR_PORTKEY_API_KEY",
    provider="@YOUR_PROVIDER"
)
```


### License
The gateway core is open source under the MIT license, so you can run it yourself, also in paid products. The hosted service is a paid product with a free Developer plan; its terms page needs a browser to read.

### Good to know
- The free Developer plan records 10,000 requests a month and keeps logs for 3 days; requests above that still work but are not logged.
- Portkey says its free plan is not suitable for live products.
- Full logging keeps the complete prompts and answers; storing only numbers (Metrics Only) is an Enterprise feature.
- You still pay each AI provider for its models; Portkey forwards the calls and passes provider errors through unchanged.
- Portkey's docs now present it as Palo Alto Networks' Prisma AIRS AI Gateway.

Checked 2026-11-10 against: https://portkey.ai, https://portkey.ai/pricing, https://portkey.ai/terms, https://portkey.ai/privacy-policy, https://docs.portkey.ai/docs/llms.txt, https://docs.portkey.ai/docs/introduction/what-is-portkey.md, https://docs.portkey.ai/docs/introduction/make-your-first-request.md, https://docs.portkey.ai/docs/api-reference/inference-api/authentication.md, https://docs.portkey.ai/docs/api-reference/inference-api/error-codes.md, https://docs.portkey.ai/docs/api-reference/inference-api/response-schema.md, https://docs.portkey.ai/docs/api-reference/inference-api/agentic-usage.md, https://docs.portkey.ai/docs/api-reference/inference-api/chat.md, https://docs.portkey.ai/docs/support/common-errors-and-resolutions.md, https://docs.portkey.ai/docs/product/ai-gateway/fallbacks.md, https://docs.portkey.ai/docs/product/ai-gateway/automatic-retries.md, https://docs.portkey.ai/docs/product/ai-gateway/cache-simple-and-semantic.md, https://docs.portkey.ai/docs/product/guardrails.md, https://docs.portkey.ai/docs/product/observability/logs.md, https://docs.portkey.ai/docs/product/administration/configuring-request-logging.md, https://docs.portkey.ai/docs/product/mcp-gateway.md, https://docs.portkey.ai/docs/product/open-source.md, https://docs.portkey.ai/docs/product/enterprise-offering/security-portkey.md, https://github.com/Portkey-AI/gateway/blob/main/README.md, https://github.com/Portkey-AI/gateway/blob/main/LICENSE, https://github.com/Portkey-AI/openapi/blob/master/openapi.yaml, https://pypi.org/pypi/portkey-ai/2.3.4/json, https://registry.npmjs.org/portkey-ai/3.1.0

### Mistakes to avoid
- Don't: Turning on semantic caching on the free or Production plan because an example shows "mode" "semantic" → Do: Use simple caching, or ask Portkey about an Enterprise plan for semantic caching (The cache docs say semantic caching needs a vector database and select Enterprise plans.)
- Don't: Treating every error from Portkey as a Portkey problem → Do: Check whether the message starts with "Portkey Error"; otherwise it came from the AI provider (Provider errors are passed through unchanged.)
- Don't: Using old Virtual Keys (x-portkey-virtual-key) in new code → Do: Use @provider-slug/model names from the Model Catalog (The docs mark Virtual Keys as deprecated.)
- Don't: Putting the Portkey API key in browser code → Do: Keep it on the server and call Portkey from there (The key unlocks the provider keys stored in your Portkey account.)
- Don't: Sending personal data in prompts with full logging on and no review → Do: Decide what may be logged; use a PII guardrail or Metrics Only mode (Enterprise), or self-host (Full logging stores complete request and response content.)

### Questions
- Is there a free plan? Yes. The Developer plan is free with 10,000 logged requests a month and 3-day log retention, for prototypes and tests.
- What does the paid plan cost? Production is $49 a month for 100,000 logged requests, plus $9 for each extra 100,000, up to 3 million.
- Can I run it myself? Yes. The open-source gateway runs locally or on your servers; the hosted dashboard and long log storage are the paid part.
- Do I need to rewrite my OpenAI code? No. You can keep the OpenAI SDK and point it at Portkey, or use Portkey's own SDK with the same call shape.

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
