BGE Reranker v2 M3
AvailableBGE Reranker v2 M3 is a multilingual cross-encoder reranking model for RAG pipelines. It ranks query-document pairs by relevance score through the Cohere-compatible /v1/rerank endpoint.
Quickstart
Cohere-compatible /v1/rerank endpoint. Send the request with your API key and pass the Model ID in the model field.
curl https://llm.fixcloud.ai/v1/rerank \
-H "Authorization: Bearer $FXC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "bge-reranker-v2-m3",
"query": "Which GPU is best for LLM inference?",
"documents": [
"The H200 has 141 GB of HBM3e memory.",
"Istanbul is the largest city in Türkiye.",
"Tensor parallelism splits a model across GPUs."
],
"top_n": 2
}'
import os, requests
response = requests.post(
"https://llm.fixcloud.ai/v1/rerank",
headers={"Authorization": f"Bearer {os.environ['FXC_API_KEY']}"},
json={
"model": "bge-reranker-v2-m3",
"query": "Which GPU is best for LLM inference?",
"documents": [
"The H200 has 141 GB of HBM3e memory.",
"Istanbul is the largest city in Türkiye.",
"Tensor parallelism splits a model across GPUs.",
],
"top_n": 2,
},
)
for r in response.json()["results"]:
print(r["index"], round(r["relevance_score"], 3))
const response = await fetch('https://llm.fixcloud.ai/v1/rerank', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.FXC_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
model: 'bge-reranker-v2-m3',
query: 'Which GPU is best for LLM inference?',
documents: [
'The H200 has 141 GB of HBM3e memory.',
'Istanbul is the largest city in Türkiye.',
'Tensor parallelism splits a model across GPUs.',
],
top_n: 2,
}),
});
const { results } = await response.json();
console.log(results);
Capabilities
The features this model offers through the API.
- RerankingRanks documents against a query (/v1/rerank).
Pricing
Prices are per 1 million tokens. Once the monthly token quota of your plan is used up, usage is billed at these prices.
- Per request
- —
- Per day
- —
- Per month (30 days)
- —
Enter your expected usage; actual billing follows the token counts measured by the gateway.
View plansSpecifications
Transparency details about the infrastructure serving this model.
- Family
- bge
- Publisher
- BAAI
- License
- apache-2.0
- Model ID
- bge-reranker-v2-m3
- Context (tokens)
- 8,192
- Weight precision
- FP32
- Quantization
- None (native)
- GPUs per replica
- 1 × GPU
8K-token query + document window.