#66th of 34 in Vector databases
faiss
C++ library for similarity search and clustering of dense vectors
Run it:Vast.ai ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
Watch puts faiss on your watch list: its new releases and known problems since your last visit. Kept in this browser, no account.faiss is on your watch list. Its new releases and problems show there.
- Stars
- 42k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Nov 2026
- Language
- C++
39,217 on 24 Mar 202641,964 on 24 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
- Faiss: A library for efficient similarity search (opens in a new tab) (263 points, Mar 2023)
- Faiss: Facebook's open source vector search library (opens in a new tab) (175 points, Dec 2021)
Overview
Faiss is a C++ library with Python/numpy wrappers for nearest-neighbor search over dense vectors using L2 distance, dot product or cosine. It offers exact search, HNSW and NSG graph indexes, and compressed indexes that scale to billions of vectors in memory. Some indexes also run on GPU via CUDA or AMD ROCm, with optional NVIDIA cuVS backends.
Who it is for: Engineers embedding vector search in their own C++ or Python applications
Ranked among open-source alternatives to Pinecone (#6 of 10).
Strengths
- Many index types trading off speed, accuracy, memory per vector and training time
- Compressed and binary indexes handle sets that do not fit in RAM uncompressed
- GPU indexes (CUDA, ROCm) replace CPU ones, single or multi-GPU
- Only hard dependency is a BLAS implementation; MIT licensed
Weaknesses
- Library only: no server, REST API, auth or built-in persistence service
- Vectors are identified by integers; metadata filtering must be built separately
- Choosing and tuning an index type requires understanding the trade-offs
- Builds with cmake; prebuilt packages are listed for Anaconda only
What it needs
- GPU optional
- Needs BLAS, CUDA or ROCm (optional), NVIDIA cuVS (optional)
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe. Releases and problems by RSS
Also in Vector databases
See all 34| Rank | Project | Score |
|---|---|---|
| #4 | leannVector index that recomputes embeddings on demand instead of storing them | 84 out of 100 |
| #5 | HelixDBGraph database with built-in vector and BM25 search, written in Rust | 83 out of 100 |
| #7 | lancedbEmbedded vector database for multimodal data on the Lance format | 82 out of 100 |
| #8 | WeaviateGo vector database with built-in vectorizers, hybrid search and RAG | 80 out of 100 |
| #9 | lance-format/lanceColumnar table format for multimodal AI data with vector and full-text search | 79 out of 100 |