Qwen3 Reranker 8B - API for Egypt, billed in EGP
LiveAlibaba
qwen3-reranker-8bQwen3 Reranker 8B is a text reranking model from Alibaba Cloud built on the Qwen3 architecture.
Modality
Rerank
Context window
41K tokens
Max output
37K tokens
Region
US
Published
27 Oct 2026
Pricing
Input
12.38
EGP per 1M tokens
Output
—
EGP per 1M tokens
Monthly cost example
618.92 EGP
Illustrative estimate: 50M input + 15M output tokens per month at this model’s catalog rates.
Use it via the API
Run inference
POST /v1/rerank — Cohere-compatible rerank: call it over HTTP; the OpenAI SDKs have no method for it.
import httpx
response = httpx.post(
"https://backend.sovereigneg.com/v1/rerank",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "qwen3-reranker-8b",
"query": "What is the capital of Egypt?",
"documents": [
"Paris is the capital of France.",
"Cairo is the capital of Egypt.",
"Madrid is the capital of Spain.",
],
"top_n": 3,
},
timeout=30,
)
print(response.json())const response = await fetch("https://backend.sovereigneg.com/v1/rerank", {
method: "POST",
headers: {
Authorization: "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "qwen3-reranker-8b",
query: "What is the capital of Egypt?",
documents: [
"Paris is the capital of France.",
"Cairo is the capital of Egypt.",
"Madrid is the capital of Spain.",
],
top_n: 3,
}),
})
console.log(await response.json())curl https://backend.sovereigneg.com/v1/rerank \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen3-reranker-8b",
"query": "What is the capital of Egypt?",
"documents": [
"Paris is the capital of France.",
"Cairo is the capital of Egypt.",
"Madrid is the capital of Spain."
],
"top_n": 3
}'Frequently asked questions
What is the context window of Qwen3 Reranker 8B?
Qwen3 Reranker 8B supports a context window of 40,960 tokens (41K).
Where is Qwen3 Reranker 8B hosted?
Qwen3 Reranker 8B is served from US (US-hosted inference).