Comparison
any-llm-sdk vs litellm vs openrouter vs portkey-ai
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Actively maintained. Last release 2 days ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install any-llm-sdkLibrary to easily interface with LLM API providers
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install litellmOfficial Python Client SDK for OpenRouter.
Actively maintained. Last release today, commits in 26 of the last 26 weeks. A safe choice.
$
pip install openrouterPython client library for the Portkey API
Actively maintained. Last release 4 months ago, commits in 6 of the last 26 weeks. A safe choice.
$
pip install portkey-aiIn short
- litellm is the most used: 110.4M downloads a month, 23× more than portkey-ai.
- Maintenance is comparable: any-llm-sdk 92, litellm 89, openrouter 80, portkey-ai 73 on Pythie’s Index.
- portkey-ai is growing fastest: downloads +23% over the last month.
- openrouter is the newcomer: first released Nov 2025.
- Safe default for a new project: litellm.
Side by side
| Metric | any-llm-sdk | litellm | openrouter | portkey-ai |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 92 | 89 |