This page covers embedding and reranking models for search and retrieval-augmented generation (RAG), as of 2 December 2026. It is one part of Which Qwen model should I use?, which covers the other tasks.
Run the embedding model yourself
A hosted embedding API is a poor choice even when it is cheap. Every document you index and every query you search goes to the provider, so the provider sees your whole corpus. Your stored vectors only work with the exact model that made them: if the provider retires or changes that model, you have to re-embed everything before search works again. And each search waits on a network round trip before it can start. Sam Witteveen's walkthrough of Qwen3-Embedding makes the same case for running embeddings on your own machines, to avoid re-indexing when a provider changes (YouTube). Embedding models are small enough that none of this is necessary: they run on a CPU or a modest GPU through Ollama (qwen3-embedding), llama.cpp or Hugging Face's text-embeddings-inference server (GitHub).
Which model to use
For English on a CPU, BAAI's bge-small-en-v1.5: 33 million parameters, 384-dimension vectors, MIT licence (Hugging Face), and a 4-bit GGUF file of 24.8 MB (GGUF). For multilingual text, bge-m3 (MIT, 1,024 dimensions, 8,192-token input), which returns dense, sparse and multi-vector outputs from one model (Hugging Face), or Qwen3-Embedding-0.6B. When retrieval quality matters most and you have a GPU, Qwen3-Embedding-4B or 8B (Apache 2.0, 32K context; queries need the instruction prefix on the card) (card). For reranking, Qwen3-Reranker-4B, which scores about the same as the 8B, or bge-reranker-v2-m3 (Apache 2.0) (Hugging Face). The generator is a separate choice and can be hosted: qwen3.7-flash for short prompts and qwen3.8-flash for long ones (pricing).
Tradeoffs
Size against quality. Qwen's card scores bge-m3 at 59.56 on multilingual MTEB against 70.58 for Qwen3-Embedding-8B (card), but the 8B needs a GPU and its 4,096-dimension vectors take more than ten times the storage of bge-small's 384. Within Qwen3-Embedding, most of the gain comes from 0.6B to 4B; the 8B adds about one point. bge-small reads only English and only 512 tokens, so long documents must be split into chunks. It also handles rare proper nouns badly, because a name it never saw in training has no useful position in its vector space. In an elizaOS bot that runs bge-small-en-v1.5 locally through fastembed, Augustin Chan fixed this by scoring with BM25 keyword relevance and cosine similarity together (post); he had earlier added local BGE-small and Ollama embeddings to elizaOS v1 (post). Ollama has no official Qwen3 reranker, so run it with transformers or another server. Measure whether the reranker helps on your data. In one test of 50 multilingual support queries, Qwen3-Reranker-0.6B moved nDCG@10 only from 0.8421 to 0.8427 over a baseline that was already strong (Reddit). In a paper's synthetic long-context tests, Qwen3-Reranker-8B found all the needed evidence with 149 retrieved chunks, where embedding-only search needed 920 (arXiv). Whatever you choose, record the model with the vectors, because changing models means re-embedding the corpus.
Where Qwen loses
On cost of running, the BGE models: they are far smaller and run on hardware you already have. On quality, harrier-oss-v1-27b leads multilingual MTEB at 74.27 against Qwen3-Embedding-8B's 70.58, and at the small size harrier-oss-v1-0.6b scores 69.0 against 64.3 (getaight.ai). Retrieval leaderboard ranks for Qwen moved between #1 and #17 in November depending on the snapshot (maximem.ai), so test candidates on your own queries rather than choosing on rank.