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 Fast
cohere/rerank-4-fastTry Cohere: Rerank 4 Fast now
Runs on your balance at the prices above. New accounts start with free usage.
Results will appear here.
Settings
Cohere: Rerank 4 Fast at a glance
- Context window of 32,768 tokens, enough for long documents and multi-turn conversations.
About Cohere: Rerank 4 Fast
Cohere: Rerank 4 Fast is a reranking model from Cohere, released by the provider on 6 April 2026. It sits in the rerank category rather than the chat or generation category: instead of writing an answer, it scores and reorders a list of candidate documents against a query so that the most relevant items appear first. Cohere describes it as an AI search foundation model built to improve the relevance of information surfaced within search and retrieval augmented generation systems.
The model takes text as its only input modality and produces rerank output, meaning an ordered list of documents with relevance scores. It supports a context window of 32,768 tokens, which applies across the query and the documents passed in a single request, and it has a maximum output of 29,491. Multilingual support covers more than 100 languages, and the provider states that no data pre-processing is required before you send text to the model.
Those capabilities point to a fairly specific set of uses. The most common is a second stage in a retrieval pipeline: a fast first-stage retriever returns a broad set of candidates, and Rerank 4 Fast reorders them so the passages most likely to answer the query land at the top before they reach a generation model. The same pattern applies to enterprise search, where relevance ordering matters more than generating a reply, and to RAG systems that need to trim noisy context before prompting an LLM. Multilingual support makes it usable in pipelines that handle queries and documents in many languages at once, and the 32K context allows a long query plus a substantial batch of candidate passages in one call.
You call it through api14 using the OpenAI-compatible API with the model id "cohere/rerank-4-fast". Because api14 exposes an OpenAI-compatible surface, you can point your existing OpenAI client at the api14 base URL and change the model field to that id, rather than adopting a separate SDK. The model accepts text input and returns rerank output. No additional request parameters are listed as supported for this model, so plan your integration around the defaults and the prompt and document content you send, and check the live price table on the page for current rates.
One practical constraint to keep in mind is the 32K context window, which has to cover the query and all candidate documents in a request. If your documents are long or you need to rank a very large candidate set in one pass, split the work into batches or shorten the passages first. Rerank 4 Fast also will not generate text; if you need summarisation, question answering or any conversational output, pair it with a generation model and use this one purely for ordering.
How to call the Cohere: Rerank 4 Fast API
- Create an API key in your dashboard.
- Install the official openai SDK for your language.
- Set baseURL to https://api14.com/api/v1 and model to "cohere/rerank-4-fast".
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-fast",
"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
Cohere: Rerank 4 Fast: frequently asked questions
- How much does the Cohere: Rerank 4 Fast API cost?
- Cohere: Rerank 4 Fast 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 Fast?
- Cohere: Rerank 4 Fast 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 Fast do?
- Cohere: Rerank 4 Fast accepts text and returns rerank.
- How do I call Cohere: Rerank 4 Fast from my code?
- Point any OpenAI SDK at https://api14.com/api/v1 and set the model to "cohere/rerank-4-fast". No other code changes. Copy a ready example from the code panel on this page.
- What are alternatives to Cohere: Rerank 4 Fast?
- 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 Fast community
New topicThis community has no topics yet. Open the first one about Cohere: Rerank 4 Fast.