models

VoyageAI by MongoDB: rerank-2.5-lite

Markdown · JSON

VoyageAI by MongoDB: rerank-2.5-lite

rerank-2.5-lite is Voyage AI’s latency-oriented instruction-following reranker for a supplied text candidate set. It retains a 32,000-token query–document context and multilingual support, returning an ordered list of relevance scores and original document indices.

About the model

This description covers the model’s capabilities. Available in Ailoot inputs, outputs and options are listed for the selected method below.

rerank-2.5-lite is the lightweight member of Voyage AI's 2.5 reranker release. The manufacturer describes it as a generalist model balancing latency and relevance quality, with natural-language instruction following and multilingual support. Its input is a query and candidate texts, and its output is a refined order of those candidates with relevance scores.

A lightweight second-stage relevance decision

The Lite model jointly processes each query–document pair as a cross-encoder. It can follow a first-stage embedding or lexical search, refining the passages that stage selected. This differs from preparing a reusable embedding index: the reranker examines the submitted query and document text together for the current relevance decision.

For an interactive help search, submit the candidate explanations that might answer the user's question. Keep enough of each passage to convey the behavior and its qualifications, and preserve the association between the input index and source item. A focused candidate set helps make the reranking task clear while leaving the retrieved evidence usable for display or a later answer.

Instructions express what the user wants prioritized

Like rerank-2.5, Lite accepts natural-language instructions before or after the query. The maker's examples use them to emphasize document components, select a preferred source type or add context to an ambiguous word. An application can provide a standing relevance preference, or the current question can include a more specific one.

An illustrative support query can ask which passage explains an error, with an instruction to prioritize troubleshooting steps over general product descriptions. A document search can ask for original policy wording rather than a discussion of the policy. Describe the intended evidence and keep the instruction concise. Instructions influence relevance scores; prepare any strict version, date or permission restrictions in the candidate selection rather than treating a relevance preference as a guaranteed filter.

Read the ranking and return the source passage

The output is sorted by decreasing relevance. Each result includes the original document index and a floating-point score; the optional return-documents setting also returns the corresponding input text. The top-k option determines the number of leading results returned, while omitting it returns the ranking for all submitted candidates.

Use those indices to recover the source passage and its identifier. A reranked candidate can become a search result or evidence for the next RAG step, but the output is an ordering of provided text rather than a rewritten answer. Evaluate whether the leading passages satisfy both the question and the relevance instruction, including on the languages and document types actually present in the collection.

Limits and a practical candidate budget

The 2.5 Lite edition has a documented 8,000-token query maximum and a 32,000-token limit for the query plus each individual document. It is distinct from the earlier rerank-2-lite model and its smaller context. At most 1,000 documents can be submitted, and total input is limited to 600,000 tokens under the formula: query tokens multiplied by candidate count, plus the sum of candidate-document tokens.

For latency-sensitive use, the maker's FAQ recommends rerank-2.5-lite with no more than 200,000 total tokens per request. This is practical guidance below the stated maximum, not a different per-document window. A longer query or instruction is counted once for every candidate pair, so candidate count and query length both affect the total.

Truncation is enabled by default and shortens over-length query/document input to fit; disabling it returns an error for an over-length query or pair. Prepare compact, answer-bearing candidates deliberately so useful evidence is not left beyond a truncated boundary. Selecting fewer output results through top-k does not remove the other supplied candidates from the token calculation. Inspect the returned source passages and refine input preparation around the actual questions the search interface needs to answer.

Ailoot Ultra · Rerank POST /v1/rerank voyageai/rerank-2.5-lite

voyageai/rerank-2.5-lite

VoyageAI by MongoDB /voyageai/rerank-2.5-lite

Overview

rerank-2.5-lite is Voyage AI’s latency-oriented instruction-following reranker for a supplied text candidate set. It retains a 32,000-token query–document context and multilingual support, returning an ordered list of relevance scores and original document indices.

Accepted inputs
Text
Results
Ranked results

Available in Ailoot · inputs & methods

Ailoot Ultra · Rerank POST /v1/rerank
Input types
text
Output types
rerank
Output format
json
FieldTypeRequirementValues & limitsDefault
FielddocumentsTypearrayRequirementRequiredValues & limitsDefault—
FieldmodelTypestringRequirementRequiredValues & limits
voyageai/rerank-2.5-lite
Default—
FieldproviderTypeschemaRequirementOptionalValues & limitsDefault—
FieldqueryTypestringRequirementRequiredValues & limitsDefault—
Fieldsession_idTypestringRequirementOptionalValues & limitsDefault—
Fieldtop_nTypeintegerRequirementOptionalValues & limits
Minimum: 1
Default—
FieldtraceTypeschemaRequirementOptionalValues & limitsDefault—
FielduserTypestringRequirementOptionalValues & limitsDefault—
Fielddocuments[].textTypestringRequirementOptionalValues & limitsDefault—
Fielddocuments[].imageTypestringRequirementOptionalValues & limitsDefault—
Input material combinations

text_rerank · Required: query, documents array with minItems1

Method parameters and lifecycle
ParameterContract
Parametercontent_typeContractapplication/json
ParameterrequiredContractmodel, query, documents
Parametermaterial_typesContracttext
Parameteroptional_controlsContractprovider, session_id, top_n, trace, user
Parametermultimodal_input_bindingContractnull

Lifecycle: synchronous

Send the exact model ID and retain the complete native response.

Pricing

Tariff references do not add request options. Supported parameters are listed for the selected method.

Fast mode
Not specified When fast mode is selected
Flex mode
Not specified When flex mode is selected
Maximum reasoning effort
Not specified When maximum reasoning effort uses the default adjustment

Ailoot rates

Prices by configuration

Match each charge to the conditions shown. Use one rate for each set of alternative configurations.

ConfigurationRate scheduleBilling unitCharge
ConfigurationBase token ratesRate scheduleBase rateBilling unit—Charge
Input · Input tokens — / 1K tokens
Output · Output tokens — / 1K tokens
Input · Cache read — / 1K tokens
Input · Cache write — / 1K tokens
Input · Cache write, 1 hour — / 1K tokens
ConfigurationUltraRate schedule—Billing unit/ 1K tokensCharge
Input · input token $0.00004 / 1K tokens

Ailoot reserves an estimated amount before a request. After the result, it settles the final charge from measured usage. Streaming settlement uses the final usage record. How reservation and settlement work →

Example requests

Ailoot Ultra · Rerank

Retained official request structure; documentary exampleUse your actual request material and retain the complete result
{
  "documents": [
    "Paris is the capital of France.",
    "Berlin is the capital of Germany."
  ],
  "model": "voyageai/rerank-2.5-lite",
  "query": "What is the capital of France?",
  "top_n": 3
}
set -eu
: "${AILOOT_API_KEY:?Set your Ailoot API key}"
: "${AILOOT_REQUEST_FILE:?Set your actual JSON request file}"
export AILOOT_REQUEST_FILE
python3 - <<'PY_REQUEST'
import json,os
from pathlib import Path
p=json.loads(Path(os.environ['AILOOT_REQUEST_FILE']).read_text(encoding='utf-8'))
if not isinstance(p,dict): raise SystemExit('Request must be a JSON object')
p['model']='voyageai/rerank-2.5-lite'
Path('request.json').write_text(json.dumps(p,ensure_ascii=False),encoding='utf-8')
PY_REQUEST
curl --fail-with-body --silent --show-error https://api.ailoot.ai/v1/rerank \
  -H "Authorization: Bearer $AILOOT_API_KEY" -H 'Content-Type: application/json' \
  --data-binary @request.json -D response-headers.txt -o result.json
python3 - <<'PY_RESULT'
import json
from pathlib import Path
print(json.dumps(json.loads(Path('result.json').read_text()),ensure_ascii=False,indent=2))
PY_RESULT

Receive and save results

Ailoot Ultra · Rerank

json

Keep all completed results

Keep every complete returned response, file and content part.

Every actual result index, finite relevance_score and original document object is retained. Indices bind the original document array. Entire original JSON is stored and returned only after settlement.

If the original response needs checking

Preserve original operation and full/partial reply; do not replay POST.

Response fields
FieldType
FieldmodelTypestring
FieldidTypestring
FieldproviderTypestring
Fieldresults[].indexTypeinteger
Fieldresults[].relevance_scoreTypenumber
Fieldresults[].document.textTypestring
Fieldresults[].document.imageTypestring
Fieldusage.search_unitsTypeinteger
Fieldusage.total_tokensTypeinteger
Fieldusage.costTypenumber
Errors and next steps
ResponseConditionNext step
Response400 · invalid_request_errorConditionInvalid required field, representation or valueNext stepCorrect the indicated request field.

Aliases

Model aliases

Ailoot Ultra voyageai/rerank-2.5-lite

Method path aliases

Use the method paths shown above.

Related caller IDs

voyageai/rerank-2.5-lite

FAQ · VoyageAI by MongoDB: rerank-2.5-lite
What inputs and results are available?

POST /v1/rerank · voyageai/rerank-2.5-lite: text → rerank

Which fields does the request use?

POST /v1/rerank · voyageai/rerank-2.5-lite: documents, model, provider, query, session_id, top_n, trace, user

What limits apply?

POST /v1/rerank · voyageai/rerank-2.5-lite: top_n.minimum: 1

More details

Connect Ailoot to Claude Code, OpenCode, Hermes or your own app.

The company and its project portfolio

The company and its project portfolio: millions of customers; monthly sales in the billions.

Buy tokens at a discount.

Subscription discounts for regular use. Promo codes offer up to 50% off token purchases.

Subscription
Choose a discounted plan for your regular requests.
Promo code: up to 50% off
Enter your code at checkout. The price updates to reflect the current promotion.
Spending in your history
The model, tokens and amount are recorded for each request.

Choose a subscription · View model prices

Connect the API to a product you sell.

Use Ailoot in SaaS, apps and bots under its official service offer and licence agreement. Request a reseller licence for resale.

Commercial application
Add text, image, video and audio generation to paid features in your service.
Reseller licence
Send a description of your project and how you provide access. Request written terms for use and resale.
Documents on the website
The service offer, licence agreement and data processing policy are available before you connect.

Request a reseller licence · Service offer and licence agreement