Pyyan / Compare / LiteLLM vs Portkey vs Cloudflare AI Gateway

LiteLLM vs Portkey vs Cloudflare AI Gateway

3 of 5

Routers & Gateways · verified 13 Aug 2026

×BLiteLLMBerriAIcurrent
×PortkeyPortkeycurrent
×Cloudflare AI GatewayCloudflarecurrent
2 slots left
SpecificationLiteLLMPortkeyCloudflare AI Gateway
SummaryThe self-hosted standard.Routing plus guardrails and compliance.Edge gateway with free core features.
Added latencySelf-hosted8–20msEdge
HostingSelfBothManaged
CachingRedisSemantic
CategoryRouters & GatewaysRouters & GatewaysRouters & Gateways
OfficialBerriAIPortkeyCloudflare

Highlighted rows are where these differ.

LiteLLM

  • Budget controls and Redis caching
  • Zero marginal cost, you run it

Best for production.

Full spec sheet →

Portkey

  • Best caching implementation
  • Prompt management and audit trail

Best for regulated teams.

Full spec sheet →

Cloudflare AI Gateway

  • Analytics and rate limiting free
  • BYOK, dynamic routing, DLP

Best for Cloudflare stacks.

Full spec sheet →