Embedding Models Compared: How to Choose One for Semantic Search

Embedding models compared on quality, price, dimensions and context: OpenAI, Voyage, Cohere and open-weight options. A five-question guide to choosing one.

By Galactic News Editorial · Published 2026-11-25T13:38:01+00:00 · Updated 2026-11-25T13:38:01+00:00

Embedding models compared for semantic search

Embedding Models Compared: How to Choose One for Semantic Search

Embedding models turn text into numbers. A search query and a document become vectors. Similar meanings sit close together. That is how semantic search works. This guide compares the leading embedding models on quality, price, dimensions, and context, so you can pick the right one for your search or retrieval system.

The choice matters more than it looks. A weak embedding misses the right document. A strong one costs more per token and stores larger vectors. The best model is the one that fits your data, your volume, and your budget. There is no single winner.

What an Embedding Model Does

An embedding model reads text and outputs a list of numbers, called a vector. The vector captures meaning. Two texts with similar meaning get similar vectors. Search then becomes a math problem: find the stored vectors closest to the query vector.

Three numbers describe a model. Dimensions set the vector size. A 1,536-dimension vector stores more detail than a 512-dimension one, but it costs more storage. Context window sets how much text one call can embed. Price sets the cost per million tokens.

Quality is measured on benchmarks. The main one is MTEB, the Massive Text Embedding Benchmark. It covers eight task categories across more than 58 datasets. Its retrieval tasks use nDCG@10, which rewards ranking the right document near the top. MTEB scores are useful. They are not the whole story. A model that leads on MTEB may still lose on your data.

Embedding Models Compared: The Main Options

OpenAI offers two models. text-embedding-3-small costs $0.02 per million tokens and outputs 1,536 dimensions. text-embedding-3-large costs $0.13 per million tokens and outputs 3,072 dimensions. Both accept up to 8,191 tokens per input. Both support Matryoshka representation learning, which lets you request a shorter vector without losing much quality. Large scores about 64.6 on MTEB English average. Small scores about 62.3. The Batch API halves both prices, to $0.01 and $0.065.

Voyage AI, now part of MongoDB, ships the voyage-4 family. voyage-4-lite costs $0.02 per million tokens. voyage-4 costs $0.06. voyage-4-large costs $0.12. Each comes with 200 million free tokens per account. The family accepts 32,000 tokens per input, four times OpenAI's limit. On retrieval benchmarks, voyage-4-large scores 78.4 on public tasks and 84.3 on private tasks, ahead of OpenAI's large model at 62.0 and 71.3. Voyage also ships domain models. voyage-code-4 targets source code. voyage-finance-2 and voyage-law-2 target finance and legal text. Domain models beat general models on their own turf by 5 to 10 percent.

Cohere's Embed 4 is the long-context, multimodal option. It costs $0.12 per million text tokens and $0.47 per million image tokens. It accepts 128,000 tokens per input, sixteen times OpenAI's limit. It handles text, images, and mixed documents such as PDF pages in one model. It outputs 1,536 dimensions by default, with 256, 512, and 1,024 as options. It covers more than 100 languages in a single embedding space. A query in English can match a document in Spanish or Japanese.

Open-weight models have closed the gap. Qwen3-Embedding-8B is an open model under Apache 2.0. It scores 74.7 on public retrieval tasks and 78.4 on private ones, ahead of every hosted model except Voyage's largest. BGE-M3 from BAAI is the self-host cost leader. It outputs 1,024 dimensions, covers more than 100 languages, and returns dense and sparse vectors from one pass. Self-hosting it costs roughly $5 to $20 per million documents, against about $1,300 for OpenAI's large model at the same volume.

ModelPrice per 1M tokensDimensionsMax input tokensMTEB English avgBest for
OpenAI text-embedding-3-small$0.021,5368,19162.3Cost-sensitive default
OpenAI text-embedding-3-large$0.133,0728,19164.6General purpose, OpenAI stack
Voyage voyage-4-lite$0.021,02432,000—Cheap, fast retrieval
Voyage voyage-4$0.061,02432,000—Balanced quality and cost
Voyage voyage-4-large$0.122,04832,000—Top hosted retrieval quality
Voyage voyage-code-4$0.121,02432,000—Code search
Cohere Embed 4$0.12 text, $0.47 image1,536128,000—Long docs, images, PDFs
Qwen3-Embedding-8BSelf-host4,09632,768—Open-weight quality leader
BGE-M3Self-host1,0248,19263.5Cheap multilingual self-host

How to Choose: Five Questions

1. What are you searching?

Prose, code, and legal text behave differently. A general model handles prose well. Code search needs a code model. Embedding code with a prose model loses roughly 15 to 20 percent recall against a code-specific model. Legal and finance documents benefit from domain models too. Match the model to the corpus, not to the leaderboard.

2. How long are your documents?

OpenAI caps input at 8,191 tokens. That is about 6,000 words. Longer documents must be chunked. Voyage accepts 32,000 tokens. Cohere accepts 128,000. If your documents are full contracts or long reports, a long-context model saves a chunking pipeline. If they are short help articles, the limit never matters.

3. How many languages?

English-only search has the most options. Multilingual search narrows the field. Cohere Embed 4 and BGE-M3 cover more than 100 languages in one space. Voyage covers about 30. OpenAI covers more than 20. If users query in one language and documents sit in another, test cross-lingual retrieval directly. Do not assume it works.

4. What does volume cost?

Do the math on your corpus. Embedding one million documents of 500 tokens each means 500 million tokens. On OpenAI's small model that costs $10. On its large model it costs $65. On Voyage-4-lite it costs $10, with 200 million tokens free. Self-hosted BGE-M3 costs roughly $5 to $20 for the same job. Storage matters too. A 3,072-dimension float vector takes 12,288 bytes. A 256-dimension int8 vector takes 256 bytes. That is a 48-fold difference. Matryoshka truncation and int8 quantization cut storage without much quality loss.

5. Do you need to self-host?

Hosted APIs are simple. You send text and get vectors. Self-hosting adds work: GPU, serving, scaling. It also adds control. Your data never leaves your network. Your costs flatten as volume grows. Open-weight models such as Qwen3-Embedding-8B and BGE-M3 make self-hosting practical. If compliance or cost at scale matters, self-host. If speed to production matters, use an API.

Test Before You Commit

Benchmarks rank models on public data. Your data is different. Build a small test set. Take 50 real queries from your users. For each one, list the documents that should rank first. Embed your corpus with two or three candidate models. Measure which one ranks the right documents highest. That test takes an afternoon. It beats a week of reading leaderboards.

Add a reranker to the shortlist. A reranker reads the top results and reorders them. Cohere's rerank models and Voyage's rerank-3 cost $0.02 to $0.05 per million tokens. A cheap embedding plus a reranker often beats an expensive embedding alone. Test that combination too.

Bottom Line

Start with OpenAI text-embedding-3-small if you want the simplest default. It costs $0.02 per million tokens and handles most retrieval work. Reach for voyage-4-large when retrieval quality is the bottleneck and your domain is specialized. Its $0.12 price buys the strongest hosted retrieval scores. Choose Cohere Embed 4 when documents are long, multilingual, or full of images. Self-host BGE-M3 or Qwen3-Embedding-8B when volume is high or data must stay in house. Whatever you pick, test it on your own queries before you commit.