Qwen3 Reranker 4B · moark
Entrada, $/1M $0.02098
Salida, $/1M $0.02098
Alertas de precio
API
API compatible con OpenAI: los SDK oficiales de OpenAI funcionan con esta URL base. Sustituye YOUR_API_KEY por tu clave del proveedor.
| URL base de la API | |
|---|---|
| Endpoint | |
| ID del modelo | |
curl
curl https://moark.com/v1/rerank \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "Qwen3-Reranker-4B", "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://moark.com/v1/rerank",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "Qwen3-Reranker-4B",
"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://moark.com/v1/rerank", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "Qwen3-Reranker-4B",
"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());Solicitud (JSON)
{
"model": "Qwen3-Reranker-4B",
"query": "what is the capital of France?",
"documents": [
"Paris is the capital of France.",
"Berlin is in Germany."
],
"top_n": 1
}Respuesta (JSON)
{
"model": "Qwen3-Reranker-4B",
"results": [
{
"index": 0,
"relevance_score": 0.98
}
]
}La dirección se toma de la lista de modelos del proveedor; compruébala con su documentación.
Source: AI Rate Card, https://airatecard.com/es/c/offer%3Amoark%7CQwen3-Reranker-4B, prices checked 2026-11-04; seller's page: https://moark.com
Datos técnicos
ID: offer:moark|Qwen3-Reranker-4B