Qwen3 Embedding
A multilingual text encoder for finding relevant passages across languages and building search indexes.
Benchmarks (8B)
Reported by Qwen
- Multilingual retrievalMTEB Multilingual · Retrieval
- 70.88
- Semantic similarityMTEB Multilingual · STS
- 81.08
Capabilities
- Batch inputs (supported)
- Query and document modes (supported)
- Adjustable dimensions (supported)
- Vector normalization (supported)
Model details
- Model size
- 8B parameters
- Max input length
- 33k
- Vector length
- 32–4,096
- Native dimensions
- 4,096
- Modalities
- Text · Embedding vector
Pricing
Per hour / month
Pay by the GPU-hour or reserve dedicated capacity by the month.
Mixlayer can tailor a deployment of Qwen3 Embedding to your throughput targets, peak concurrency, privacy needs, and availability requirements.
Availability
Available for dedicated deployments only.
- Private deployment
- By request
- On-prem Enterprise
- By request
- Reserved capacity
- By request
Overview
Qwen3 Embedding represents a passage or search query as a numerical vector. A search engine can use the distance between those vectors to retrieve passages that express the same idea in different words. Qwen supports more than 100 languages, which makes it a candidate for multilingual collections.
Build the index from document embeddings and embed incoming searches as queries. Mixlayer applies Qwen’s retrieval instruction on the query side. Keep the model and vector length consistent when writing to or searching an index.
Read the model guideUse Cases
Cross-language product search
A customer searches in French while the parts catalog is written in German. Keep exact filters for part numbers and compatibility, and use Qwen’s embeddings to rank the matching descriptions by meaning across languages.
Natural-language code search
Let developers search for “retry an upload that timed out” and find the function that implements it, even when the function name shares none of those words. Index code with its file path so each search result opens at the implementation.
Finding themes in customer feedback
Cluster survey responses by meaning before you have a fixed set of labels. Show a product researcher a few original comments from each cluster so they can name the theme and decide whether the responses belong together.
Quick Start
Once your dedicated deployment is active, create an API key and export it as MIXLAYER_API_KEY to send a request. Replace YOUR_DEPLOYMENT_MODEL with the model ID supplied with your deployment.
curl https://mixlayer.ai/v1/embeddings \
-H "Authorization: Bearer $MIXLAYER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_DEPLOYMENT_MODEL",
"input": "How can I reschedule a delivery?",
"input_type": "query",
"dimensions": 128
}'FAQ
Do I need a generation model as well as Qwen3 Embedding to build search?
For ranked search results, embed your passages and compare each search query with the stored vectors. Return the matching passages to the reader. Add a generation model when you want a written answer, and give it the retrieved passage text so it can cite the source. Build a retrieval index
Can I keep my existing index when I switch embedding models?
Re-embed your passages when you change checkpoints, even if both models produce vectors of the same length. Each checkpoint learns its own coordinates. Build a second index, check it with searches whose results you know, then switch queries and documents over together. Choosing compatible embeddings
How should I index a document that exceeds the input limit?
Each input can contain up to 32,768 tokens. Split a long document at headings or paragraph breaks and keep the source and section with each vector. You can send the passages as a batch. The index field links each result to its position in the input array. Embedding several passages at once
How is Qwen3 Embedding billed?
This model is available for dedicated deployments only. You pay for GPU capacity by the hour or reserve it by the month. Mixlayer sizes the deployment for the throughput, privacy, and availability you need. Mixlayer pricing
Can I look up the original input later to investigate a bad result?
By default, Mixlayer processes the input in memory and discards it and the result after inference. Keep the examples you need for evaluation in your own application. Your organization can also enforce zero retention for features that offer optional storage. Mixlayer’s retention controls
Should I add Qwen’s retrieval instruction to every passage?
Send the passage as plain text with input_type set to document. When someone searches, send their question with input_type set to query. Mixlayer adds Qwen’s retrieval instruction to the query and leaves the document text unprefixed. You can pass the user’s original question directly. Qwen query and document inputs
What do I give up if I store 1,024 dimensions instead of 4,096?
The Qwen3 Embedding 8B checkpoint returns 4,096 dimensions by default and accepts lengths from 32 to 4,096. At equal precision, a 1,024-dimensional vector takes one quarter of the raw vector storage. Try both lengths on the same searches and count how often the right passage still appears in the top five. Qwen’s supported vector lengths
Can an English query find a passage written in Japanese?
Yes. Qwen3 Embedding supports cross-language retrieval across more than 100 languages. You can index the original Japanese passages and search in English. Test the terms that matter to your readers, especially product names and abbreviations, against passages a bilingual reviewer considers relevant. Qwen’s multilingual retrieval evaluation