BGE-M3 (Multilingual)

Popular
huggingface
Embeddings

BAAI multilingual embedding model covering 100+ languages with an 8192-token context. M3 stands for its multi-functionality (dense, sparse and ColBERT-style multi-vector retrieval), multilinguality and multi-granularity over long documents. Returns 1024-dim dense vectors and is a strong open choice for cross-lingual and long-text retrieval.

Embed with BGE-M3 (Multilingual)
Vectorize text and preview the first 8 dimensions as a bar chart.
Sign in to try this model with €5 free credits.
Sign in
Outputs a high-dimensional vector you can plug into RAG or search.
Vector preview appears here.
TL;DR·Last updated June 24, 2026

BGE-M3 (Multilingual) is embeddings AI model from huggingface, priced at €0.000 per 1M input tokens with a 8.2K tokens context window.

About this model

bge-m3 from the Beijing Academy of Artificial Intelligence is a single model that supports three retrieval modes at once: dense embeddings, sparse lexical weights and ColBERT-style multi-vector matching. It handles more than 100 languages and inputs up to 8192 tokens, which makes it suitable for long-document and cross-lingual retrieval where shorter English-only models fall short. The dense output is 1024-dim. Through the Hugging Face feature-extraction pipeline you get the dense embedding, which mean-pools or uses the [CLS] vector depending on configuration; it is widely used as an open multilingual retrieval backbone.
Try BGE-M3 (Multilingual)
Sign in to generate — 50 free credits on sign-up

Pricing

Price per Generation
Per generation€1.00

API Integration

Use our OpenAI-compatible API to integrate BGE-M3 (Multilingual) into your application.

Install
npm install railwail
JavaScript / TypeScript
import railwail from "railwail";

const rw = railwail("YOUR_API_KEY");

const vectors = await rw.run("bge-m3-multilingual", "Hello world", { type: "embed" });
console.log(vectors[0].length); // embedding dimensions

// Or use the embed() method for full control
const res = await rw.embed("bge-m3-multilingual", ["Hello", "World"]);
for (const item of res.data) {
  console.log(item.embedding.length);
}
Specifications
Price
€1.00
Context window
8,192 tokens
Developer
huggingface
Category
Embeddings
Supported Formats
text
Tags
embedding
retrieval
rag
huggingface
bge
baai
multilingual
long-context
open-weights

Frequently asked questions

Start using BGE-M3 (Multilingual) today

Get started with free credits. No credit card required. Access BGE-M3 (Multilingual) and 100+ other models through a single API.