AI Rate Card

Entrée, $/1M $0.07

Sortie, $/1M —

Contexte —

Accepte —

Dernière vérification 04.11.2026 12:00:14 UTC

Source —

Alertes de prix

Connectez-vous pour suivre le prix

API

API compatible OpenAI : les SDK officiels d'OpenAI fonctionnent avec cette URL de base. Remplacez YOUR_API_KEY par votre clé du fournisseur.

URL de base de l'API
https://api.302.ai/v1
Point de terminaison
https://api.302.ai/v1/rerank
ID du modèle
qwen3-rerank
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());
Requête (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
}
Réponse (JSON)
{
  "model": "qwen3-rerank",
  "results": [
    {
      "index": 0,
      "relevance_score": 0.98
    }
  ]
}

L'adresse provient de la liste de modèles du fournisseur ; vérifiez-la dans sa documentation.

Documentation API du fournisseur

Source: AI Rate Card, https://airatecard.com/fr/c/offer%3A302ai%7Cqwen3-rerank, prices checked 2026-11-04

Détails techniques

ID: offer:302ai|qwen3-rerank