Models / Rerank / BAAI

BGE Reranker Base API pricing

$0.007775 per million input tokens, on /v1/rerank.

bge-reranker-baseRerank/v1/rerank

Price · per million input tokens, USD

Get a key
TokensUplinkSwitch
One million input tokens$0.007775
100 million input tokens$0.78
One billion input tokens$7.78
Prices read from the live catalog on 2026-11-04; the page follows the catalog.

BGE Reranker Base specs

Input limit
512 tokens
Developer
BAAI

BGE Reranker Base API request

curl
curl https://api.uplinkswitch.com/v1/rerank \
  -H "Authorization: Bearer $UPLINK_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "bge-reranker-base",
    "query": "How do I rotate an API key?",
    "documents": ["Keys are created in the console.", "Revoke a key with DELETE /v1/keys/{id}.", "Prices follow the live catalog."],
    "top_n": 2
  }'

BGE Reranker Base questions

$0.007775 per million input tokens, from the live catalog. It is billed per input token: the query counts once beside every document, about four characters a token, and the answer’s usage gives the count. A failed request is not charged.

/v1/rerank on https://api.uplinkswitch.com, in OpenAI's request format, with the same sk-uplink- key and prepaid balance as every chat model. Send "bge-reranker-base" as the model.

Yes. Point the SDK's base URL at https://api.uplinkswitch.com/v1 and use your key. Rerank has no OpenAI SDK method, so send the JSON body with any HTTP client: model, query, documents and an optional top_n.