Comparison
hnswlib vs lancedb vs nmslib vs usearch
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
hnswlib
Low maintenance activity. Last release over 2 years ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install hnswlibEmbedded database for vector, full-text and hybrid search on Lance tables
Actively maintained. Last release 1 day ago, commits in 26 of the last 26 weeks. A safe choice.
pip install lancedbNon-Metric Space Library (NMSLIB)
Low maintenance activity. Last release 13 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install nmslibSmaller & Faster Single-File Vector Search Engine from Unum
Actively maintained. Last release 5 weeks ago, commits in 18 of the last 26 weeks. A safe choice.
pip install usearchIn short
- lancedb is the most used: 6.1M downloads a month, 6.7× more than usearch.
- Maintenance is comparable: lancedb 89, usearch 85, nmslib 26, hnswlib 22 on Pythie’s Index.
- usearch is growing fastest: downloads +21% over the last month.
- Safe default for a new project: lancedb.
Side by side
| Metric | hnswlib | lancedb | nmslib | usearch |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 22 | Pythie’s Index: 89 | Pythie’s Index: 26 | Pythie’s Index: 85 |
| Verdict | Low maintenance activity | Actively maintained | Low maintenance activity | Actively maintained |
| Downloads / month | 676.1K | 6.1M | 121.3K | 907.9K |
| Downloads, month over month | -2% | -21% | -8% | +21% |
| GitHub stars | 5.4K | 12K | 3.6K | 4.4K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 133 | 363 | 24 | 58 |
| Last release | Dec 3, 2023 | Nov 30, 2026 | Oct 23, 2025 | Oct 25, 2026 |
| Releases, 12 months | 0 | 21 | 0 | 12 |
| Weeks with commits | 1 / 26 | 26 / 26 | 0 / 26 | 18 / 26 |
| Recent contributors | 20 | 52 | 8 | 12 |
| First release | Aug 2019 | Oct 2024 | Jun 2017 | May 2023 |
| Python versions | – | 3.11 – 3.13 | – | – |
| License | Apache-2.0 | non-standard | Apache-2.0 | 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.