LiteLLM vs Portkey

Compare LiteLLM, Portkey on routing, caching, guardrails, observability, hosting and pricing.

Overview

Best for

Platform teams that want to self-host a gateway and keep full control of the infrastructure.

Best for

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

Summary

LiteLLM is an open-source SDK and proxy server that calls many LLM providers in the OpenAI format. You run the proxy yourself and manage keys, budgets, routing and logging for your teams.

Summary

Portkey is an AI gateway that unifies access to many LLM providers and adds observability, guardrails, caching and prompt management. Its core gateway is open source.

Category
Open-source proxy
Category
Hosted gateway
At a glance
Open source (MIT) · 100+ providers · Self-hosted
At a glance
Gateway is MIT-licensed · San Francisco, CA · Hosted or self-hosted
Hosting
Self-hosted
Hosting
Hosted or self-hosted
Website
Website

Pricing

Starting price
Free (open source) · Enterprise on request
Starting price
Free · Production from $49/month
Pricing model
Free open source · paid Enterprise license
Pricing model
Free tier · log-volume plans
Fee on tokens
None on the open-source proxy
Fee on tokens
None on tokens; plans are priced by log volume
Free plan
Free plan
Free trial
Free trial
—
Plans
  • Open source · $0 (Free forever · self-hosted)
  • Enterprise · On request (Priced by deployment size)
Plans
  • Developer · $0 (Free forever · not for production)
  • Production · $49 (Per month)
  • Enterprise · Custom (Talk to sales)
Pricing page
Pricing page

Capabilities

OpenAI-compatible API
OpenAI-compatible API
Automatic fallbacks
Automatic fallbacks
Load balancing across providers
Load balancing across providers
Response caching
Response caching
Content guardrails
Content guardrails
Request logs & analytics
Request logs & analytics
Bring your own provider keys
Bring your own provider keys
Zero data retention option
—
Zero data retention option
—
Self-hostable
Self-hostable
Open source
Open source
Free tier
Free tier

Frequently asked questions

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