Cohere Rerank V4.0 Pro · aihubmix
Rerank 4 is the most advanced set of reranker models available today, purpose-built to meet the realities and challenges of enterprise AI search. It delivers best-in-class retrieval, outperforming the likes of MongoDB’s Voyage models and ElasticSearch’s Jina rerankers in overall search relevance, as well as improved latency, flexible deployment options, deep customizability and robust multilingual performance. Designed for business-critical applications across key industries and domains, Rerank 4 sets a new standard for accuracy and adaptability in enterprise search.
Entrada, $/1M $0.068
Saída, $/1M —
Alertas de preço
API
API compatível com OpenAI: os SDKs oficiais da OpenAI funcionam com esta URL base. Substitua YOUR_API_KEY pela sua chave do provedor.
| URL base da API | |
|---|---|
| Endpoint | |
| ID do modelo | |
curl
curl https://aihubmix.com/api/v1/rerank \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "cohere-rerank-v4.0-pro", "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-v4.0-pro",
"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-v4.0-pro",
"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());Requisição (JSON)
{
"model": "cohere-rerank-v4.0-pro",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
}Resposta (JSON)
{
"model": "cohere-rerank-v4.0-pro",
"results": [
{
"index": 0,
"relevance_score": 0.98
}
]
}O endereço vem da lista de modelos do provedor; confira na documentação dele.
Source: AI Rate Card, https://airatecard.com/pt/c/offer%3Aaihubmix%7Ccohere-rerank-v4.0-pro, prices checked 2026-11-04; seller's page: https://aihubmix.com
Dados técnicos
ID: offer:aihubmix|cohere-rerank-v4.0-pro