Embedding Library Statistics (November 2026)

5 min read

Statistics for 8 open-source embedding libraries: sentence-transformers, BGE, FastEmbed, Model2Vec and others. GitHub stars, forks, licenses and last-month PyPI and npm downloads. Collected 2026-11-30.

Embedding libraries turn text into vectors. An agent memory system uses those vectors to find the memories that match a new question. This page counts GitHub stars and last-month package downloads for 8 local embedding libraries. The numbers were collected by aiagentmemory.org on 2026-11-30 at 16:07 UTC. We did not run any embedding model ourselves.

For the memory projects themselves, see agent memory statistics. For the databases that store the vectors, see vector database statistics. For the local model runners, see local LLM statistics.

Embedding library GitHub and package statistics

Table 1. Statistics for 8 embedding libraries, collected 2026-11-30 from the GitHub REST API, pypistats.org and the npm registry. Sorted by stars. Each row is a library you install to run embedding models on your own machine. Hosted embedding APIs (Voyage, Cohere, Nomic) are left out, because their packages are API clients, not libraries. The PyPI and npm columns are last-month downloads for the package named in the notes below.

#ProjectRepositoryStarsForksCreatedLast pushLicensePyPI/monthnpm/month
1sentence-transformershuggingface/sentence-transformers19,3173,0512019-07-242026-11-30Apache-2.021,867,240-
2Transformers.jshuggingface/transformers.js16,4591,2522023-02-132026-11-30Apache-2.0-19,740,768
3txtaineuml/txtai13,7521,0882020-08-092026-11-30Apache-2.012,098-
4FlagEmbedding (BGE)FlagOpen/FlagEmbedding12,3749552023-08-022026-10-27MIT471,629-
5llama-cpp-pythonabetlen/llama-cpp-python10,7031,4942023-03-232026-11-23MIT598,032-
6FastEmbedqdrant/fastembed3,3153202023-07-142026-11-30Apache-2.08,289,875444,516
7Infinitymichaelfeil/infinity2,9932232023-10-112026-11-12MIT5,437-
8Model2VecMinishLab/model2vec2,2901302024-07-182026-11-27MIT1,503,694-

Notes on the packages counted:

  • sentence-transformers row: the PyPI package sentence-transformers. The repository moved from UKPLab to huggingface; the count follows the current name.
  • FlagEmbedding (BGE) row: the PyPI package FlagEmbedding. BGE is the model family from the BAAI research project; this repository is its toolkit.
  • Transformers.js row: the npm package @huggingface/transformers. It has no PyPI package.
  • llama-cpp-python row: a Python binding by a third-party developer (abetlen), not by the llama.cpp project. Read its count as Python use of llama.cpp.
  • Infinity row: the PyPI package infinity-emb. Its stars are high compared with its PyPI count; we report what the API returned and did not check it further.
  • txtai row: the PyPI package txtai. Same note: 13,752 stars, 12,098 PyPI downloads last month, as returned.

What the numbers show

  • sentence-transformers leads on stars and on PyPI. It has the most stars (19,317) and the most PyPI downloads (21.9 million last month). It is the library most people reach for first when they want a Python embedding model.
  • FastEmbed is the second PyPI package. Its 8.3 million downloads are far above the other Python-first libraries in the table, with a much smaller star count.
  • Transformers.js is the only JavaScript row, and it has the most npm downloads in the table. Its 19.7 million npm downloads last month are for @huggingface/transformers, which runs models in JavaScript and Node.
  • Star counts and downloads do not line up. txtai and Infinity have many stars but small PyPI counts. Model2Vec has fewer stars than txtai but more PyPI downloads than txtai. Stars measure interest; downloads measure installs, including CI and dependency installs.

Download counts are not user counts. Monthly counts swing from one month to the next, so read a change of a few tens of percent as a signal, not a trend.

Memory: where Hindsight fits

Hindsight is not an embedding library. It is an open-source memory server, MIT licensed, with the full server included (README). It uses embeddings as one of its retrieval paths, so the embedding setting matters for recall quality.

  • Its default is a BGE model, and it is English-only. For self-hosted installs the default embeddings provider is local, with the model BAAI/bge-small-en-v1.5. The Hindsight docs say this model is English-only and recommend BAAI/bge-m3 for other languages (multilingual docs, checked 2026-11-30). If your memories are in other languages, the docs point to the multilingual model instead.
  • Embeddings are one of four retrieval paths. Hindsight’s recall runs vector similarity and BM25 keyword matching, merges the results with reciprocal rank fusion, and reranks them with a cross-encoder (README). A better embedding model helps the vector path only; keyword and graph matches still run.
  • Hindsight also sells a hosted embedding model. The Hindsight Models post (2026-11-03) describes its own embedding model, hosted on Hindsight Inference. This page does not include its price or speed.
  • The limit: embeddings are only part of the cost. Every write calls an LLM to extract facts, so the LLM you choose affects speed and cost more than the embedding library does. We have no measured speed figures for Hindsight with any of these libraries, so none are quoted here.

If you build your own memory layer, pick the library that matches your language: sentence-transformers or FastEmbed for Python, Transformers.js for JavaScript.

Methodology

When. All numbers were collected on 2026-11-30, starting at 16:07 UTC, by aiagentmemory.org with the same script used for agent memory statistics.

Which APIs.

  1. GitHub: GET https://api.github.com/repos/{owner}/{repo}. Fields used: stargazers_count, forks_count, created_at, pushed_at, license.spdx_id.
  2. PyPI: GET https://pypistats.org/api/packages/{package}/recent, last-month total.
  3. npm: GET https://api.npmjs.org/downloads/point/last-month/{package}, last-month total.

Which packages. Each repository and package name was checked against the registry before we counted it. Package names are the ones each project publishes; the notes above say which one each count is.

What’s excluded. Hosted embedding APIs (Voyage, Cohere, Nomic) because their packages are API clients, not libraries. Model weights on Hugging Face and the model families (BGE, MiniLM, E5) are not counted. We did not measure the speed or quality of any model or library.

Not yet tracked. The GitHub numbers are one snapshot. We will re-run the list in two weeks and add a dated update.