Cohere retrieval models join a unified API surface

Cohere has made four retrieval models available through OpenRouter: Embed 5 Pro, Embed 5 Fast, Rerank 5 Pro and Rerank 5 Fast. Developers already using OpenRouter can access them with the same API key and credits used for other models. Cohere’s official guide demonstrates a complete retrieval-augmented generation pipeline through one client and billing surface.

The integration reduces account and SDK friction, but the architectural value comes from keeping retrieval stages distinct. An embedding model creates a broad candidate set efficiently. A reranker then reads the query and each candidate together to improve precision before a chat model writes an answer. Each component can be measured and changed independently.

Pro indexing and Fast queries share one vector space

Embed 5 Pro and Fast use a shared embedding space. A team can index its documents with Pro for higher quality, then encode each live query with Fast for lower latency, provided both sides use the same vector dimensions. Cohere reports that Fast queries against a Pro index retained 98.4 per cent of all-Pro retrieval quality across 40 datasets.

That split is operationally useful because indexing happens relatively infrequently while query embedding occurs on every request. Teams should verify the trade-off on their own corpus and languages. A result averaged across many datasets may hide weaknesses in specialist terminology. Index and query versions must remain recorded so incompatible upgrades do not silently degrade similarity search.

Matryoshka dimensions provide a storage lever

Embed 5 can return vectors at six dimensions from 256 to 2,048. Cohere suggests 1,024-dimension int8 vectors as a strong quality-to-cost point, although OpenRouter’s example uses floats. Smaller vectors reduce storage and memory use and can improve search throughput, which matters when an enterprise index contains millions of chunks.

Dimension choice should be made with labelled retrieval tests, not intuition. Compression may affect rare entities or multilingual content differently from common English queries. Re-indexing a large corpus is expensive, so teams should benchmark several settings before committing. They also need a migration plan if a later model or dimension performs materially better.

Rerank 5 adds calibrated relevance scores

Rerank 5 reads the query and candidate text together and returns relevance scores that Cohere says are calibrated across queries and domains. This allows one threshold to remove weak passages before they reach the generation model. The Pro variant targets complex and domain-specific work, while Fast is intended for high-volume, latency-sensitive agents and search.

A global threshold is appealing, but it should still be tuned on real questions. Some applications prefer returning no answer when evidence is weak, while others need broad recall for a human reviewer. Teams should measure answer accuracy, citation support and abstention together. Calibrated scores are a tool for policy, not a universal definition of relevance.

Long and multimodal inputs need deliberate handling

Embed 5 accepts text, images and mixed inputs such as PDF pages, with contexts up to 128,000 tokens. Rerank 5 is text-only and accepts up to 32,000 tokens for the query and chunk combination. A multimodal pipeline may therefore embed a page image but rerank parsed text or captions. That transformation needs explicit lineage.

Very large chunks can dilute a useful passage and raise cost. Cohere’s guide uses paragraph-oriented chunks and a broad first-stage candidate set. Production systems should test section boundaries, titles and metadata, and should preserve page references for citations. Good retrieval depends as much on document preparation as on the model selected.

OpenRouter simplifies access, not evaluation

One client makes it easy to swap Pro and Fast variants or change the downstream chat model. That flexibility is valuable for experiments and multi-provider applications. It also creates governance work: organisations need to know which provider processed each stage, what terms apply and how usage is logged through the routing service.

A reliable rollout starts with labelled questions and a measurable baseline. Compare hit rate before and after reranking, inspect cases dropped by the threshold and track latency and cost per answered query. Cohere’s OpenRouter availability makes advanced retrieval easier to assemble. The quality of the final RAG system will still depend on data, evaluation and evidence shown to users.

Citation quality should be evaluated separately

Retrieval can select the right passage while the generation model cites it incorrectly or adds unsupported detail. Evaluation should therefore score retrieval hits, answer claims and citation alignment as separate stages. Keeping titles, stable document identifiers and source URLs with every chunk gives the application enough structure to show evidence that a user can inspect.

When Rerank filters everything below the threshold, the safest response may be to abstain or ask a clarifying question. Falling back to an ungrounded model answer defeats the purpose of the retrieval pipeline. Product teams should make that behaviour explicit and measure how often users recover by refining a query rather than treating every no-answer event as a failure.