Open-source embedding models
Brands AI mentions
Also mentioned rarely: Jina AI, BGE-M3, Nomic, Multilingual E5 Large, DeepMind Gemma, BAAI/bge-large-en-v1.5, vLLM, Nomic Embed Text v1, text-embeddings-inference · github.com, Qdrant, Text Embeddings Inference · huggingface.co, Ollama, Sentence-Transformers, OpenAI, BGE-Base-v1.5, intfloat/e5-small-v2, Milvus, pgvector, E5, intfloat, BAAI, E5-mistral-7b-instruct, Microsoft Harrier OSS v1, Beijing Academy of Artificial Intelligence, NVIDIA NV-Embed, GTE-large, Cohere, Snowflake, MXBAI Embed Large v1, Pinecone, ONNX Runtime, BAAI General Embedding, Stella, Stella · huggingface.co, GTE-Qwen2-1.5B-Instruct, BGE-Reranker, Weaviate, OpenAI Platform, Alibaba, Qwen 3, FlagEmbedding, Mistral-based Embeddings, Voyage AI, Qwen-Embedding, Bekko Embedding
- BAAI BGE-M3ChatGPTChatGPT 80%Google AI ModeGoogle AI Mode 61%
- Qwen3-EmbeddingChatGPTChatGPT 88%Google AI ModeGoogle AI Mode 47%
- Nomic EmbedChatGPTChatGPT 40%Google AI ModeGoogle AI Mode 37%
- QwenChatGPTChatGPT 63%Google AI ModeGoogle AI Mode 11%
- sentence-transformers/all-MiniLM-L6-v2ChatGPTChatGPT 28%Google AI ModeGoogle AI Mode 32%
Pages AI cites most for this topic
Third-party sites shaping AI recommendations here
- BAAI/bge-m3 · Hugging Face (opens in a new tab)24%
huggingface.co · Names OpenAI
- 18%
- 14%
- Best Embedding Models: Choose for Your Retrieval Task | PE Collective (opens in a new tab)13%
pecollective.com
Questions and answers
Google AI ModeNov 9, 2026
Switching to
self-hosted, open-source embedding models can slash your API overhead down to just your compute (GPU/CPU) costs while matching or beating proprietary APIs on the MTEB (Massive Text Embedding Benchmark).The top open-source embedding models balancing high performance, speed , and practical scale span several strong tiers:
Top Open-Source Embedding Models
- Qwen3-Embedding (e.g., 0.6B to 8B)
- License: Apache 2.0
- Context Length: Up to 32K tokens
- Best For: General-purpose, heavy multilingual support, and top-tier retrieval accuracy (competing near the very top of MTEB leaderboards). Smaller variants (0.6B/1.5B) are remarkably fast on modest hardware or run easily with ONNX/vLLM/Ollama-style runtimes.
- Microsoft Harrier-OSS-V1 (e.g., 270M to 27B)
- License: MIT
- Context Length: Up to 32K tokens
- Best For: Enterprise-grade RAG pipelines. The lighter variants offer extreme throughput with minimal latency, while the larger tiers sit at the peak of MTEB performance rankings.
- BGE-M3 (BAAI General Embedding)
- License: MIT
- Context Length: 8K tokens
- Best For: Versatility. It uniquely supports dense, sparse (lexical) , and multi-vector retrieval simultaneously within a single model architecture. It's lightweight, battle-tested in production, and fast on standard CPU/GPU setups.
- BGE-Small-EN / BGE-Base-EN (v1.5)
- License: MIT
- Context Length: 512–8K tokens (depending on variant)
- Best For: Pure speed and low-latency microservices. If you don't need massive 32K context windows and just want sub-10ms embedding generation on cheap hardware (or even CPU-only), classic BGE or
nomic-embed-text-v1.5remain punchy, reliable workhorses.
Quick Comparison Matrix
Model Family License Context Length Top Strength Speed / Resource Footprint Qwen3-Embedding Apache 2.0 32K Multilingual & high precision Scalable (from tiny 0.6B to 8B) Microsoft Harrier OSS MIT 32K Enterprise RAG top accuracy Fast across diverse sizes (270M+) BGE-M3 MIT 8K Dense + sparse + multi-vector Moderate footprint, high versatility BGE / Nomic Small MIT 512 – 8K Ultra-fast local/CPU throughput Very lightweight, minimal RAM Deployment Tip
You don't need a heavy Kubernetes cluster to self-host these. You can spin up lightweight, high-speed embedding endpoints in minutes using tools like TEI (Text Embeddings Inference) by Hugging Face, vLLM , or Ollama depending on your stack.
To help narrow down the best drop-in replacement for your setup, tell me:
- What language model or API are you currently migrating away from?
- Roughly how many tokens/day are you processing?
- Where are you hosting your infrastructure (AWS/GCP, on-prem GPU, or CPU-only)?
ChatGPTNov 9, 2026
If your goal is to reduce embedding API costs without sacrificing search quality, my recommendation is Qwen3-Embedding-0.6B.
It offers an excellent balance of retrieval quality, inference speed, model size, and licensing. You can self-host it and eliminate per-token embedding API charges.
However, there are a few models worth comparing before committing.
Best open-source embedding models (November 2026)
(My recommendation) 1. Qwen3-Embedding-0.6B
- Parameters: 600M
- Embedding dimensions: 1,024
- Context length: 32K tokens
- License: Apache 2.0
- Memory: approximately 1.1 GB
- Strong multilingual and retrieval performance
Why I recommend it:
- Very good retrieval performance for its size.
- Small enough to serve economically.
- Supports long documents.
- Suitable for semantic search and RAG.
- Can run on relatively modest GPU infrastructure.
Its MTEB English benchmark score is approximately 70.7, making it competitive with considerably larger embedding models.
Official model: Qwen3-Embedding-0.6B on Hugging Face.
2. EmbeddingGemma-300M
- Parameters: 300M
- Embedding dimensions: 768
- Context length: 2K tokens
- License: Gemma terms
- Very lightweight inference
- Good for CPU and edge deployments
Best when inference cost and hardware requirements matter more than achieving maximum retrieval accuracy.
Benchmark score: approximately 69.7 on MTEB English.
Official model: EmbeddingGemma on Hugging Face.
3. Qwen3-Embedding-4B
- Parameters: 4B
- Embedding dimensions: 2,560
- Context length: 32K tokens
- License: Apache 2.0
- Higher retrieval quality
- Requires more inference resources
Best when retrieval accuracy is more important than inference cost.
Its MTEB English score is approximately 74.6, compared with 70.7 for the 0.6B version.
Official model: Qwen3-Embedding-4B on Hugging Face.
4. harrier-oss-v1-0.6b
A newer alternative worth testing, particularly for multilingual applications. It has approximately 600M parameters and performs competitively on multilingual benchmarks.
Official models: Microsoft models on Hugging Face.
Quick comparison
Model Size MTEB English Best use Qwen3 0.6B 600M 70.7 Best balance EmbeddingGemma 300M 69.7 Lightweight serving Qwen3 4B 4B 74.6 Higher accuracy Qwen3 8B 8B 75.2 Maximum quality Scores are approximate and benchmark versions matter.
How I'd deploy this in production
My suggested architecture:
Your application
Documents and search queries
Self-hosted embedding service
Qwen3-0.6B
GPU inference · Batched requests
Vector database
Store embeddings and perform similarity search
I'd use:
- Model: Qwen3-Embedding-0.6B.
- Serving: Hugging Face TEI (Text Embeddings Inference) or another optimized inference server.
- Optimization: Batch embedding requests rather than sending individual requests.
- Retrieval: Combine vector search with BM25/hybrid search.
- Reranking: Introduce a reranker only if evaluation shows that retrieval quality needs improvement.
One important consideration: changing embedding models requires re-embedding your existing documents. You generally cannot mix vectors from different embedding models in the same index.
Three questions that would help me narrow this down
I can recommend a much more precise model and deployment configuration if I know:
1. How many tokens do you embed monthly?
Under 10 million
10–100 million
100 million–1 billion
Over 1 billion
2. What infrastructure do you have?
GPU available
CPU only
Can rent cloud GPUs
Existing Kubernetes infrastructure
3. What's your primary use case?
RAG / document search
Semantic search
Recommendation system
Code search
Multilingual search
[Get my recommended deployment]
I can then help you estimate the actual monthly infrastructure cost versus your current embedding API bill.
Pages cited in this answer 8
- github.comQwen3-Embedding/README.md at main · QwenLM/Qwen3-Embedding · GitHub
- leaderboard.mteb.orgQwen3-Embedding-0.6B · MTEB Leaderboard
- huggingface.coQwen/Qwen3-Embedding-0.6B · Hugging Face
- scholarcompass.netMTEB (English, v2) Leaderboard — SOTA Embedding models | Scholar Compass
- huggingface.cogoogle/embeddinggemma-300m · Hugging Face
- huggingface.coQwen/Qwen3-Embedding-4B · Hugging Face
- maximem.aiBest Embedding Models in 2026: Open-Source Picks, Semantic Search, and How to Choose for RAG
- huggingface.comicrosoft (Microsoft)
- Qwen3-Embedding (e.g., 0.6B to 8B)
ChatGPTNov 27, 2026
Absolutely. There are several excellent open-source embedding models that can replace expensive commercial APIs such as OpenAI
text-embedding-3-small/large, Cohere Embed, and Voyage AI.My recommendation would be to move to a self-hosted embedding model with GPU acceleration, rather than simply switching to another embedding API. This can eliminate per-token embedding costs, reduce latency, and give you control over throughput and scaling.
I'd shortlist the following options based on retrieval quality, inference speed, hardware requirements, and licensing.
1. Best open-source embedding alternatives
Models and recommendations · November 2026
1. Qwen3-Embedding
(Best overall recommendation)
- Sizes: 0.6B, 4B, 8B parameters
- License: Apache 2.0
- Context: Up to 32K tokens
- Adjustable embedding dimensions
- Excellent multilingual and semantic retrieval performance
Why consider it: Strong retrieval quality, flexible deployment, and a permissive commercial license. The 0.6B model is particularly attractive when latency and infrastructure costs matter.
Source:
2. BGE-M3
(Best versatile retrieval option)
- Size: Approximately 568M parameters
- License: MIT
- Context: 8,192 tokens
- Supports 100+ languages
- Dense, sparse, and multi-vector retrieval
Why consider it: Particularly interesting if you're building RAG or semantic search. It can support multiple retrieval strategies without requiring separate embedding models.
Source:
Model ·
3. Nomic Embed v2 MoE
(Good efficiency candidate)
- Architecture: Mixture of Experts
- License: Apache 2.0
- Embedding dimensions: 768
- Context: 512 tokens
- Supports Matryoshka dimensionality reduction
Why consider it: Worth benchmarking for cost-efficient, high-volume embedding workloads. Its relatively short context window is an important limitation to consider.
Source:
Model ·
4. Snowflake Arctic Embed
- Variants include small, medium, and large
- License: Apache 2.0
- Strong retrieval-oriented design
- Good candidate for enterprise search and RAG
Why consider it: A practical alternative for organizations prioritizing retrieval quality and predictable self-hosting.
Source:
5. Multilingual E5
- Variants: Small, Base, Large
- MIT license for multilingual-e5-large-instruct
- Good multilingual retrieval
- Mature ecosystem and tooling
Why consider it: A sensible option if you want a well-established embedding architecture and don't need the very latest model family.
Source:
2. Which models should you choose for performance?
Here's how I'd narrow the selection:
Requirement My recommendation Lowest latency / smaller GPU Qwen3-Embedding-0.6B Best overall retrieval quality Qwen3-Embedding-4B Multilingual search BGE-M3 Dense + sparse retrieval BGE-M3 High-volume embedding workloads Nomic Embed v2 MoE Enterprise document search Arctic Embed CPU-oriented deployment Smaller E5 variants One important distinction: the largest model isn't necessarily the fastest. For high-throughput workloads, a 300M–600M parameter model can be considerably more economical than a multi-billion-parameter model.
3. Recommended inference infrastructure
The embedding model is only half the equation. Your serving infrastructure can make a substantial difference to throughput and latency.
I'd look at these three projects:
Hugging Face Text Embeddings Inference (TEI)
(My first choice)
- Purpose-built embedding inference server.
- Dynamic batching.
- Optimized CPU and GPU execution.
- Production-oriented deployment.
Infinity
- Designed for high-throughput embedding and reranking.
- Supports multiple model architectures.
- Useful for concurrent API requests.
- OpenAI-compatible API support.
ONNX Runtime
- Optimized inference across CPU and GPU.
- Quantization support.
- Good option for lower-cost infrastructure.
- Particularly interesting for smaller embedding models.
4. My recommended migration architecture
If I were replacing a paid embedding API in a production RAG system, I'd start with this:
Your application
Existing embedding API integration
Self-hosted embedding API
OpenAI-compatible interface
TEI / Infinity
Inference server
GPU / CPU
Compute infrastructure
Vector database
Qdrant / Milvus / Weaviate / pgvector
The advantage is that you can retain most of your existing application architecture and change the embedding provider behind an abstraction layer.
Important migration consideration: Different embedding models produce different vector spaces. You'll need to regenerate your existing document embeddings and re-index your vector database. Don't mix embeddings from different models in the same index.
5. How I'd benchmark before committing
I wouldn't select a model based exclusively on MTEB leaderboard scores.
I'd run a representative benchmark using your actual documents and queries.
Metric What to measure Latency P50, P95 and P99 Throughput Embeddings/second Retrieval quality Recall@5, Recall@10, NDCG@10 Infrastructure GPU memory and CPU utilization Cost Cost per million tokens Scalability Performance under concurrent requests Also test different batch sizes and sequence lengths. These can significantly change the performance results.
6. A few questions to narrow down the best solution
I can make a much more precise recommendation if I understand your current workload.
1. Which embedding API are you replacing?
2. Approximately how many embeddings do you generate?
3. What infrastructure do you have available?
4. What's your biggest priority?
5. What's the primary use case?
[Get my recommended architecture]
With these answers, I can narrow this down to 2–3 models and propose a concrete deployment architecture, including expected throughput, GPU requirements, and how to minimize your cost per million embeddings.
Pages cited in this answer 18
- github.comQwen3-Embedding/README.md at main · QwenLM/Qwen3-Embedding · GitHub
- qwenlm.github.ioQwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models | Qwen
- huggingface.coQwen3-Embedding - a Qwen Collection
- github.comGitHub - QwenLM/Qwen3-Embedding · GitHub
- iotdigitaltwinplm.comOpen Source Embedding Models Benchmark: Nov 2026 Update
- github.commemsearch/docs/home/embedding-evaluation.md at main · zilliztech/memsearch · GitHub
- huggingface.coBAAI/bge-m3 · Hugging Face
- github.comGitHub - FlagOpen/FlagEmbedding: Retrieval and Retrieval-augmented LLMs · GitHub
- ai-opensource.comHow to choose an open-source embedding model for search and RAG
- huggingface.conomic-ai/nomic-embed-text-v2-moe · Hugging Face
- github.comGitHub
- huggingface.coSnowflake (Snowflake)
- github.comGitHub - zidniryi/open-source-ai-models: A curated directory of open-source & open-weight AI models — compare params, VRAM, context length, and license before picking a model for coding, OCR, vision, image generation, speech, reasoning, and RAG. · GitHub
- github.comqwen3-embedding/README.md at main · xAI-gh/qwen3-embedding · GitHub
- huggingface.cointfloat/multilingual-e5-large-instruct · Hugging Face
- github.comGitHub - huggingface/text-embeddings-inference: A blazing fast inference solution for text embeddings models · GitHub
- github.comGitHub - michaelfeil/infinity: Infinity is a high-throughput, low-latency serving engine for text-embeddings, reranking models, clip, clap and colpali · GitHub
- onnxruntime.aiONNX Runtime | Home
Google AI ModeNov 27, 2026
Transitioning from a paid embedding API to
[Highlight start] self-hosted, open-weight models [Highlight end]drastically cuts costs while matching or beating proprietary quality.Top Open-Source & Open-Weight Embedding Models
- Qwen3-Embedding (0.6B / 4B / 8B)
- License: Apache 2.0
- Context Length: Up to 32,768 tokens
- Strengths: Features high-performing multilingual and long-context performance, rivaling top commercial APIs while offering multiple size variants to balance speed and accuracy. Check out the model family via Hugging Face.
- BGE-M3 (BAAI General Embedding)
- License: MIT
- Context Length: 8,192 tokens
- Strengths: Uniquely supports dense, sparse (lexical), and multi-vector (ColBERT-style) retrieval simultaneously. It handles over 100 languages and is widely deployed for hybrid search pipelines.
- Microsoft Harrier OSS v1 (270M / 0.6B / 27B)
- License: MIT
- Context Length: Up to 32,768 tokens
- Strengths: Built for high-efficiency enterprise scaling, providing strong MTEB benchmark results across a flexible scale of parameter sizes.
- Stella (e.g., stella_en_1.5B_v5)
- License: MIT
- Context Length: Long-context English optimization
- Strengths: Great for resource-constrained setups that still demand heavy Matryoshka representation learning (allowing you to truncate vector dimensions on the fly to save storage and search latency).
- EmbeddingGemma (300M)
- License: Apache 2.0
- Context Length: Lightweight multilingual support
- Strengths: Ideal if you need ultra-low latency, tiny memory footprints, and deployment on edge devices or modest CPU/GPU instances.
Deployment & Serving Options
To match the ease-of-use of an API, you can serve these models locally or in your private cloud using lightweight inference engines:
- TEI (Text Embeddings Inference): Built by Hugging Face specifically for high-throughput, low-latency embedding extraction with features like dynamic batching and tokenization acceleration.
- vLLM / Ollama: Great if you want a unified engine to serve both your LLM and embedding models under a standard OpenAI-compatible API endpoint.
- Ollama / Triton: Good for containerized production setups.
To narrow down the best fit for your stack, tell me:
- What language(s) and approximate document length are you dealing with?
- Where are you hosting (e.g., dedicated GPU, CPU-only, Kubernetes, AWS/GCP)?
- How critical is latency versus raw retrieval accuracy?
Google AI ModeOct 5, 2026
- Model Size & Latency : Consider whether you need a lightweight model (< 100M parameters) for real-time edge processing or high-throughput cloud serving, versus a larger model (> 500M parameters) where maximum retrieval accuracy is critical.
- Context Window Length : Evaluate the typical length of the input texts; standard models support 512 tokens, while long-context variants can ingest thousands of tokens without truncation.
- Multilingual Capability : Determine if the application requires cross-lingual retrieval or support exclusively for a single language (e.g., English).
- Dimensionality : Check the output vector size (e.g., 384, 768, or 1536 dimensions), which directly impacts storage overhead in vector databases and similarity search performance.
- Domain Adaptation : Assess whether a general-purpose model suffices or if you need a domain-specific model fine-tuned on medical, legal, or code data.
To help narrow down the ideal open-source embedding model, please share:
- Your target deployment environment (e.g., edge device, CPU-only server, GPU cluster)
- The approximate length of your input texts
- Your primary language(s) and domain/data type (e.g., general text, code, medical)
ChatGPTOct 5, 2026
Yes. The main thing is that there isn’t a single “best” open-source embedding model—the right choice depends heavily on language coverage, retrieval quality, latency, hardware, vector DB costs, context length, and licensing.
Based on the current model landscape, I’d start with these:
Model Best fit Context Output dim. Languages License Qwen3-Embedding-8B Maximum retrieval quality 32K up to 4096 100+ Apache 2.0 Qwen3-Embedding-0.6B Strong quality/efficiency 32K up to 1024 100+ Apache 2.0 BGE-M3 Excellent general-purpose RAG 8K 1024 Multilingual MIT Jina Embeddings v3 Long documents + multilingual 8K 32–1024 94 CC BY-NC 4.0 Nomic Embed v1.5 English + flexible vector size 8K 64–768 English Apache 2.0 BGE-small-en-v1.5 Tiny/cheap English deployment 512 384 English MIT My initial take
1. If retrieval quality is your #1 priority → Qwen3-Embedding
The Qwen3 family is particularly interesting now because it comes in 0.6B, 4B, and 8B versions, all with 32K context, multilingual support, configurable embedding dimensions, and instruction-aware embeddings. The 8B model reports a 70.58 MTEB multilingual score in the model card's June 2025 snapshot.
The tradeoff is obvious: 8B is much more expensive to run than a small encoder.
The 0.6B version is potentially the sweet spot if you want modern retrieval quality without dedicating a large GPU to embeddings. It supports 100+ languages, 32K context, and dimensions from 32–1024.
2. If you want a safe, proven RAG choice → BGE-M3
BGE-M3 remains a very compelling general-purpose option. It has a 1024-dimensional output, 8192-token context, multilingual training, and—unusually—it can support dense, sparse, and multi-vector/ColBERT-style representations. It's also MIT licensed.
That makes it especially attractive if you're building a sophisticated search stack rather than simply doing cosine similarity against a vector database.
3. If documents are long and multilingual → Jina v3
Jina Embeddings v3 supports 8192 tokens, 94 languages, task-specific adapters, and Matryoshka dimensions from 32 through 1024.
There is, however, a major licensing caveat: the Hugging Face model is CC BY-NC 4.0, with the model card explicitly noting restrictions around commercial/on-premises use.
So I wouldn't choose it for a commercial product without resolving the licensing question first.
4. If you want a lightweight English model → BGE-small
BGE-small-en-v1.5 produces 384-dimensional vectors and has a 512-token maximum sequence length. The model is only about 133 MB for the safetensors weights and is MIT licensed.
It's a very sensible option for CPU inference, edge deployments, prototypes, or applications where embedding throughput matters more than squeezing out the last few points of retrieval performance.
5. If vector-database storage matters → Nomic Embed v1.5
Nomic is interesting because of its Matryoshka representation. You can use 768, 512, 256, 128, or even 64 dimensions, allowing you to trade retrieval quality against storage and search cost. For example, its reported MTEB score goes from 62.28 at 768 dimensions to 61.04 at 256.
It's Apache 2.0 licensed and has an 8192-token context.
The requirements I'd use to make the actual decision
If you tell me these 7 things, I can give you a much more specific recommendation:
- Primary task: RAG, semantic search, recommendations, clustering, deduplication, classification, code search, etc.
- Languages: English only, multilingual, or specific languages.
- Typical document/chunk size: e.g. 300 tokens, 2K tokens, 8K+.
- Scale: roughly how many documents/vectors?
- Latency requirement: batch/offline vs. real-time (and approximate queries/sec if known).
- Hardware: CPU, consumer GPU, A10/A100/H100, Mac, etc.
- License requirement: e.g. permissive commercial use only, MIT/Apache preferred, must be fully open-source, etc.
Also tell me which vector database you're using (pgvector, Qdrant, Milvus, Pinecone, Elasticsearch/OpenSearch, FAISS, etc.), because embedding dimensionality can have a surprisingly large impact on cost and performance.
If you give me those requirements, I can turn this into a ranked 3–5 model shortlist, including estimated memory/compute requirements, licensing implications, expected retrieval tradeoffs, and a suggested benchmark methodology for your dataset.
Pages cited in this answer 8
- huggingface.coQwen/Qwen3-Embedding-0.6B · Hugging Face
- huggingface.coREADME.md · Qwen/Qwen3-Embedding-0.6B at d67280f96c9df4c40d7c6986f4a51c54ac950c0f
- huggingface.coBAAI/bge-m3 · Hugging Face
- huggingface.cojinaai/jina-embeddings-v3 · Hugging Face
- huggingface.cojinaai/jina-embeddings-v3-hf · Hugging Face
- huggingface.coconfig.json · BAAI/bge-small-en-v1.5 at main
- huggingface.coconfig.json · nomic-ai/nomic-embed-text-v1.5 at main
- huggingface.coREADME.md · nomic-ai/nomic-embed-text-v1.5 at d2b69e1ef22de7e4c571959be752fc77c2383fec
Top head-to-head comparisons
Since Jun 21Data through Nov 27, 2026Based on 78 AI answers
For agents: this page as Markdown, https://parse.gl/topics/open-source-embedding-model-selection.md. JSON, MCP · free for the last 90 days, checks from $0.01
This page
Read and search
Connect
npx -y parse-gl check <domain>Copy the CLI commandAn agent can save work before signup: POST https://agent.parse.gl/v1/workspaces
What it costs
Prices: https://parse.gl/pricing.md
Map of the site: https://parse.gl/llms.txt