---
title: "nemotron-3.5-rerank-1b"
publisher: "nvidia"
type: "endpoint"
updated: "2026-12-01T16:48:27.788Z"
description: "1B multimodal reranking model that scores how relevant a text or document-image passage is to a query."
canonical: "https://build.nvidia.com/nvidia/nemotron-3_5-rerank-1b"
---

[API Reference](/nvidia/nemotron-3_5-rerank-1b/apireference.md) — Endpoints, authentication, request schemas, and responses.

# Nemotron 3.5 Rerank 1B Overview

## Description:

Nemotron 3.5 Rerank 1B has **bfloat16 (BF16) and NVIDIA four-bit floating-point (NVFP4)** variants. This combined Model Card covers both variants. NVIDIA API Catalog will provide one hosted Preview API experience using the **BF16** variant.

**Nemotron-3.5-Rerank-1B** was developed by NVIDIA for multilingual and multimodal question-answering retrieval. It is a reranker optimized to produce a logit representing the relevance of a document to a text query. Documents may contain text, page images, or both, including charts, tables, and infographics. The model can be integrated into classical or agentic vision Retrieval-Augmented Generation (RAG) pipelines. For text retrieval, the model was evaluated across 34 languages: English, Arabic, Assamese, Bengali, Bulgarian, Chinese, Danish, Dutch, Finnish, French, German, Hindi, Hinglish, Indonesian, Italian, Japanese, Korean, Malay, Marathi, Nepali, Norwegian, Persian, Portuguese, Romanian, Russian, Spanish, Swahili, Swedish, Tamil, Telugu, Thai, Ukrainian, Urdu, and Vietnamese. For image retrieval, it was evaluated across 18 languages: Arabic, Bengali, Chinese, English, Persian, Finnish, French, German, Hindi, Indonesian, Japanese, Korean, Russian, Spanish, Swahili, Telugu, Thai, and Yoruba. The model may support additional languages beyond these evaluation sets.

**Nemotron-3.5-Rerank-1B-NVFP4** is the quantized version of [Nemotron-3.5-Rerank-1B-BF16](https://huggingface.co/nvidia/Nemotron-3.5-Rerank-1B-BF16). It uses NVFP4 quantization and Quantization-Aware Distillation (QAD).

_This model is ready for commercial or non-commercial use._

## License/Terms of Use:

**GOVERNING HOSTING TERMS:** Use of this trial service is governed by the [NVIDIA API Trial Terms of Service](https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf). Use of the model is governed by [OpenMDW License Agreement, version 1.1](https://github.com/OpenMDW/OpenMDW/blob/main/1.1/LICENSE.OpenMDW-1.1). <br> **ADDITIONAL INFORMATION:** [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) Ministral-3-8B-Instruct-2512-BF16.

## Deployment Geography:

Global

## Use Case:

The reranking model serves as a key component of a multimodal retrieval system, such as a vision RAG pipeline, where it helps improve overall retrieval accuracy. A multimodal retrieval system typically uses a multimodal embedding model (dense retrieval) to return a set of potentially relevant documents given an input query. The reranking model then evaluates these candidate documents in greater detail and reorders them based on their relevance to the query, producing a final ranking. By refining the initial retrieval results, the reranking stage can improve the precision of the retrieved documents and ultimately lead to more accurate downstream responses.

## Release Date:

The following dates are planned release targets.

Build.NVIDIA.com 11/30/2026 via https://build.nvidia.com/nvidia/nemotron-3_5-rerank-1b <br>
Hugging Face (BF16) 11/30/2026 via [BF16 Model Card](https://huggingface.co/nvidia/Nemotron-3.5-Rerank-1B-BF16) <br>
Hugging Face (NVFP4) 11/30/2026 via https://huggingface.co/nvidia/Nemotron-3.5-Rerank-1B-NVFP4

## References:

- [BF16 Model Card](https://huggingface.co/nvidia/Nemotron-3.5-Rerank-1B-BF16)
- [NVFP4 Model Card](https://huggingface.co/nvidia/Nemotron-3.5-Rerank-1B-NVFP4)

## Model Architecture:

**Architecture Type:** Transformer <br>
**Number of Model Parameters:** 1.55B

### BF16

**Network Architecture:** Other: The released model is a vision-language cross-encoder containing a Pixtral-based vision encoder, a bidirectional Ministral3 language-model tower, and linear scoring head. Training proceeded in two stages. In the first stage, the 1B reranker's language model was distilled from the [Nemotron-3.5-Rerank-8B-BF16](https://huggingface.co/nvidia/Nemotron-3.5-Rerank-8B-BF16) teacher on a blend of text-only datasets. In the second stage, the 1B reranker model initialized from the first-stage checkpoint was trained on image and combined image-text datasets.

### NVFP4

**Network Architecture:** Other: The released model contains a Pixtral-based vision encoder, a bidirectional Ministral3 language-model tower, and a linear scoring head.

The Nemotron-3.5-Rerank-1B-NVFP4 is the quantized version of the [Nemotron-3.5-Rerank-1B-BF16](https://huggingface.co/nvidia/Nemotron-3.5-Rerank-1B-BF16). For distribution, the NVFP4 checkpoint was converted to the compressed-tensors format. NVFP4 quantization is applied to the weights and activations of linear layers only in both the language model and the vision encoder, targeting the NVFP4 data type for efficient inference.

## Input:

**Input Type(s):** Text, Image <br>
**Input Format(s):** Text: String; Image: Red, Green, Blue (RGB) <br>
**Input Parameters:** Text: One-Dimensional (1D), Image: Two-Dimensional (2D) <br>
**Other Properties Related to Input:** Each model input is one text query paired with one document. The document may be an image, text, or a combination of image and text. The default image `longest_edge` is 1,120 pixels and can be increased to 1,540 pixels. The source models' maximum context length is 32,768 tokens, including text and image tokens. <br>
**Hosted API Input:** A `query` object containing `text` and a list of 1 to 512 candidate `passages`. Each passage contains `text`, an `image` supplied as a base64-encoded data URL, or both. <br>
**Hosted API Context Length:** Each query-passage pair must fit within 10,240 tokens, including image tokens. <br>
**Hosted API Input Handling:** `truncate: NONE` (default) rejects an over-length pair. `truncate: END` removes tokens from the end of the passage text; the query and image are kept whole. No generation hyperparameters are used.

## Output:

**Output Type(s):** Other: Floats <br>
**Output Format:** List of Floats <br>
**Output Parameters:** One-Dimensional (1D) <br>
**Other Properties Related to Output:** Each value is a raw relevance logit. Higher values indicate greater predicted relevance of a document to a query; the logit is not a probability. The hosted API returns a JSON object with a `rankings` array sorted by descending logit. Each ranking contains the original passage `index` and its `logit`.

Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA's hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.

## Software Integration:

**Runtime Engine(s):** Other: Photon engine (NVIDIA custom inference engine) for the hosted BF16 Preview API <br>
**API Endpoint and Request/Response Format:** `POST https://ai.api.nvidia.com/v1/retrieval/nvidia/nemotron-3.5-rerank-1b/reranking`, with JSON requests and responses. See the [API reference](https://docs.api.nvidia.com/nim/reference/nvidia-nemotron-3_5-rerank-1b).

The following compatibility information applies to the source model variants.

| Variant | Runtime Engine(s) | Supported Hardware Microarchitecture Compatibility | Supported Operating System(s) |
| --- | --- | --- | --- |
| BF16 | Transformers, Sentence Transformers, vLLM | NVIDIA Ampere, NVIDIA Blackwell, NVIDIA Hopper | Linux |
| NVFP4 | vLLM | NVIDIA Blackwell | Linux |

The V-shaped development lifecycle model (V-model) pairs development activities with corresponding testing activities.

The integration of foundation and fine-tuned models into AI systems requires additional testing using use-case-specific data to ensure safe and effective deployment. Following the V-model methodology, iterative testing and validation at both unit and system levels are essential to mitigate risks, meet technical and functional requirements, and ensure compliance with safety and ethical standards before deployment.

## Model Version(s):

- **Nemotron-3.5-Rerank-1B-BF16:** The variant selected for the NVIDIA API Catalog Preview API. See the [BF16 Model Card](https://huggingface.co/nvidia/Nemotron-3.5-Rerank-1B-BF16).
- **Nemotron-3.5-Rerank-1B-NVFP4:** The NVFP4 quantized derivative, covered here with its own architecture, quantization, training, runtime, and evaluation details. See the [NVFP4 Model Card](https://huggingface.co/nvidia/Nemotron-3.5-Rerank-1B-NVFP4).

Shared model input/output properties and the four Model Card++ subcards apply to both variants. Variant-specific disclosures are identified explicitly.

## Training, Testing, and Evaluation Datasets:

### BF16 Training Dataset

**Data Modality:**

* Text
* Image

**Image Training Data Size:** 1 Million to 1 Billion Images <br>
**Text Training Data Size:** 1 Billion to 10 Trillion Tokens <br>
**Data Collection Method by dataset:** Hybrid: Automated, Synthetic <br>
**Labeling Method by dataset:** Hybrid: Automated, Manually-Labeled, Synthetic <br>
**Properties:** Training used 2.3M samples containing page images, with or without accompanying text, and 21M text-only samples. Content includes queries and documents with text, charts, tables, and infographics, drawn from publicly available, commercially permissible datasets and synthetically generated datasets. **Linguistic Characteristics:** Training sources include multilingual retrieval text and the multilingual seed dataset listed below. A per-language breakdown of the training sets is not available, and the source Model Cards do not provide an exhaustive retained-language inventory. The 34-language text-retrieval and 18-language image-retrieval figures describe evaluation coverage and do not establish training-language coverage. **Text Volume:** The BF16 text-training size falls within the source-reported 1 Billion to 10 Trillion Tokens range.

#### Public Datasets:

The language model component of the `Nemotron-3.5-Rerank-1B-BF16` was trained on a blend of text-only dataset files. The public source files used to create text-only training datasets are listed in the [Nemotron-3-Embed-8B-BF16](https://huggingface.co/nvidia/Nemotron-3-Embed-8B-BF16#dataset-overview) model card.

The following publicly available datasets were also used to train the vision encoder and multimodal projector on image-only and combined image-text inputs.

| Dataset name | Reference |
| --- | --- |
| ArxivQA | [https://huggingface.co/datasets/MMInstruction/ArxivQA](https://huggingface.co/datasets/MMInstruction/ArxivQA) |
| ColPali-PDF | [https://huggingface.co/datasets/vidore/colpali_train_set](https://huggingface.co/datasets/vidore/colpali_train_set) |
| InfoVQA | [https://www.docvqa.org/datasets/infographicvqa](https://www.docvqa.org/datasets/infographicvqa) |
| TAT-DQA | [https://github.com/NExTplusplus/TAT-DQA](https://github.com/NExTplusplus/TAT-DQA) |
| docmatix-ir | [https://huggingface.co/datasets/Tevatron/docmatix-ir](https://huggingface.co/datasets/Tevatron/docmatix-ir) |
| Docmatix | [https://huggingface.co/datasets/HuggingFaceM4/Docmatix](https://huggingface.co/datasets/HuggingFaceM4/Docmatix) |
| wiki-ss-nq | [https://huggingface.co/datasets/Tevatron/wiki-ss-nq](https://huggingface.co/datasets/Tevatron/wiki-ss-nq) |

Synthetic text and image datasets were created either by generating queries from seed documents or by generating complete question–answer pairs through LLM-based prompting using the models listed below.

<details>
<summary><strong>Synthetic Data Generation Models and Seed Datasets</strong></summary>

<table>
<tr>
<th>LLMs used to generate synthetic datasets</th>
</tr>
<tr>
<td>nvidia/NVIDIA-Nemotron-3-Super-120B-A12B-BF16<br>nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B-NVFP4</td>
</tr>
<tr>
<td>Qwen/Qwen3-Next-80B-A3B-Instruct<br>Qwen/Qwen3-235B-A22B<br>Qwen/Qwen3.5-397B-A17B<br>Qwen/Qwen3.5-35B-A3B<br>Qwen/Qwen3.6-27B<br>Qwen/Qwen3.6-35B-A3B<br>Qwen/Qwen3.8-27B</td>
</tr>
<tr>
<td>google/gemma-4-31B-it</td>
</tr>
<tr>
<td>mistralai/Pixtral-12B-2409</td>
</tr>
<tr>
<td>openai/gpt-oss-120b<br>openai/gpt-oss-20b</td>
</tr>
</table>

<table>
<tr>
<th colspan="2">Seed Datasets</th>
</tr>
<tr>
<th>Dataset</th>
<th>Reference</th>
</tr>
<tr>
<td>FinePdfs</td>
<td><a href="https://huggingface.co/datasets/HuggingFaceFW/finepdfs">https://huggingface.co/datasets/HuggingFaceFW/finepdfs</a></td>
</tr>
<tr>
<td>CentralActs</td>
<td><a href="https://zenodo.org/records/5088102">https://zenodo.org/records/5088102</a></td>
</tr>
<tr>
<td>BRIGHT</td>
<td><a href="https://huggingface.co/datasets/xlangai/BRIGHT">https://huggingface.co/datasets/xlangai/BRIGHT</a></td>
</tr>
<tr>
<td>MultiHiertt</td>
<td><a href="https://github.com/psunlpgroup/MultiHiertt">https://github.com/psunlpgroup/MultiHiertt</a></td>
</tr>
<tr>
<td>Digital Corpora</td>
<td><a href="https://digitalcorpora.org/corpora/file-corpora/cc-main-2021-31-pdf-untruncated/">https://digitalcorpora.org/corpora/file-corpora/cc-main-2021-31-pdf-untruncated/</a></td>
</tr>
<tr>
<td>Vdr-multilingual</td>
<td><a href="https://huggingface.co/datasets/llamaindex/vdr-multilingual-train">https://huggingface.co/datasets/llamaindex/vdr-multilingual-train</a></td>
</tr>
</table>

</details>

### NVFP4 Quantization and QAD Dataset

**Data Modality:**

* Text
* Image

**Image Training Data Size:** 30k samples <br>
**Text Training Data Size:** 30k samples <br>
**Data Collection Method by dataset:** Hybrid: Automated, Synthetic <br>
**Labeling Method by dataset:** Hybrid: Automated, Synthetic <br>
**Properties:** This checkpoint is an NVFP4 post-training-quantized derivative of `nvidia/Nemotron-3.5-Rerank-1B-BF16`. NVFP4 quantization and Quantization-Aware Distillation (QAD) used a 30k-pair dataset of (query, passage) pairs, selected to cover typical cases and tail cases (including long contexts up to 32k tokens) and containing both images and text. Of these pairs, initial post-training quantization calibration used 384 pairs: 128 image pairs and 256 text pairs (25% of which are long). Initial QAD of the vision encoder used only the image pairs. Later joint text and image+text QAD used the full 30k-pair dataset, with about 2% held out for validation. **Linguistic Characteristics:** This derivative inherits the BF16 training provenance described above. A separate language breakdown for the additional QAD subset is not reported in the source Model Card.

`Nemotron-3.5-Rerank-1B-BF16`'s training was conducted using publicly available, commercially permissible datasets and synthetically generated datasets. For more detail about the text and image datasets used for training please refer to the [Nemotron-3.5-Rerank-1B-BF16's model card](https://huggingface.co/nvidia/Nemotron-3.5-Rerank-1B-BF16#training-dataset).

### Testing Dataset

**Data Collection Method by dataset:** Not Applicable <br>
**Labeling Method by dataset:** Not Applicable <br>
**Properties:** Not Applicable. No separate testing dataset was used; model quality is assessed using the evaluation benchmark datasets described below. Therefore, separate-test data counts, modalities, content and linguistic characteristics are Not Applicable. The approximately 2% held-out portion of the NVFP4 QAD dataset is used for validation.

### Evaluation Dataset:

**Properties:** The table describes the published benchmark releases. ViDoRe V3 applies to both variants; MIRACL-VISION is reported for BF16.

| Dataset | Published Data Count | Modalities | Nature of Content | Linguistic Characteristics |
| --- | --- | --- | --- | --- |
| [ViDoRe V3](https://huggingface.co/blog/QuentinJG/introducing-vidore-v3) | Approximately 26,000 document pages and 3,099 queries; 10 datasets, including 8 public and 2 private datasets | Text and document-page images | Professional documents containing text, tables, charts, images and infographics | English and French document corpora; queries in English, French, Spanish, German, Italian and Portuguese |
| [MIRACL-VISION](https://huggingface.co/datasets/nvidia/miracl-vision) | 338,734 images and 7,898 questions | Text queries and document images | Images of Wikipedia articles with relevance annotations | 18 languages |

#### BF16 Evaluation Dataset

**Benchmarks:**

- [ViDoRe V3](https://huggingface.co/blog/QuentinJG/introducing-vidore-v3)
- [MIRACL-VISION](https://huggingface.co/datasets/nvidia/miracl-vision)

**Benchmark Score:** NDCG@10

The BF16 model was evaluated with its default image `longest_edge` set to 1,120 pixels. It reranked the top 50 candidates retrieved by [Nemotron-3.5-Embed-1B-BF16](https://huggingface.co/nvidia/Nemotron-3.5-Embed-1B-BF16).

| Model | ViDoRe V3: image | ViDoRe V3: text | ViDoRe V3: image + text | MIRACL-VISION: image |
| --- | --- | --- | --- | --- |
| Nemotron-3.5-Rerank-1B-BF16 | 63.60 | 64.94 | 65.24 | 72.17 |

**Data Collection Method by dataset:** Hybrid: Automated, Synthetic <br>
**Labeling Method by dataset:** Hybrid: Automated, Manually-Labeled, Synthetic <br>

#### NVFP4 Evaluation Dataset

**Benchmark:** [ViDoRe V3](https://huggingface.co/blog/QuentinJG/introducing-vidore-v3) <br>
**Benchmark Score:** NDCG@10

The BF16 and NVFP4 models were evaluated with their default image `longest_edge` set to 1,120 pixels. Both models reranked the top 50 candidates retrieved by [Nemotron-3.5-Embed-1B-BF16](https://huggingface.co/nvidia/Nemotron-3.5-Embed-1B-BF16).

| Model | ViDoRe V3: image | ViDoRe V3: text | ViDoRe V3: image + text |
| --- | --- | --- | --- |
| Nemotron-3.5-Rerank-1B-NVFP4 | 63.20 | 64.65 | 64.94 |

**Data Collection Method by dataset:** Hybrid: Automated, Synthetic <br>
**Labeling Method by dataset:** Hybrid: Automated, Synthetic <br>

## Inference

The following configuration applies to the hosted BF16 Preview API.

**Acceleration Engine:** Other: Photon engine (NVIDIA custom inference engine) <br>
**Test Hardware:**

- NVIDIA Ada Lovelace L40S
- NVIDIA Ampere A100
- NVIDIA Ampere A10G
- NVIDIA Hopper H100
- NVIDIA Blackwell GB200
- NVIDIA Blackwell Ultra B300
- NVIDIA Blackwell GB10
- NVIDIA Blackwell RTX PRO 6000 Server Edition

## Ethical Considerations

NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. Developers should work with their internal model team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.

Please make sure you have proper rights and permissions for all input image and video content; if image or video includes people, personal health information, or intellectual property, the image or video generated will not blur or maintain proportions of image subjects included.

For more detailed information on ethical considerations for this model, please see the Bias, Explainability, Privacy, and Safety and Security subcards in the **ModelCard++** tab, next to **Overview** at the top of this model card.

Please report model quality, risk, security vulnerabilities or NVIDIA AI Concerns [here](https://www.nvidia.com/en-us/support/submit-security-vulnerability/).

## Capabilities

- **Function Calling:** Not supported

## Bias

# Nemotron 3.5 Rerank 1B — Bias

Applies to BF16 and NVFP4. The hosted Preview API uses BF16.

| Field | Response |
| ----- | ----- |
| Participation considerations from adversely impacted groups [protected classes](https://calcivilrights.ca.gov/disputeresolution/protected-characteristics/) in model design and testing: | None |
| Measures taken to mitigate against unwanted bias: | None |
| Bias Metric (If Measured): | Not Applicable |

## Explainability

# Nemotron 3.5 Rerank 1B — Explainability

Applies to BF16 and NVFP4. The hosted Preview API uses BF16.

| Field | Response |
| ----- | ----- |
| Intended Task/Domain: | Passage or document ranking for question and answer retrieval. |
| Model Type: | Transformer cross-encoder. |
| Intended Users: | Generative AI developers working with conversational AI models. This is suitable for users building question-answering applications over large multimodal corpora and aiming to improve retrieval performance by reranking a set of candidate documents for a given question. The corpus may include visually rich document images (e.g., pages with text, figures, tables, charts, or infographics) and/or text extracted from documents. |
| Output: | List of Floats (Score/Logit indicating if a passage/document is relevant to a question). |
| Describe how the model works: | The model outputs a relevance score (logit) reflecting how strongly it predicts that the passage or document contains the information required to answer the question. |
| List the groups (or group characteristics) for which this was tested to produce comparable outcomes: | Not Applicable |
| Technical Limitations & Mitigation: | The source models support a maximum sequence length of 32,768 tokens. The hosted BF16 Preview API limits each query-passage pair to 10,240 tokens, including image tokens. Its default `truncate: NONE` rejects over-length pairs; `truncate: END` truncates passage text while preserving the query and image. For source-model inference, truncate text or reduce image resolution to fit the source context limit. |
| Verified to have met prescribed NVIDIA quality standards: | Yes |
| Performance Metrics: | Accuracy, Latency, Throughput|
| Potential Known Risks: | This model does not always guarantee to provide a meaningful ranking of document(s) for a given query. |
| Licensing: | **GOVERNING HOSTING TERMS:** Use of this trial service is governed by the [NVIDIA API Trial Terms of Service](https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf). Use of the model is governed by [OpenMDW License Agreement, version 1.1](https://github.com/OpenMDW/OpenMDW/blob/main/1.1/LICENSE.OpenMDW-1.1). <br> **ADDITIONAL INFORMATION:** [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) Ministral-3-8B-Instruct-2512-BF16. |

## Privacy

# Privacy

Applies to BF16 and NVFP4. The hosted Preview API uses BF16.

No personal data was used to create either the BF16 or NVFP4 variant. The datasets used to train this model were reviewed before release. Please review NVIDIA’s Privacy Policy (https://www.nvidia.com/en-us/about-nvidia/privacy-policy/) for more information.

## Safety & Security

# Nemotron 3.5 Rerank 1B — Safety & Security

Applies to BF16 and NVFP4. The hosted Preview API uses BF16.

| Field | Response |
| ----- | ----- |
| Model Application Field(s): | Other: Document reranking for retrieval. User queries are text. Documents can be text or page images (including pages with charts, tables, and infographics). |
| Describe the life critical impact (if present). | Not Applicable |
| Use Case Restrictions: | **GOVERNING HOSTING TERMS:** Use of this trial service is governed by the [NVIDIA API Trial Terms of Service](https://assets.ngc.nvidia.com/products/api-catalog/legal/NVIDIA%20API%20Trial%20Terms%20of%20Service.pdf). Use of the model is governed by [OpenMDW License Agreement, version 1.1](https://github.com/OpenMDW/OpenMDW/blob/main/1.1/LICENSE.OpenMDW-1.1). <br> **ADDITIONAL INFORMATION:** [Apache License, Version 2.0](https://www.apache.org/licenses/LICENSE-2.0) Ministral-3-8B-Instruct-2512-BF16. |
| Model and dataset restrictions: | The Principle of least privilege (PoLP) is applied limiting access for dataset generation and model development. Restrictions enforce dataset access during training, and dataset license constraints adhered to. |

## Prototype

```python
import requests

invoke_url = "https://ai.api.nvidia.com/v1/retrieval/nvidia/nemotron-3.5-rerank-1b/reranking"

headers = {
"Authorization": "Bearer ",
"Accept": "application/json",
}

payload = {
"messages": [
{
"role": "user",
"content": ""
}
]
}

# re-use connections
session = requests.Session()

response = session.post(invoke_url, headers=headers, json=payload)

response.raise_for_status()
response_body = response.json()
print(response_body)
```

```javascript
import fetch from "node-fetch";

const invokeUrl = "https://ai.api.nvidia.com/v1/retrieval/nvidia/nemotron-3.5-rerank-1b/reranking"

const headers = {
"Authorization": "Bearer ",
"Accept": "application/json",
}

const payload = {
"messages": [
{
"role": "user",
"content": ""
}
]
}

let response = await fetch(invokeUrl, {
method: "post",
body: JSON.stringify(payload),
headers: { "Content-Type": "application/json", ...headers }
});

let response_body = await response.json()

console.log(JSON.stringify(response_body))
```

```bash
invoke_url='https://ai.api.nvidia.com/v1/retrieval/nvidia/nemotron-3.5-rerank-1b/reranking'

authorization_header='Authorization: Bearer '
accept_header='Accept: application/json'
content_type_header='Content-Type: application/json'

data=$'{
"messages": [
{
"role": "user",
"content": ""
}
]
}'

response=$(curl --silent -i -w "\n%{http_code}" --request POST \
--url "$invoke_url" \
--header "$authorization_header" \
--header "$accept_header" \
--header "$content_type_header" \
--data "$data"
)

echo "$response"
```