Pyyan / Compare / Portkey vs LiteLLM vs Cloudflare AI Gateway

Portkey vs LiteLLM vs Cloudflare AI Gateway

3 of 5

Routers & Gateways · verified 13 Aug 2026

×PortkeyPortkeycurrent
×BLiteLLMBerriAIcurrent
×Cloudflare AI GatewayCloudflarecurrent
2 slots left
SpecificationPortkeyLiteLLMCloudflare AI Gateway
SummaryRouting plus guardrails and compliance.The self-hosted standard.Edge gateway with free core features.
Added latency8–20msSelf-hostedEdge
HostingBothSelfManaged
CachingSemanticRedis
CategoryRouters & GatewaysRouters & GatewaysRouters & Gateways
OfficialPortkeyBerriAICloudflare

Highlighted rows are where these differ.

Portkey

  • Best caching implementation
  • Prompt management and audit trail

Best for regulated teams.

Full spec sheet →

LiteLLM

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

Best for production.

Full spec sheet →

Cloudflare AI Gateway

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

Best for Cloudflare stacks.

Full spec sheet →