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.
Вход, $/1M $0.11
Выход, $/1M $0.11
Контекст —
Принимает картинки, текст
Последняя проверка 04.11.2026 12:00:14 UTC
Источник страница провайдера
Уведомления о ценах
API
API, совместимый с OpenAI: подходят официальные SDK OpenAI с этим адресом. YOUR_API_KEY замените на свой ключ от провайдера.
| Адрес API | |
|---|---|
| Эндпоинт | |
| Модель (id в API) | |
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());Запрос (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
}Ответ (JSON)
{
"model": "gte-rerank-v2",
"results": [
{
"index": 0,
"relevance_score": 0.98
}
]
}Адрес взят из списка моделей провайдера - сверьте с его документацией.
Source: AI Rate Card, https://airatecard.com/ru/c/offer%3Aaihubmix%7Cgte-rerank-v2, prices checked 2026-11-04; seller's page: https://aihubmix.com
Технические данные
ID: offer:aihubmix|gte-rerank-v2