> For the complete documentation index, see [llms.txt](https://docs.ionos.com/cloud/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ionos.com/cloud/ai/ai-model-hub/models/embedding-models/bge-m3.md).

# BGE M3

**Summary:** BGE M3 is a versatile multilingual embedding model that supports over 100 languages with an extended 8192 token context window, offering both dense and sparse retrieval capabilities. This model excels in cross-language information retrieval, multilingual document analysis, and global content discovery, making it essential for international applications, multilingual search systems, and global knowledge management platforms where language diversity, long-context understanding, and scalability are critical.

|                                                                                                                                                                                                                                                                                                                                                           **Intelligence**                                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                          **Speed**                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                          **Input**                                                                                                                                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                          **Output**                                                                                                                                                                                                                                                                                                                                         |
| :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| ![Intelligence active](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-b23196ddc0cba1be0b981aa5572379cec1538be3%2Fai-model-hub-intelligence.png?alt=media) ![Intelligence active](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-b23196ddc0cba1be0b981aa5572379cec1538be3%2Fai-model-hub-intelligence.png?alt=media) ![Intelligence active](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-b23196ddc0cba1be0b981aa5572379cec1538be3%2Fai-model-hub-intelligence.png?alt=media) | ![Speed active](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-be3201cb2eba83650220699adf5b3d9120c83377%2Fai-model-hub-speed.png?alt=media) ![Speed active](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-be3201cb2eba83650220699adf5b3d9120c83377%2Fai-model-hub-speed.png?alt=media) | ![Text active](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-cc6707e286bceb4641047e45e095950e8db880fd%2Fai-model-hub-text.png?alt=media) ![Image inactive](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-bac2752d06f18e86dc7f0b9531ab32ec58f30aec%2Fai-model-hub-image.png?alt=media) ![Audio inactive](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-8b0332538fcac6644893a504f9fbbd1ba2b56d21%2Fai-model-hub-audio.png?alt=media) | ![Text active](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-cc6707e286bceb4641047e45e095950e8db880fd%2Fai-model-hub-text.png?alt=media) ![Image inactive](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-bac2752d06f18e86dc7f0b9531ab32ec58f30aec%2Fai-model-hub-image.png?alt=media) ![Audio inactive](https://1737632334-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MifAzdGvKLDTtvJP8sm%2Fuploads%2Fgit-blob-8b0332538fcac6644893a504f9fbbd1ba2b56d21%2Fai-model-hub-audio.png?alt=media) |
|                                                                                                                                                                                                                                                                                                                                                                *High*                                                                                                                                                                                                                                                                                                                                                               |                                                                                                                                                                                                                           *Medium*                                                                                                                                                                                                                          |                                                                                                                                                                                                                                                                                                                                            *Text*                                                                                                                                                                                                                                                                                                                                           |                                                                                                                                                                                                                                                                                                                                       *Number Vector*                                                                                                                                                                                                                                                                                                                                       |

## Central parameters

**Description:** Multilingual embedding model by Beijing Academy of Artificial Intelligence with extended input length support and 1024-dimensional output vectors.

**Model identifier:** `BAAI/bge-m3`

## IONOS CLOUD AI Model Hub Lifecycle and Alternatives

| **IONOS CLOUD start date** | **End of Life** |                                                     **Alternative**                                                    | **Successor** |
| :------------------------: | :-------------: | :--------------------------------------------------------------------------------------------------------------------: | :-----------: |
|      *January 1, 2025*     |       N/A       | [<mark style="color:blue;">**BGE Large V1.5**</mark>](/cloud/ai/ai-model-hub/models/embedding-models/bge-large-1-5.md) |               |

## Origin

|                               **Provider**                              | **Country** |                                                  **License**                                                  | **Flavor** |     **Release**    |
| :---------------------------------------------------------------------: | :---------: | :-----------------------------------------------------------------------------------------------------------: | :--------: | :----------------: |
| [<mark style="color:blue;">**BAAI**</mark>](https://www.baai.ac.cn/en/) |  Community  | [<mark style="color:blue;">**License**</mark>](https://github.com/FlagOpen/FlagEmbedding/blob/master/LICENSE) |      -     | *January 28, 2024* |

## Technology

| **Input Length** | **Parameters** | **Tensor Type** | **Multilingual** |                                   **Further details**                                   |
| :--------------: | :------------: | :-------------: | :--------------: | :-------------------------------------------------------------------------------------: |
|      *8192*      |     *568M*     |     *float*     |       *Yes*      | [<mark style="color:blue;">**Hugging Face**</mark>](https://huggingface.co/BAAI/bge-m3) |

## Modalities

|     **Text**     |   **Image**   |   **Audio**   |
| :--------------: | :-----------: | :-----------: |
| Input and output | Not supported | Not supported |

## Endpoints

| **Chat Completions** | **Embeddings** | **Image generation** |
| :------------------: | :------------: | :------------------: |
|     Not supported    |  v1/embeddings |     Not supported    |

## Features

| **Streaming** | **Reasoning** | **Tool calling** |
| :-----------: | :-----------: | :--------------: |
| Not supported | Not supported |   Not supported  |

## Usage example

### Embedding example

The following example demonstrates how to generate text embeddings using **BGE M3**.

**API Endpoint:** `POST https://openai.inference.de-txl.ionos.com/v1/embeddings`

**Request:**

```json
{
  "model": "BAAI/bge-m3",
  "input": "The food was delicious and the waiter was friendly."
}
```

**Response:**

```json
{
  "object": "list",
  "data": [
    {
      "object": "embedding",
      "embedding": [
        0.0023064255,
        -0.009327292,
        0.0028842222
      ],
      "index": 0
    }
  ],
  "model": "BAAI/bge-m3",
  "usage": {
    "prompt_tokens": 10,
    "total_tokens": 10
  }
}
```

## Rate limits

Rate limits ensure fair usage and reliable access to the AI Model Hub. The [<mark style="color:blue;">default rate limits</mark>](/cloud/ai/ai-model-hub/how-tos/rate-limits.md) apply to this model, separately from other models.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.ionos.com/cloud/ai/ai-model-hub/models/embedding-models/bge-m3.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
