# OpenRouter APIs — NVIDIA: Nemotron 3.5 Rerank 8B (free) (nvidia/nemotron-3.5-rerank-8b)

Guide for calling every confirmed OpenRouter API that serves `nvidia/nemotron-3.5-rerank-8b`.

Model page: https://openrouter.ai/nvidia/nemotron-3.5-rerank-8b
Create an API key: https://openrouter.ai/settings/keys

## Pricing

`nvidia/nemotron-3.5-rerank-8b` has no public standard endpoint right now, so no current price is listed. Model page: https://openrouter.ai/nvidia/nemotron-3.5-rerank-8b

## EU in-region routing

`nvidia/nemotron-3.5-rerank-8b` is not currently available through EU in-region routing.

Docs: https://openrouter.ai/docs/guides/features/in-region-routing

## Authentication

Send this header with every request:

- Authorization: Bearer $OPENROUTER_API_KEY

## Rerank API

Rank documents by relevance to a query with `nvidia/nemotron-3.5-rerank-8b` through OpenRouter's Rerank API.

Docs: https://openrouter.ai/docs/api/api-reference/rerank/submit-a-rerank-request

### Endpoint

POST https://openrouter.ai/api/v1/rerank

Headers:
- Content-Type: application/json

### Request fields (nvidia/nemotron-3.5-rerank-8b)

- model: string (required) — `"nvidia/nemotron-3.5-rerank-8b"`
- query: string (required) — the search query
- documents: (string | { text?: string; image?: string })[] (required) — the documents to rank; `image` is a remote URL or base64 data URI
- top_n: integer (optional) — return only the highest-scoring documents

### Response

JSON with the documents sorted by relevance score, highest first:

```json
{
  "results": [{ "index": 0, "relevance_score": 0.98, "document": { "text": "Paris is the capital of France." } }]
}
```

### Examples

#### Rerank documents

```bash
curl https://openrouter.ai/api/v1/rerank \
      -H "Content-Type: application/json" \
      -H "Authorization: Bearer $OPENROUTER_API_KEY" \
      -d '{
        "model": "nvidia/nemotron-3.5-rerank-8b",
        "query": "a photograph of a cat",
        "documents": [
          {"image": "https://upload.wikimedia.org/wikipedia/commons/3/3a/Cat03.jpg"},
          {"text": "A fluffy cat sitting on a windowsill in the sun."},
          {"text": "A street map of downtown Berlin."}
        ],
        "top_n": 3
      }'
```

## Errors

Failures return `{"error": {"code": <number>, "message": <string>}}` with the HTTP status:

- 400 — malformed request or an unsupported parameter
- 401 — missing or invalid API key
- 402 — insufficient credits
- 403 — spend limit reached, key disabled, or access blocked
- 404 — unknown model or no provider can serve the request
- 429 — rate limited; retry with backoff
- 502 — the operation failed upstream; failed generations are not billed

---

Canonical version of this document: https://openrouter.ai/nvidia/nemotron-3.5-rerank-8b/llms.txt
