Comparison
annoy vs chromadb vs faiss-cpu vs milvus-lite
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk.
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install annoyChroma.
Actively maintained. Last release 7 months ago, commits in 23 of the last 26 weeks. A safe choice.
pip install chromadbA library for efficient similarity search and clustering of dense vectors.
Actively maintained. Last release 3 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install faiss-cpuLightweight version of Milvus for local development and testing
Actively maintained. Last release 7 weeks ago, commits in 10 of the last 26 weeks. A safe choice.
pip install milvus-liteIn short
- annoy is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- faiss-cpu is the most used: 13.2M downloads a month, 1.7× more than chromadb.
- Maintenance is comparable: faiss-cpu 85, milvus-lite 83, chromadb 73 on Pythie’s Index.
- Safe default for a new project: faiss-cpu.
Side by side
| Metric | annoy | chromadb | faiss-cpu | milvus-lite |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 73 | Pythie’s Index: 85 | Pythie’s Index: 83 |
| Verdict | Slowing down | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 1M | 7.9M | 13.2M | 880.2K |
| Downloads, month over month | +5% | -3% | +7% | -3% |
| GitHub stars | 14.3K | 29.8K | 42K | 466 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 123 | 1.3K | 1.1K | 15 |
| Last release | Jun 14, 2023 | May 5, 2026 | Nov 10, 2026 | Oct 13, 2026 |
| Releases, 12 months | 0 | 13 | 7 | 7 |
| Weeks with commits | 0 / 26 | 23 / 26 | 26 / 26 | 10 / 26 |
| Recent contributors | 21 | 10 | 37 | 16 |
| First release | Mar 2014 | Feb 2023 | Jul 2019 | May 2024 |
| Python versions | 3.3 – 3.9 | – | 3.10 – 3.14 | 3.10 – 3.13 |
| License | Apache-2.0 | non-standard | MIT | Apache-2.0 |
| Known vulnerabilities | None | 8 | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.