> ## Documentation Index
> Fetch the complete documentation index at: https://docs.venice.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# BGE-M3 API

> Venice 上的 BGE-M3 嵌入 API：1,024 维，8K 输入 tokens，每 1M tokens $0.15。私密运行，零数据保留。价格、规格与代码示例。

> [accordion] 纯文本规格说明
>
> ## BGE-M3 API
>
> BGE-M3 是 BAAI 推出的嵌入模型，可通过 Venice API 以 `text-embedding-bge-m3` 调用。该模型以私密方式运行，零数据保留。
>
> ### BGE-M3 API 价格
>
> | 模型 ID | 变体 | 隐私 | 价格 |
> | - | - | - | - |
> | `text-embedding-bge-m3` | 标准 | Private | \$0.15 / 1M tokens |
>
> ### BGE-M3 规格
>
> | 规格 | 值 |
> | - | - |
> | 提供商 | BAAI |
> | 发布日期 | 2025年3月14日 |
> | 隐私 | Private |
> | 状态 | 稳定 |
> | 开放权重 | 是 |
> | 维度 | 1,024 |
> | 最大输入 | 8K tokens |
>
> ### 如何使用 BGE-M3 API
>
> 使用 `"model": "text-embedding-bge-m3"` 和您的 API 密钥向 `POST https://api.venice.ai/api/v1/embeddings` 发送请求。
>
> ```bash theme={"system"}
> curl https://api.venice.ai/api/v1/embeddings \
>   -H "Authorization: Bearer $VENICE_API_KEY" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "model": "text-embedding-bge-m3",
>     "input": "Private AI for everyone."
>   }'
> ```
>
> ### 相关模型
>
> * [Text Embedding 3 Large API](https://docs.venice.ai/zh/models/text-embedding-3-large.md): \$0.1625 / 1M tokens
> * [Gemini Embedding 2 Preview API](https://docs.venice.ai/zh/models/gemini-embedding-2-preview.md): \$0.25 / 1M tokens
> * [Text Embedding 3 Small API](https://docs.venice.ai/zh/models/text-embedding-3-small.md): \$0.025 / 1M tokens
> * [Multilingual E5 Large Instruct API](https://docs.venice.ai/zh/models/multilingual-e5-large-instruct.md): \$0.0125 / 1M tokens


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.