Cohere Rerank V5 Fast · aihubmix
cohere-rerank-v5-fast is Cohere's enterprise search and retrieval-augmented generation (RAG) reranking model. It can reorder retrieval results based on query relevance, supports multiple languages, and provides stable relevance scoring to help filter out irrelevant content. Its Context Focus feature can also extract the most relevant passages from documents, reducing the language model's token consumption and response latency.
Eingabe, $/1M $0.02
Ausgabe, $/1M $0.02
Preisalarme
API
OpenAI-kompatible API: Die offiziellen OpenAI-SDKs funktionieren mit dieser Basis-URL. Ersetzen Sie YOUR_API_KEY durch Ihren Schlüssel vom Anbieter.
| API-Basis-URL | |
|---|---|
| Endpunkt | |
| Modell-ID | |
curl
curl https://aihubmix.com/api/v1/rerank \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "cohere-rerank-v5-fast", "query": "what is the capital of France?", "documents": ["Paris is the capital of France.", "Berlin is in Germany."], "top_n": 1}'Python
import requests
r = requests.post(
"https://aihubmix.com/api/v1/rerank",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "cohere-rerank-v5-fast",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
},
)
print(r.json())JavaScript
const r = await fetch("https://aihubmix.com/api/v1/rerank", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "cohere-rerank-v5-fast",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
}),
});
console.log(await r.json());Anfrage (JSON)
{
"model": "cohere-rerank-v5-fast",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
}Antwort (JSON)
{
"model": "cohere-rerank-v5-fast",
"results": [
{
"index": 0,
"relevance_score": 0.98
}
]
}Die Adresse stammt aus der Modellliste des Anbieters; bitte mit seiner Dokumentation abgleichen.
Source: AI Rate Card, https://airatecard.com/de/c/offer%3Aaihubmix%7Ccohere-rerank-v5-fast, prices checked 2026-11-04; seller's page: https://aihubmix.com
Technische Details
ID: offer:aihubmix|cohere-rerank-v5-fast