Reranking

BGE Reranker v2

Cross-encoder reranking model for improving retrieval precision. Ensures the most relevant classical text passages surface for astrological queries.

Parameters
568M
Context
8K
Input Price
$0.003/1M tok
Output Price
N/A/1M tok
Latency
~30ms

Key Strengths

Use Cases

RAG pipeline reranking
Search result improvement
Citation accuracy
Knowledge retrieval

Quick Start

import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'https://api.xalen.io/v1',
  apiKey: 'your-xalen-api-key'
});

const response = await client.chat.completions.create({
  model: 'bge-reranker-v2',
  messages: [
    { role: 'system', content: 'You are a Vedic astrology expert.' },
    { role: 'user', content: 'Analyze the effects of Jupiter in the 7th house.' }
  ],
  max_tokens: 1024
});

console.log(response.choices[0].message.content);

Frequently Asked Questions

What is BGE Reranker v2?

Cross-encoder reranking model for improving retrieval precision. Ensures the most relevant classical text passages surface for astrological queries.

How much does BGE Reranker v2 cost?

Pricing starts at $0.003 per 1M input tokens and N/A per 1M output tokens. Batch processing gets a 50% discount. No monthly minimums.

What languages does BGE Reranker v2 support?

14 Indian languages including Hindi, Tamil, Telugu, Kannada, Malayalam, Bengali, Marathi, Gujarati, Odia, Punjabi, Assamese, Sinhala, Nepali, and Sanskrit. Plus English.

How do I access BGE Reranker v2?

Use any OpenAI-compatible SDK. Set base URL to api.xalen.io/v1 and use your XALEN API key. Python, JavaScript, and Go SDKs also available.

Related Models

Vedika Standard
Domain Specialist · 120B
GPT-4.1
Frontier · ~1.8T
GPT-4.1 Mini
Frontier · ~200B

Start using BGE Reranker v2 today

Free sandbox available. No credit card required to start.

Get API Key