Skip to main content
Pinecone Docs

Search documentation

Type to search this documentation.

On this pageOverview

cohere-rerank-4-fast

Cohere Rerank 4.0 Fast is Cohere's latest reranking model, providing high-quality relevance scoring across enterprise search workloads.

const showGuides = () => { document.querySelector('.model-page-guides').style.display = 'flex'; document.querySelector('.model-page-playground').style.display = 'none'; document.querySelector('.guides').classList.add('active'); document.querySelector('.playground').classList.remove('active'); }; const showPlayground = () => { document.querySelector('.model-page-guides').style.display = 'none'; document.querySelector('.model-page-playground').style.display = 'block'; document.querySelector('.guides').classList.remove('active'); document.querySelector('.playground').classList.add('active'); }; return ; };

Back to all models

Cohere Rerank 4.0 Fast (cohere-rerank-4-fast) is the latest iteration in Cohere's Rerank model series, succeeding Cohere Rerank v3.5. It improves relevance quality on queries that express explicit or implicit constraints, and it retains multilingual support for 100+ languages with strong performance in domains like finance and hospitality.

Cohere Rerank 4.0 is hosted on Azure AI under the Global Standard deployment type, and requests may be processed in regions outside the United States.

Python
pip install -U pinecone

See rerank to learn more about reranking.

Python
from pinecone import Pinecone

pc = Pinecone("API-KEY")

query = "Tell me about Apple's products"
results = pc.inference.rerank(
    model="cohere-rerank-4-fast",
    query=query,
    documents=[
"Apple is a popular fruit known for its sweetness and crisp texture.",
"Apple is known for its innovative products like the iPhone.",
"Many people enjoy eating apples as a healthy snack.",
"Apple Inc. has revolutionized the tech industry with its sleek designs and user-friendly interfaces.",
"An apple a day keeps the doctor away, as the saying goes.",
    ],
    top_n=3,
    return_documents=True
)

print(query)
for r in results.data:
  print(r.score, r.document.text)

Lorem Ipsum

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu