基于Qwen LLM底座训练的文本排序模型,对输入的Query和候选Docs进行相关性排序,支持100+语种和长文本输入,适用于文本检索、RAG等场景,效果对齐开源Qwen3-Rerank系列模型
Rerank models are billed separately for text input and image tokens, in CNY per million tokens.
| Provider | Text input | Context length | Latency | Uptime | Status |
|---|---|---|---|---|---|
dashscope dashscope/qwen3-rerank | ¥0.500 | 30K | — | 0.00% |
import os
import requests
response = requests.post(
"https://api.openroute.cn/v1/rerank",
headers={
"Authorization": f"Bearer {os.environ['ONTOROUTE_API_KEY']}",
"Content-Type": "application/json",
},
json={
"model": "qwen/qwen3-rerank",
"query": "What is the capital of France?",
"documents": [
"Paris is the capital of France.",
"London is the capital of England.",
"Berlin is a city in Germany.",
],
"top_n": 2,
},
)
response.raise_for_status()
print(response.json())暂无调用数据
This model does not publish tunable parameters.