Specification Parameters
API & System
- Supported invocation methods
- DashScope HTTP、OpenAI 兼容接口、dashscope CLI、SDK · qwen3-rerank Supports the OpenAI-compatible API with a flat request body structure
- Authentication method
- 阿里云百炼 API Key · Authorization: Bearer sk-xxxx; the DASHSCOPE_API_KEY environment variable must be configured
- Optional parameters
- top_n、return_documents、instruct · return_documents defaults to false; instruct only takes effect for qwen3.7-text-rerank, qwen3-rerank, qwen3-vl-rerank
Comparison with Similar Products
| Specifications | 本品 · qwen3-rerank | Agentic Mobile | kimi-k3.1-pro | 火山方舟模型 API | qwen-audio-3.1-asr-flash |
|---|---|---|---|---|---|
| Main controller | — | — | — | — | — |
| NPU | — | — | — | — | — |
| Memory / VRAM | — | — | — | — | — |
| Reference unit price | Request a Quote | Request a Quote | Request a Quote | Request a Quote | Request a Quote |
| Inventory | — | — | — | — | — |
Product introduction
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.