We use cookies. Cookies and browser storage keep you signed in and remember your preferences. With your permission we also measure how the site is used. You can any time. See our cookie policy.

Cohere: Rerank 4 Pro

cohere/rerank-4-pro
RerankInput: text33KAdded Apr 6, 2026

Try Cohere: Rerank 4 Pro now

Runs on your balance at the prices above. New accounts start with free usage.

Sign in to use thisCreate free account

Results will appear here.

5 of 5 free messages left today. A free account adds free usage and an API key.Create free accountSign inSession cost $0.00

Cohere: Rerank 4 Pro at a glance

  • Context window of 32,768 tokens, enough for long documents and multi-turn conversations.

About Cohere: Rerank 4 Pro

Cohere: Rerank 4 Pro is a reranking model from Cohere, built as an AI search foundation model. Its job is to improve the relevance of information surfaced within search and retrieval-augmented generation systems. Rather than generating text, it scores and reorders candidate documents so that the most relevant ones appear first. It was released by the provider on 2026-04-06 and sits in the rerank category.

The model takes text as input and produces a rerank output. It has a context window of 32,768 tokens and a maximum output of 29,491, which gives it room to consider a query together with a substantial set of candidate passages in a single pass. Cohere describes it as multilingual, with support across more than 100 languages, and it requires no data pre-processing. That combination matters for retrieval pipelines where documents arrive in mixed formats and languages and you would rather not build a cleaning stage before scoring.

Practical use follows directly from those traits. If you run a search system or a RAG pipeline, you can use Rerank 4 Pro as a second stage after an initial retrieval step: pull a broad set of candidates with a fast vector or keyword search, then let the model reorder them by relevance to the query before they reach the user or the language model. The multilingual coverage makes the same approach workable for non-English corpora without maintaining separate pipelines per language, and the absence of required pre-processing keeps ingestion simple. Common fits include enterprise search, documentation and support knowledge bases, and any RAG setup where the quality of the top few retrieved passages drives answer quality.

You call it through api14's OpenAI-compatible API using the model id "cohere/rerank-4-pro". Because the endpoint follows the OpenAI format, you can point existing OpenAI-style client code at api14 and change the model id rather than rewriting your integration. The model exposes no additional supported request parameters beyond the standard request shape, so there is no special tuning surface to configure; you send your query and documents and read back the rerank result.

One thing to keep in mind is scope. This is a reranking model, not a chat or text generation model, so it will not write answers or hold a conversation. If your task is generating prose, summarising, or reasoning over content, a general language model is the better fit, and Rerank 4 Pro is best used alongside one as the relevance layer in front of it.

How to call the Cohere: Rerank 4 Pro API

  1. Create an API key in your dashboard.
  2. Install the official openai SDK for your language.
  3. Set baseURL to https://api14.com/api/v1 and model to "cohere/rerank-4-pro".
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api14.com/api/v1",
  apiKey: process.env.API14_API_KEY,
});

const result = await client.post("/rerank", { body: {
  "model": "cohere/rerank-4-pro",
  "query": "What is the capital of France?",
  "documents": [
    "Paris is the capital of France.",
    "Berlin is in Germany."
  ],
  "top_n": 1
} });
console.log(result.results);

Specifications

Context length
32,768
Max output
29,491
Input
text
Output
rerank

Requests on api14 · last 7 days

10-1710-1810-1910-2010-2110-2210-23

Cohere: Rerank 4 Pro: frequently asked questions

How much does the Cohere: Rerank 4 Pro API cost?
Cohere: Rerank 4 Pro is free to call ($0 per token). Free variants have stricter upstream rate limits, so use them for testing and low-volume work.
What is the context window of Cohere: Rerank 4 Pro?
Cohere: Rerank 4 Pro reads up to 32,768 tokens per request: prompt, history and documents together. It writes up to 29,491 output tokens per response.
What can Cohere: Rerank 4 Pro do?
Cohere: Rerank 4 Pro accepts text and returns rerank.
How do I call Cohere: Rerank 4 Pro from my code?
Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "cohere/rerank-4-pro". No other code changes. Copy a ready example from the code panel on this page.
What are alternatives to Cohere: Rerank 4 Pro?
Comparable Rerank models at a similar price: NVIDIA: Nemotron 3.5 Rerank 8B (free), VoyageAI by MongoDB: rerank-3-lite, VoyageAI by MongoDB: rerank-3. Each runs through the same API key, so switching is one string.

Cohere: Rerank 4 Pro community

New topic

This community has no topics yet. Open the first one about Cohere: Rerank 4 Pro.