AI architecture · RAG

Choosing an embedding model for RAG: a checklist that goes beyond the leaderboard

Teams spend weeks choosing an LLM and minutes choosing an embedding model. Yet the embedding model decides what retrieval can find, and changing it later means re-embedding everything. It deserves a more careful decision.

ChecklistSumanta Mukhopadhyay8 min read4 sources
#ai#rag#llm#data
CHECKLIST · AI ARCHITECTURE · RAG25 Oct 2026 · 08:15 GST

In many RAG systems, the embedding model was chosen because it was the default in a tutorial, or because it topped a leaderboard on the day someone looked. Then retrieval quality disappoints, and the team tunes prompts and chunk sizes for weeks without suspecting the component that decides what can be found at all.

What the benchmarks tell you

The Massive Text Embedding Benchmark, MTEB, evaluates embedding models across many tasks, such as retrieval, classification, clustering and semantic similarity, over dozens of datasets and many languages. Its central finding when published was that no single method dominated across all tasks1. Its multilingual successor, MMTEB, presented at ICLR 2025, expanded to over 500 evaluation tasks across hundreds of languages, including long-document and code retrieval2. Notably, its authors reported that the best-performing publicly available model at the time was a relatively small multilingual model of around 560 million parameters2.

Two lessons follow. Model size isn't the same as fitness for your task. And an average score across hundreds of tasks may hide poor performance on the one task you care about.

Use the leaderboard to build a shortlist, never to make the decision. Your documents, your queries and your languages are the only benchmark that matters.

The checklist

  1. Filter by the task that matters. For RAG, look at retrieval scores, not the overall average. If you search code or long documents, look at those categories specifically.
  2. Check your languages. For Gulf and multilingual products, test Arabic and mixed-language queries explicitly. Many models are strongest in English, and a good average can hide weak Arabic retrieval.
  3. Check domain fit. Clinical, legal and financial language behave differently from web text. Test with real domain documents; if results are weak, hybrid keyword and vector search often helps more than switching models, as in hybrid search for RAG.
  4. Measure on your own data. Build a labelled set of queries and the documents that should be retrieved for them, and measure recall and ranking quality for each candidate. The open-source mteb package can help run standard tasks alongside your own4, and the wider method is in evaluation sets that predict production.
  5. Consider dimensions and cost. Bigger vectors cost more to store and search. Models trained with Matryoshka Representation Learning let you truncate embeddings to smaller sizes with limited quality loss; the original paper reported up to 14 times smaller embeddings at the same accuracy on an image classification benchmark3. Test the trade-off on your own retrieval set.
  6. Consider where it runs. Hosted embedding APIs send your documents to a third party. For regulated or residency-bound data, a self-hosted open model may be necessary, as discussed in Saudi PDPL and cross-border AI and private LLMs on-prem.
  7. Check licence and longevity. If a provider deprecates a model, you must re-embed everything. Prefer models you can keep running, or plan for migration.
  8. Check context length. Some models truncate long inputs silently. Make sure your chunk sizes fit the model's limit.

Plan for re-embedding from day one

Whatever you choose, you will change it eventually: a better model appears, a provider retires one, or your content shifts language or domain. Design for that:

  • Store the model name and version with every vector, and never mix vectors from different models in one index.
  • Keep source text and chunking reproducible, so you can re-embed without re-ingesting.
  • Build new indexes alongside old ones, compare retrieval quality on your evaluation set, and switch traffic only when the new one wins.
  • Budget the cost. Re-embedding a large corpus takes real compute and time; estimate it before you need it.

Where embeddings sit in the bigger picture

Embeddings are one part of retrieval. Reranking, hybrid search, metadata filters and good chunking often matter as much. Where your vectors live is its own decision, covered in pgvector or a vector database. And for some questions, a knowledge graph or GraphRAG beats any embedding, as in GraphRAG vs vector RAG. The most reliable systems treat the embedding model as a swappable, versioned component, chosen with evidence and re-evaluated regularly.

How I can help

I design and evaluate retrieval systems for AI products, including embedding selection, hybrid search and multilingual retrieval for Gulf markets. See my AI architecture work and the RAG to production checklist, or analyse your challenge and bring the result to a call.

References
  1. 1
    MTEB: Massive Text Embedding BenchmarkMuennighoff et al. (arXiv) · 2022
  2. 2
    MMTEB: Massive Multilingual Text Embedding BenchmarkEnevoldsen et al. (arXiv; ICLR 2025) · 2025
  3. 3
    Matryoshka Representation LearningKusupati et al. (arXiv; NeurIPS 2022) · 2022
  4. 4
FAQ

Common questions

What is MTEB?

The Massive Text Embedding Benchmark, which evaluates text embedding models across many tasks and datasets, including retrieval, classification and clustering. Its original paper found that no single embedding method dominated across all tasks.

Should I pick the top model on the MTEB leaderboard?

Not automatically. Leaderboards average across many tasks and languages that may not match your use. Shortlist from the benchmark, then evaluate candidates on your own documents and queries, measuring retrieval quality, latency and cost.

What are Matryoshka embeddings?

Embeddings trained with Matryoshka Representation Learning, which encodes information at different granularities so a single embedding can be truncated to smaller sizes with limited loss of quality. This lets you trade storage and speed against accuracy.

Keep reading

Related

Open to advisory, fractional CTO & select builds

Let's talk about what you're building.

The fastest route is a free 30-minute call. Prefer to write? Send a message and I'll reply personally within two business days.

Start a conversation

How would you like to reach me?

Book a 30-min callFastest. Pick any open slot on my calendar.→ Write in GmailOpens a pre-filled draft in your browser.→ Use my email appOutlook, Apple Mail or your default client.→

I reply personally within two business days. Time zones from the Americas and Europe to the Middle East and Asia-Pacific.