# BGE-M3

> BGE-M3 is BAAI's open-weight multilingual text embedding model for dense, sparse, and multi-vector retrieval. It covers 100+ languages with an 8,192-token input window and returns a 1,024-dimension dense vector.

**ID**: `baai/bge-m3`  
**Creator**: baai  
**Category**: embedding  
**Context**: 8K tokens  
**Pricing**: $0.01 / $0 per 1M · billed by your provider (BYOK)  
**Released**: 2024-01-27  
**Links**: [Weights on Hugging Face](https://huggingface.co/BAAI/bge-m3) · [Paper](https://arxiv.org/abs/2402.03216) · [AnyRouter release](https://anyrouter.dev/blog/releases/2026-09-27)  
**Web page**: https://anyrouter.dev/model/baai/bge-m3

**Input modalities**: text  
**Output modalities**: embeddings  

**Tokenizer**: Other

**Capabilities**: embedding

## Usage

**Endpoint**: `POST https://anyrouter.dev/api/v1/embeddings`

```bash
curl https://anyrouter.dev/api/v1/embeddings \
  -H "Authorization: Bearer $ANYROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "baai/bge-m3",
  "input": "The quick brown fox jumps over the lazy dog"
}'
```

Pass `input` as a string or an array of strings to embed a batch in one call.

## Providers

| Provider | Input | Output |
| --- | --- | --- |
| ovhcloud-byok | $0.01/M (list) | $0 (list) |
| nousresearch-byok | $0.01/M (list) | $0 (list) |

BYOK routes are billed by your own provider key — AnyRouter charges $0. Rates marked (list) are the provider's published list price.

## Model card

- License: MIT, open weights (https://huggingface.co/BAAI/bge-m3) [1]

### Links

- announcement: https://huggingface.co/BAAI/bge-m3
- model card: https://huggingface.co/BAAI/bge-m3
- paper: https://arxiv.org/abs/2402.03216

### Sources

1. [BGE-M3 model card](https://huggingface.co/BAAI/bge-m3) (accessed 2026-11-11)

## Source

- Upstream docs: https://huggingface.co/BAAI/bge-m3
