Alibaba Cloud
Qwen3-VL-Rerank
Alibaba Qwen 3.0 multimodal rerank model for text-image retrieval reranking
Model TypeMultimodal Rerank Model
InputText + Image
Use CasesMultimodal search / retrieval reranking
Pricing & Specs
💰 Pricing
Input$1.8 / M tokens
Input (Text)$0.7 / M tokens
Input (Image)$1.8 / M tokens
⚙️ Specs
Model TypeMultimodal Rerank Model
InputText + Image
Use CasesMultimodal search / retrieval reranking
OutputRelevance scores and ordering
API Examples
Python
import requests
api_key = "your-api-key"
url = "https://api.xairouter.com/api/v1/services/rerank/text-rerank/text-rerank"
payload = {
"model": "qwen3-vl-rerank",
"input": {
"query": "What is a text reranking model?",
"documents": [
{"text": "Text reranking models are widely used in search engines and recommender systems to sort candidates by relevance."},
{"image": "https://img.alicdn.com/imgextra/i3/O1CN01rdstgY1uiZWt8gqSL_!!6000000006071-0-tps-1970-356.jpg"},
{"video": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250107/lbcemt/new+video.mp4"},
],
},
"parameters": {
"return_documents": True,
"top_n": 2,
"fps": 1.0,
},
}
resp = requests.post(
url,
headers={
"Authorization": f"Bearer {api_key}",
"Content-Type": "application/json",
},
json=payload,
timeout=60,
)
resp.raise_for_status()
print(resp.json())cURL
curl --location 'https://api.xairouter.com/api/v1/services/rerank/text-rerank/text-rerank' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data '{
"model": "qwen3-vl-rerank",
"input": {
"query": "What is a text reranking model?",
"documents": [
{"text": "Text reranking models are widely used in search engines and recommender systems to sort candidates by relevance."},
{"image": "https://img.alicdn.com/imgextra/i3/O1CN01rdstgY1uiZWt8gqSL_!!6000000006071-0-tps-1970-356.jpg"},
{"video": "https://help-static-aliyun-doc.aliyuncs.com/file-manage-files/zh-CN/20250107/lbcemt/new+video.mp4"}
]
},
"parameters": {
"return_documents": true,
"top_n": 2,
"fps": 1.0
}
}'