> ## 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.

> ## Agent Instructions
> The Venice API is OpenAI-compatible: use any OpenAI SDK with the base URL `https://api.venice.ai/api/v1` and a Venice API key, or pay per request from a USDC wallet through x402 with no account.
> Read model IDs from `GET /models` or `GET /models/traits` at runtime instead of hardcoding them from memory or from these pages. Models are added and retired often.
> Every model's price is in https://docs.venice.ai/pricing.md. Quote video and audio jobs with `POST /video/quote` or `POST /audio/quote` before you queue them.
> Search these docs from an MCP client at https://docs.venice.ai/mcp. The full agent guide is https://docs.venice.ai/agents.md.

# BGE-M3 API

> BGE-M3 embeddings API on Venice: 1,024 dimensions, 8K input tokens, $0.15 per 1M tokens. Private, with zero data retention. Pricing, specs and code examples.



## BGE-M3 API

BGE-M3 is an embedding model by BAAI, available on the Venice API as `text-embedding-bge-m3`. This model is private and no prompt data is stored in any capacity.

BGE-M3 is BAAI's open-weight multilingual embedding model, covering more than 100 languages. It turns inputs of up to 8,192 tokens into 1,024-dimensional vectors for semantic search, retrieval and clustering across languages.

### BGE-M3 API pricing

| Model ID | Variant | Privacy | Price |
| - | - | - | - |
| `text-embedding-bge-m3` | Standard | Private | \$0.15 / 1M tok |

### BGE-M3 specifications

| Spec | Value |
| - | - |
| Provider | BAAI |
| Released | Mar 14, 2025 |
| Privacy | Private |
| Status | Stable |
| Open weights | [BAAI/bge-m3](https://huggingface.co/BAAI/bge-m3) |
| Dimensions | 1,024 |
| Max input | 8K tokens |

### How to use the BGE-M3 API

Send requests to `POST https://api.venice.ai/api/v1/embeddings` with `"model": "text-embedding-bge-m3"` and your API key.

```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."
  }'
```

### Related models

* [Text Embedding 3 Large API](https://docs.venice.ai/models/text-embedding-3-large.md): \$0.1625 / 1M tok
* [Gemini Embedding 2 Preview API](https://docs.venice.ai/models/gemini-embedding-2-preview.md): \$0.25 / 1M tok
* [Text Embedding 3 Small API](https://docs.venice.ai/models/text-embedding-3-small.md): \$0.025 / 1M tok
* [Multilingual E5 Large Instruct API](https://docs.venice.ai/models/multilingual-e5-large-instruct.md): \$0.0125 / 1M tok


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