Embedding model choice attracts less attention than language model choice and frequently matters more for a retrieval system, because if the right passage is never retrieved, no language model can produce a correct answer.

What an embedding model does

It converts text into a vector — a list of numbers representing meaning. Text with similar meaning produces similar vectors, which is what lets a search for "can I send this back" find a passage about returns.

The model's job is to put semantically similar things close together and dissimilar things far apart, for your content specifically. That last part is why general benchmarks are of limited use.

Benchmark on your own content

The only evaluation that means anything.

Build a test set: thirty to a hundred real questions, each paired with the passage in your content that correctly answers it.

Then for each candidate model:

  1. Embed your full corpus
  2. Embed each test question
  3. Retrieve the top five results
  4. Measure how often the correct passage appears

The metric that matters is recall at k — the proportion of questions where the correct passage is in the top five retrieved. Not cosine similarity scores, which are not comparable across models and tell you nothing about whether the answer was found.

This takes a few hours and replaces an argument with a measurement.

Why domain matters so much

General benchmarks test on general text. Your content is probably not general.

Legal documents, medical records, technical specifications, product catalogues and internal procedure documents all use vocabulary and phrasing patterns that differ substantially from web text. A model that performs excellently on a public benchmark may handle your domain's terminology poorly.

This is particularly true for:

  • Heavy jargon or acronyms specific to your field
  • Product and part codes mixed with prose
  • Non-English content, or mixed-language content
  • Highly structured text like clauses or specifications

Test rather than assume.

The factors that matter

Retrieval quality on your content

Covered above. The primary criterion.

Dimensionality

How many numbers per vector. More dimensions can capture more nuance and cost more to store and search.

Many current models offer configurable dimensions, letting you trade a small amount of quality for substantially lower storage and faster search. Test the smaller option — the quality difference is frequently negligible for business content and the cost difference is not.

Maximum input length

How much text fits in one embedding. This interacts with your chunking strategy: a model with a short maximum forces smaller chunks, which may split content that belongs together.

Language coverage

If your content or your users are not exclusively English, test specifically. Multilingual models vary considerably, and performance on a given language is rarely proportional to its prominence.

For mixed-language content — common in Pakistan and the Gulf, where documents mix English with Urdu or Arabic — this needs explicit testing.

Hosting and data handling

API-based models are easy and your content passes through a third party. Check the terms on data retention and training use.

Open-weight models run on your own infrastructure. Nothing leaves your network, there is no per-call cost, and you operate the inference. For regulated or sensitive content this is frequently the deciding factor.

Current open-weight embedding models are genuinely competitive, which was not true a couple of years ago.

Cost

Embedding is usually a small share of total AI cost, because you embed each document once and each query once. It becomes material at very large corpus sizes or very high query volume.

Note that re-embedding on every content update multiplies this, so a frequently changing corpus costs more than its size suggests.

The switching cost

Important and often missed.

Vectors from different models are not comparable. Changing model means re-embedding your entire corpus and rebuilding the index. For a large corpus this is time and cost, and it must be done atomically — a half-migrated index returns nonsense.

Plan for this: keep your ingestion pipeline able to re-embed from source rather than from a one-off import, and build for an index swap rather than an in-place update.

What matters more than model choice

Worth stating plainly, because the model choice attracts disproportionate attention.

Chunking strategy. How you split documents affects retrieval more than which model embeds them. Chunks too small lose context; too large dilute relevance. Different content types need different approaches.

Hybrid search. Combining semantic and keyword search outperforms either alone on real business content, consistently. Semantic search is specifically bad at exact terms — product codes, clause numbers, names — and keyword search covers exactly that gap.

Re-ranking. Retrieving more candidates and re-ranking them for relevance before passing the top few to the model produces a larger improvement than switching between good embedding models.

Metadata filtering. Filtering by date, type and permission before similarity search improves relevance and is how access control is enforced.

Get these right with an adequate model and you will outperform a perfect model choice with poor retrieval engineering.

A practical process

  1. Build the test set — questions with known correct passages
  2. Shortlist two or three models, including one open-weight option if data handling matters
  3. Embed your corpus with each and measure recall at five
  4. Test the smaller dimension option where offered
  5. Pick the cheapest that meets your quality bar, not the highest scorer
  6. Then invest in chunking, hybrid search and re-ranking, which is where the remaining gains are

Step five matters. If a cheaper or smaller model passes your test set, the more expensive one is not buying anything you can measure.

Re-evaluating

Embedding models improve, though more slowly than language models. Re-run your comparison annually rather than quarterly, and weigh any improvement against the cost of re-embedding your corpus.

Unlike language models, this is not a decision worth revisiting constantly — the switching cost is real and the gains are incremental.

If you want help building a retrieval evaluation set and running this properly, get in touch.