Cohere Embed v3: Multilingual Embeddings Built for Enterprise RAG
Cohere's Embed v3 introduces a critical input_type parameter that tells the model whether it's encoding a query or a document - a distinction that meaningfully improves retrieval precision in production RAG pipelines.
Most embedding models treat all text the same way. Cohere Embed v3 does not. It takes an explicit input_type parameter that changes how the model encodes text based on its intended use. This is not a minor API detail - it is the primary reason Embed v3 outperforms competitors on asymmetric retrieval tasks (where queries are short and documents are long).
The input_type Parameter
import cohere
co = cohere.Client("YOUR_COHERE_KEY")
# Encoding a user search query
query_emb = co.embed(
texts=["What is the capital of France?"],
model="embed-english-v3.0",
input_type="search_query",
embedding_types=["float"],
).embeddings.float[0]
# Encoding documents to store in a vector database
doc_embs = co.embed(
texts=[
"Paris is the capital and largest city of France.",
"France is a country in Western Europe.",
],
model="embed-english-v3.0",
input_type="search_document",
embedding_types=["float"],
).embeddings.float
The four valid values are:
search_query - for user queries at retrieval time
search_document - for documents being indexed
classification - for text classification tasks
clustering - for topic clustering and deduplication
Always use the matching type at index time and query time, otherwise you are leaving retrieval quality on the table.
Team workspace
Ship faster with chat, meetings, and projects in one place — Zlyqor.
For a corpus of 10 million documents at 1024 dimensions:
float32: ~40GB
int8: ~10GB
binary: ~1.25GB
The binary format fits a 10M-document index in the RAM of a standard cloud VM, enabling in-memory vector search without specialized hardware.
MTEB Comparison
Model
MTEB English Retrieval
Multilingual
Cohere embed-english-v3.0
55.0
English only
Cohere embed-multilingual-v3.0
54.1
108 languages
OpenAI text-embedding-3-large
55.4
Good
Voyage-3
58.1
Limited
OpenAI edges ahead on raw MTEB retrieval, but Cohere's multilingual coverage (108 languages) and compressed format support make it the stronger choice for international enterprise deployments.
Practical deep-dives on LLMs, developer tools, and AI engineering. No filler. Unsubscribe any time.
// written byFIG. AUTH-01
530
Mahmudul Haque Qudrati
CEO & ML Engineer
CEO and ML Engineer at Pristren. Builds AI-powered software for teams and writes about machine learning, LLMs, developer tools, and practical AI applications.
ONNX (Open Neural Network Exchange) is the universal model format - export from PyTorch, scikit-learn, or HuggingFace and run 3x faster inference with ONNX Runtime on CPU or GPU.