Comparison
litellm vs llm vs model-library vs portkey-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Library to easily interface with LLM API providers
Actively maintained. Last release today, commits in 26 of the last 26 weeks. A safe choice.
pip install litellmCLI utility and Python library for interacting with Large Language Models from organizations like OpenAI, Anthropic and Gemini plus local models installed on your own machine.
Actively maintained. Last release 2 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
pip install llmModel Library for vals.ai
Actively maintained. Last release 12 days ago, commits in 13 of the last 26 weeks. A safe choice.
pip install model-libraryPython client library for the Portkey API
Actively maintained. Last release 4 months ago, commits in 5 of the last 26 weeks. A safe choice.
pip install portkey-aiIn short
- litellm is the most used: 108.6M downloads a month, 23× more than portkey-ai.
- Maintenance is comparable: model-library 92, litellm 89, llm 87, portkey-ai 71 on Pythie’s Index.
- portkey-ai is growing fastest: downloads +25% over the last month.
- model-library is the newcomer: first released Nov 2025.
- Safe default for a new project: litellm.
Side by side
| Metric | litellm | llm | model-library | portkey-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | 87 |