Pyyan / Compare / OpenRouter vs LiteLLM vs Portkey vs Cloudflare AI Gateway

OpenRouter vs LiteLLM vs Portkey vs Cloudflare AI Gateway

4 of 5

Routers & Gateways · verified 13 Aug 2026

×OpenRouterOpenRoutercurrent
×BLiteLLMBerriAIcurrent
×PortkeyPortkeycurrent
×Cloudflare AI GatewayCloudflarecurrent
1 slot left
SpecificationOpenRouterLiteLLMPortkeyCloudflare AI Gateway
SummaryBiggest catalogue, simplest start.The self-hosted standard.Routing plus guardrails and compliance.Edge gateway with free core features.
Added latency40–55msSelf-hosted8–20msEdge
HostingManagedSelfBothManaged
CachingRedisSemantic
CategoryRouters & GatewaysRouters & GatewaysRouters & GatewaysRouters & Gateways
OfficialOpenRouterBerriAIPortkeyCloudflare

Highlighted rows are where these differ.

OpenRouter

  • Consolidated billing across every provider
  • 40–55ms overhead — 5× the alternatives

Best for prototyping.

Full spec sheet →

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 →