BGE Reranker Base
BGE Reranker Base is a text classification model by BAAI (BAAI BGE Reranker, 278M). 278M-parameter multilingual cross-encoder reranking model by BAAI that jointly scores query-passage pairs for high-precision second-stage RAG ranking.
Selected Model
BGE Reranker Base
bge-reranker-base
Connect Your API Key for the Selected Provider to Run Live
Cloudflare Workers AI
Transport: Stateless proxy · Key setup guide
API Call Cost Estimator
Published RatePre-Run Char EstimateInput (79 tok)
$0.000000
$0.003 / 1M
Approx. Call Cost
$0.000000
Est. ~4 chars/tok
Total Tokens
79
Estimated count
About BGE Reranker Base
Model specifications sourced from the official model card, separated cleanly from provider-specific availability and pricing.
| Attribute | Verified Value |
|---|---|
| Model Name | BGE Reranker Base |
| Canonical ID | bge-reranker-base |
| Maker | BAAI |
| Family | BAAI BGE Reranker |
| Task | Text Classification |
| Parameters | 278M |
| Architecture | XLM-RoBERTa-Base Cross-Encoder |
| Context Window | 512 tokens |
| Capabilities | Text Classification |
| License | MIT |
| Release | 2023-09 |
Where to Run BGE Reranker Base
Only providers whose official model lists confirm this model are listed below, each with verified per-million token pricing, account requirements, key status, and a direct launch action.
@cf/baai/bge-reranker-base$0.003 per 1M input tokensIncluded in Cloudflare Workers AI 10,000 free daily Neurons (resets 00:00 UTC).
Measured Results
Dated outputs, latency, and token metrics produced by scripts/run-benchmarks.ts with the provider used and measurement date.
No Measured Benchmark Results Yet for BGE Reranker Base
Benchmark measurements are never fabricated. Run scripts/run-benchmarks.ts with a supported provider API key and commit data/results/{model-id}.json to publish dated outputs, latency, and token metrics.
API Code Snippets
Copy ready-to-run curl, JavaScript, and Python code snippets for any confirmed provider offering this model.
curl -X POST "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/run/@cf/baai/bge-reranker-base" \
-H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"query": "How do cross-encoder rerankers improve retrieval precision?",
"contexts": [
{
"text": "First candidate passage."
},
{
"text": "Second candidate passage."
}
]
}'Model Comparisons
Explore enabled comparison pages or launch an interactive side-by-side test in the Compare tool.
No Pre-Built Comparison Pages Enabled for BGE Reranker Base
Launch the interactive Compare tool to test this model side by side against any other model or provider right now.
Other models by BAAI:
Frequently Asked Questions
What Is BGE Reranker Base Best Suited For?
BGE Reranker Base is designed for text classification workloads by BAAI. 278M-parameter multilingual cross-encoder reranking model by BAAI that jointly scores query-passage pairs for high-precision second-stage RAG ranking.
How Can I Run BGE Reranker Base Live in the Browser?
Select one of the 1 confirmed provider listed in the Where to Run section, add your browser-stored API key for that provider, and run prompts directly in the live playground above.
Related Models and Tools
Text Classification Tool
Open the dedicated text classification tool.
Compare Side by Side
Benchmark BGE Reranker Base against other models with your own prompt.
AI Model Cost Calculator
Forecast daily and monthly token spend for BGE Reranker Base.
AI Models Finder
Return to the searchable directory of 33 AI models.