Mistral Embed is still on version v23.12, dated 11 December 2023. It is by some distance the oldest model still in Mistral's catalogue, older than every text, code, audio or vision model around it, many of which have been replaced two or three times since.
It has not been forgotten: it appears explicitly among the available models in the official documentation, with its 1024 dimensions, its 8K context and its price of $0.10 per million tokens. It has simply stayed stable.
One thing has changed around it: since May 2025 Mistral has offered a second embedding model, Codestral Embed (v25.05), specialised in code. The two coexist and serve different purposes. We compare them at the end of this page.
Mistral Embed: turning text into maths
An embedding is the conversion of a piece of text into a vector (a list of numbers) that captures the meaning of that text. Mistral Embed turns the sentence "The cat is asleep on the sofa" into a vector of 1024 numbers. The magic: two texts with similar meaning end up with similar vectors in mathematical space, even if they use completely different words.
Why is that useful? Because comparing vectors is fast and easy for a computer. Semantic search, clustering, duplicate detection, classification: all of these rest on embeddings.
An analogy: imagine each text is a point on a map. Texts about the same subject end up in the same neighbourhood. Mistral Embed draws that map.
To compare two embeddings you use cosine similarity (the cosine of the angle between the two vectors).
- 1 = the texts are semantically identical
- 0 = the texts are unrelated
- -1 = the texts are semantically opposite
In practice, values typically fall between 0.2 and 0.95.
Specifications
| Parameter | Value |
|---|---|
| API name | mistral-embed (version mistral-embed-2312) |
| Version | v23.12, dated 11 December 2023 |
| Dimensions | 1024, whatever the length of the text |
| Max context | 8,192 tokens |
| Price | $0.10 per million tokens |
| Endpoints | /v1/embeddings, and /v1/batch for batch processing |
| API only | Yes, no open weights |
The fixed dimension deserves a word: whatever text you supply (a five-word sentence or an 8,000-token chapter) the vector returned is always 1024 numbers long. That is what makes comparison possible: you can only compare objects of the same shape.
Why 1024 and not 4096? Mistral explains it in its documentation: higher-dimensional vectors capture information better and improve performance, but they consume more resources, more memory to store them, more latency to process them.
So this is not a technical limit, it is a trade-off. When you are indexing ten million documents, the size of the vector is something you pay for every month, on your vector database bill.
Concrete use cases
Semantic search: unlike keyword search (which looks for exact matches), semantic search finds documents that are similar in meaning. "How do I terminate my contract" will also surface documents that talk about "cancellation procedure" or "end of commitment".
The classic pipeline:
- Indexing: each document in your corpus -> embedding -> stored in a vector database
- Query: the user's question -> embedding
- Retrieval: find the documents whose vectors are closest (cosine similarity)
- Augmentation: hand those documents to an LLM as context so it can generate the answer
RAG (Retrieval-Augmented Generation): this is the pipeline above, with a Mistral LLM at the end of the chain to produce the final answer. RAG combines the precision of vector search with the generative ability of the LLM.
Use Mistral Embed for vectorisation and a Mistral generation model at the end of the chain, in July 2026 that will most often be Mistral Medium 3.5, the flagship of the range. Staying with a single vendor simplifies billing, contracting and the question of where the data sits. Technically, though, nothing requires you to pair an embedding model and a generation model from the same house: they never talk to each other directly, they pass text back and forth.
If you would rather delegate the whole chain (ingestion, chunking, vectorisation, retrieval) Mistral also offers a managed option, Libraries, along with Connectors for querying sources you already have, such as Google Drive or SharePoint.
Zero-shot classification: no training data for a classifier? No problem. Compare the embedding of your text with the embeddings of a description of each category. The closest category is your classification. For instance, embed "customer complaint", "technical question", "quote request", then compare each incoming email against them.
Clustering: automatically group similar texts with no labels needed up front. A clustering algorithm such as K-means works directly on the embeddings. Useful for discovering themes across a corpus of thousands of documents.
Duplicate detection: spot similar or duplicated texts in your database even when they are worded differently. Two product descriptions that say the same thing in different words? Their embeddings will be very close.
Using the API
Usage is simple: send a list of texts, get back a list of 1024-dimensional vectors.
Texts can be short (a sentence) or long (up to 8K tokens). For long documents the recommendation is to split them into chunks (text segments) before generating the embeddings.
Best practices
Chunking: this is the single most critical step for the quality of your retrieval system.
- Ideal size: 200 to 500 tokens per chunk
- Too short: the chunk loses its context and the embedding carries little information
- Too long: the specific information is diluted into an overly general embedding
- Natural boundaries: split at the text's natural boundaries (paragraphs, sections, headings)
- Overlap: a 10 to 20% overlap between chunks avoids cutting an idea in half
Batch processing: do not call the API one text at a time. The endpoint accepts a list, and a /v1/batch endpoint exists for large volumes that are not in a hurry.
Beware of recipes borrowed from elsewhere. Some competing embedding models expect you to prefix the text with a marker such as query: or passage: depending on whether it is a question or a document. This is not documented for Mistral Embed, and applying a recipe designed for another model can degrade your results rather than improve them. When in doubt, measure on your own test set.
Embeddings capture the overall meaning of a text but can miss subtle nuances: negation ("this product is NOT good" versus "this product is good"), complex logic, or indirect implications. For fine-grained comparisons ("do this contract and this statute contradict each other?"), an LLM used as a cross-encoder gives better results, at the cost of higher latency.
Mistral Embed or Codestral Embed? The right reflex
Since May 2025 Mistral has offered two embedding models, and its documentation presents them as two distinct services: "text embeddings" for text of any kind, "code embeddings" for indexing codebases and repositories.
| Mistral Embed | Codestral Embed | |
|---|---|---|
| Version | v23.12 (December 2023) | v25.05 (May 2025) |
| What for | Everyday text: contracts, emails, articles, manuals | Source code, repositories, SQL queries |
| Dimensions | 1024, fixed | 1536 by default, up to 3072, truncatable |
| Adjustable precision | No | Yes (float, int8, binary...) |
| Context | 8,192 tokens | 8,192 tokens |
| Price | $0.10 / M tokens | $0.15 / M tokens |
The rule is simple: if you are indexing code, take Codestral Embed; for everything else, Mistral Embed. Two functions that do the same thing in two different languages share almost no words; you need a model trained on that to bring them together. The details of Codestral Embed, including its variable size and precision vectors, are on the Codestral page.
Against the alternatives on the market
| Model | Dimensions | Context | Open weights |
|---|---|---|---|
| Mistral Embed | 1024 | 8K | No (API) |
| Codestral Embed | up to 3072 | 8K | No (API) |
| OpenAI text-embedding-3-large | 3072 | 8K | No (API) |
| BGE-M3 | 1024 | 8K | Yes |
| Cohere Embed v3 | 1024 | 512 | No (API) |
The specifications for non-Mistral models come from their respective vendors' documentation; check them before relying on them in a purchasing decision.
The choice depends on your constraints: if European sovereignty matters, Mistral Embed is the natural pick among API solutions. If you want free self-hosting, BGE-M3 remains a solid open-source alternative.
It may come as a surprise that a December 2023 model has outlived three waves of renewal around it. Two reasons explain the longevity.
First, the job is narrower. An embedding model does not reason, does not write, does not call tools, does not see images. It places a text at a location in a space. There is less ground on which to improve.
Second, switching is expensive. Vectors produced by two different models are not comparable with each other. Adopting a new embedding model means re-indexing your entire corpus, sometimes millions of documents. A vendor who changes model every six months forces customers to redo that work every time. Here, stability is a feature, not a lag.
Integrations with vector databases
Pinecone, Weaviate, Qdrant: these managed vector databases natively support Mistral Embed's 1024-dimensional vectors.
PostgreSQL + pgvector: if you want to keep everything in your existing SQL database, pgvector adds vector support to PostgreSQL. Embeddings and relational data in the same place.
ChromaDB: a lightweight, simple vector database, ideal for prototyping and moderately sized projects.
Mistral Embed is your gateway to semantic search and RAG. Simple to use, effective, and integrated into the Mistral ecosystem.