📖 The AI Tool Bible

Portkey

Production LLM gateway with observability, guardrails, and prompt management for teams shipping AI in anger.

Freemium· Free tier; Production ~$59/mo; Enterprise customAgentsMulti-model
Visit website →
Best for

Pick Portkey if you're running LLMs in production across multiple providers and need one place for observability, cost control, and guardrails without writing it yourself.

Skip if

Skip it if you're a solo developer shipping a hobby project against a single model — the abstraction is overkill and the raw provider SDK is simpler.

Portkey is an AI gateway and control plane that sits between your application and 1,600+ LLMs, giving you a single API, plus the observability, governance, and reliability layers you'd otherwise have to build yourself. Drop-in compatible with the OpenAI SDK (Node and Python), it adds intelligent caching, automatic retries and fallbacks, semantic routing, cost tracking, prompt versioning, and PII guardrails over whatever model you point it at.

It's aimed at teams who've outgrown raw provider SDKs and need real production hygiene: per-team budgets, RBAC, audit logs, SSO, and an MCP gateway for governing tool servers. Pricing is freemium with a paid Production tier around $59/month and enterprise plans for on-prem and hybrid deployments. The platform was acquired by Palo Alto Networks in 2026, which signals an even heavier enterprise/security posture going forward.

The core gateway is open-source on GitHub (10K+ stars) and self-hostable, with hosted SaaS and enterprise options layered on top. Integrations span OpenAI, Anthropic, Bedrock, Vertex, Azure, plus orchestration frameworks like LangChain, LlamaIndex, and CrewAI.

Editor's take

Portkey is one of the more mature LLM gateways in the market, and the Palo Alto Networks acquisition makes it a safer enterprise bet than scrappier competitors. The open-source core is a real differentiator versus closed observability vendors. If you've ever spent a sprint reinventing fallbacks and cost dashboards, this is the buy-not-build call.

— The AI Tool Bible editorial team

Pros

  • Unified API for 1,600+ models with OpenAI-SDK drop-in compatibility
  • Real observability: traces, costs, latency, errors per request
  • Built-in guardrails, fallbacks, retries, and semantic caching
  • Open-source core gateway, self-hostable for data-sensitive teams
  • Enterprise features (SSO, RBAC, budgets, MCP gateway) out of the box

Cons

  • ⚠️ Adds a hop in the request path; latency-sensitive workloads need tuning
  • ⚠️ Pricing tiers beyond the headline number are vague until you talk to sales
  • ⚠️ Some advanced governance features gated behind enterprise plans

Use cases

llm-gatewayobservabilityprompt-managementguardrailscost-controlmcp-governance

Explore related

Compare with similar tools

All in Agents