← model directory

cloudflare

baai/bge-reranker-base

cloudflare/baai/bge-reranker-base

Different from embedding model, reranker uses question and document as input and directly output similarity instead of embedding. You can get a relevance score by inputting query and passage to the reranker. And the score can be mapped to a float value in [0,1] by sigmoid function.

specs & pricing
Type
other
Provider
cloudflare
Model ID
cloudflare/baai/bge-reranker-base
Input price
$0.003 / 1M tokens
Output price
$0 / 1M tokens

Cloud price is billed from prepaid credits when a request fails over to the cloud. Open-weight models run free on GPUs you own — the gateway routes to your nodes first.

What it costs to run

cloud · 1M in + 1M out

$0.003

$0.003 for a million input tokens plus $0 for a million output tokens, billed from credits only when a request fails over to the cloud.

your hardware

cloud only

baai/bge-reranker-base is a hosted model, so it is always served from the cloud. Route easy traffic to an open model on your own hardware and keep this one for the requests that need it.

/// initialize

Call baai/bge-reranker-base through one OpenAI-compatible endpoint.

Mix it with open models on your own hardware — the gateway routes each request to the cheapest place that can serve it.

no credit card · 2 nodes free · openai-compatible

Frequently asked questions

How much does baai/bge-reranker-base cost per million tokens?
Through Wide Area Intelligence, baai/bge-reranker-base costs $0.003 per 1M input tokens and $0 per 1M output tokens when served from the cloud, billed from prepaid credits. A workload of 1M input plus 1M output tokens costs $0.003.

More from cloudflare

← browse all models