Skip to main content
BAAI · Text Classification · 278M

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

Not Set
59 chars
Press Ctrl + Enter to run

API Call Cost Estimator

Published RatePre-Run Char Estimate

Input (79 tok)

$0.000000

$0.003 / 1M

Approx. Call Cost

$0.000000

Est. ~4 chars/tok

Total Tokens

79

Estimated count


Official Model Card

About BGE Reranker Base

Model specifications sourced from the official model card, separated cleanly from provider-specific availability and pricing.

BGE Reranker Base model-card specifications
AttributeVerified Value
Model NameBGE Reranker Base
Canonical IDbge-reranker-base
MakerBAAI
FamilyBAAI BGE Reranker
TaskText Classification
Parameters278M
ArchitectureXLM-RoBERTa-Base Cross-Encoder
Context Window512 tokens
CapabilitiesText Classification
LicenseMIT
Release2023-09

Confirmed Providers

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.

Cloudflare Workers AIStandard AccessNo Key Saved
Model ID: @cf/baai/bge-reranker-base$0.003 per 1M input tokens

Included in Cloudflare Workers AI 10,000 free daily Neurons (resets 00:00 UTC).

Add Key

Benchmark Runner

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.


Integration

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."
    }
  ]
}'

Head-to-Head

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.

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