Ad
 
Learn More

LiteLLM vs Portkey AI Gateway

Learn how LiteLLM and Portkey AI Gateway differ in their key features, development activity, technology stack and community adoption, so you can decide which of these ai gateways is best for you.

vs
Favicon of LiteLLM

LiteLLM

AI
Acts as a unified proxy across 100+ LLMs, normalizing them to the OpenAI format while handling virtual keys, budgets, rate limits, fallbacks, and cost tracking.
56,848stars+2,599(+4.8%)

Last 30 days

  • Last commit


    6 hours ago
  • Repository age


    3 years
  • Version


    v1.97.0
  • Self-hosted


    Yes
  • Repository


    berriai/litellm
Sponsor LiteLLM onbuy.stripe.com
Screenshot of LiteLLM
Favicon of Portkey AI Gateway

Portkey AI Gateway

AI
Comprehensive AI platform with gateway, observability, guardrails, and prompt management. Access 1,600+ LLMs via unified API with enterprise-grade security.
12,777stars+284(+2.3%)

Last 30 days

Screenshot of Portkey AI Gateway

Detailed Comparison

LiteLLM appears to have several advantages over Portkey AI Gateway, particularly in popularity, growth, activity and features. Consider your specific needs regarding popularity, growth, activity, technology, maturity, licensing and features when making your decision.

LiteLLM wins
Community & Popularity

LiteLLM significantly outpaces Portkey AI Gateway in community adoption with 56,848 stars compared to 12,777 stars on GitHub. This 4.4x difference suggests LiteLLM has a much larger and more active community. In terms of developer contributions, LiteLLM has 10,758 forks, indicating strong developer engagement.

LiteLLM wins
Growth Momentum

LiteLLM is growing faster, adding 2,599 stars in the last 30 days (+4.8%) against adding 284 stars for Portkey AI Gateway (+2.3%). LiteLLM is both larger and pulling further ahead.

LiteLLM wins
Development Activity

LiteLLM shows more recent development activity with its last commit 6 hours ago, while Portkey AI Gateway was last updated 3 months ago. This suggests LiteLLM is being more actively maintained.

Comparable
Technology Stack

Both tools share common technology foundations, being built with JavaScript, CSS, Typescript, JSX, Next.js. However, they differ in their additional technology choices: LiteLLM uses Bash, Python.

Comparable
Project Maturity

Both projects started around the same time, with LiteLLM beginning 3 years ago and Portkey AI Gateway 3 years ago.

Portkey AI Gateway wins
Licensing

Portkey AI Gateway is licensed under MIT, while LiteLLM's license terms are not publicly specified.

Comparable
Use Cases & Features

Both tools serve similar use cases in AI Gateways.

LiteLLM wins
Hosting & Deployment

LiteLLM provides self-hosting options for complete data control and customization, while Portkey AI Gateway may be primarily cloud-based or require different deployment approaches.