Qwen3 Reranker 4B · aihubmix
Based on the dense foundational model of the Qwen3 series, it is specifically designed for ranking tasks. It inherits the base model’s outstanding multilingual capabilities, long-text understanding, and reasoning skills, achieving significant advancements in ranking tasks.
Input, $/1M $0.11
Output, $/1M $0.11
Price alerts
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 | |
|---|---|
| Endpoint | |
| Model id | |
curl
curl https://aihubmix.com/api/v1/rerank \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen3-reranker-4b", "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": "qwen3-reranker-4b",
"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": "qwen3-reranker-4b",
"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": "qwen3-reranker-4b",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
}Response (JSON)
{
"model": "qwen3-reranker-4b",
"results": [
{
"index": 0,
"relevance_score": 0.98
}
]
}The address is taken from the provider's model list; check it against the provider's documentation.
Source: AI Rate Card, https://airatecard.com/en/c/offer%3Aaihubmix%7Cqwen3-reranker-4b, prices checked 2026-11-04; seller's page: https://aihubmix.com
Technical details
ID: offer:aihubmix|qwen3-reranker-4b