---
last_updated: 2026-11-24
source_url: https://opper.ai/baai/bge-m3
title: "Bge M3 by BAAI"
description: "BGE-m3 by BAAI, 569M multilingual embedding unifying dense, sparse, and multi-vector retrieval across 100+ languages and inputs up to 8192 tokens."
---

# Bge M3

By [BAAI](https://opper.ai/baai).

Released 30 Jan 2024 · [Announcement](https://github.com/FlagOpen/FlagEmbedding) · [All BAAI releases](https://opper.ai/model-releases/baai)

BGE-m3 by BAAI, 569M multilingual embedding unifying dense, sparse, and multi-vector retrieval across 100+ languages and inputs up to 8192 tokens.

## Available routes

Bge M3 runs on 3 different routes through the Opper gateway. Prices are per 1M tokens. In the EU it is served by FlexAI and OVHcloud (France). [See every model hosted in the EU](https://opper.ai/models/eu). Its routes and prices, live from the catalogue, are public JSON with no API key needed at https://api.opper.ai/v3/models?q=deepinfra%2FBAAI%2Fbge-m3.

| Provider | Model id | Region | Zero data retention | Training | Input | Output | Cache read |
| --- | --- | --- | --- | --- | --- | --- | --- |
| [DeepInfra](https://opper.ai/provider/deepinfra) | `deepinfra/BAAI/bge-m3` | US (United States) | Yes | No | $0.01 | n/a | Input price |
| [FlexAI](https://opper.ai/provider/flexai) | `flexai:eu/bge-m3` | EU | Yes | No | $0.01 | n/a | Input price |
| [OVHcloud](https://opper.ai/provider/ovhcloud) | `ovhcloud/bge-m3` | EU (France) | Yes | No | $0.01 | n/a | Input price |

## Key info

- Model id: `deepinfra/BAAI/bge-m3`
- Input: Text
- Output: Embeddings
- Features: none listed
- Context window: 8K
- Max output: 8K
- Input price: $0.01 per 1M tokens
- Released: 30 Jan 2024
- EU residency available on FlexAI and OVHcloud
- US residency available on DeepInfra
- Zero data retention on pay-as-you-go
- No training by default

## Data handling per route

Each route hosting Bge M3 has its own privacy posture, residency, and GDPR terms. Postures are maintained by Opper with a last-verification timestamp.

### DeepInfra — United States

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. US; SCCs.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Transfer mechanism: SCCs

Verified by Opper on 2026-10-19.

### FlexAI — EU

Zero data retention: nothing is logged, held for abuse monitoring or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged, held for abuse monitoring or used for training.
- Training: No training on customer data.
- Logging: None
- Abuse monitoring: No classifier
- Caching: Content cached for replay
- Subprocessor access: No subprocessor reads content
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-11-10.

### OVHcloud — France

Zero data retention: nothing is logged or used for training. No training on customer data. EU.

- Zero data retention: Yes. Nothing is logged or used for training.
- Training: No training on customer data.
- Logging: None
- Transfer mechanism: Not applicable — data stays in EU

Verified by Opper on 2026-11-18.

## Get started

Call Bge M3 through the Opper gateway with one API key. Embedding models run on the OpenAI-compatible embeddings endpoint, so the OpenAI SDK works as is.

See the [embeddings API reference](https://docs.opper.ai/v3-api-reference/compatibility/create-embeddings).

Bge M3 is a premium model on Opper. Sign up needs no credit card: you get an API key straight away and the free models work in the playground and the API. Add a card to use premium models, pay-as-you-go with no minimum.

### Set it up with your agent

Paste this into a coding agent like Claude Code, Cursor or Codex and it will wire up Opper for you:

```text
Use curl to download, read and follow: https://skills.opper.ai Create embeddings with Bge M3
```

### Or call it directly

OpenAI:

```javascript
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPPER_API_KEY,
  baseURL: "https://api.opper.ai/v3/compat",
});

const result = await client.embeddings.create({
  model: "deepinfra/BAAI/bge-m3",
  input: "The quick brown fox jumps over the lazy dog",
});
console.log(result.data[0].embedding.length);
```

cURL:

```bash
curl -s https://api.opper.ai/v3/compat/embeddings \
  -H "Authorization: Bearer $OPPER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepinfra/BAAI/bge-m3",
    "input": "The quick brown fox jumps over the lazy dog"
  }'
```

## Use Bge M3 in your apps

Pick your tool to see how to run it on Bge M3 through Opper.

- [Claude Code](https://opper.ai/apps/claude-code/bge-m3)
- [Claude Cowork](https://opper.ai/apps/claude-cowork/bge-m3)
- [Codex](https://opper.ai/apps/codex/bge-m3)
- [DeepSeek Harness](https://opper.ai/apps/deepseek-harness/bge-m3)
- [GitHub Copilot CLI](https://opper.ai/apps/github-copilot-cli/bge-m3)
- [Aider](https://opper.ai/apps/aider/bge-m3)
- [Goose](https://opper.ai/apps/goose/bge-m3)
- [Droid](https://opper.ai/apps/droid/bge-m3)
- [OpenCode](https://opper.ai/apps/opencode/bge-m3)
- [Pi](https://opper.ai/apps/pi/bge-m3)
- [OpenClaw](https://opper.ai/apps/openclaw/bge-m3)
- [Hermes](https://opper.ai/apps/hermes/bge-m3)
- [Copilot for Obsidian](https://opper.ai/apps/obsidian-copilot/bge-m3)
- [OmniRoute](https://opper.ai/apps/omniroute/bge-m3)
- [Cursor](https://opper.ai/apps/cursor/bge-m3)
- [Cline](https://opper.ai/apps/cline/bge-m3)
- [Continue](https://opper.ai/apps/continue/bge-m3)
- [Kilo Code](https://opper.ai/apps/kilo-code/bge-m3)
- [GitHub Copilot](https://opper.ai/apps/github-copilot/bge-m3)
- [Zed](https://opper.ai/apps/zed/bge-m3)
- [JetBrains AI Assistant](https://opper.ai/apps/jetbrains-ai-assistant/bge-m3)
- [Voidleap Code](https://opper.ai/apps/voidleap-code/bge-m3)
- [n8n](https://opper.ai/apps/n8n/bge-m3)
- [LibreChat](https://opper.ai/apps/librechat/bge-m3)
- [Open WebUI](https://opper.ai/apps/open-webui/bge-m3)
- [See all apps](https://opper.ai/apps)

## Other models from BAAI

- [Bge M3 Multi](https://opper.ai/baai/bge-m3-multi)
- [Bge M3 Multi 8k](https://opper.ai/baai/bge-m3-multi-8k)
- [BGE Reranker v2-m3](https://opper.ai/baai/bge-reranker-v2-m3)
- [Bge Base En V1.5](https://opper.ai/baai/bge-base-en-v1-5)
- [Bge Large En V1.5](https://opper.ai/baai/bge-large-en-v1-5)
- [Bge En Icl](https://opper.ai/baai/bge-en-icl)
