Comparison
kosong vs litellm vs llm vs llmx
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The LLM abstraction layer for modern AI agent applications.
Actively maintained. Last release 4 months ago. A safe choice.
pip install kosongLibrary to easily interface with LLM API providers
Actively maintained. Last release 3 days ago, 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 19 of the last 26 weeks. A safe choice.
pip install llmLLMX: A library for LLM Text Generation
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install llmxIn short
- llmx is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- litellm is the most used: 106.7M downloads a month, 162× more than llm.
- Maintenance is comparable: litellm 89, llm 88, kosong 77 on Pythie’s Index.
- llm is growing fastest: downloads +17% over the last month.
- kosong is the newcomer: first released Oct 2025.
- Safe default for a new project: litellm.