MTEB, the Massive Text Embedding Benchmark, is an open evaluation suite that measures how well text embedding models perform across many task types and languages, from retrieval and reranking to clustering, classification and semantic similarity. In artificial intelligence, and in retrieval and knowledge systems in particular, it is the most widely cited public reference for comparing embedding models before choosing one for semantic search or retrieval-augmented generation.
Introduced in 2022 together with an open-source Python package and a public leaderboard, MTEB replaced the habit of judging embeddings on one or two narrow datasets. Its core lesson is that no single embedding model dominates every task, so the right choice depends on the workload.
How MTEB evaluates an embedding model
MTEB treats the model under test as a frozen encoder: it maps each text to a fixed-length vector, and the benchmark then runs a task-specific procedure on those vectors. No fine-tuning happens inside the benchmark, so scores reflect the general quality of the embedding space rather than the skill of a downstream training recipe.
The original release grouped 58 datasets in 112 languages into eight task types. A later community expansion, often called MMTEB, grew the collection to hundreds of tasks and more than 250 languages and introduced curated benchmark subsets that are cheaper to run. The table below lists the eight core task types and their headline metrics.
| Task type | What the embeddings must do | Main metric |
|---|---|---|
| Retrieval | Rank relevant documents for a query | nDCG@10 |
| Reranking | Reorder a short candidate list | MAP |
| Classification | Feed a logistic regression classifier | Accuracy |
| Clustering | Group texts with mini-batch k-means | V-measure |
| Pair classification | Decide whether two texts match | Average precision |
| Semantic textual similarity | Score sentence pairs against human ratings | Spearman correlation |
| Summarization | Rate machine summaries against references | Spearman correlation |
| Bitext mining | Find translation pairs across languages | F1 |
Similarity between vectors is usually computed with cosine similarity, although models may declare dot product. The retrieval portion largely reuses datasets from BEIR, the earlier zero-shot retrieval benchmark, which is why retrieval scores on both suites are often discussed together.
Reading the MTEB leaderboard
The public leaderboard reports an average score per task type and an overall average, alongside model properties that matter in production. Reading only the overall rank is the most common misuse of MTEB, because the average blends very different abilities into one number.
| Column | Meaning | Why it matters |
|---|---|---|
| Mean score | Average across tasks or task types | Hides strengths and weaknesses |
| Retrieval average | Mean nDCG@10 on retrieval tasks | Best proxy for RAG and search |
| Embedding dimension | Length of each output vector | Drives index size and latency |
| Max tokens | Longest input the model accepts | Limits chunk size |
| Parameters | Model size | Affects cost and throughput |
| Zero-shot flag | Whether training data overlapped with tasks | Signals possible contamination |
A model ranked tenth overall may rank first on retrieval in a specific language, and a top model may be ten times larger than a nearly equal competitor. Practitioners therefore filter by language, task type and size before comparing numbers.
MTEB compared with other retrieval benchmarks
MTEB is a broad embedding benchmark, not a pure retrieval benchmark and not an end-to-end RAG test. Its neighbors in the retrieval and knowledge area answer narrower or different questions, as the following comparison shows.
| Benchmark or method | Scope | Typical use |
|---|---|---|
| MTEB | Many task types and languages | Choosing a general embedding model |
| BEIR | Zero-shot retrieval in English | Comparing dense, sparse and hybrid retrievers |
| Language-specific MTEB variants | One language, many tasks | Selecting models for a regional market |
| RAG evaluation | Retrieval plus answer quality | Testing a full pipeline end to end |
| In-house test set | Own queries and documents | Final decision before deployment |
Because MTEB scores only the embedding step, it cannot show the effect of chunking, hybrid search, reranking or prompt design. A strong MTEB result is a reason to shortlist a model, not proof that a pipeline will answer user questions well.
Using MTEB to choose an embedding model
The open-source mteb package lets teams run any task, or a custom dataset in the same format, on their own candidate models. A sound selection process combines public scores with a private evaluation on representative data.
- Filter by language and domain, keeping tasks close to the real corpus.
- Focus on the relevant task type, usually retrieval for semantic search and RAG.
- Check practical constraints such as dimension, context length and license.
- Shortlist three to five models and rerun them locally with the package.
- Validate on in-house queries with labeled relevance before deployment.
Teams that need compact indexes should also compare results at reduced dimensions, since models trained with Matryoshka objectives or evaluated with binary or scalar quantization can lose only a few points while cutting storage substantially.
Limitations and known pitfalls
The benchmark is valuable precisely because it is public, and that openness creates its main weakness: benchmark overfitting. Training sets of popular models increasingly include the training splits, or close relatives, of MTEB datasets, which inflates scores without improving general quality.
| Pitfall | Consequence | Mitigation |
|---|---|---|
| Data contamination | Inflated scores on familiar datasets | Prefer zero-shot results |
| Single average ranking | Wrong model for the actual task | Compare per task type |
| Domain mismatch | Good public scores, weak legal or medical results | Test on in-domain data |
| Ignoring cost | Slow or expensive inference | Weigh size and dimension |
| Small score gaps | Differences within noise | Treat gaps under one point as ties |
Some original datasets are also short, noisy or English-heavy, and long-document retrieval was poorly covered in early versions. Newer task sets address part of this gap, but results still depend strongly on which benchmark version and subset a leaderboard row reports.
A plain-language summary
An embedding model turns text into a list of numbers. Similar texts get similar numbers. This helps search tools find documents by meaning, not only by exact words.
MTEB is a large exam for these models. It checks many skills in many languages. Search is one skill. Grouping similar texts and spotting paraphrases are others. The results appear in a public ranking. The key point is simple: look at the skill you need, not only the overall grade.
An example from practice
An insurance company is building a retrieval-augmented assistant for claims staff over 40,000 policy documents in English and German. The team opens the MTEB leaderboard, filters for both languages, and sorts by the retrieval average instead of the overall score. They exclude models above 1,500 million parameters to keep latency below 100 milliseconds per query.
Four candidates remain. The team runs them with the mteb package on 300 labeled internal queries. The model that ranked first on the public leaderboard places third on internal data, while a smaller model with 768-dimension vectors gives the highest nDCG@10 and halves index storage. The company deploys the smaller model, and the assistant finds the correct policy clause in the top five results for most test questions.