FAISS
Meta's C++/Python library for efficient similarity search and clustering of dense vectors, on CPU and GPU.
FAISS provides many index structures — flat, IVF, HNSW, product quantisation — that trade accuracy, speed and memory for nearest-neighbour search. It is a library rather than a database: you manage persistence, metadata and serving yourself. Many vector databases and research projects build on its algorithms.
- Type
- Library
- Category
- AI & ML
- Maintainer
- Meta (FAIR)
- First released
- 2017
- License
- Open source (MIT)
- Pricing
- Open source
- Level
- Advanced
- Technologies
- cpp, python, cuda, vector-search
- GitHub stars
- 42,049
- Weekly downloads
- 3,393,258 (pypi)
- Latest release
- [object Object]
- Last verified
- 26 Nov 2026
What FAISS is used for
- In-process vector search
- Research on ANN methods
- Deduplication of embeddings
Strengths
- Very fast, especially on GPU
- Many index options
Limitations
- No built-in persistence layer or metadata filtering like a database
FAISS alternatives
How it relates to other tools
- FAISS works with Sentence Transformers
- FAISS works with LangChain