
BGE-M3
Multilingual embeddings for search and retrieval in over 100 languages, for texts up to 8,192 tokens.
Fine-tunableE5_SMALL_V2Embeds English sentences into 384-dimensional vectors for semantic search and similarity (E5-small-v2).
Embeds English sentences into 384-number vectors for semantic search and similarity. A search query and a document passage are prefixed differently, which is how this model was trained. Compare two vectors with a dot product after they are normalized.
The weights are intfloat/e5-small-v2 at revision ffb93f3bd4047442299a41ebb6fa998a38507c52, published by intfloat (Liang Wang, Nan Yang, Xiaolong Huang, Binxing Jiao, Linjun Yang, Daxin Jiang, Rangan Majumder and Furu Wei). The model card states the licence as MIT. The weights file model.safetensors is 133,466,304 bytes and is public.
English sentences. At most 32 strings per request, and 2000 characters each, so one request stays small on CPU. The input must be a JSON array of strings; other JSON is refused. Vectors support similarity, not classification, translation or factual lookup. The model runs on CPU.
| Name | Type | Required | Default | Details |
|---|---|---|---|---|
texts | text | Yes | — | JSON array of 1 to 32 English strings. Each string is at most 2000 characters. |
mode | text | No | query | Prefix each text as a search query or as a passage to embed. Allowed: query, passage |
normalize | boolean | No | true | L2-normalize each embedding so a dot product is cosine similarity. |
Output. Returns plain text.
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=E5_SMALL_V2" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"texts": "example",
"mode": "query",
"normalize": true
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"E5_SMALL_V2",
{
"texts": "example",
"mode": "query",
"normalize": True
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)Price per request: 0.008 credits ($0.00008). The price is shown again before every run; all prices are on the pricing page.

Multilingual embeddings for search and retrieval in over 100 languages, for texts up to 8,192 tokens.
Fine-tunable
Fast, compact English sentence embeddings for semantic search, clustering and finding duplicate texts.
Fine-tunable
Multilingual text embeddings for search and similarity in about 100 languages, Azerbaijani included.
Fine-tunable
English sentence and paragraph embeddings for semantic search, clustering and finding similar texts.
Fine-tunable
Ranks up to 100 documents by how relevant each one is to a search query, in many languages.
Fine-tunable
Small English embeddings for retrieval, where short search queries find the passages that answer them.
Fine-tunable