BGE M3 Embedding API

Multilingual embeddings for search and retrieval

baai/bge-m3-embedding
BAAIVectors

About this model

BGE-M3 is a text embedding model from the Beijing Academy of Artificial Intelligence (BAAI). Its name reflects multi-functionality, multi-linguality and multi-granularity: BAAI describes support for dense, sparse and multi-vector retrieval, more than 100 languages, and inputs up to 8,192 tokens.

Use it to turn texts into vectors for semantic search, retrieval-augmented generation and similarity matching, including across languages.

It returns embeddings rather than text, so it is paired with a search index or database. This catalog lists the 8,192-token input limit.

Use cases

  • Semantic search across languages
  • RAG document retrieval
  • Clustering and deduplication of texts

Input and output

Input
Text
Output
Embedding vectors
Developer
BAAI
Type
Vectors
Context
8,192 tokens

BGE M3 Embedding request example

This model type has a request format of its own; see the API documentation for details.