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.

Base modelAll models on this baseAll models of the providerto the provider

Input, $/1M $0.11

Output, $/1M $0.11

Context —

Accepts images, text

Last checked 04.11.2026 12:00:14 UTC

Source provider's page

Price alerts

Sign in to follow the price

API

OpenAI-compatible API: the official OpenAI SDKs work with this base URL. Replace YOUR_API_KEY with your key from the provider.

API base URL
https://aihubmix.com/api/v1
Endpoint
https://aihubmix.com/api/v1/rerank
Model id
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());
Request (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
}
Response (JSON)
{
  "model": "gte-rerank-v2",
  "results": [
    {
      "index": 0,
      "relevance_score": 0.98
    }
  ]
}

The address is taken from the provider's model list; check it against the provider's documentation.

Provider's API documentation

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

Technical details

ID: offer:aihubmix|gte-rerank-v2