Comparison
cog vs litserve vs mlserver vs truss
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Containers for machine learning
Actively maintained. Last release 6 weeks ago, commits in 15 of the last 26 weeks. A safe choice.
$
pip install cogLightweight AI server.
Maintained. Last release 3 months ago, commits in 9 of the last 26 weeks. Weaker on issue handling.
$
pip install litserveMLServer
Maintained. Last release 12 months ago. Weaker on release cadence.
$
pip install mlserverA seamless bridge from model development to model delivery
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install trussIn short
- cog is the most used: 1.1M downloads a month, 2.9× more than truss.
- Maintenance is comparable: cog 90, truss 90, litserve 68, mlserver 54 on Pythie’s Index.
- litserve is growing fastest: downloads +56% over the last month.
- Safe default for a new project: cog.
Side by side
| Metric | cog | litserve | mlserver | truss |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 90 | Pythie’s Index: 68 | Pythie’s Index: 54 | Pythie’s Index: 90 |
| Verdict | Actively maintained | Maintained | Maintained | Actively maintained |
| Downloads / month | 1.1M | 76.7K | 160.4K | 374.7K |
| Downloads, month over month | -5% | +56% | +5% | +10% |
| GitHub stars | 9.5K | 4K | – | 1.2K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2 | 13 | 0 | 0 |
| Last release | Oct 20, 2026 | Sep 9, 2026 | Dec 16, 2025 | Dec 1, 2026 |
| Releases, 12 months | 29 | 3 | 1 | 299 |
| Weeks with commits | 15 / 26 | 9 / 26 | – | 26 / 26 |
| Recent contributors | 11 | 19 | – | 28 |
| First release | Jun 2021 | Apr 2024 | Dec 2020 | Jul 2022 |
| Python versions | 3.10 – 3.13 | 3.10 – 3.12 | 3.9 – 3.12 | 3.9 – 3.14 |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.