Faiss
Meta's library for vector similarity search and clustering.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkWhat it is
Faiss is a C++ library with complete Python wrappers for searching and clustering dense vectors, developed mainly by Meta's FAIR research team. It offers index types such as inverted files, product quantization and HNSW, and runs some of its algorithms on the GPU. It is a library you call from your own code, not a database server, so storing documents, updating the index and serving queries are up to you.
Best for
Developers who want vector search inside their own process, without a database server.
Skills it helps with
Related tools
Chroma
Open-source embedding database that is quick to start locally, plus a hosted cloud.
pgvector
Postgres extension for vector similarity search with HNSW and IVFFlat indexes.
Sentence Transformers
Python library for embedding and reranker models.
LanceDB
Embedded, open-source vector and multimodal database on the Lance columnar format.
Milvus
Open-source vector database built for large collections, from the team at Zilliz.
Pinecone
Fully managed vector database with serverless indexes and built-in embedding models.