Skip to content
aicoolies logo
Portkey logo

Portkey

AI gateway with observability, routing, and guardrails

Portkey is an AI gateway and observability platform providing a unified API for 200+ LLM providers with intelligent routing, caching, rate limiting, and guardrails. Route requests across OpenAI, Anthropic, Google, and more with automatic failover, load balancing, and cost optimization. Features request logging, prompt management, evaluation tools, and real-time monitoring. The open-source gateway can be self-hosted; Portkey Cloud adds managed observability and team features.

About Portkey

Portkey provides a unified API gateway sitting between applications and LLM providers. Route requests across 200+ models from OpenAI, Anthropic, Google, Azure, and others with a single API call.

Intelligent routing enables automatic failover when providers are down, load balancing across models, and cost-based routing that selects the cheapest capable model. Response caching reduces costs and latency for repeated queries.

Guardrails filter inputs and outputs for PII, toxicity, and custom rules. Request logging captures full request/response data for debugging. Prompt management and evaluation tools support iterative improvement.

The open-source gateway can be self-hosted for data sovereignty. Portkey Cloud adds managed observability, team collaboration, and enterprise features.

Pricing & Platform Specs

Pricing Summary

Open-source AI gateway & observability control plane for 250+ LLMs (Apache-2.0, $0 self-host). Portkey Cloud offers Developer plan ($0/mo with 10k logs/mo), Production plan ($49/mo with 100k logs included + $9 per 100k overage for semantic cache & advanced alerts), and Enterprise plan with VPC deployment, 10M+ logs, custom SLAs, SOC 2 Type II, and HIPAA compliance.

full pricing breakdown →

Supported Platforms

API Gateway, Python SDK, JS SDK, Self-hosted

Explore categories, tags & use cases

CLI token usage tracker for AI coding agents

Tokscale is a CLI tool that tracks token usage and costs across AI coding agents including Claude Code, Codex, OpenCode, Gemini CLI, Cursor, and more. Built with a native Rust core for high-performance processing, it provides detailed breakdowns of input, output, cache, and reasoning tokens with real-time pricing calculations via LiteLLM data. Features include interactive 2D/3D contribution graphs, web visualization dashboards, global leaderboards, and JSON export for cost analysis.

freeOpen Source

ML experiment tracking and model monitoring

Weights & Biases is an AI developer platform for experiment tracking, artifact and model lineage, model monitoring, and Weave-based LLM evaluation. It helps teams log runs, compare metrics, manage datasets and model artifacts, and collaborate through dashboards, reports, alerts, SSO/RBAC controls, and hosted or self-managed deployment options.

freemium

Side-by-Side Comparisons

Langfuse logo
Langfuse
vs
Portkey logo
Portkey

Langfuse vs Portkey — Open-Source LLM Observability vs AI Gateway and Routing Platform

Langfuse and Portkey address different layers of LLM operations. Langfuse is an open-source observability platform for tracing, evaluation, and prompt management of LLM applications. Portkey is an AI gateway that routes requests across 200+ providers with caching, fallbacks, load balancing, and cost tracking, adding monitoring on top of its core routing functionality.

LangfusePortkey

Community experience

Sources & verification

Sources checked
Content verified

Verification dates are editorial checks. Routine CMS saves and automatic updatedAt timestamps do not advance them.

FAQ

What is Portkey?

Portkey is an AI gateway and observability platform providing a unified API for 200+ LLM providers with intelligent routing, caching, rate limiting, and guardrails. Route requests across OpenAI, Anthropic, Google, and more with automatic failover, load balancing, and cost optimization. Features request logging, prompt management, evaluation tools, and real-time monitoring. The open-source gateway can be self-hosted; Portkey Cloud adds managed observability and team features.

Is Portkey free?

Portkey offers a free tier alongside paid plans. Open-source AI gateway & observability control plane for 250+ LLMs (Apache-2.0, $0 self-host). Portkey Cloud offers Developer plan ($0/mo with 10k logs/mo), Production plan ($49/mo with 100k logs included + $9 per 100k overage for semantic cache & advanced alerts), and Enterprise plan with VPC deployment, 10M+ logs, custom SLAs, SOC 2 Type II, and HIPAA compliance.

Is Portkey open source?

Yes — Portkey is open source.

Is Portkey still maintained?

Yes — Portkey is active. Its listing was last verified on September 6, 2026.

What are the best Portkey alternatives?

The first editor-selected Portkey alternatives are Tokscale, Weights & Biases.

How does Portkey score in our review?

The published editorial review lists Portkey at 85/100 overall across speed, privacy, and developer experience. Check the review's evidence status and test metadata for its verification level.