Agentic Index
LiteLLM vs Portkey (2026)
Both vendors last verified
The two gateways most often compared, doing the same core job. That verdict is the Agentic Index coverage score, graded from each vendor's own published materials.
LiteLLM is the open source standard, with one OpenAI compatible interface to more than a hundred providers with keys, budgets and routing, free to self host, with Enterprise priced through sales. Portkey offers a managed gateway with governance built in, free for development and $49 a month on Production, and its open source gateway also self hosts free. Both offer an MCP gateway, audit logs and SOC 2, so a security review no longer separates them. Portkey, bought by Palo Alto Networks in 2026, now anchors the AI Gateway layer of its Prisma AIRS security platform. LiteLLM is the choice for breadth and control you run yourself. Portkey is the choice for a managed console.
On the Agentic Index agent infrastructure ranking, LiteLLM and Portkey both clear the bar: each documents all five production contract capabilities in full. 33 of the 186 vendors in the lane clear it. See the agent infrastructure ranking
This comparison is published by Agentic Index, an independent agentic AI vendor research platform. LiteLLM and Portkey are each graded against the same 14 capability Agentic Index taxonomy, from the vendor's own public materials under the Agentic Index verification standard, alongside 1,084 researched vendors. No vendor pays for placement and no vendor has reviewed this page. How this evidence is graded
Choose LiteLLM if
- Self hosting is the requirement and an open source gateway you fully control is the point.
- Provider breadth decides it, with more than a hundred providers behind one interface.
- Your team lives in Python and wants the SDK as much as the proxy.
Choose Portkey if
- A hosted gateway at $49 a month beats a self hosted deployment you have to operate.
- You already run Palo Alto Networks' Prisma AIRS and want the gateway inside it.
- Guardrails, RBAC and 30 day log retention in the production plan are what your team will use.
| Feature | L LiteLLM |
P Portkey |
|---|---|---|
| Action & orchestration | ||
|
Integrations & Tool Calling Ability to connect agents to real systems through native integrations, OAuth-authenticated actions, custom tools, APIs, webhooks, or MCP-compatible tools. |
||
|
LiteLLMIntegrations & Tool Calling LiteLLM's MCP Gateway gives agents one fixed endpoint for every registered MCP server, with access controlled per key and team and server authentication for OAuth, OAuth passthrough, on-behalf-of, AWS SigV4 and JWT signer schemes. On the Responses and Chat Completions endpoints the proxy fetches the MCP server's tools and, when configured to, executes the returned tool calls itself. So agents take authenticated action in outside systems through the gateway and do not just hand a suggestion back. Sourcedocs.litellm.ai/docs/mcpread 2026-09-22 |
||
|
PortkeyIntegrations & Tool Calling Agents authenticate once to Portkey's MCP Gateway, which sits between them and MCP servers. For each tool call, the gateway checks that user's access to the server and tool, then injects the upstream credentials (OAuth, API keys or custom headers, with external identity providers such as Okta and Auth0). Servers and individual tools are provisioned per workspace and user. Through the gateway, agents take authenticated action in outside systems. Sourcedocs.portkey.ai/docs/product/mcp-gatewayread 2026-09-22 |
||
|
Workflow Orchestration Ability to sequence, branch, retry, route, and combine deterministic workflow nodes with autonomous agent steps. |
||
|
LiteLLMWorkflow Orchestration With an MCP tool's require_approval set to never, the proxy executes the model's tool calls and feeds the results back into the model before returning the answer, so the gateway runs a multi-step agent loop itself, and the A2A Agent Gateway routes calls to registered agents. There is no stated workflow definition, deterministic node or versioned flow, so sequencing, branching and retries that mix deterministic steps with agent steps are not covered. Sourcedocs.litellm.ai/docs/mcpread 2026-09-22 |
||
|
PortkeyWorkflow Orchestration The Agent Gateway is a proxy between agent clients and the customer's own agent servers. It handles authentication, access control and observability for registered A2A agents, and the agents and their steps run on the customer's servers. Portkey has no workflow definitions and runs no agents of its own, so nothing in it sequences or branches agent steps. Sourcedocs.portkey.ai/docs/product/agent-gatewayread 2026-09-22 |
||
|
Triggers & Channel Coverage How agents wake up and where they work: schedules, webhooks, message events, CRM events, inbox events, chat, email, voice, and collaboration tools. |
||
|
LiteLLMTriggers & Channel Coverage Work reaches agents through LiteLLM when a caller sends a request, and model, MCP and A2A calls are all invoked by the client. There is no stated schedule, event, webhook or inbound queue that starts an agent run, and budget alerts notify people and do not wake an agent. A gateway that only answers callers has no way to wake an agent on its own. Sourcedocs.litellm.ai/docs/a2aread 2026-09-22 |
||
|
PortkeyTriggers & Channel Coverage Work reaches agents through Portkey only when a client sends a request. Model, MCP and A2A calls are all made by the caller, and the Agent Gateway proxies them to the customer's agent servers. Portkey names no schedule, event, webhook or inbound queue that starts an agent run. The gateway waits for callers and does not wake an agent on its own. Sourcedocs.portkey.ai/docs/product/agent-gatewayread 2026-09-22 |
||
| Knowledge & context | ||
|
Knowledge Grounding & RAG Ability to ground agent behavior in company data through document ingestion, retrieval, external knowledge APIs, semantic search, or RAG layers. |
||
|
LiteLLMKnowledge Grounding & RAG The /rag/ingest endpoint is an all in one ingestion pipeline (upload, chunk, embed, write to a vector store) into OpenAI vector stores, Bedrock Knowledge Bases, Vertex AI RAG Engine, Gemini or AWS S3 Vectors, and /rag/query searches the ingested content and generates a response from it. Vector store access is permissioned per team in the gateway. New customer knowledge enters a persistent index without retraining, so the retrieval structure over the customer's knowledge is maintained, persists, scales past the context window and stays queryable. Sourcedocs.litellm.ai/docs/rag_ingestread 2026-09-22 |
||
|
PortkeyKnowledge Grounding & RAG Embedding and file requests route through Portkey to providers, and responses are cached. Portkey maintains no retrieval structure over the customer's documents, and routing embedding calls builds none. Sourceportkey.ai/pricingread 2026-09-22 |
||
|
Memory & State Persistence Ability to persist context across a run, conversation, workflow, user, team, or longer-term memory layer. |
||
|
LiteLLMMemory & State Persistence The proxy's Memory Management API (/v1/memory, LiteLLM v1.83.10 or later with PostgreSQL connected) keeps entries across sessions, scoped per user and team with role-based read and write rules, and supports create, read, update, list by key prefix and delete. Memory lives in the gateway's own Postgres, and one user's entries can be deleted without touching the rest. The application reads entries and places them in the prompt. The scope is stated, but no lifetime is. Sourcedocs.litellm.ai/docs/proxy/memoryread 2026-09-22 |
||
|
PortkeyMemory & State Persistence Features cover routing, caching, observability, guardrails, prompt management and the MCP and agent gateways. None of them is a memory layer that keeps an agent's state or a user's context across sessions. The response cache holds model responses. Sourceportkey.ai/pricingread 2026-09-22 |
||
| Control & trust | ||
|
Human Oversight & Guardrails Approval steps, consent checkpoints, escalation rules, structured guardrails, policy constraints, and pause/resume controls. |
||
|
LiteLLMHuman Oversight & Guardrails Guardrails run before, during or after a call and can be scoped per key and team (PII masking, prompt injection and secret detection, content moderation and third-party guardrail providers), and the MCP Gateway adds per-key and per-team tool permissions and guardrails on tool results. These are constraints the customer controls on what an agent may do. When an MCP tool's require_approval is set to anything other than never, the proxy returns the tool calls to the client so they can be reviewed and executed manually, and that review happens in the customer's own client. LiteLLM itself has no stated surface where a person reviews and approves an agent action before it commits. Sourcedocs.litellm.ai/docs/mcpread 2026-09-22 |
||
|
PortkeyHuman Oversight & Guardrails Inputs and outputs pass through Portkey Guardrails, which act on the verdict automatically by denying the request, flagging it and letting it through, retrying or falling back. The MCP Gateway applies content filters per server, per user tool provisioning and rate limits on tool calls. Org and workspace admins can enforce guardrails, budgets and rate limits, so the customer sets these limits on what an agent may do. Portkey describes no step where a person reviews, approves or must validate an agent action before it commits. Sourcedocs.portkey.ai/docs/product/guardrailsread 2026-09-22 |
||
|
Security, Identity & Governance RBAC, SSO, auditability, encryption, least-privilege tool access, compliance posture, and data handling policy. |
||
|
LiteLLMSecurity, Identity & Governance Access control covers SSO for the Admin UI through Okta, Azure AD, Google Workspace or any OIDC or SAML provider (free for up to five users, an Enterprise license beyond that), SCIM, JWT authentication against the customer's own identity provider, role-based access control across organizations, teams and user roles, IP allowlists, public and private route controls, key rotation and external secret managers. LiteLLM reports SOC 2 Type II, with the current report available through the LiteLLM Trust Center. Audit logs with retention policies add to that access model, identity integration and attestation. Most controls sit in the Enterprise tier. Sourcedocs.litellm.ai/docs/enterpriseread 2026-09-22 |
||
|
PortkeySecurity, Identity & Governance Enterprise plans get SSO through OIDC. Portkey also has fine grained role based access control, encrypted storage of provider keys, TLS 1.2+ in transit and AES-256 at rest. It claims compliance with SOC 2, ISO 27001, GDPR and HIPAA, with regular third party audits and penetration tests, and its Trust Center is at trust.portkey.ai. Enterprise includes SOC 2 Type 2 and custom BAAs. SCIM works with Okta and Microsoft Entra, and Portkey supports audit logs, JWT authentication and API key rotation. Sourcedocs.portkey.ai/docs/product/enterprise-offering/security-portkeyread 2026-09-22 |
||
|
Observability & Auditability Traces, logs, execution histories, metrics, audit events, and debugging detail for production agent behavior. |
||
|
LiteLLMObservability & Auditability The gateway records what each caller's agent did through it, covering request and response content for model and agent calls with user, key and team attribution, latency and cost (shown in the A2A Agent Gateway's Logs tab for invoked agents), and Prometheus metrics in the open source core. Enterprise adds per-key or per-team log routing to Langfuse, LangSmith, Arize and other callbacks, audit logs of admin actions with retention policies kept apart from request logs, and log export to GCS or Azure Blob. Traffic that passes through the gateway can be inspected step by step, with audit logs kept apart from runtime traces. Sourcedocs.litellm.ai/docs/a2aread 2026-09-22 |
||
|
PortkeyObservability & Auditability Every tool call through the MCP Gateway is logged with the user, parameters and response, and the log can be filtered by server, user or time range. Model requests carry logs, traces, feedback, custom metadata, filters and alerts on every plan, with retention set per plan. Enterprise adds audit logs, logs export and OpenTelemetry export. Sourcedocs.portkey.ai/docs/product/mcp-gatewayread 2026-09-22 |
||
|
Deployment & Data Residency Deployment modes and options, including SaaS, dedicated cloud, VPC, on-prem, hybrid, local runtime, and self-hosting. |
||
|
LiteLLMDeployment & Data Residency Deployment is self hosted. Official Docker images, a Helm chart and a Terraform module run on the customer's own Postgres and Redis, with one-click deploy into AWS, GCP or Azure and fully air-gapped installation. Enterprise includes air-gapped deployment and multi-region deployment under one license with an admin and worker split, and the customer's data and keys never leave its own infrastructure. The customer can run it in its own cloud, on premises or fully air gapped. Sourcelitellm.airead 2026-09-22 |
||
|
PortkeyDeployment & Data Residency Enterprise offers private cloud deployment, VPC hosting and data isolation, and the open source gateway can be hosted by the customer. Hybrid deployments run on the customer's AWS (EKS, ECS, Marketplace), GCP and Azure (AKS, ACA), and air gapped deployment is available. A Gateway URLs setting points the dashboard at the customer's own self hosted AI and MCP gateways. Some of these options are Enterprise only. Sourceportkey.ai/pricingread 2026-09-22 |
||
| Solution readiness | ||
|
Prebuilt Agents, Templates & Packs Ready-made workflows, packaged employees, templates, blueprints, industry solutions, and role-specific agents that reduce time-to-value. |
||
|
LiteLLMPrebuilt Agents, Templates & Packs LiteLLM offers no agents of its own for a customer to adopt. The AI Hub on the Enterprise tier lists the models, agents, MCP servers and skills the customer has registered, which is a directory of the customer's own assets, and the Google AI Studio managed agents LiteLLM supports live entirely on Google's side, with LiteLLM as the auth and routing layer. Nothing there is a ready made workflow, template or role specific agent, and a model or tool catalog is integration, not a prebuilt pack. Sourcedocs.litellm.ai/docs/enterpriseread 2026-09-22 |
||
|
PortkeyPrebuilt Agents, Templates & Packs No ready made agents, workflows, templates or role specific agents ship with Portkey. The Prompt Library holds the customer's own templates, and the Skills Registry shares skills the team writes. The prebuilt assets are guardrail checks and partner guardrail integrations, which constrain what agents do. Sourcedocs.portkey.ai/docs/product/guardrailsread 2026-09-22 |
||
| Platform extensibility | ||
|
Model Flexibility & Routing Ability to work across multiple foundation models, route tasks to different models, or let buyers bring their own providers and keys. |
||
|
LiteLLMModel Flexibility & Routing The customer chooses the model. One OpenAI-compatible API reaches 140+ providers and 1,800+ models, with models set in the customer's own configuration and swapped without changing application code, the customer's internal, fine-tuned and self-hosted models behind the same key, load balancing across providers, regions and keys, lowest-cost routing, and an Auto Router that sends prompts to model tiers the customer configures. Sourcelitellm.airead 2026-09-22 |
||
|
PortkeyModel Flexibility & Routing Model choice sits with the customer. Portkey's Universal API puts many model providers behind one interface. Routing configs the customer writes set providers, model overrides, fallbacks, load balancing weights, retries, conditional routing and circuit breakers. Private model deployments on AWS, GCP and Azure are supported too. Sourceportkey.ai/pricingread 2026-09-22 |
||
|
APIs, SDKs & MCP Extensibility Composability layer: stable APIs, SDKs, MCP tool consumption/serving, custom tools, and integration into internal systems. |
||
|
LiteLLMAPIs, SDKs & MCP Extensibility A Python SDK and a proxy with an OpenAI compatible REST API ship with LiteLLM, and the gateway's own features are callable from outside. The A2A Agent Gateway serves a proxied agent card for each registered agent, pinned to A2A 0.3 or 1.0, and agents are invoked through the A2A SDK or the OpenAI SDK. Memory Management and ingestion have their own REST endpoints (/v1/memory, /v1/rag/ingest) with curl and Python examples. Sourcedocs.litellm.ai/docs/a2aread 2026-09-22 |
||
|
PortkeyAPIs, SDKs & MCP Extensibility Developers get Portkey's own API and SDKs. The same feedback call works through the Node and Python SDKs and the REST API, and Portkey publishes an OpenAPI specification. Prompts are served through a Prompt API, and the Agent Gateway acts as a server to downstream agent clients for registered A2A agents. Sourcedocs.portkey.ai/docs/product/observability/feedbackread 2026-09-22 |
||
|
Testing, Debugging & Optimization Testing, debugging, scoring, retries, fallbacks, quality gates, and optimization loops for improving agent workflows before and after deployment. |
||
|
LiteLLMTesting, Debugging & Optimization Shadow evaluations sample a key's, team's or user's live traffic, send each sampled request through a candidate router configuration without returning that answer to the client, and have an LLM judge compare it blind against the answer the current model served. A job runs up to 30 days and can compare several configurations on the same traffic before anything changes, and after a switch each request carries its routing decision and savings. A change is evaluated against the customer's own traffic, with a judge verdict. Sourcedocs.litellm.ai/docs/auto_router/evaluateread 2026-09-22 |
||
|
PortkeyTesting, Debugging & Optimization Canary testing sends a set share of production traffic to a new model or prompt through a routing config, on every plan. Each request carries guardrail verdicts (pass or fail per check, counted in the log drawer) and weighted feedback scores sent through the Feedback API, which can be analyzed by metadata. Guardrails can deny, retry or fall back on a failed check. Together these let a team compare a change against current traffic. Sourcedocs.portkey.ai/docs/product/ai-gateway/canary-testingread 2026-09-22 |
||
| Specialist automation | ||
|
Browser & Computer Use Browser, desktop, or remote/local computer control for workflows that cannot be handled through stable APIs alone. |
||
|
LiteLLMBrowser & Computer Use The product is a gateway for models, MCP servers and agents, and there is no stated browser, desktop or remote computer session that LiteLLM runs for an agent. The sandboxes in the Managed Agents Platform announcement, and the swap of OpenAI's Code Interpreter for E2B or OpenSandbox, are code execution, not control of a real interface that an agent drives itself. Sourcelitellm.airead 2026-09-22 |
||
|
PortkeyBrowser & Computer Use The gateway routes model calls, including provider computer use tools, whose actions the customer's own code carries out. Portkey describes no browser, desktop or remote computer session that it runs for an agent, and it wires in no headless fetch or third party browser engine. Sourceportkey.ai/pricingread 2026-09-22 |
||
Pricing snapshot
Sourced from the Index pricing dataset · open each vendor's profile for full detail.
| Pricing | L LiteLLM |
P Portkey |
|---|---|---|
|
Entry price Lowest public entry point |
Open source free to self-host; Enterprise annual, quoted by sales | Free Developer plan · Production $49/mo · open source gateway free to self-host |
|
Pricing confidence How public the numbers are |
Public, partial | Public, exact |
|
Billing Primary billing axis |
license and self hosted infrastructure | usage |
|
Variable cost Workload / overage exposure |
High variable cost | Medium variable cost |
|
Free tier / trial Try before you buy |
Free tierTrial
|
Free tier
|
|
Buying motion Self-serve vs sales call |
Mixed | Mixed |
|
Pricing verified When this pricing was last checked |
Product updates
Newest first, each linked to its source.
LiteLLM
-
· Agent capability
LiteLLM open sourced Moyai, the cloud coding agent its own team runs, under the MIT license.
Source -
· Observability / auditability
Lens, new from LiteLLM, uses AI agents to review the traces passing through the LiteLLM gateway, group recurring failures and link each finding to the exact step where it happened.
Source -
· MCP / tool calling / API
LiteLLM launched the public preview of LiteAgents, an SDK that supports Deep Agents, Pydantic AI, Claude Agent SDK, Codex and OpenCode through a common query interface.
Source
Portkey was acquired by Palo Alto Networks in May 2026 and now anchors the AI Gateway layer of the Prisma AIRS security platform. Buyers outside the Palo Alto Networks ecosystem should weigh roadmap priorities accordingly.
More comparisons with LiteLLM or Portkey
Other matchups in agent infrastructure platforms
Not the pairing you were after? These compare a different set of agent infrastructure platforms on the same 14 capabilities.