Qwen3 Rerank · 302ai
Eingabe, $/1M $0.07
Ausgabe, $/1M —
Kontext —
Akzeptiert —
Zuletzt geprüft 04.11.2026 12:00:14 UTC
Quelle —
Preisalarme
API
OpenAI-kompatible API: Die offiziellen OpenAI-SDKs funktionieren mit dieser Basis-URL. Ersetzen Sie YOUR_API_KEY durch Ihren Schlüssel vom Anbieter.
| API-Basis-URL | |
|---|---|
| Endpunkt | |
| Modell-ID | |
curl
curl https://api.302.ai/v1/rerank \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "qwen3-rerank", "query": "what is the capital of France?", "documents": ["Paris is the capital of France.", "Berlin is in Germany."], "top_n": 1}'Python
import requests
r = requests.post(
"https://api.302.ai/v1/rerank",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "qwen3-rerank",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
},
)
print(r.json())JavaScript
const r = await fetch("https://api.302.ai/v1/rerank", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "qwen3-rerank",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
}),
});
console.log(await r.json());Anfrage (JSON)
{
"model": "qwen3-rerank",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
}Antwort (JSON)
{
"model": "qwen3-rerank",
"results": [
{
"index": 0,
"relevance_score": 0.98
}
]
}Die Adresse stammt aus der Modellliste des Anbieters; bitte mit seiner Dokumentation abgleichen.
Source: AI Rate Card, https://airatecard.com/de/c/offer%3A302ai%7Cqwen3-rerank, prices checked 2026-11-04
Technische Details
ID: offer:302ai|qwen3-rerank