Skip to main content

Rerank model

Qwen3 Reranker 8B

qwen/qwen3-reranker-8b

qwen/qwen3-reranker-8b is a reranking model from Qwen you can call on the OceanToken API.

Price card, similar models and questions answered: Qwen3 Reranker 8B on oceantoken.ai.

At a glance

Model IDqwen/qwen3-reranker-8b
TypeRerank
PublisherQwen
PriceOn oceantoken.ai
Endpoint/v1/rerank
API shapeCohere rerank
In the catalog since2026-08-13

API

POST /v1/rerank. Base URL https://api.oceantoken.ai, your OceanToken key as the bearer token. The OpenAI SDKs work unchanged; see the Quickstart.

Download this spec (JSON) · llms.txt for AI assistants

Basic

curl https://api.oceantoken.ai/v1/rerank \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen/qwen3-reranker-8b",
"query": "capital of France",
"documents": [
"Berlin is in Germany.",
"Paris is the capital of France."
]
}'

Request parameters

Only what this model takes. Anything else in the request is left out before it reaches the model.

ParameterTypeDescription
model
required
stringThis model's ID.
query
required
stringWhat to rank against.
documents
required
arrayThe texts to rank.
top_ninteger
1 or more
Return only the best N.

Response

FieldTypeDescription
results[].indexintegerPosition in documents.
results[].relevance_scorenumberHigher is more relevant.
Example response
{
"results": [
{
"index": 1,
"relevance_score": 0.92
},
{
"index": 0,
"relevance_score": 0.11
}
]
}

More examples and how errors and billing work: Embeddings and rerank.

Compared with similar models

Rerank models on OceanToken in the same price range as qwen/qwen3-reranker-8b. Compare their prices on oceantoken.ai.

ModelPublisherContext
Qwen3 Reranker 8B
qwen/qwen3-reranker-8b
Qwen—
Rerank 2.5
voyageai/rerank-2.5
Voyage AI—
Rerank 2.5 Lite
voyageai/rerank-2.5-lite
Voyage AI—

More from Qwen

All Qwen models on OceanToken

Use it

Create an account Price on oceantoken.ai

The facts on this page were read from the live OceanToken catalog on 2026-12-02 (UTC), when the documentation was built. Prices are published on oceantoken.ai.