GPTQ Quantized Qwen/Qwen3-Embedding-4B with THUIR/T2Ranking and m-a-p/COIG-CQIA for calibration set. ~0.72% lost in C-MTEB. Evaluation performed with official code. pip install compressed-tensors optimum and auto-gptq / gptqmodel, then goto the official usage guide.
Qwen3-Embedding-4B is an open-weight model for feature extraction from Qwen, released under Apache License 2.0. It has 4B parameters and a 40,960-token context. At 16-bit it needs about 9.7 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index. It draws 1.8M downloads a month.
The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks.
Runs On
What it takes to serve Qwen3-Embedding-4B (4B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.
| Precision | Weights | Memory needed | Cheapest setup | Per hour | Also fits |
|---|---|---|---|---|---|
| 16-bit | 8.0 GB | 9.7 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 8-bit | 4.0 GB | 4.8 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
| 4-bit | 2.0 GB | 2.4 GB | 1x MI300X (192 GB) Vultr |
$1.85 | 1x H100 $1.99 · 1x MI325X $2.00 |
Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 13, 2026.
Qwen3-Embedding-4B on every accelerator the SAVRN Index prices, at every precision
SAVRN's Notes on Qwen3-Embedding-4B
Qwen3 Embedding 4B turns text into vectors for search and retrieval, built on the Qwen3 language model and supporting many languages with a 40,960-token window. It sits between the 0.6B and 8B models in the same series and draws about 2.1 million downloads a month.
It needs about 10 GB at 16-bit. Apache 2.0 allows commercial use. For retrieval quality close to the top of the series at half the cost of the 8B model, this is the size we would test first.
Model Card
By Qwen, published under apache-2.0, revision 5cf2132abc99.
## Highlights The Qwen3 Embedding model series is the latest proprietary model of the Qwen family, specifically designed for text embedding and ranking tasks. Building upon the dense foundational models of the Qwen3 series, it provides a comprehensive range of text embeddings and reranking models in various sizes (0.6B, 4B, and 8B). This series inherits the exceptional multilingual capabilities, long-text understanding, and reasoning skills of its foundational model. The Qwen3 Embedding series represents significant advancements in multiple text embedding and ranking tasks, including text retrieval, code retrieval, text classification, text clustering, and bitext mining. **Exceptional Versatility**: The embedding model has achieved state-of-the-art performance across a wide range of downstream application evaluations. The 8B size embedding model ranks **No.1** in the MTEB multilingual leaderboard (as of June 5, 2025, score **70.58**), while the reranking model excels in various text retrieval scenarios. **Comprehensive Flexibility**: The Qwen3 Embedding series offers a full spectrum of sizes (from 0.6B to 8B) for both embedding and…
Configuration
- Architecture
- Qwen3ForCausalLM
- Context length (tokens)
- 40,960
- Layers
- 36
- Hidden size
- 2,560
- Feed-forward size
- 9,728
- Attention heads
- 32
- Key/value heads
- 8
- Head dimension
- 128
- Vocabulary size
- 151,665
- RoPE base
- 1,000,000
- Stored precision
- bfloat16
- Model type
- qwen3
Identity and Version
- Repository
- Qwen/Qwen3-Embedding-4B
- Publisher
- Qwen
- Task
- Feature extraction
- Modality
- Text
- Library
- sentence-transformers
- Parameters
- 4B parameters
- Languages
- Not stated by the source
- Revision
- 5cf2132abc99cad020ac570b19d031efec650f2b
- First published
- 2025-06-03
- Last updated
- 2025-06-20
Files and Weights
14 files, 8.1 GB in total. The weights are 2 files totalling 8.0 GB in safetensors.
Every file
| File | Type | Size | SHA-256 |
|---|---|---|---|
| model-00001-of-00002.safetensors | Weights | 5.0 GB | e70bfe3c9705 |
| model-00002-of-00002.safetensors | Weights | 3.1 GB | ed1b87c8e9eb |
| 1_Pooling/config.json | Configuration | 313 B | — |
| config.json | Configuration | 727 B | — |
| config_sentence_transformers.json | Configuration | 215 B | — |
| generation_config.json | Configuration | 117 B | — |
| model.safetensors.index.json | Configuration | 30.4 KB | — |
| modules.json | Configuration | 349 B | — |
| README.md | Documentation | 17.3 KB | — |
| .gitattributes | Repository | 1.6 KB | — |
| merges.txt | Tokenizer | 1.7 MB | — |
| tokenizer.json | Tokenizer | 11.4 MB | 83cdf8c3a34f |
| tokenizer_config.json | Tokenizer | 7.3 KB | — |
| vocab.json | Tokenizer | 2.8 MB | — |
License and Download
- License
- apache-2.0
- Access
- Open weights, no gate
- Download size
- 8.0 GB
Released by Qwen through ModelScope. Read the license.
Built From
- Derived from Qwen/Qwen3-4B-Base
- Described by arXiv:2506.05176
Memory Requirements
| Precision | Weights in memory |
|---|---|
| As published | 8.0 GB |
| 16-bit | 8.0 GB |
| 8-bit | 4.0 GB |
| 4-bit | 2.0 GB |
Weights only, from the published parameter count; the key-value cache and runtime add to this.
Built on This Model
- Quantized fromQwen3-Embedding-4B-W4A16-G128
- Derived fromQwen3-Embedding-4B-W4A16-G128
- Quantized fromRK182X-EMBEDDING-Qwen3-Embedding-4B
- Derived fromRK182X-EMBEDDING-Qwen3-Embedding-4B
- Quantized fromAX-Qwen3-Embedding-4B-CUDA-AXQ-NVFP4-W4A4
- Derived fromAX-Qwen3-Embedding-4B-CUDA-AXQ-NVFP4-W4A4
Compare Qwen3-Embedding-4B
Questions About Qwen3-Embedding-4B
How much GPU memory does Qwen3-Embedding-4B need?
About 9.7 GB at 16-bit and 2.4 GB at 4-bit: the weights (4B parameters) plus a working margin. A long context needs more.
What is the cheapest GPU to run Qwen3-Embedding-4B on?
At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.
Can I use Qwen3-Embedding-4B commercially?
Yes. Qwen3-Embedding-4B is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.
What is Qwen3-Embedding-4B's context length?
40,960 tokens, from the maximum position embeddings in its published configuration.
Similar Models
A taxonomy-informed sparse DNA foundation model for microbial genomics. MicroGlot is a 23-layer decoder-only mixture-of-experts transformer pretrained on 378.3 billion nucleotides from 3.70 million sequences across 99,700 microbial species, spanning bacteria, archaea, fungi, protists, viruses and plasmids. It encodes the taxonomic hierarchy as hyperbolic (Poincaré) embeddings and uses them both as an input token and to steer expert routing. Paper: A Taxonomy-Informed Sparse DNA Foundation Model for Microbial Genomics\ A species is known if it is one of the 99,700 pretraining species (check with tokenizer.hasspecies(name)). For taxonomic classification tasks, use MicroGlot-plain, as…
Native MLX conversion of ewin-reg/WeMM-Embedding-2B-Quantized — the hybrid FP8-protected attention + group-16 INT4 checkpoint — that preserves its mixed-precision allocation instead of flattening everything to one precision. The source checkpoint is curvature-guided: it deliberately keeps the precision-sensitive path at ~8-bit (FP8 E4M3) and compresses only the quantization-robust masses to INT4. Uniform 4-bit quantization destroys that — the source README itself documents softmax attention collapse (DKL >= 7.50) when Q/K go to 4 bits. This build mirrors the Two deviations from the source, both improvements or forced by MLX: - 8-bit group-64 is finer than the source's per-tensor-scalar FP8…
This is the model card of a transformers model that has been pushed on the Hub. Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. Use the code below to get started with the model. Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).
Text, images, speech and environmental sounds in one embedding space. Vela Omni Mini supports multimodal search, routing and clustering with normalized vectors that can be compared directly. Scores are 0–100; higher is better. The comparison uses the same held-out evaluation examples, complete retrieval pools and 128-token text cap for both models. Bold marks improvement over the original large model. These known test pools are reused across releases. The common protocol uses labeled TRAIN prototypes for text classification and all matching positives for retrieval; it is separate from official MTEB classification. All 14 metrics, Macro-F1, exact counts and uncertainty. The primary metric…
Dense retriever for patent prior-art search (abstract → abstract), fine-tuned from on patent-family pairs (same invention filed in different jurisdictions / languages). Trained for Korean ↔ English cross-lingual and monolingual patent retrieval. Do not use the base model's asymmetric convention (query: / passage: ). It raises no error but silently degrades retrieval quality, because training was symmetric. corpus (other family members masked; one relevant document per query). crosssame: translation pairs (KR↔EN), crosssimilar: cross-lingual same-family non-translation pairs, monosimilar: monolingual same-family pairs. Scores on the 50k-document subset; full-corpus (209,671 documents)…