Best embedding model for RAG in 2026: how to choose, and what to test
No embedding model is best for everyone, and a public leaderboard is not your data. Choose by where it must run, what you embed and which languages, shortlist 2 or 3, and test them on your own questions. The current models from OpenAI, Google, Voyage AI and the open-weight families, with prices, vector sizes and limits.
Tecyfy · Published · 8 min read

There is no single best embedding model. The right one depends on where it must run, what you embed and in which languages. Choose a shortlist of 2 or 3 from those answers, then test them on 30 to 50 of your own questions. Through an API, start with Voyage AI's voyage-4 family, OpenAI's text-embedding-3 models or Google's gemini-embedding-2. On your own hardware, start with Qwen3-Embedding or EmbeddingGemma 2.
The test matters more than the pick. A model that wins a public benchmark can lose on your contracts, tickets or code, and switching later means embedding everything again.
What an embedding model decides
In RAGRAGA way to answer from your own documents. A search finds the passages that match the question, and they are added to the prompt before the model writes., an EmbeddingEmbeddingA list of numbers that stands for the meaning of a piece of text, an image or other data. Things with similar meaning get similar numbers, so a computer can find them. model turns every chunkChunkingCutting documents into smaller passages before they are embedded for retrieval, so a search returns the part that answers a question rather than a whole file. of your documents, and every question, into a list of numbers. The search returns the chunks whose numbers sit closest to the question's. If the model places "cancel my plan" far from the passage about ending a subscription, no prompt will rescue the answer, because the passage never reaches the model that writes it.
So the embedding model sets the ceiling on what retrieval can find. Its other properties decide the bill:
- Price per token, paid once for every document and again for every question.
- Vector lengthEmbedding DimensionNumber of elements in an embedding vector., which sets storage and search memory. A 3,072-number vector is 3 times the size of a 1,024-number one.
- Input limit, the longest text it embeds in one go: 8,192 tokens for OpenAI and Gemini, 32,000 for Voyage and Qwen3.
The current models
| Model | Maker | Runs | $ per 1M tokens | Vector | Max input |
|---|---|---|---|---|---|
| text-embedding-3-small | OpenAI | API | 0.02 | 1,536 | 8,192 |
| text-embedding-3-large | OpenAI | API | 0.13 | 3,072 | 8,192 |
| gemini-embedding-2 | API | 0.20 | 3,072 | 8,192 | |
| voyage-4-lite | Voyage AI | API | 0.02 | 1,024 | 32,000 |
| voyage-4 | Voyage AI | API | 0.06 | 1,024 | 32,000 |
| voyage-4-large | Voyage AI | API | 0.12 | 1,024 | 32,000 |
| voyage-code-4 | Voyage AI | API | 0.12 | 1,024 | 32,000 |
| Qwen3-Embedding 0.6B to 8B | Qwen | Your hardware | none | 1,024 to 4,096 | 32,000 |
| EmbeddingGemma 2 | Your hardware | none | 768 | 8,192 |
A few facts that change the choice:
- Voyage's 4 series shares one space. Voyage says all its 4-series embeddings are compatible, so you can embed documents once with
voyage-4-largeand search them with queries from the cheapervoyage-4-lite. - Gemini Embedding 2 is multimodal. Text, images and video land in the same space, in over 100 languages. For text it works best with a task prefix on the query, such as
task: search result | query: .... - Most vectors can be shortened. OpenAI, Voyage, Qwen3 and EmbeddingGemma all let you keep fewer numbers per vector for a small loss in quality, which can cut storage several times over.
- Qwen3-Embedding is open and was at the top. The 8B model ranked first on MTEB's multilingual board as of 5 June 2025, with a score of 70.58, with weights on Hugging Face in sizes down to 0.6B.
- EmbeddingGemma 2 is small. It is a 740-million-parameter model (its base text and code model is 270 million), it runs locally on consumer GPUs or CPUs, and it embeds text, images, audio and video in one space.
Narrow it down
Answer 3 questions and see what to test first:
Start by testing voyage-4-lite against text-embedding-3-small on your own questions. Embedding 100 million tokens costs $2 on voyage-4-lite.
Prices per million tokens and limits from the makers' pages; open models from their model cards. Storage is per million vectors as 32-bit floats, before any shortening or quantization. A shortlist to test, not a ranking.
- Where must it run? If your text cannot leave your servers, the choice is open-weightOpen-Weight ModelA model whose trained weights anyone can download and run on their own hardware, under a licence that sets what you may do with them. Open weights alone do not make a model open source. models. Otherwise an API is less work: no servers to run and scale.
- What do you embed? Code has its own models. Images, audio or video need a multimodal model, so text and pictures can be searched together.
- Which languages? Gemini Embedding 2, Qwen3 and EmbeddingGemma 2 report over 100 languages, and voyage-4-large and voyage-4 are built for multilingual retrieval, but quality varies by language. Test in the languages your users write in.
Use the leaderboard to shortlist, not to choose
The MTEB leaderboard ranks models across many tasks. 2 cautions. Its headline score averages classification, clustering and more, so for search, sort by the retrieval tasks in your languages. And its datasets are public text, not your documents. A model 1 point ahead there can easily fall behind on your data.
Test on your own questions
- Write 30 to 50 real questions, each with the passage that answers it.
- Chunk a sample of documents once, at the size you will use (our chunk size guide covers that).
- Embed the sample with each shortlisted model and record how often the answering passage is in the top 5.
- Choose the cheapest model within a point or two of the best.
The MTEB library can run its own tasks on any model too, which helps when comparing open-weight models before you build anything:
import mteb
model = mteb.get_model("Qwen/Qwen3-Embedding-0.6B")
tasks = mteb.get_tasks(tasks=["SciFact"])
results = mteb.evaluate(model, tasks=tasks)
Plan for switching
Vectors from different models cannot be compared, so a new model means embedding everything again. Keep the source text and the chunking step in a pipeline you can rerun, as an embedding pipelineEmbedding PipelineThe pipeline that turns source documents into searchable vectors: it reads new and changed content, chunks it, embeds each chunk and keeps the vector index in step with the source. does, and a better model becomes a batch job rather than a migration.
Before committing, price it: the embedding cost calculator prices your documents on every model above, and the vector database size calculator shows the memory and disk each vector length needs. Where the vectors live is the next choice; pgvector vs Qdrant vs Chroma compares the common stores. To see an embedding model in a complete pipeline, build a RAG app step by step.
Questions
- What is the best embedding model for RAG?
- It depends on where it must run, what you embed and in which languages. Through an API, Voyage AI's voyage-4-large and voyage-4, OpenAI's text-embedding-3 models and Google's gemini-embedding-2 are the main choices; on your own hardware, Qwen3-Embedding and EmbeddingGemma 2 are strong open-weight options. Shortlist 2 or 3 and test them on 30 to 50 of your own questions: the winner on your data is the best model for you.
- Is the MTEB leaderboard reliable for choosing an embedding model?
- It is a good place to find candidates and a poor place to make the final choice. MTEB averages many tasks, including classification and clustering, so look at the retrieval scores for search, in your languages. Its datasets are public and may differ from your documents. Use it to shortlist, then test on your own questions; the MTEB library can run its tasks on any model.
- How much does it cost to embed documents?
- Through an API it is cheap compared with generating text: text-embedding-3-small and voyage-4-lite cost $0.02 per million tokens, so 100 million tokens, about 200,000 pages at 500 tokens a page, costs $2 on OpenAI; Voyage gives every account its first 200 million tokens free on OpenAI; Voyage gives every account its first 200 million tokens free on OpenAI; Voyage gives every account its first 200 million tokens free. The larger cost is often storage: a 3,072-number vector takes about 12 KB as 32-bit floats, so a million of them need about 12 GB before compression.
- Should I use an open-source embedding model?
- Use one when your text must not leave your servers, when you embed so much that per-token prices add up, or when you need to fine-tune on your own domain. Qwen3-Embedding (0.6B to 8B, weights on Hugging Face) and EmbeddingGemma 2 (Apache 2.0, small enough for consumer hardware) are strong choices. You then run and scale the servers yourself.
- Can I change embedding models later?
- Only by embedding every document again, because vectors from different models cannot be compared. The exception is a family designed to share a space: Voyage AI says all embeddings from its 4 series are compatible, so documents embedded with voyage-4-large can be searched with queries from voyage-4-lite. Keep the source text so a re-embed is a batch job, not a project.
Sources