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
- 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.
- 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.
- 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.
- 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
mtebpackage can help run standard tasks alongside your own4, and the wider method is in evaluation sets that predict production. - 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.
- 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.
- 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.
- 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.
- 1MTEB: Massive Text Embedding BenchmarkMuennighoff et al. (arXiv) · 2022
- 2MMTEB: Massive Multilingual Text Embedding BenchmarkEnevoldsen et al. (arXiv; ICLR 2025) · 2025
- 3Matryoshka Representation LearningKusupati et al. (arXiv; NeurIPS 2022) · 2022
- 4