Comparison
annoy vs faiss-cpu vs lancedb 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 annoyA 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-cpuEmbedded database for vector, full-text and hybrid search on Lance tables
Actively maintained. Last release 2 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install lancedbLightweight 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, 2.1× more than lancedb.
- Maintenance is comparable: lancedb 89, faiss-cpu 85, milvus-lite 83 on Pythie’s Index.
- Safe default for a new project: faiss-cpu.
Side by side
| Metric | annoy | faiss-cpu | lancedb | milvus-lite |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 19 | Pythie’s Index: 85 | Pythie’s Index: 89 | Pythie’s Index: 83 |
| Verdict | Slowing down | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 1M | 13.2M | 6.1M | 880.2K |
| Downloads, month over month | +5% | +7% | -19% | -3% |
| GitHub stars | 14.3K | 42K | 12K | 466 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 123 | 1.1K | 363 | 15 |
| Last release | Jun 14, 2023 | Nov 10, 2026 | Nov 30, 2026 | Oct 13, 2026 |
| Releases, 12 months | 0 | 7 | 21 | 7 |
| Weeks with commits | 0 / 26 | 26 / 26 | 26 / 26 | 10 / 26 |
| Recent contributors | 21 | 37 | 50 | 16 |
| First release | Mar 2014 | Jul 2019 | Oct 2024 | May 2024 |
| Python versions | 3.3 – 3.9 | 3.10 – 3.14 | 3.11 – 3.13 | 3.10 – 3.13 |
| License | Apache-2.0 | MIT | non-standard | Apache-2.0 |
| 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.