此语言仍有 26 条内容或界面任务待翻译;未完成部分显示中文原文。
AI Home / Model Library / qwen3-rerank Text Rerank Model (Alibaba Cloud Model Studio)

qwen3-rerank Text Rerank Model (Alibaba Cloud Model Studio)

AI 辅助整理
阿里云大模型服务平台百炼(Model Studio)文本语义检索RAG 应用召回结果重排序自定义排序任务指令(instruct)Enter Reference Price · Official Prices Prevail

qwen3-rerank is a text rerank model provided by Alibaba Cloud Model Studio, designed to perform a second, more precise ranking of candidate documents from the retrieval stage, pushing the most query-relevant results to the top. It primarily serves semantic text search and RAG applications. A single request supports up to 500 documents, with a per-query or per-document limit of 4,000 tokens, and supports 100+ mainstream languages including Chinese and English. The model is compatible with the OpenAI-compatible API (flat request body structure) and supports different ranking strategies such as question-answering retrieval and semantic similarity via the instruct parameter. The page explicitly notes that gte-rerank will be taken offline on 5 30, 2026, and recommends qwen3-rerank as a replacement, making it a preferred option when migrating legacy retrieval pipelines; relevance scores are relative only within the current request and cannot be compared across requests.

Context tokensPending Verification
Input / Million tokensPending Verification
Output / Million tokensPending Verification
Versionqwen3-rerank
Deployment云端 API 调用:需获取百炼 API Key 并配置到环境变量 DASHSCOPE_API_KEY,通过 DashScope HTTP 接口、SDK、dashscope CLI 或 OpenAI 兼容接口调用,请求地址形如 https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/compatible-api/v1/reranks

Capabilities & Use Cases

文本语义检索RAG 应用召回结果重排序自定义排序任务指令(instruct)

Purpose and positioning: Official documentation explains that retrieval systems in the recall stage may return imprecise results for efficiency reasons; a rerank model performs a second, more precise ranking of recalled documents to ensure the most relevant results appear first. The application scenarios for qwen3-rerank are marked as semantic text search and RAG applications. Specifications and invocation constraints: In the model overview table, the max document count for qwen3-rerank is 500 and the max input tokens per item is 4,000; when a single Query or Document exceeds the limit, API returns HTTP 400 and does not truncate the input. Optional parameters include top_n to control the number of returned results, return_documents (default false, to reduce network transmission overhead) to control whether original documents are returned, and instruct to support custom ranking task descriptions (e.g., the default instruction for question-answering retrieval tasks, or a semantic similarity instruction for FAQ scenarios), recommended to be written in English; if unspecified, ranking defaults to the question-answering retrieval task. API and compatibility: qwen3-rerank supports the DashScope HTTP API (request body uses the nested input/parameters structure), the dashscope CLI, Python/Node.js SDKs, and the OpenAI-compatible API via POST https://{WorkspaceId}.cn-beijing.maas.aliyuncs.com/compatible-api/v1/reranks(扁平结构); note that gte-rerank-v2 and qwen3-vl-rerank do not support the OpenAI-compatible API. Before calling, you need to obtain a API Key and configure the DASHSCOPE_API_KEY environment variable; SDK calls also require installing the DashScope SDK, and parameter structures differ between HTTP (nested) and SDK (flat). Selection guidance and limitations: For multimodal (image/video) reranking, choose qwen3-vl-rerank, whose document quota distinguishes between text 100, images 40, and videos 4; if individual documents are long or you need up to 201 languages, consider qwen3.7-text-rerank (30,000 tokens per item). qwen3-rerank's batch of 500 documents and per-item limit of 4,000 tokens fit typical RAG reranking pipelines. The relevance_score in the response ranges from 0.0 to 1.0 and is used only for ranking within the current request; it cannot be compared across requests. Before purchase, verify: workspace ID and region (e.g., cn-beijing), rate-limit rules, the gte-rerank deprecation notice effective 5 30, 2026, and whether the instruct policy matches your business ranking intent.

Capability Comparison

No verified item-by-item scores available; capability radar and overall ranking will not be displayed for now.

Data & Sources

Data Provider
阿里云大模型服务平台百炼(Model Studio)
On-site profile update
2026-11-19 12:40:50

On-site update time is not equivalent to the model release date. Official or platform benchmark scores are not displayed when test sets, dates, or original results are not provided.

Version History

qwen3-rerankCurrent Entry Version

Historical versions, release and discontinuation dates to be verified.

Access & Usage

Please confirm the API address, model identifier, authentication, permissions, and billing rules according to the official documentation.

Open Official Documentation

Platform Tested

No verified model test reports available. Model capability tags do not indicate completed platform testing.
Product Selection Assistant

让需求变成可修改的筛选条件

依据已录入参数生成条件,结果可查看和修改。帧率与性能需核对实测,不能仅凭算力数值保证。