AI Rate Card

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.

Modelo baseTodos os modelos desta baseTodos os modelos do provedorao provedor

Entrada, $/1M $0.11

Saída, $/1M $0.11

Contexto —

Aceita imagens, texto

Última verificação 04.11.2026 12:00:14 UTC

Fonte página do provedor

Alertas de preço

Entre para seguir o 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
https://aihubmix.com/api/v1
Endpoint
https://aihubmix.com/api/v1/rerank
ID do modelo
gte-rerank-v2
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());
Requisição (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
}
Resposta (JSON)
{
  "model": "gte-rerank-v2",
  "results": [
    {
      "index": 0,
      "relevance_score": 0.98
    }
  ]
}

O endereço vem da lista de modelos do provedor; confira na documentação dele.

Documentação da API do provedor

Source: AI Rate Card, https://airatecard.com/pt/c/offer%3Aaihubmix%7Cgte-rerank-v2, prices checked 2026-11-04; seller's page: https://aihubmix.com

Dados técnicos

ID: offer:aihubmix|gte-rerank-v2