Portkey Alternatives

AI gateway with observability, guardrails and prompt management

Hosted gatewayHosted or self-hostedFree · Production from $49/monthGateway is MIT-licensedSan Francisco, CAHosted or self-hosted
Visit website

What is Portkey?

Portkey is an AI gateway that combines routing with observability, guardrails, governance and prompt management. Its core gateway is open source under the MIT license and can be self-hosted, and its docs describe a unified interface to 250+ models; its homepage cites 1,600+ LLMs and 3,000+ GenAI teams. Palo Alto Networks announced it would acquire Portkey on April 30, 2026 and reported closing the deal on May 29, 2026; Portkey is now the AI gateway for its Prisma AIRS platform.

The gateway covers fallbacks, automatic retries (up to 5 with exponential backoff), weighted load balancing across keys or providers, conditional routing, timeouts, circuit breakers and canary testing. On top sit request logs and traces, budget and rate limits, virtual keys, simple and semantic caching, 40+ pre-built guardrails with partner integrations such as Patronus, Pangea and AWS Bedrock Guardrails, and a hosted prompt-management product.

Pricing is by recorded logs rather than tokens. The Developer plan is free with 10,000 logs a month and 3-day log retention and is marked not suitable for production; Production is $49 a month with 100,000 logs and $9 per additional 100,000; Enterprise is custom with SSO, VPC hosting and compliance support. Some features, such as semantic caching and prompt management, are hosted or enterprise only.

Key features

Core capabilities this platform advertises.

  • Unified API across hundreds of models, with an open-source MIT gateway you can self-host
  • Fallbacks, retries up to 5 times with backoff, load balancing, conditional routing and circuit breakers
  • Request logs, traces, custom metadata, filters and alerts
  • 40+ pre-built guardrails, plus partner guardrails and PII redaction
  • Simple and semantic caching
  • Virtual keys, budget limits and rate limits, with RBAC and SSO on higher plans
  • Prompt templates, playground and versioning
  • MCP gateway with centralized auth and logs for tool calls
  • Hybrid deployment with the data plane inside your VPC on Enterprise

Strengths and tradeoffs

What this tool does well, and the limitations to keep in mind.

Pros

  • Observability, guardrails and governance alongside the gateway
  • Open-source core gateway with hosted and self-hosted options
  • Wide guardrail coverage with partner integrations
  • Enterprise VPC and hybrid deployment, SOC 2, ISO 27001, GDPR and HIPAA claims

Cons

  • Priced by log volume, with a free tier that is not meant for production
  • More concepts to learn (configs, virtual keys) than a plain OpenAI-compatible endpoint
  • Semantic caching and prompt management are hosted or enterprise only
  • Owned by Palo Alto Networks since May 2026, so product direction may change

Plans & pricing

What's included in each plan, and how the tiers compare.

Developer

$0

Free forever · not for production

  • 10k recorded logs a month
  • 3-day log retention, 30-day metrics
  • 3 prompt templates and a playground

Production

$49

Per month

  • 100k recorded logs a month, then $9 per 100k
  • 30-day log retention, 90-day metrics
  • RBAC, alerts, simple and semantic caching
  • LLM and partner guardrails

Enterprise

Custom

Talk to sales

  • 10M+ recorded logs a month
  • SSO, VPC hosting and private cloud
  • SOC 2 Type 2, GDPR, HIPAA and custom BAAs
Fee on tokens: None on tokens; plans are priced by log volume
View pricing

Common use cases

Teams that want a gateway plus observability and governance tooling in one product.

  • Production apps that need logs, guardrails and routing rules together
  • Teams that want the option to self-host the gateway
  • Cost attribution and budget limits across teams and virtual keys
  • Enterprises that need a private-cloud data plane and compliance paperwork
  • Centralized access control for MCP tool calls

Portkey and Spro

Both are LLM gateways, with different strengths. Here is how they fit.

Where Spro can help

  • Get routing, guardrails, caching and tracing in one hosted gateway with 0% markup on tokens
  • Skip log-volume pricing and per-plan log caps
  • Migrate with a base URL and key change over the OpenAI-compatible API
  • Use workspaces to isolate keys and guardrails per team or environment

Where Portkey is stronger

  • Observability, guardrails and governance alongside the gateway
  • Open-source core gateway with hosted and self-hosted options
  • Wide guardrail coverage with partner integrations
Read the full Spro vs Portkey comparison

Portkey integrations

Tools, SDKs and platforms that Portkey works with.

OpenAI SDKsLangChainLlamaIndexCrewAIAutogenVercel AI SDKPatronusPangeaAWS Bedrock Guardrails

Portkey FAQs

Common questions about Portkey.

0% markup on tokens

See how Spro compares

Spro is an OpenAI-compatible gateway with failover, caching, guardrails and tracing built in, 0% markup on tokens and a free trial, so you can test it with your own traffic before deciding.

  • Failover
  • Caching
  • Guardrails
  • Tracing

Best Portkey alternatives & competitors

Top LLM gateways you can use instead of Portkey.

Compare Portkey

Side-by-side comparisons with other gateways.

Route every AI request through SPRO.

One OpenAI-compatible API for 350+ models, with intelligent routing, 29 built-in guardrails, observability, and automatic failover.

Talk to sales