Overview
Every token your LLM reads is a token you pay for, and retrieval decides which tokens those are. Rerank 5 Pro is Cohere's most advanced reranking model yet. It reads each query alongside the results from your existing keyword, vector or hybrid search and puts the most relevant first, so your AI applications get the right context for every request. New in Rerank 5, Context Focus also returns the passages within each document that answer the query, in the same call. That means more accurate answers, fewer wasted LLM tokens, and better end-user experiences.
Rerank 5 Pro is for workloads where ranking quality decides the outcome: complex or reasoning-heavy queries, long domain-specific documents, and any step whose results feed an LLM answer, an expert's decision or a compliance outcome. Fact-check credit memos against filings, verify the citations in a legal brief, match patient cases to payer-policy criteria, or give research agents the right evidence at every step. For high-volume, latency-sensitive traffic, pair it with Rerank 5 Fast, which uses the same request and response format.
Key specifications:
- 32K-token context window for long documents
- Context Focus returns scored relevant passages in the same call (opt-in)
- Calibrated relevance scores that read as probabilities
- Supports 100+ languages, including cross-language search
- Reranks text and semi-structured data such as JSON, tables and code
- Works after any keyword, vector or hybrid search, with no re-indexing
- Runs in your own AWS account, so your data stays in your environment
Highlights
- State-of-the-art reranking. Rerank 5 Pro leads major public benchmarks including ViDoRe V3, BEIR, BRIGHT and nanoMTEB. Domain-wise, its excels on reasoning-intensive retrieval, financial tasks, life sciences, and parsed visual documents.
- Passage-level precision with Context Focus. New in Rerank 5, Context Focus returns the most relevant passages within each document, in the same Rerank call. Send only that evidence to your LLM to cut token costs and latency, with no extra pipeline step. It works like a dial: trim context with minimal loss in answer quality, or go further when savings matter most.
- Scores you can act on. Rerank 5 Pro's relevance scores are calibrated out of the box: a score of 0.7 means a 70% chance the document is useful. Set one threshold and pass every document above it to your LLM, instead of a fixed top-k. When nothing clears the bar, an agent can search again or say it doesn't know. One threshold works across domains and alongside Rerank 5 Fast.
Details
Introducing multi-product solutions
You can now purchase comprehensive solutions tailored to use cases and industries.
Features and programs
Financing for AWS Marketplace purchases
Pricing
Dimension | Description | Cost/host/hour |
|---|---|---|
ml.g5.xlarge Inference (Batch) Recommended | Model inference on the ml.g5.xlarge instance type, batch mode | $4.55 |
ml.p5.4xlarge Inference (Real-Time) Recommended | Model inference on the ml.p5.4xlarge instance type, real-time mode | $4.55 |
ml.p4d.24xlarge Inference (Real-Time) | Model inference on the ml.p4d.24xlarge instance type, real-time mode | $3.12 |
Vendor refund policy
No refunds available.
How can we make this page better?
Legal
Vendor terms and conditions
Content disclaimer
Delivery details
Amazon SageMaker model
An Amazon SageMaker model package is a pre-trained machine learning model ready to use without additional training. Use the model package to create a model on Amazon SageMaker for real-time inference or batch processing. Amazon SageMaker is a fully managed platform for building, training, and deploying machine learning models at scale.
Version release notes
Rerank 5 Fast is Cohere's speed-optimized reranking model for high-volume, latency-sensitive search and agents, and it outperforms Rerank 4 Pro. It reads each query alongside the results from your existing search and returns them ordered by relevance, with calibrated scores. Like Rerank 5 Pro, it supports Context Focus (opt-in), which returns the most relevant passages within each document in the same call. Supports 100+ languages, semi-structured data and a 32K-token context window. Uses the same request and response format as Rerank 5 Pro.
Additional details
Inputs
- Summary
The model accepts JSON requests that specify a query and the list of documents to be reranked. The maximum number of documents that can be passed into a single rerank call is 1,000. The documentation below is for Version 2 of the Rerank API.
{"model": "...", "query": "...", "documents": ["..."], "top_n": 10}
Context Focus (opt-in, off by default): add relevant_spans, for example "relevant_spans": {"mode": "enabled", "threshold": 0.3, "max_spans": 10}.
- Limitations for input type
- Text input only. Real-time inference only; batch transform is not supported. Send at most 1,000 documents per request. The query and each document share a 32,768-token context window. Documents that exceed it are split into chunks and scored per chunk, and the highest chunk score is returned. Format structured data such as JSON or tables as YAML strings and keep key order consistent (in Python, yaml.dump(doc, sort_keys=False)), because long documents are truncated. Rerank 5 does not support instructions that change how relevance is judged. Context Focus works best for targeted queries: broad requests such as summarization need the full document, and tables, forms and code split less cleanly than prose. TBC: confirm whether max_tokens_per_doc is supported for Rerank 5 on SageMaker (and its default and maximum), and the query token limit.
- Input MIME type
- application/json
Input data descriptions
The following table describes supported input data fields for real-time inference and batch transform.
Field name | Description | Constraints | Required |
|---|---|---|---|
query | The search query. The query and document share the model's 32,768-token context window. | Type: FreeText | Yes |
documents | A list of texts to compare to the query. For optimal performance, send no more than 1,000 documents per request. Format structured data (such as JSON or tables) as YAML strings for best performance. | Type: FreeText Recommended maximum: 1,000 documents. | No |
top_n | Limits the number of returned rerank results to the specified value. If not passed, all rerank results are returned. | Type: Integer. Minimum: 1. | No |
relevant_spans | Optional object that enables Context Focus, which returns the most relevant passages within each document. Fields: mode (enabled or disabled), threshold (a higher value removes more text; example 0.3) and max_spans (maximum spans per document; if not set, there is no limit; example 10). Off by default. | Type: Object. Fields: mode (enabled | disabled), threshold (number), max_spans (integer). TBC: the default threshold is currently 0.2 and is not final. | No |
Resources
Vendor resources
Support
Vendor support
AWS infrastructure support
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
Similar products


