# OpenRouter APIs — Qwen3 Reranker 0.6B (qwen/qwen3-reranker-0.6b)

Guide for calling every confirmed OpenRouter API that serves `qwen/qwen3-reranker-0.6b`.

Model page: https://openrouter.ai/qwen/qwen3-reranker-0.6b
Create an API key: https://openrouter.ai/settings/keys

## Pricing

Standard-variant prices for `qwen/qwen3-reranker-0.6b`, per provider, in the unit each provider bills (tokens, images, seconds of video, or characters of audio). Pay-as-you-go with no markup on the provider's price.

- Prime Intellect: $0.20/M tokens

Full price table, including other variants and per-request charges: https://openrouter.ai/qwen/qwen3-reranker-0.6b
How OpenRouter prices requests: https://openrouter.ai/pricing

## EU in-region routing

`qwen/qwen3-reranker-0.6b` is not currently available through EU in-region routing.

Docs: https://openrouter.ai/docs/guides/features/in-region-routing

## Authentication

Send this header with every request:

- Authorization: Bearer $OPENROUTER_API_KEY

## Rerank API

Rank documents by relevance to a query with `qwen/qwen3-reranker-0.6b` through OpenRouter's Rerank API.

Docs: https://openrouter.ai/docs/api/api-reference/rerank/submit-a-rerank-request

### Endpoint

POST https://openrouter.ai/api/v1/rerank

Headers:
- Content-Type: application/json

### Request fields (qwen/qwen3-reranker-0.6b)

- model: string (required) — `"qwen/qwen3-reranker-0.6b"`
- query: string (required) — the search query
- documents: string[] (required) — the documents to rank
- top_n: integer (optional) — return only the highest-scoring documents

### Response

JSON with the documents sorted by relevance score, highest first:

```json
{
  "results": [{ "index": 0, "relevance_score": 0.98, "document": { "text": "Paris is the capital of France." } }]
}
```

### Examples

#### Rerank documents

```bash
curl https://openrouter.ai/api/v1/rerank \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer $OPENROUTER_API_KEY" \
      -d '{
        "model": "qwen/qwen3-reranker-0.6b",
        "query": "What is the capital of France?",
        "documents": [
          "Paris is the capital of France.",
          "London is the capital of England.",
          "Berlin is the capital of Germany."
        ],
        "top_n": 3
      }'
```

## Errors

Failures return `{"error": {"code": <number>, "message": <string>}}` with the HTTP status:

- 400 — malformed request or an unsupported parameter
- 401 — missing or invalid API key
- 402 — insufficient credits
- 403 — spend limit reached, key disabled, or access blocked
- 404 — unknown model or no provider can serve the request
- 429 — rate limited; retry with backoff
- 502 — the operation failed upstream; failed generations are not billed

---

Canonical version of this document: https://openrouter.ai/qwen/qwen3-reranker-0.6b/llms.txt
