#44th of 9 in Vector databases

faiss

C++ library for similarity search and clustering of dense vectors

Stars
41.2k
License
MIT
Last commit
Oct 2026
Last release
Sep 2026
Language
C++
Stars, last 29 weeks+1,916
25 Mar 2026: 39,237 stars1 Apr 2026: 39,318 stars8 Apr 2026: 39,414 stars15 Apr 2026: 39,511 stars22 Apr 2026: 39,592 stars29 Apr 2026: 39,676 stars6 May 2026: 39,751 stars13 May 2026: 39,844 stars20 May 2026: 39,903 stars27 May 2026: 39,977 stars3 Jun 2026: 40,050 stars10 Jun 2026: 40,121 stars17 Jun 2026: 40,192 stars24 Jun 2026: 40,262 stars1 Jul 2026: 40,322 stars8 Jul 2026: 40,367 stars15 Jul 2026: 40,420 stars22 Jul 2026: 40,482 stars29 Jul 2026: 40,534 stars5 Aug 2026: 40,603 stars12 Aug 2026: 40,669 stars19 Aug 2026: 40,719 stars26 Aug 2026: 40,767 stars2 Sept 2026: 40,814 stars9 Sept 2026: 40,856 stars16 Sept 2026: 40,899 stars23 Sept 2026: 40,954 stars30 Sept 2026: 40,994 stars7 Oct 2026: 41,103 stars14 Oct 2026: 41,153 stars

39,237 on 25 Mar 202641,153 on 14 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

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

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)

Head to head

Also in Vector databases

See all 9
Also in Vector databases
RankProjectScore
1MilvusDistributed vector database with dense, sparse and hybrid search at scale Live demo ↗ (opens in a new tab)46.4k starsApache-2.080 out of 100
2MeilisearchRust search engine API with full-text, vector and hybrid search Live demo ↗ (opens in a new tab)59.6k starscustom license74 out of 100
3QdrantRust vector database with payload filtering, REST and gRPC Live demo ↗ (opens in a new tab)35.1k starsApache-2.066 out of 100
#5HelixDBRust graph database with native vector and BM25 search6.2k starsApache-2.061 out of 100
#6WeaviateGo vector database with built-in vectorizers, hybrid search and RAG Live demo ↗ (opens in a new tab)16.9k starscustom license60 out of 100