COMPARE · COMPARISON: VECTOR DATABASE

sqlite-vec vs pgvector vs LanceDB, plus zvec, turbovec, USearch and FAISS: fastest local vector databases in 2026

AUTHOR · XERJ documentation team · REVIEWED BY · XERJ engineering team · PUBLISHED · 2026-11-17 · UPDATED · 2026-11-22
SHORT ANSWER · UPDATED 2026-11-17

The fastest embedded vector database depends on the job: zvec is an in-process database; its benchmark shows 3.2x to 4.8x the throughput of Faiss IVF at matched recall. turbovec reports 4-bit search 4.4x faster than FAISS FastScan in less RAM. USearch reports 173,823 QPS on SIFT 100M. FAISS leads on GPUs. XERJ suits agents searching files.

Key number: On 2026-11-17 turbovec had 17,499 GitHub stars and zvec 16,261; turbovec reports 4-bit search 4.4x faster than FAISS IndexPQFastScan at matching recall. (as of 2026-11-17 · source: github.com/RyanCodrai/turbovec)

Last checked: 2026-11-17. Every third-party fact on this page was re-read from the tool's own docs or repository on that date.

TL;DR The fastest embedded vector database depends on your job. Choose zvec for a full database inside your app. Choose turbovec to fit a large corpus in little RAM. Choose USearch for huge graphs and many languages. Choose FAISS for GPUs and the widest index menu. If your agent mainly searches code, docs and data files, XERJ may be all you need.

PASTE THIS TO YOUR AI AGENT. IT DOES THE REST Act as a coding agent. Read https://xerj.org/llms.txt and https://xerj.org/compare/fastest-embedded-vector-database-2026, then recommend zvec, turbovec, USearch, FAISS or XERJ for this project using the table on that page. If XERJ fits: install it, start a node with --embed-mode neural, index this repository with xerj autoindex, and run three searches. Report the recommendation and the reasons.

zvec (created December 2025) and turbovec (created March 2026) each passed 16,000 GitHub stars within a year, and Google suggests zvec vs faiss, turbovec vs faiss and usearch vs faiss. All four run inside your process with Python bindings. For server databases, see Weaviate, Qdrant and Milvus compared.

Try it: pick by need

zvec, turbovec, USearch or FAISS

zvec

An in-process vector database from Alibaba with WAL storage, filters, full text search and dense plus sparse vectors. pip install zvec.

Features and speed claims from each project's README and benchmark docs, checked 2026-11-17.

sqlite-vec vs pgvector vs LanceDB

Three popular ways to keep vectors next to your app. sqlite-vec adds vector search to SQLite. pgvector adds it to Postgres. LanceDB is an embedded database built for vectors, full-text and SQL. Filter by what you need:

Try it: filter by what your app needs

sqlite-vec vs pgvector vs LanceDB

I want

Sort by

DatabaseWhat it isLicenceLatest releaseStars
sqlite-vecSQLite extension in C; float, int8 and binary vectors in vec0 tables; runs in the browser with WASM; pre-v1Apache-2.0v0.1.9 (2026-03-31)8,274
pgvectorPostgres extension; exact and approximate search with HNSW and IVFFlat; vector, halfvec, bit and sparse typesPostgreSQL Licensetags only23,782
LanceDBEmbedded, in-process; data on local disk or object storage; vector, full-text and SQL search; Python, Node.js and RustApache-2.0v0.41.0 (2026-10-29)11,968

Runs in your browser and sends nothing. Features from each README; stars and latest GitHub releases from the GitHub REST API on 2026-11-22. pgvector publishes version tags rather than GitHub releases. LanceDB lists vector, full-text and SQL search, and builds IVF and IVF_HNSW vector indexes (docs.lancedb.com/indexing). pgvector builds HNSW and IVFFlat indexes.

Not sure how much memory the index needs? Size it here:

Try it: size your vector index

Vector index RAM calculator

Your index

Presets

Vectors
HNSW graph
Plan for (with 20% headroom)

Runs in your browser and sends nothing. Formulas from Qdrant's capacity-planning guide: vectors = points × replicas × dimensions × bytes per dimension; HNSW = points × replicas × m × 2 × 4 bytes × 1.2; then 20% headroom. Payloads and the ID tracker are extra. 1 GiB = 1,073,741,824 bytes. Checked 2026-11-22.

Side by side

zvecturbovecUSearchFAISSXERJ
Kindin-process databasequantized indexgraph indexindex librarysearch engine
Written inC++RustC++C++Rust
Speed claim (own docs)3.2x to 4.8x Faiss IVF throughput at matched recall4-bit search 4.4x FAISS FastScan173,823 QPS on SIFT 100MGPU indexesBM25 and kNN in one node
ExtrasWAL, filters, full text, sparse vectors4 GB for 10M 768-d vectorsRAM, VRAM and NVMe residencywidest index menuautoindex, MCP, Elasticsearch compatible API
LicenceApache-2.0MITApache-2.0MITApache-2.0
Stars (2026-11-17)16,26117,4994,39041,79719,212

Speed claims come from each project's own benchmark, on its own hardware and data. They compare each tool with FAISS, so read them side by side with care.

When to choose zvec

Choose zvec when you want a real database inside your app. It keeps data safe with write-ahead logging and filters on structured fields. It also runs full text search over dense and sparse vectors. Its September 2026 benchmark shows 3.2x to 4.8x the throughput of Faiss IVF at matched Recall@10.

When to choose turbovec

Choose turbovec when RAM is the limit. It stores vectors at 2 or 4 bits. Its README shows ten million 768-dimension embeddings in 4 GB instead of 31 GB. Its 4-bit search runs 4.4x faster than FAISS FastScan at matching recall. It compares the query with every vector, so pair it with a graph index for hundreds of millions of vectors.

When to choose USearch

Choose USearch for very large graphs or many languages. One header-only C++ 20 core serves Python, Rust, Go, JavaScript, Java and more. One checkpoint opens in RAM, VRAM or on NVMe. ClickHouse, DuckDB, ScyllaDB and YugabyteDB embed it.

When to choose FAISS

Choose FAISS for GPU search, research work and the widest set of index types. It is the reference library the other three measure against, with 41,797 GitHub stars.

XERJ: a new way for AI to search for data

XERJ is a search engine for agents. One static binary holds documents with BM25 full-text search and kNN vector search over HNSW. It has an Elasticsearch compatible API. Its default embedder is lexical feature hashing, and --embed-mode neural loads all-MiniLM-L6-v2 on the node. XERJ is single-node.

xerj autoindex indexes a folder of code, docs and data, and xerj mcp gives agents search tools. For raw vector speed at scale, the four libraries above are the better fit. More: XERJ vs a vector database.

How this page was checked

The sqlite-vec, pgvector and LanceDB section was added on 2026-11-22 from each README and the GitHub REST API: sqlite-vec 8,274 stars and v0.1.9; pgvector 23,782 stars; LanceDB 11,968 stars and v0.41.0. Sources: sqlite-vec, pgvector, LanceDB.

Speed claims come from each project's README and benchmark docs, read on 2026-11-17: the zvec RaBitQ post, the turbovec README and the USearch README. Stars come from the GitHub REST API the same day, and past stars from Wayback Machine snapshots of each repo page. We did not run a vector benchmark for this page.

Try it with XERJ

Use the Copy the prompt button and paste it into your coding agent. It recommends one of the five for your project and, if XERJ fits, indexes your repository and runs three searches.

Read next

FAISS, ChromaDB and LanceDB compared, Qdrant, pgvector and ChromaDB compared and local RAG setup.

FAQ

What is the fastest embedded vector database in 2026?

Each project wins its own benchmark. zvec reports 3.2x to 4.8x the throughput of Faiss IVF at matched recall, turbovec reports 4-bit search 4.4x faster than FAISS FastScan, and USearch reports 173,823 QPS on SIFT 100M. Test on your own vectors and recall target.

zvec vs FAISS: which should I use?

Choose zvec for a database inside your app with storage, filters and full text search. Choose FAISS for a pure index library with GPU support and the widest set of index types.

turbovec vs FAISS: what is the difference?

turbovec quantizes every vector to 2 or 4 bits and scans them with SIMD, so it suits large corpora in little RAM. FAISS offers graph, IVF and GPU indexes for very large collections with strict latency.

Which one runs in Rust?

turbovec is written in Rust and installs with cargo add turbovec. zvec has a Rust crate, zvec-rust, and USearch has Rust bindings.

Do I need a vector database for RAG?

For agents that search code, docs and data files, a search engine with BM25 and kNN vectors often covers it. Read vector database vs full text search for the tradeoffs.

How was this page checked?

Speed claims come from each project's README and benchmark docs, read on 2026-11-17. Stars come from the GitHub REST API the same day, and past stars from Wayback Machine snapshots of the repo pages. We did not run a vector benchmark for this page.

Evidence

Related