Gte Rerank V2 · aihubmix
gte-rerank-v2 is a multilingual unified text ranking model developed by Tongyi Lab, covering multiple major languages worldwide and providing high-quality text ranking services. It is typically used in scenarios such as semantic retrieval and RAG, and can simply and effectively improve text retrieval performance. Given a query and a set of candidate texts (documents), the model ranks the candidates from highest to lowest based on their semantic relevance to the query.
Entrée, $/1M $0.11
Sortie, $/1M $0.11
Contexte —
Accepte images, texte
Dernière vérification 04.11.2026 12:00:14 UTC
Source page du fournisseur
Alertes de prix
API
API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.
| URL de base de l'API | |
|---|---|
| Point de terminaison | |
| ID du modèle | |
curl
curl https://aihubmix.com/api/v1/rerank \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "gte-rerank-v2", "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": "gte-rerank-v2",
"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": "gte-rerank-v2",
"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());Requête (JSON)
{
"model": "gte-rerank-v2",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
}Réponse (JSON)
{
"model": "gte-rerank-v2",
"results": [
{
"index": 0,
"relevance_score": 0.98
}
]
}L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.
Source: AI Rate Card, https://airatecard.com/fr/c/offer%3Aaihubmix%7Cgte-rerank-v2, prices checked 2026-11-04; seller's page: https://aihubmix.com
Détails techniques
ID: offer:aihubmix|gte-rerank-v2