Archive of AI

Source Snapshot / 2025-12-11-cohere-rerank-4-32k-context-2

Cohere's Rerank v4.0 Model is Here!

Linked event: 2025-12-11 · Cohere Releases Rerank 4 (Pro / Fast), Quadrupling Reranking Context Window to 32k Tokens

Publisher
Cohere Docs
Archived
2026-11-23
Capture Method
Direct page capture
HTTP / SHA-256
200 / c33f71363023e1f5
Original URL
Open source ↗
Wayback Backup
Wayback archive ↗
This page preserves a plain-text static snapshot against link rot. When citing figures, tables, or full legal terms, verify against the original URL and Wayback Machine archive.

For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.

Guides and conceptsAPI ReferenceRelease NotesLLMUCookbooks

Skip to navigation

This page is for version v2 API (default).

For other versions, use one of these documentation indexes:

- v2 API (default): https://docs.cohere.com/v2/llms.txt

- v1 API: https://docs.cohere.com/v1/llms.txt

Release Notes

December 11, 2025

Cohere's Rerank v4.0 Model is Here!

We’re pleased to announce the release of Rerank 4.0 our newest and most performant foundational model for ranking.

Technical Details

Two model variants available:

rerank-v4.0-pro: Optimized for state-of-the-art quality and complex use-cases

rerank-v4.0-fast: Optimized for low latency and high throughput use-cases

Multilingual support: Re-rank both English and non-English documents

Semi-structured data support: Re-rank JSON documents

Extended context length: 32k token context window

Example Query

import cohere

co = cohere.ClientV2()

query = "What is the capital of the United States?"

"Carson City is the capital city of the American state of Nevada. At the 2010 United States Census, Carson City had a population of 55,274.",

"The Commonwealth of the Northern Mariana Islands is a group of islands in the Pacific Ocean that are a political division controlled by the United States. Its capital is Saipan.",

"Charlotte Amalie is the capital and largest city of the United States Virgin Islands. It has about 20,000 people. The city is on the island of Saint Thomas.",

"Washington, D.C. (also known as simply Washington or D.C., and officially as the District of Columbia) is the capital of the United States. It is a federal district. The President of the USA and many major national government offices are in the territory. This makes it the political center of the United States of America.",

"Capital punishment has existed in the United States since before the United States was a country. As of 2017, capital punishment is legal in 30 of the 50 states. The federal government (including the United States military) also uses capital punishment.",

results = co.rerank(

model="rerank-v4.0-pro", query=query, documents=docs, top_n=5