Embedding model: the piece that makes or breaks a RAG

Embedding model: the piece that makes or breaks a RAG

Embedding model: what it does, why it decides RAG quality, its speed measured across providers (0.3 to 2 s) and what Clipstral's multimodal embedding changes.

Concepts
8 min read

On November 30, 2026, Mistral released Clipstral, an open model that places images, videos and text in several languages in one shared space. It is an embedding model: a component nobody sees in a chatbot, yet everything the chatbot finds depends on it.

An embedding translates a piece of text, or an image, into a series of numbers that represents its meaning. In a RAG (Retrieval-Augmented Generation), in other words a chatbot that answers from your documents, it is used to find the right passages before the language model writes its answer. If the embedding misses the right passage, even the best language model can no longer answer correctly.

Two criteria therefore matter: the quality of the search, and speed, because the user is waiting the whole time. We have been measuring that speed since January; at the end of November, the same model answered in 0.3 seconds at Scaleway or OVHcloud, and in 2 seconds at DeepInfra. Yet the embedding model is only one piece, and a RAG that stops there gives mediocre answers.

What is an embedding?

An embedding is a vector that represents the meaning of a piece of content. The embedding model reads a sentence and returns a list of numbers: 1,024 for mistral-embed, up to 4,096 for Qwen3 Embedding 8B. Two sentences with similar meanings give similar vectors, even without a single word in common: "How do I book time off?" and "leave request procedure" end up side by side.

In a chatbot over documentation, the work happens in two stages. At indexing time, every passage of every document is embedded once, then stored in a vector database. With each question, the question is embedded in turn, and the system looks for the passages whose vectors are closest. Those passages, and only those, are what the language model will read to answer. Our RAG tutorial walks through the full pipeline.

Why does the embedding decide the quality of a RAG?

The language model does not see your documents; it sees what the search brings it. A missed passage means an impossible answer or, worse, an answer made up to fill the gap.

The FinanceBench benchmark shows this clearly. Its authors asked 150 financial analyst questions about the financial filings of US listed companies: with one vector store shared across all the reports, GPT-4 Turbo answers 19% of the questions correctly; when it is given the right page directly, it climbs to 85%. Same model, same question. The whole gap comes from what it was given to read.

As a first filter, the quality of an embedding model is measured on the public MTEB benchmark. On its multilingual version, at its release in June 2025, Qwen3 Embedding 8B ranked first on the leaderboard with an average of 70.58. On retrieval tasks alone, it scores 70.88 in the table published by Qwen, against 59.27 for OpenAI's text-embedding-3-large. These figures sort the candidates; they do not replace a test on your own documents, with a hundred or so real questions, as we describe in our guide to auditing a RAG.

How long does the user wait for the embedding?

When a user sends a question, a good assistant does not just embed it as is. It derives several search queries from it, from different angles, and each one goes through the embedding model. Meanwhile, nothing appears on screen: the search cannot start, and neither can the language model. That wait should be counted in tenths of a second. According to Nielsen Norman Group, one second is the limit beyond which the user loses their flow of thought; the embedding is only the first step of an answer that involves several.

We have been measuring the speed of embedding APIs since January, initially for our own needs: a failed demo, described in January, had taught us that a provider could take almost a minute to respond. The figures below cover November 23 to December 2, 2026: about 400 calls per configuration, a short question of 65 to 115 characters, sent roughly every 30 minutes, day and night, from our servers in Europe.

ProviderModelMedian1 call in 10 slower thanSuccessful calls
ScalewayQwen3 Embedding 8B0.28 s1.86 s100%
OVHcloudQwen3 Embedding 8B0.32 s0.43 s98%
Mistralmistral-embed0.34 s0.55 s100%
OpenAItext-embedding-3-small0.54 s0.92 s100%
NebiusQwen3 Embedding 8B1.05 s10.45 s100%
NovitaQwen3 Embedding 8B1.07 s3.88 s32%
SiliconFlowQwen3 Embedding 8B1.41 s5.13 s100%
OpenAItext-embedding-3-large1.76 s2.04 s100%
DeepInfraQwen3 Embedding 8B2.09 s9.18 s99.7%

Total duration of a call, median and 90th percentile, ATG measurements from November 23 (10:30 p.m. UTC) to December 2, 2026 (5:33 a.m. UTC), 393 to 398 calls per configuration; full data (CSV), methodology (in French).

Horizontal bar chart: response time of an embedding call by provider, median and 90th percentile. Scaleway Qwen3 Embedding 8B 0.28 s and 1.86 s; OVHcloud Qwen3 Embedding 8B 0.32 s and 0.43 s; Mistral mistral-embed 0.34 s and 0.55 s; OpenAI text-embedding-3-small 0.54 s and 0.92 s; Nebius Qwen3 Embedding 8B 1.05 s and 10.45 s; Novita Qwen3 Embedding 8B 1.07 s and 3.88 s (32% successful calls); SiliconFlow Qwen3 Embedding 8B 1.41 s and 5.13 s; OpenAI text-embedding-3-large 1.76 s and 2.04 s; DeepInfra Qwen3 Embedding 8B 2.09 s and 9.18 s.Horizontal bar chart: response time of an embedding call by provider, median and 90th percentile. Scaleway Qwen3 Embedding 8B 0.28 s and 1.86 s; OVHcloud Qwen3 Embedding 8B 0.32 s and 0.43 s; Mistral mistral-embed 0.34 s and 0.55 s; OpenAI text-embedding-3-small 0.54 s and 0.92 s; Nebius Qwen3 Embedding 8B 1.05 s and 10.45 s; Novita Qwen3 Embedding 8B 1.07 s and 3.88 s (32% successful calls); SiliconFlow Qwen3 Embedding 8B 1.41 s and 5.13 s; OpenAI text-embedding-3-large 1.76 s and 2.04 s; DeepInfra Qwen3 Embedding 8B 2.09 s and 9.18 s.

The same model can be 7 times slower depending on who serves it. Qwen3 Embedding 8B answers in 0.28 seconds at Scaleway and in 2.09 seconds at DeepInfra. The provider even matters more than the size of the model: at DeepInfra, the 0.6B version, thirteen times smaller, takes 0.62 seconds, longer than the 8B version at Scaleway or OVHcloud.

The median is not enough. Scaleway is the fastest under normal conditions, but one call in ten there exceeds 1.9 seconds, and even 2.9 seconds during the day. OVHcloud answers within 0.44 seconds in 90% of cases, day and night. At Nebius, one call in ten exceeds 10 seconds. For the user, these slow calls are what make a tool feel sluggish.

Reliability is not a given either. At Novita, two calls out of three failed over the period. OVHcloud, for its part, had 8 failures out of 393 calls. That is why we request each vector from two providers at once, and keep whichever answers first.

What about images? What Clipstral changes

In a company, a good share of the information is not spelled out in words: a wiring diagram, a screenshot in a procedure, a floor plan, a site photo, a scanned table. A RAG that only reads text misses it. Two approaches make it possible to find this content.

A multimodal embedding

The first is to embed the image itself, with a model that places images and text in the same space. That is what Clipstral does. With 1.24 billion parameters, it fits on a single H100 or H200 GPU, can be downloaded freely under the Apache 2.0 license, and can therefore run on your own infrastructure. According to Mistral's tests, it scores 80.2 on image retrieval, against 77.5 for Qwen3-VL-Embedding-2B, which is larger; Qwen's 8B version does better, with 82.7. These are the vendor's own figures, measured under its own protocol. We compare Clipstral with Qwen and detail its uses and the hardware it needs in our article on Clipstral.

For a document chatbot, Clipstral has a decisive limitation. It does read text, in several languages and with no fixed length limit, but in order to match it with images and videos. Mistral states that it targets natural images and videos, and that documents, text-rich content and code are out of scope, according to its model card. Mistral publishes no text-to-text retrieval score either, which is what a RAG over documentation does. Clipstral is designed to search a photo library or videos, not a software screenshot or a scanned table. Other models, such as Qwen3-VL-Embedding, accept screenshots but give up a little on text: 67.88 on the multilingual benchmark, against 70.58 for its text-only counterpart.

Describe the image, then embed the description

The second approach goes through a vision model, which describes each image in text at indexing time: "connection diagram for box X, terminal 3 grounded". That description is then embedded like any other passage. It can be read, checked, and also found by keyword, which matters for a part number or a component name. The cost: one call to the vision model per image, and the risk that a detail left out of the description is lost.

This is the approach we chose at ATG. Every image description is flagged as needing review, and the user can compare it with the original image. For a company's document base, we currently consider it the safer option. A multimodal embedding like Clipstral takes the lead as soon as the task is to search by visual similarity, in a product catalog or video archives.

Why ATG uses Qwen3 Embedding 8B

We embed our customers' documents with Qwen3 Embedding 8B, for three reasons. First, its quality, measured above on MTEB, across more than 100 languages. Second, its speed, provided you pick the right provider: 0.3 seconds at OVHcloud and Scaleway, two French providers that also meet our sovereign AI criteria. Finally, its availability: it is an open model, under the Apache 2.0 license, served by six of the providers we measure.

That last point is underrated. Changing embedding models means re-embedding every document, since the vectors of two models cannot be compared. Changing providers for the same model costs nothing. An open model served by several providers does not lock you into any of them: if one slows down or goes offline, another takes over, with compatible vectors.

A good embedding is not enough to make a good RAG

Many RAGs stop there: an embedding model, a vector database, and the five closest passages passed to the language model. That is a mistake, and the results are mediocre.

Mistral measured this itself on FinanceBench. With "Traditional, one-shot RAG", Mistral Medium 3.5 answers 22.7% of the questions correctly. With agentic search, which runs new searches and navigates the documents, the same model reaches 78.7%. Changing the way of searching gains 56 points, with the same model. In our own tests, replacing Qwen 3.8 27B with Gemini 3.8 Flash did not change the score significantly. On the same benchmark, our RAG answers 139 questions out of 150 correctly, or 92.7%, with European providers.

A good RAG adds to vector search everything it cannot do on its own:

  • a keyword search in parallel, for the references, product codes and proper names that vectors miss, as our article on hybrid search explains;
  • reordering of the results by a specialized model, known as reranking;
  • several reworded searches, and reading the document around the passage found;
  • document chunking that keeps headings, tables and their context;
  • tools for questions that no single passage contains, such as "how many contracts expire in March?".

What IT departments can take from this

The choice of an embedding model comes down to two criteria, search quality and response time, and the second depends as much on the provider as on the model. A measurement over time, day and night, says more than a one-off test. Images deserve separate treatment from indexing onward. And the embedding model is only one piece: it is the search as a whole that determines the quality of the answers.

Building and running all of this is plumbing: following the models, measuring the providers, failing over when one slows down, re-embedding when needed. With our internal chatbot, all of it comes ready to use, on European providers. IT teams can focus on their users' business rather than on embeddings.

Frequently asked questions about embeddings

What is an embedding in AI?

An embedding is a representation of a text, an image or a video as a vector, a series of numbers that captures its meaning. Two pieces of content with similar meanings have similar vectors, even if they share no words. Chatbots over documentation use embeddings to find the relevant passages in a corpus before writing their answer.

What is the best embedding model for a multilingual RAG?

Public benchmarks such as MTEB provide a first filter: at its release in June 2025, Qwen3 Embedding 8B ranked first on the multilingual leaderboard, and it supports more than 100 languages. The choice is then validated on your own documents, with a hundred or so real questions, and on the speed of the provider serving the model. ATG uses Qwen3 Embedding 8B.

How long should an embedding call take?

A few tenths of a second. The user waits during this call, before the search has even started. In ATG's measurements at the end of November 2026, the same model answered in 0.3 seconds at the fastest providers and in 2 seconds at the slowest, with spikes beyond 10 seconds at one of them.

Is Clipstral suitable for a chatbot over company documents?

Not as it stands. Clipstral reads text in several languages, but to search natural images and videos: Mistral leaves documents, text-rich content and code outside its scope, and publishes no text-to-text retrieval score. For diagrams, screenshots or scanned tables, describing the image with a vision model and then embedding the description remains more reliable.

Do you have to re-embed everything when you change embedding models?

Yes. Each model has its own vector space, and the vectors of two different models cannot be compared: every document has to be embedded again. Changing providers for the same model, on the other hand, requires nothing. That is an argument for an open model served by several providers.


Clipstral is a reminder that search does not stop at text. A company with a photo library, training videos or a visual catalog now has a light, open model it can run on its own infrastructure. What remains to be seen is when a model of this size will search a scanned table or a screenshot as well as a photo: for company documentation, that is where the question will be settled.

Partager :

Related Articles

Clipstral: Mistral's multimodal embedding model vs QwenConcepts

Clipstral: Mistral's multimodal embedding model vs Qwen

Clipstral, Mistral's open multimodal embedding model, vs Qwen3-VL-Embedding: what it adds, the GPU it needs, what it costs, and zero-shot image classification.

8 min
Reranking in RAG: rerankers and cross-encoders explainedConcepts

Reranking in RAG: rerankers and cross-encoders explained

Reranking reorders the passages a RAG system retrieves before they reach the LLM. Rerankers, cross-encoders, bi-encoders, RRF, cost and latency: when to use it.

8 min
How many documents can a RAG system handle?Concepts

How many documents can a RAG system handle?

A home-made RAG tops out at a few thousand documents per agent, fewer if they look alike. An agentic RAG that filters first handles over 100,000.

9 min

Ask This Guy, the sovereign enterprise AI platform

Assistants that answer from your documents and data, and agents connected to your business tools. Multi-LLM, hosted in France on OVHcloud, reversible.