- As of November 20, 2026, the best embedding model on third-party retrieval boards is the open Qwen3-Embedding-8B (Apache 2.0). It ranks first on MTEB's RTEB board with a 69.37 mean.
- The best hosted embedding API for text RAG is Voyage's voyage-4-large at $0.12 per million tokens. It ranks second on RTEB, but the board shows no mean for it, so part of its case rests on Voyage's own tests.
- MTEB scores are only comparable within one board and version. Qwen3-Embedding-8B scores 75.22 on MTEB(eng, v2), and OpenAI's guide lists 64.6 for text-embedding-3-large without naming a version.
- Matryoshka truncation is cheap when a model is trained for it: EmbeddingGemma 2 loses 0.68 points on MTEB English v2 at 256 dimensions, a third of its storage, by Google's figures.
- Leaderboards narrow the list. Your own recall@10 on 100 to 200 labeled queries makes the final pick.
Embedding models turn text, code, images, or audio into vectors, so a vector database can return the stored items closest to a query. The best embedding models in late 2026 split into hosted APIs from Voyage, Cohere, Google, and OpenAI, and open models such as Qwen3-Embedding, Harrier, and EmbeddingGemma 2 that you run yourself. Public boards cover the two groups unevenly, and several leading APIs have no complete score on MTEB's newest boards. This ranking uses dated leaderboard rows, labeled vendor evaluations, prices read on November 16, 2026, and a tested truncation script.
#Best embedding models in 2026, ranked
Qwen3-Embedding-8B is the best embedding model overall as of November 20, 2026, if you can host an 8B model, and Voyage's voyage-4-large is the best hosted API for text retrieval. The other seven each win on one need: visual documents, mixed media, code, multilingual text, small hardware, hybrid search, or price.
| Rank | Model | Best for | Access | Price per 1M text tokens | Evidence class |
|---|---|---|---|---|---|
| 1 | Qwen3-Embedding-8B | Best retrieval you can self-host | Open, Apache 2.0 | Your hardware | Third-party: RTEB #1, 69.37 mean |
| 2 | Voyage voyage-4-large | Hosted text RAG | API | $0.12 | Third-party: RTEB #2, no mean; vendor: RTEB |
| 3 | Cohere embed-v5.0-pro | PDFs, slides, and 128K-token inputs | API, VPC, on-premises | $0.12 | Third-party: RTEB 65.87; vendor: ViDoRe V3 |
| 4 | Google gemini-embedding-2 | Text, images, audio, and video in one index | API | $0.20, or $0.10 batch | Vendor only: 69.9 MTEB Multilingual |
| 5 | Voyage voyage-code-4 | Code search and coding agents | API | $0.12 | Vendor only: 19 code retrieval sets |
| 6 | Microsoft Harrier OSS v1 | Open multilingual retrieval | Open, MIT | Your hardware | Third-party: MTEB Multilingual v2 #1, 74.27 |
| 7 | Google EmbeddingGemma 2 | CPUs, laptops, and phones | Open, Apache 2.0 | Your hardware | Third-party: 67.53 on MTEB(eng, v2) |
| 8 | BAAI BGE-M3 | Dense and sparse vectors from one model | Open, MIT | Your hardware | Older model, widely deployed |
| 9 | OpenAI text-embedding-3-small | Cheapest default in an OpenAI stack | API | $0.02 | Third-party: RTEB #64, no mean |
Third-party means the MTEB leaderboard, which no model vendor runs, read on November 16, 2026. Vendor means the model's maker ran the test. A missing row is missing evidence, not proof of a weak model.
#How to choose an embedding model
Choose an embedding model by measuring retrieval on your own queries, then filter by what a leaderboard cannot see: input length, languages, dimensions, price, latency, and license. Use public scores to choose the finalists.
Work through the criteria in this order:
- Retrieval quality on your data. Recall@10 on 100 to 200 real queries beats any average, because your vocabulary and document lengths differ from a benchmark's.
- The right benchmark. Read retrieval scores and RTEB, not the overall mean, which also averages classification and clustering tasks that RAG never runs.
- Max input tokens. The limit caps chunk size: 512 tokens for multilingual-e5-large-instruct and nomic-embed-text-v2-moe, 8,192 for OpenAI and Gemini, 32,000 for Voyage 4, and 128K for Cohere Embed 5.
- Dimensions. Storage grows linearly with them, and Matryoshka-trained models let you cut vectors short.
- Languages and code. Use a code model when queries are issue descriptions and documents are source files.
- Price, including re-embedding. Vectors from different models are not comparable, so switching means re-embedding every chunk unless the vendor documents a shared space.
- Latency. Query embedding sits on the request path of every search.
- License. Apache 2.0 and MIT allow commercial self-hosting, CC BY-NC 4.0 needs a separate license, and some APIs cannot be self-hosted at all.
#MTEB scores: which board and which version
MTEB is a family of boards, so a score means nothing without its board and version. For RAG, read the RTEB boards and the retrieval column of MTEB(eng, v2) or MTEB(Multilingual, v2), and check the zero-shot column before you trust a high average.
The English v2 board has 41 tasks across seven task types and favors datasets not commonly used for fine-tuning, while the original set survives as MTEB(eng, v1). RTEB(beta) covers retrieval in legal, finance, code, and healthcare across 22 languages, including closed datasets.
The rank is a Borda count across tasks, so a model can outrank one with a higher mean. A dash in the mean column means at least one task has no result. The zero-shot column estimates the share of a board's datasets that a model did not train on.
Rows below were read on November 16, 2026. "No mean" means a row exists without a complete average.
| Model | MTEB(eng, v2) mean | Zero-shot, eng v2 | MTEB(Multilingual, v2) mean | RTEB(beta) rank and mean |
|---|---|---|---|---|
| Qwen3-Embedding-8B | 75.22 | 95% | 70.58 | #1, 69.37 |
| QZhou-Embedding | 75.97 | 48% | Not listed | Not listed |
| voyage-4-large | Not listed | Not listed | Not listed | #2, no mean |
| Cohere embed-v5.0-pro | Not listed | Not listed | Not listed | #7, 65.87 |
| gemini-embedding-001 | 73.30 | 95% | 68.37 | #18, no mean |
| harrier-oss-v1-27b | No mean | 87% | 74.27 | Not listed |
| EmbeddingGemma 2 | 67.53 | 95% | 60.52 | Not listed |
| text-embedding-3-large | No mean | Not reported | No mean | #46, no mean |
QZhou-Embedding beats Qwen3-Embedding-8B on the English mean at 48% zero-shot, so about half of that board's datasets overlap its training data. Qwen's score at 95% zero-shot says more about an unseen corpus.
Gemini Embedding 2 has only a partial row for its preview. OpenAI's embeddings guide lists 62.3% and 64.6% on MTEB for its v3 models without naming a version, so do not set those beside v2 numbers.
Vendor numbers fill the gaps, each from the vendor's own choice of tests:
- Voyage reports that voyage-4-large beats Gemini Embedding 001 by 3.87%, Cohere Embed v4 by 8.20%, and OpenAI v3 Large by 14.05% on average across 29 RTEB datasets at NDCG@10 (January 15, 2026).
- Cohere reports 85.8 on ViDoRe V3 for Embed 5 Pro, against 83.7 for Voyage 4 Large and 83.2 for Gemini Embedding 2 (September 30, 2026), using RCP-nDCG@10, its own metric over a fixed candidate set rather than first-stage retrieval.
- Google reports 69.9 on MTEB Multilingual and 84.0 on MTEB Code for Gemini Embedding 2 in its May 26, 2026 paper.
#The nine picks, model by model
Each entry gives vendor facts and leaderboard rows as of November 16, 2026, then says who should pick it.
#1. Qwen3-Embedding-8B: best overall if you can host it
Qwen3-Embedding-8B leads both RTEB boards with complete scores: 69.37 on RTEB(beta) and 69.59 on RTEB(eng, beta). It also scores 75.22 on MTEB(eng, v2), 70.58 on Multilingual v2, and 80.69 on MTEB(Code, v1), each at 95% zero-shot or higher.
Its model card lists Apache 2.0, a 32K-token input, more than 100 natural and programming languages, and output sizes from 32 to 4,096 dimensions. Qwen says a query-side task instruction typically adds 1% to 5% to retrieval. The weights take about 14.1 GiB at 16-bit precision, and the 4B and 0.6B siblings trade a few points for less memory.
The model dates from June 2025, so the board leader is 17 months old. Pick it when you have a GPU and want the top third-party score with no per-token bill.
#2. Voyage voyage-4-large: best hosted API for text RAG
voyage-4-large ranks second on RTEB(beta), the highest of any hosted API, though the board shows no mean for it. It costs $0.12 per million tokens after 200 million free, and accepts 32,000 tokens per input.
Voyage's docs list 1,024 dimensions by default, or 256, 512, or 2,048, in float, int8, uint8, binary, or ubinary. Voyage calls it the first production-grade mixture-of-experts embedding model. All Voyage 4 models share one space, so you can index with voyage-4-large and embed queries with voyage-4-lite at $0.02.
Pick it for hosted text retrieval with long inputs and a cheap query model that needs no re-index.
#3. Cohere Embed 5 Pro: best for PDFs and visual documents
Cohere's embed-v5.0-pro, released September 30, 2026, has the best complete RTEB score of any hosted model: 65.87 on RTEB(beta), against 62.15 for embed-v5.0-fast. It embeds text, images, and mixed pages such as PDF pages into one vector, from inputs up to 128K tokens.
Cohere's docs list 256 to 2,048 dimensions in float, int8, or binary, and more than 100 languages. Pro costs $0.12 per million text tokens and Fast $0.08, with images at $0.40 for both. Pro and Fast share a space, and Cohere recommends indexing with Pro and querying with Fast. Embed 5 runs on Cohere's API, Model Vault, Microsoft Foundry, Amazon SageMaker, or your own VPC or data center through vLLM.
Pick it for scanned reports, slide decks, and financial filings, or when data must stay on your servers.
#4. Gemini Embedding 2: best for mixed media in one index
gemini-embedding-2 puts text, images, audio, video, and PDFs into one space, and went generally available on April 22, 2026. Since November 6, 2026, requests to gemini-embedding-2-preview route to the GA model, which shares its schema, price, and space, so no re-index is needed. Update the model string anyway.
Google's docs allow 8,192 text tokens, six images, 180 seconds of audio, 120 seconds of video, or one six-page PDF per request. Output defaults to 3,072 dimensions, accepts 128 to 3,072, and is renormalized automatically when cut. There is no task_type field, so prefixes such as task: search result | query: go in the text.
Text costs $0.20 per million tokens, or $0.10 in batch. The text-only gemini-embedding-001 costs $0.15, takes 2,048 tokens, uses a different space, and can shut down as early as May 14, 2028. Pick Gemini Embedding 2 when one index must search screenshots, recordings, and video, knowing its scores so far are Google's own.
#5. Voyage voyage-code-4: best for code retrieval
voyage-code-4, released August 13, 2026, targets retrieval for coding agents. Voyage built 19 test sets from merged pull requests, with the issue as the query and the files the fix touched as the answers, and reports beating Gemini Embedding 2 by 31.03% and OpenAI v3 large by 48.58% at NDCG@10.
It costs $0.12 per million tokens, takes 32,000 tokens, and outputs 256 to 2,048 dimensions. It has no row on MTEB(Code, v1), so every score is Voyage's. The open alternative is Qwen3-Embedding-8B at 80.69 on that board, whose leader, papr-embed-code-1-4b at 81.13, reports only 16% zero-shot. Pick voyage-code-4 for issue-to-file search, and test it on your own repository.
#6. Microsoft Harrier OSS v1: best open multilingual model
harrier-oss-v1-27b leads MTEB(Multilingual, v2) at 74.27, at 78% zero-shot, ahead of Qwen3-Embedding-8B at 70.58. Its MIT-licensed card lists a 32,768-token input and 5,376-dimension output, and the weights take about 50.3 GiB at 16-bit precision.
The card does not mention Matryoshka training, so plan to store all 5,376 dimensions, past pgvector's index limits of 2,000 for vector and 4,000 for halfvec. The 0.6B sibling scores 69.01 on the same board. Pick the 27B model for multilingual corpora on a large GPU, and the 0.6B model for modest hardware.
#7. EmbeddingGemma 2: best for CPUs and devices
EmbeddingGemma 2 is a 270M-parameter text model under Apache 2.0, with optional vision and audio encoders that bring it to 740M. Its model card lists an 8,192-token input, 768 dimensions with Matryoshka cuts to 512, 256, and 128, and more than 100 languages.
Google reports 68.46 on MTEB(eng, v2), and the leaderboard shows 67.53, so quote the source with the number. Pick it for search on laptops, phones, or CPU-only servers.
#8. BGE-M3: best for hybrid search from one model
BGE-M3 returns dense, sparse, and multi-vector representations from one forward pass, so one model feeds hybrid search. Its card lists MIT, 8,192 tokens, 1,024 dimensions, and more than 100 languages.
It dates from January 2024, trails newer models, and has no complete mean on the boards above, but about 30 million downloads in the past month on Hugging Face mean serving tools cover it well. gte-multilingual-base is a smaller option with sparse output: Apache 2.0, 305M parameters, 8,192 tokens, and 128 to 768 dimensions. Pick BGE-M3 when exact identifiers such as error codes must match.
#9. OpenAI text-embedding-3-small: cheapest hosted default
text-embedding-3-small costs $0.02 per million tokens, accepts 8,192 tokens, and returns 1,536 dimensions that the dimensions parameter can shorten. OpenAI's vectors are normalized to length 1, so a dot product equals cosine similarity.
On RTEB(beta), text-embedding-3-small ranks 64th and text-embedding-3-large 46th, neither with a mean. text-embedding-3-large costs $0.13, more than voyage-4-large, which ranks 44 places higher. voyage-4-lite matches the small model's price with a 32,000-token input. Pick text-embedding-3-small to stay inside an OpenAI-only stack.
Also checked and not ranked: Amazon's Titan Text Embeddings V2 and Nova Multimodal Embeddings, whose prices the Bedrock pricing page did not show, Mistral's 2023 mistral-embed, and NVIDIA's Nemotron-3-Embed-8B, third on RTEB(beta) with no mean.
#Embedding model prices and specs
Hosted embedding prices run from $0.02 to $0.20 per million text tokens as of November 16, 2026, so a one-billion-token corpus costs $20 to $200 to embed. A million 20-token queries cost $2.40 at $0.12.
Prices below are list prices for text, read on November 16, 2026, from OpenAI, Google, Voyage, Cohere's Embed 5 post, Mistral's model pages, and the Amazon Bedrock docs.
| Hosted model | Per 1M text tokens | Max input tokens | Default dimensions | Smaller sizes and types |
|---|---|---|---|---|
| voyage-4-large | $0.12 | 32,000 | 1,024 | 256, 512, 2,048; int8 and binary |
| voyage-4-lite | $0.02 | 32,000 | 1,024 | Same, shared space with voyage-4-large |
| voyage-code-4 | $0.12 | 32,000 | 1,024 | 256, 512, 2,048 |
| embed-v5.0-pro | $0.12 | 128K | 2,048 | 256 to 1,536; int8 and binary |
| embed-v5.0-fast | $0.08 | 128K | 2,048 | Same, shared space with Pro |
| gemini-embedding-2 | $0.20, $0.10 batch | 8,192 | 3,072 | 128 to 3,072, renormalized for you |
| gemini-embedding-001 | $0.15 | 2,048 | 3,072 | 128 to 3,072, normalize yourself |
| text-embedding-3-large | $0.13 | 8,192 | 3,072 | Any size through dimensions |
| text-embedding-3-small | $0.02 | 8,192 | 1,536 | Any size through dimensions |
| amazon.titan-embed-text-v2:0 | Not shown when read | 8,192 | 1,024 | 512, 256 |
Open models cost GPU time instead of tokens. The license column decides whether you can ship them in a product.
| Open model | License | Parameters | Max input tokens | Dimensions |
|---|---|---|---|---|
| Qwen3-Embedding-8B | Apache 2.0 | 7.6B | 32K | 32 to 4,096 |
| harrier-oss-v1-27b | MIT | 27B | 32,768 | 5,376 |
| EmbeddingGemma 2 | Apache 2.0 | 270M text | 8,192 | 768, 512, 256, 128 |
| BGE-M3 | MIT | 568M | 8,192 | 1,024, plus sparse |
| voyage-4-nano | Apache 2.0 | 340M | 32,000 | 256 to 2,048 |
| multilingual-e5-large-instruct | MIT | 560M | 512 | 1,024 |
| jina-embeddings-v5-text-small | CC BY-NC 4.0 | 0.6B | 32K | 32 to 1,024 |
voyage-4-nano shares the Voyage 4 space, so a local prototype can query an index the hosted models built.
#Dimensions and Matryoshka truncation
Matryoshka representation learning trains a model so the first N dimensions of each vector work as a smaller embedding. Cutting 768 dimensions to 256 cuts storage and exact-search cost by two thirds, and a model trained this way loses little until the cut gets deep.
Google's EmbeddingGemma 2 table shows the shape. At 256 dimensions the model loses 0.68 points on MTEB English v2 and 0.95 on Multilingual v2. At 128 the loss grows to 2.78 and 3.47 points, and code retrieval drops 7.27.
Renormalize after every cut. Gemini Embedding 2 does it for you, while gemini-embedding-001 and manual cuts of OpenAI vectors need an L2 normalization afterward. A vector cut without renormalizing is shorter than length 1, so a store that ranks by dot product scores it differently from cosine.
The script below shows both effects with the Python standard library only. It generates 800 documents in 40 topics, with topic signal strongest in the first dimensions, the property Matryoshka training aims for. A rotated copy has identical full-length similarities but spreads the signal evenly, like a model never trained for truncation.
"""Cosine similarity and Matryoshka-style truncation on generated vectors.
Standard library only. No embedding model or API is called.
"""
import math
import platform
import random
from operator import mul
D, TOPICS, DOCS, QUERIES, K = 256, 40, 800, 100, 10
DIMS = (256, 128, 64, 32, 16)
rng = random.Random(7)
def dot(a, b):
return sum(map(mul, a, b))
def normalize(v):
n = math.sqrt(dot(v, v))
return [x / n for x in v]
def cosine(a, b):
return dot(a, b) / math.sqrt(dot(a, a) * dot(b, b))
def gauss(n):
return [rng.gauss(0, 1) for _ in range(n)]
# Topic signal decays faster than noise along the vector, so the first
# dimensions are the most informative. Matryoshka training aims for that.
decay = [math.exp(-i / 48) for i in range(D)]
noise = [w**0.75 for w in decay]
centroids = [[w * x for w, x in zip(decay, gauss(D))] for _ in range(TOPICS)]
def sample(topic):
return normalize([c + s * e for c, s, e in zip(centroids[topic], noise, gauss(D))])
doc_topic = [i % TOPICS for i in range(DOCS)]
query_topic = [rng.randrange(TOPICS) for _ in range(QUERIES)]
front_docs = [sample(t) for t in doc_topic]
front_queries = [sample(t) for t in query_topic]
def random_rotation(n):
"""Gram-Schmidt on Gaussian vectors gives a random orthogonal matrix."""
basis = []
while len(basis) < n:
v = gauss(n)
for b in basis:
p = dot(v, b)
v = [x - p * y for x, y in zip(v, b)]
basis.append(normalize(v))
return basis
R = random_rotation(D)
rot_docs = [[dot(row, v) for row in R] for v in front_docs]
rot_queries = [[dot(row, v) for row in R] for v in front_queries]
def top_k(query, docs, score=dot):
ranked = sorted(((score(query, d), i) for i, d in enumerate(docs)), reverse=True)
return [i for _, i in ranked[:K]]
def truncate(vectors, d, renorm=True):
return [normalize(v[:d]) if renorm else v[:d] for v in vectors]
def evaluate(queries, docs):
full = [top_k(q, docs) for q in queries]
rows = {}
for d in DIMS:
found = [top_k(q, truncate(docs, d)) for q in truncate(queries, d)]
hits = sum(doc_topic[i] == query_topic[n] for n, f in enumerate(found) for i in f)
kept = sum(len(set(f) & set(g)) for f, g in zip(found, full))
rows[d] = (hits / (K * QUERIES), kept / (K * QUERIES))
return rows
print(f"python {platform.python_version()}, D={D}, {TOPICS} topics, {DOCS} docs, {QUERIES} queries")
q = front_queries[0]
same, other = front_docs[query_topic[0]], front_docs[(query_topic[0] + 1) % TOPICS]
print(f"same topic: cosine {cosine(q, same):.4f}, dot {dot(q, same):.4f}")
print(f"other topic: cosine {cosine(q, other):.4f}, dot {dot(q, other):.4f}")
drift = max(abs(dot(a, b) - dot(ra, rb)) for a, ra in zip(front_queries[:5], rot_queries[:5])
for b, rb in zip(front_docs, rot_docs))
print(f"rotation changes full-length dot products by at most {drift:.1e}")
front, rot = evaluate(front_queries, front_docs), evaluate(rot_queries, rot_docs)
print("\n front-loaded rotated copy")
print("dims bytes p@10 top10 kept p@10 top10 kept")
for d in DIMS:
print(f"{d:>4} {d * 4:>6} {front[d][0]:.3f} {front[d][1]:>10.3f} "
f"{rot[d][0]:.3f} {rot[d][1]:>10.3f}")
d = 64
raw = truncate(front_docs, d, renorm=False)
norms = [math.sqrt(dot(v, v)) for v in raw]
qs = truncate(front_queries, d)
moved = sum(len(set(top_k(q, raw)) - set(top_k(q, raw, cosine))) for q in qs)
print(f"\ncut to {d} dims, not renormalized: doc norms {min(norms):.3f} to {max(norms):.3f}")
print(f"top-10 results that differ from cosine ranking: {moved / (K * QUERIES):.1%}")
print("\nstorage for 10 million vectors, GiB: float32 / int8 / binary")
for d in (3072, 2048, 1536, 1024, 768, 512, 256):
gib = [10_000_000 * d * b / 2**30 for b in (4, 1, 1 / 8)]
print(f"{d:>5} dims: {gib[0]:7.2f} / {gib[1]:6.2f} / {gib[2]:5.2f}")Run it with python truncate_demo.py. It ran on Python 3.15.1 with no packages installed, on an Apple M2 with 16 GB, in about 14 seconds. Real output:
python 3.15.1, D=256, 40 topics, 800 docs, 100 queries
same topic: cosine 0.3956, dot 0.3956
other topic: cosine 0.1169, dot 0.1169
rotation changes full-length dot products by at most 3.6e-15
front-loaded rotated copy
dims bytes p@10 top10 kept p@10 top10 kept
256 1024 0.950 1.000 0.950 1.000
128 512 0.947 0.989 0.913 0.803
64 256 0.921 0.927 0.770 0.638
32 128 0.778 0.741 0.535 0.422
16 64 0.504 0.463 0.303 0.224
cut to 64 dims, not renormalized: doc norms 0.889 to 0.979
top-10 results that differ from cosine ranking: 3.0%
storage for 10 million vectors, GiB: float32 / int8 / binary
3072 dims: 114.44 / 28.61 / 3.58
2048 dims: 76.29 / 19.07 / 2.38
1536 dims: 57.22 / 14.31 / 1.79
1024 dims: 38.15 / 9.54 / 1.19
768 dims: 28.61 / 7.15 / 0.89
512 dims: 19.07 / 4.77 / 0.60
256 dims: 9.54 / 2.38 / 0.30Here p@10 is the share of the top 10 from the query's own topic, and "top10 kept" is the overlap with the full-length top 10.
This exercised cosine similarity, truncation, renormalization, and storage arithmetic. It ran no embedding model or API, so the precision values describe generated data, not any product.
Quantized output multiplies the savings. Voyage 4 and Cohere Embed 5 return int8 and binary vectors, and 10 million 3,072-dimension vectors shrink from 114.44 GiB in float32 to 3.58 GiB in binary. Measure recall at the exact size and type you will store.
#Latency, batching, and self-hosting
Query embedding sits on the request path, while document embedding is a throughput job that can run in batch. Measure p95 query latency from your own region, because this article ran no latency test and vendors publish few numbers.
- Batch pricing cuts indexing cost. Gemini Embedding 2 charges half, and Voyage's Batch API costs 33% less with a 12-hour window and no free tokens. OpenAI's pricing page lists no batch rate for embeddings.
- A shared space moves queries to a smaller model. Cohere measured Embed 5 Fast at 377.3 documents per second against 159.7 for Pro, and Voyage suggests voyage-4-lite queries over a voyage-4-large index.
- Amazon Bedrock throttles embedding models by requests per minute rather than tokens, so batch many short chunks into each call.
Self-hosting turns token cost into memory. Qwen3-Embedding-8B needs about 14.1 GiB for 16-bit weights and Harrier 27B about 50.3 GiB, computed from their parameter counts, while EmbeddingGemma 2's text model runs on a CPU. Cohere's Embed 5 post names vLLM for private deployments, and the inference engine comparison covers that stack.
Model churn is the hidden cost. Google shut down text-embedding-004 on January 14, 2026, so track dates in the model retirements dataset, and store the model name and dimension count beside every vector so a re-index can run in stages.
#Test embedding models on your own data
Two or three finalists and one afternoon of labeling settle the choice. Measure with exact search, so the vector database index adds no error of its own.
- Collect 100 to 200 real user queries and label the chunks that answer each one.
- Chunk once with one chunker, and keep chunks under the smallest finalist's input limit.
- Embed with each finalist in its documented format: Qwen's query instruction, Gemini's
task:prefix, or Nomic'ssearch_query:prefix. - Score recall@10 and mean reciprocal rank with exact cosine search over all chunks.
- Repeat at the truncated size and output type you plan to store.
- Add reranking on top and measure again, because a reranker can close the gap between finalists.
- Choose the cheapest finalist within two points of the best recall@10 that your license terms allow.
The two-point threshold is a starting position, not a benchmark result. Tighten it if your answers carry legal or financial weight. If retrieval still misses after this test, the cause may sit outside the embedding model, and RAG vs fine-tuning covers the failures retrieval cannot fix.
#Questions
What is the best embedding model for RAG?
As of November 20, 2026, Qwen3-Embedding-8B is the best embedding model for RAG if you can host an 8B model. It ranks first on MTEB's RTEB retrieval board with a 69.37 mean and ships under Apache 2.0. For a hosted API, Voyage's voyage-4-large ranks second on the same board at $0.12 per million tokens. Confirm either on your own queries.
What is the best open-source embedding model?
Qwen3-Embedding-8B is the best open-weight embedding model overall: Apache 2.0, a 32K-token input, and first place on RTEB as of November 16, 2026. For multilingual text, Microsoft's MIT-licensed Harrier OSS v1 27B leads MTEB Multilingual v2 at 74.27. For CPUs and devices, EmbeddingGemma 2 is a 270M-parameter text model under Apache 2.0.
Which MTEB score should I trust?
Trust a score only when it names the board and version, such as MTEB(eng, v2) or RTEB(beta), and comes from the leaderboard rather than a vendor post. For RAG, read retrieval scores, not the overall mean. Check the zero-shot column too: a model trained on many benchmark datasets can post a high average that does not carry over to your data.
How many dimensions should my embeddings have?
Start at the vendor's recommended middle size, such as 768 or 1,024, and measure recall against the full size on your own queries. EmbeddingGemma 2 loses 0.68 points on MTEB English v2 at 256 dimensions, by Google's figures. Truncate only models trained with Matryoshka representation learning, and renormalize vectors after cutting them unless the API does it for you.
Can I switch embedding models without re-embedding my documents?
Usually not. Vectors from different models live in different spaces, so a switch means re-embedding every chunk. The exceptions are documented families. The Voyage 4 models share one space, Cohere Embed 5 Pro and Fast share one, and Google says gemini-embedding-2 uses the same space as its preview. Gemini Embedding 001 and 2 are not compatible.
What are embeddings in AI?
Embeddings are fixed-length lists of numbers that a model produces for text, images, code, or audio, placed so that related inputs end up close together. Search compares a query's embedding with stored embeddings, usually by cosine similarity, and returns the nearest items. RAG systems use embeddings to find the passages a language model should read before it answers.
Are OpenAI embeddings still good in 2026?
OpenAI's text-embedding-3 models still work, but they are 2024 models that trail newer ones on current boards. On RTEB, text-embedding-3-large ranks 46th and text-embedding-3-small 64th as of November 16, 2026. At $0.02 per million tokens, text-embedding-3-small stays a fair default inside an OpenAI-only stack, while text-embedding-3-large at $0.13 is hard to justify.