# BAAI: bge-m3

- Model ID: `bge-m3`
- Provider: BAAI
- Web version: https://www.moleapi.com/en/models/baai/bge-m3
- Content status: catalog

## Model introduction

Embedding model by BAAI for embeddings, semantic search, retrieval, clustering, and ranking pipelines.

## Model capabilities

- OpenAI compatible
- Responses API
- Anthropic compatible
- Gemini compatible

### Verified specifications

- Catalog status: Currently available on MoleAPI
- Compatible protocols: openai, openai-response, openai-response-compact, anthropic, gemini, openai-alpha-search
- Available billing groups: Standard, Temporary (availability may vary)

## Model pricing and access

Pricing is supplied dynamically by the MoleAPI console API.

### Standard (default, x1)

- Input: $0.01 / 1M tokens
- Output: $0 / 1M tokens

### Temporary (availability may vary) (temp, x0.1)

- Input: $0.001 / 1M tokens
- Output: $0 / 1M tokens

### Access protocols

| Protocol | Method | Endpoint |
| --- | --- | --- |
| openai | POST | /v1/chat/completions |
| openai-response | POST | /v1/responses |
| openai-response-compact | POST | /v1/responses/compact |
| anthropic | POST | /v1/messages |
| gemini | POST | /v1beta/models/{model}:generateContent |
| openai-alpha-search | POST | /v1/alpha/search |

- Live pricing source: https://home.moleapi.com/api/pricing

## About bge-m3

Embedding model by BAAI for embeddings, semantic search, retrieval, clustering, and ranking pipelines.

### Sources

- [MoleAPI console pricing catalog](https://home.moleapi.com/api/pricing) — MoleAPI

## Code examples

### cURL

```bash
curl https://api.moleapi.com/v1/responses \
  -H "Authorization: Bearer $MOLEAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"bge-m3","input":"Explain this problem step by step."}'
```

### Python

```python
from openai import OpenAI

client = OpenAI(base_url="https://api.moleapi.com/v1", api_key="YOUR_MOLEAPI_API_KEY")
response = client.responses.create(model="bge-m3", input="Explain this problem step by step.")
print(response.output_text)
```

### TypeScript

```typescript
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.moleapi.com/v1", apiKey: process.env.MOLEAPI_API_KEY });
const response = await client.responses.create({ model: "bge-m3", input: "Explain this problem step by step." });
console.log(response.output_text);
```

## More related models

- [bge-reranker-v2-m3](https://www.moleapi.com/en/models/baai/bge-reranker-v2-m3) — BAAI
- [bge-large-en-v1.5](https://www.moleapi.com/en/models/baai/bge-large-en-v1.5) — BAAI
- [bge-large-zh-v1.5](https://www.moleapi.com/en/models/baai/bge-large-zh-v1.5) — BAAI
- [gpt-5.6-luna](https://www.moleapi.com/en/models/openai/gpt-5.6-luna) — OpenAI
- [gpt-5.6-sol](https://www.moleapi.com/en/models/openai/gpt-5.6-sol) — OpenAI
- [gpt-5.6-terra](https://www.moleapi.com/en/models/openai/gpt-5.6-terra) — OpenAI

## Frequently asked questions

### How is bge-m3 priced?

Prices are read from the MoleAPI console API and update with model prices, context tiers, and account groups.

### How can I access bge-m3?

The catalog currently lists openai, openai-response, openai-response-compact, anthropic, gemini, openai-alpha-search.

### How do I switch an existing project to bge-m3?

Keep the MoleAPI API address and key, replace the model parameter, and check protocol-specific parameters.

### Where do the bge-m3 details come from?

Only confirmed availability, pricing, and protocol details from the MoleAPI catalog are included.
